[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#700459: marked as done (dnprogs: FTBFS on x32: Using deprecated sysctl(2))



Your message dated Fri, 15 Jan 2016 17:01:22 +0100
with message-id <20160115160122.GA12289@angband.pl>
and subject line long since applied
has caused the Debian Bug report #700459,
regarding dnprogs: FTBFS on x32: Using deprecated sysctl(2)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
700459: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=700459
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: dnprogs
Version: 2.60
Severity: wishlist
Tags: patch
User: debian-x32@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

Attachment: dnprogs.debdiff
Description: Binary data


--- End Message ---
--- Begin Message ---
Version: 2.60+x32

This FTBFS is no more since ages ago.  The debdiff you sent has been applied
verbatim, including 2.60+x32 as the version number and unreleased as the
distribution.  The Closes: stanza was missing.  Thus, let's close this by
hand.

-- 
A tit a day keeps the vet away.

--- End Message ---

Reply to: