Created attachment 5878 patch dropping the bad #include Building the plugin fails with: /usr/include/x86_64-linux-gnux32/bits/sysctl.h:19:3: error: #error "sysctl system call is unsupported in x32 kernel" This include is useless and can be removed. This syscall has been strongly deprecated for ages and the plugin doesn't use it any more. On old architectures, this include is benign as long as it's unused, on new ones (such as x32) it results in a build failure. Trivial patch attached.
The patch does not cause any regression for me on ArchLinux amd64 3.18. Bumping urgency as it concerns a build failure. Could people on old Debians test and tell if a regression occurs? Relevant: http://man7.org/linux/man-pages/man2/sysctl.2.html
Pushed to master, thank you https://git.xfce.org/panel-plugins/xfce4-netload-plugin/commit/?id=cd5428b77377b0f0a579c3d8cc3978b25267f22a
Closing.
Adam Borowski referenced this bugreport in commit 3c9496434768e9a23c88bc1bf2b4eaaf689c7cef Remove sys/sysctl.h on linux platform https://git.xfce.org/panel-plugins/xfce4-netload-plugin/commit?id=3c9496434768e9a23c88bc1bf2b4eaaf689c7cef
The last gitbot message was a mistake, please ignore.