tag 560516 + patch thanks On Fri, Dec 11, 2009 at 09:33:45AM +0100, Lucas Nussbaum wrote: > Source: strace > Version: 4.5.19-1 > Severity: serious > User: debian...@lists.debian.org > Usertags: qa-ftbfs-20091210 qa-ftbfs > Justification: FTBFS on amd64 > > Hi, > > During a rebuild of all packages in sid, your package failed to build on > amd64. > > Relevant part: > > gcc -DHAVE_CONFIG_H -I. -I.. -Ilinux/x86_64 -I../linux/x86_64 -Ilinux > > -I../linux -Wall -g -O2 -MT net.o -MD -MP -MF .deps/net.Tpo -c -o net.o > > ../net.c > > ../net.c: In function 'printsock': > > ../net.c:976: error: field 'nl' has incomplete type > > make[2]: *** [net.o] Error 1 > > The full build log is available from: > > http://people.debian.org/~lucas/logs/2009/12/10/strace_4.5.19-1_lsid64.buildlog >
This bug is due to linux header changes. The following patch, from upstream, fixes the problem: diff -Nru strace-4.5.19/configure strace-4.5.19/configure --- strace-4.5.19/configure 2009-10-21 19:41:11.000000000 +0200 +++ strace-4.5.19/configure 2010-01-26 08:47:33.000000000 +0100 @@ -5880,7 +5880,7 @@ do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <stddef.h> -#include <linux/socket.h> +#include <sys/socket.h> " eval as_val=\$$as_ac_Header if test "x$as_val" = x""yes; then : diff -Nru strace-4.5.19/configure.ac strace-4.5.19/configure.ac --- strace-4.5.19/configure.ac 2009-10-12 21:54:43.000000000 +0200 +++ strace-4.5.19/configure.ac 2010-01-26 08:47:18.000000000 +0100 @@ -258,7 +258,7 @@ ], [], []) AC_CHECK_HEADERS([linux/icmp.h linux/in6.h linux/netlink.h linux/if_packet.h], [], [], [#include <stddef.h> -#include <linux/socket.h>]) +#include <sys/socket.h>]) AC_CHECK_HEADERS([asm/sigcontext.h], [], [], [#include <signal.h>]) AC_CHECK_TYPES([struct sigcontext_struct, struct sigcontext],,, [#include <signal.h>]) -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurel...@aurel32.net http://www.aurel32.net -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org