Package: xfce4-netload-plugin Version: 1.2.0-1 Severity: normal Tags: patch User: debian-...@lists.debian.org Usertags: port-x32 ftbfs-x32
Hi! This package fails to build on any new architecture that lacks sys/sysctl.h. The sysctl syscall has been gone for ages, but most existing architectures still have a compat stub that spams the syslog when called. On others, like x32, the package won't build at all. Patch attached. -- System Information: Debian Release: 8.0 APT prefers unstable APT policy: (600, 'unstable'), (500, 'unreleased'), (50, 'experimental') Architecture: x32 (x86_64) Kernel: Linux 3.18.2-x32 (SMP w/6 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init)
Description: drop #include <sys/sysctl.h> on Linux The sysctl syscall is gone for ages -- depending on architecture, it will either spam syslog at runtime or fail to compile at all. As we don't actually call it, the former is benign... but the latter is fatal on new architectures. Author: Adam Borowski <kilob...@angband.pl> --- xfce4-netload-plugin-1.2.0.orig/panel-plugin/os.h +++ xfce4-netload-plugin-1.2.0/panel-plugin/os.h @@ -170,7 +170,6 @@ #elif __linux__ /* L I N U X */ # include <stdio.h> # include <sys/param.h> -# include <sys/sysctl.h> # include <stdlib.h> # include <stdarg.h> # include <unistd.h>