Source: dnprogs Version: 2.60 Severity: wishlist Tags: patch User: debian-...@lists.debian.org Usertags: port-x32 ftbfs-sysctl
The dnprogs source package is getting this build failure on the unofficial Debian x32 port: ... gcc -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -pipe -fsigned-char -Wstrict-prototypes -Wall -Wno-unused -Wno-uninitialized -I../libdap -I../include -DVERSION=\"2.60\" -D_XOPEN_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DSHADOW_PWD -O2 -Wl,-z,relro -DSYSCONF_PREFIX=\"\" -c -o setnodename.o setnodename.c In file included from /usr/include/x86_64-linux-gnux32/sys/sysctl.h:79:0, from setnodename.c:26: /usr/include/x86_64-linux-gnux32/bits/sysctl.h:19:3: error: #error "sysctl system call is unsupported in x32 kernel" make[2]: *** [setnodename.o] Error 1 make[2]: Leaving directory `/tmp/buildd/dnprogs-2.60/libdnet' make[1]: *** [all] Error 2 make[1]: Leaving directory `/tmp/buildd/dnprogs-2.60' make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 Even on systems where sysctl(2) is provided, it's deprecated and unmaintained. The attached debdiff changes the uses of sysctl to the preferred alternative of writing to files in /proc/sys. (Note that I was guessing on the filename to use since I don't have decnet here, I was just looking at this as a build-dep of roaraudio, etc. So if I got it wrong, don't hesitate to correct me.) -- Daniel Schepler
dnprogs.debdiff
Description: Binary data