Bug#844073: net-tools: FTBFS: /usr/include/linux/ip.h:85:8: error: redefinition of 'struct iphdr'
Chris Lamb
lamby at debian.org
Sat Nov 12 09:31:59 UTC 2016
Source: net-tools
Version: 1.60+git20150829.73cef8a-2
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org
Dear Maintainer,
net-tools fails to build from source in unstable/amd64:
[…]
^~~~~~~
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a/include -Ilib -c arp.c
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wl,-z,relro -Llib -o arp arp.o -lnet-tools
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a/include -Ilib -c netstat.c
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a/include -Ilib -c statistics.c
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wl,-z,relro -Llib -o netstat netstat.o statistics.o -lnet-tools -lselinux
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a/include -Ilib -c route.c
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wl,-z,relro -Llib -o route route.o -lnet-tools
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a/include -Ilib -c rarp.c
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wl,-z,relro -Llib -o rarp rarp.o -lnet-tools
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a/include -Ilib -c slattach.c
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wl,-z,relro -Llib -o slattach slattach.o -lnet-tools
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a/include -Ilib -c plipconfig.c
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wl,-z,relro -Llib -o plipconfig plipconfig.o -lnet-tools
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a/include -Ilib -c nameif.c
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wl,-z,relro -Llib -o nameif nameif.o -lnet-tools
cc -g -O2 -fdebug-prefix-map=/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I. -I/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a/include -Ilib -c iptunnel.c
In file included from /usr/include/linux/if_tunnel.h:6:0,
from iptunnel.c:34:
/usr/include/linux/ip.h:85:8: error: redefinition of 'struct iphdr'
struct iphdr {
^~~~~
In file included from iptunnel.c:29:0:
/usr/include/netinet/ip.h:44:8: note: originally defined here
struct iphdr
^~~~~
Makefile:94: recipe for target 'iptunnel.o' failed
make[2]: *** [iptunnel.o] Error 1
make[2]: Leaving directory '/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a'
debian/rules:36: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/lamby/temp/cdt.20161112093057.XE7fSDAxtK.db.net-tools/net-tools-1.60+git20150829.73cef8a'
debian/rules:27: recipe for target 'build' failed
make: *** [build] Error 2
[…]
The full build log is attached.
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: net-tools.1.60+git20150829.73cef8a-2.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 4018 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20161112/78c7709c/attachment.obj>
More information about the Reproducible-builds
mailing list