[Reproducible-builds] Bug#824253: scamper: FTBFS: usr/include/linux/if.h:71:2: error: redeclaration of enumerator 'IFF_UP'
Chris Lamb
lamby at debian.org
Sat May 14 08:07:57 UTC 2016
Source: scamper
Version: 20141211d-1
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,
scamper fails to build from source in unstable/amd64:
[..]
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking net/if_dl.h usability... no
checking net/if_dl.h presence... no
checking for net/if_dl.h... no
checking net/if_types.h usability... no
checking net/if_types.h presence... no
checking for net/if_types.h... no
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/epoll.h usability... yes
checking sys/epoll.h presence... yes
checking for sys/epoll.h... yes
checking sys/event.h usability... no
checking sys/event.h presence... no
checking for sys/event.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking ifaddrs.h usability... yes
checking ifaddrs.h presence... yes
checking for ifaddrs.h... yes
checking for sys/sysctl.h... yes
checking for netinet/ip_fw.h... no
checking for netinet6/ip6_fw.h... no
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for int16_t... yes
checking for int32_t... yes
checking for mode_t... yes
checking for off_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for arc4random... no
checking for arc4random_uniform... no
checking for atexit... yes
checking for calloc... yes
checking for daemon... yes
checking for endpwent... yes
checking for epoll_wait... yes
checking for ftruncate... yes
checking for getdtablesize... yes
checking for gethostname... yes
checking for getifaddrs... yes
checking for gettimeofday... yes
checking for kqueue... no
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for poll... yes
checking for rmdir... yes
checking for select... yes
checking for socket... yes
checking for snprintf... yes
checking for setproctitle... no
checking for strcasecmp... yes
checking for strcasestr... yes
checking for strdup... yes
checking for strerror... yes
checking for strncasecmp... yes
checking for strtol... yes
checking for uname... yes
checking size of long... 8
checking for struct sockaddr.sa_len... no
checking for struct ip6_ext... no
checking for library containing getaddrinfo... none required
checking for library containing inet_ntop... none required
checking for library containing sqrt... -lm
checking for pkg-config... no
checking for openssl/ssl.h in /usr/local/ssl... no
checking for openssl/ssl.h in /usr/lib/ssl... no
checking for openssl/ssl.h in /usr/ssl... no
checking for openssl/ssl.h in /usr/pkg... no
checking for openssl/ssl.h in /usr/local... no
checking for openssl/ssl.h in /usr... no
checking whether compiling and linking against OpenSSL works... no
checking that generated files are newer than configure... done
configure: creating ./config.status
configure: WARNING: unrecognized options: --disable-maintainer-mode
/bin/bash ./config.status
config.status: creating Makefile
config.status: creating scamper/Makefile
config.status: creating utils/Makefile
config.status: creating utils/sc_ally/Makefile
config.status: creating utils/sc_analysis_dump/Makefile
config.status: creating utils/sc_attach/Makefile
config.status: creating utils/sc_filterpolicy/Makefile
config.status: creating utils/sc_ipiddump/Makefile
config.status: creating utils/sc_speedtrap/Makefile
config.status: creating utils/sc_tracediff/Makefile
config.status: creating utils/sc_tbitblind/Makefile
config.status: creating utils/sc_warts2csv/Makefile
config.status: creating utils/sc_warts2json/Makefile
config.status: creating utils/sc_warts2pcap/Makefile
config.status: creating utils/sc_warts2text/Makefile
config.status: creating utils/sc_wartscat/Makefile
config.status: creating utils/sc_wartsdump/Makefile
config.status: creating utils/sc_wartsfix/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/lamby/temp/cdt.20160514090702.GFi9ANCthD.scamper/scamper-20141211d/missing autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[2]: Entering directory '/home/lamby/temp/cdt.20160514090702.GFi9ANCthD.scamper/scamper-20141211d'
Making all in scamper
make[3]: Entering directory '/home/lamby/temp/cdt.20160514090702.GFi9ANCthD.scamper/scamper-20141211d/scamper'
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../scamper -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o ../mjl_splaytree.lo ../mjl_splaytree.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../scamper -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ../mjl_splaytree.c -fPIC -DPIC -o ../.libs/mjl_splaytree.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../scamper -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ../mjl_splaytree.c -o ../mjl_splaytree.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../scamper -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o ../utils.lo ../utils.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../scamper -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c ../utils.c -fPIC -DPIC -o ../.libs/utils.o
In file included from ../internal.h:126:0,
from ../utils.c:35:
/usr/include/linux/if.h:71:2: error: redeclaration of enumerator 'IFF_UP'
IFF_UP = 1<<0, /* sysfs */
^
/usr/include/net/if.h:44:5: note: previous definition of 'IFF_UP' was here
IFF_UP = 0x1, /* Interface is up. */
^
/usr/include/linux/if.h:72:2: error: redeclaration of enumerator 'IFF_BROADCAST'
IFF_BROADCAST = 1<<1, /* __volatile__ */
^
/usr/include/net/if.h:46:5: note: previous definition of 'IFF_BROADCAST' was here
IFF_BROADCAST = 0x2, /* Broadcast address valid. */
^
/usr/include/linux/if.h:73:2: error: redeclaration of enumerator 'IFF_DEBUG'
IFF_DEBUG = 1<<2, /* sysfs */
^
/usr/include/net/if.h:48:5: note: previous definition of 'IFF_DEBUG' was here
IFF_DEBUG = 0x4, /* Turn on debugging. */
^
/usr/include/linux/if.h:74:2: error: redeclaration of enumerator 'IFF_LOOPBACK'
IFF_LOOPBACK = 1<<3, /* __volatile__ */
^
/usr/include/net/if.h:50:5: note: previous definition of 'IFF_LOOPBACK' was here
IFF_LOOPBACK = 0x8, /* Is a loopback net. */
^
/usr/include/linux/if.h:75:2: error: redeclaration of enumerator 'IFF_POINTOPOINT'
IFF_POINTOPOINT = 1<<4, /* __volatile__ */
^
/usr/include/net/if.h:52:5: note: previous definition of 'IFF_POINTOPOINT' was here
IFF_POINTOPOINT = 0x10, /* Interface is point-to-point link. */
^
/usr/include/linux/if.h:76:2: error: redeclaration of enumerator 'IFF_NOTRAILERS'
IFF_NOTRAILERS = 1<<5, /* sysfs */
^
/usr/include/net/if.h:54:5: note: previous definition of 'IFF_NOTRAILERS' was here
IFF_NOTRAILERS = 0x20, /* Avoid use of trailers. */
^
/usr/include/linux/if.h:77:2: error: redeclaration of enumerator 'IFF_RUNNING'
IFF_RUNNING = 1<<6, /* __volatile__ */
^
/usr/include/net/if.h:56:5: note: previous definition of 'IFF_RUNNING' was here
IFF_RUNNING = 0x40, /* Resources allocated. */
^
/usr/include/linux/if.h:78:2: error: redeclaration of enumerator 'IFF_NOARP'
IFF_NOARP = 1<<7, /* sysfs */
^
/usr/include/net/if.h:58:5: note: previous definition of 'IFF_NOARP' was here
IFF_NOARP = 0x80, /* No address resolution protocol. */
^
/usr/include/linux/if.h:79:2: error: redeclaration of enumerator 'IFF_PROMISC'
IFF_PROMISC = 1<<8, /* sysfs */
^
/usr/include/net/if.h:60:5: note: previous definition of 'IFF_PROMISC' was here
IFF_PROMISC = 0x100, /* Receive all packets. */
^
/usr/include/linux/if.h:80:2: error: redeclaration of enumerator 'IFF_ALLMULTI'
IFF_ALLMULTI = 1<<9, /* sysfs */
^
/usr/include/net/if.h:64:5: note: previous definition of 'IFF_ALLMULTI' was here
IFF_ALLMULTI = 0x200, /* Receive all multicast packets. */
^
/usr/include/linux/if.h:81:2: error: redeclaration of enumerator 'IFF_MASTER'
IFF_MASTER = 1<<10, /* __volatile__ */
^
/usr/include/net/if.h:67:5: note: previous definition of 'IFF_MASTER' was here
IFF_MASTER = 0x400, /* Master of a load balancer. */
^
/usr/include/linux/if.h:82:2: error: redeclaration of enumerator 'IFF_SLAVE'
IFF_SLAVE = 1<<11, /* __volatile__ */
^
/usr/include/net/if.h:69:5: note: previous definition of 'IFF_SLAVE' was here
IFF_SLAVE = 0x800, /* Slave of a load balancer. */
^
/usr/include/linux/if.h:83:2: error: redeclaration of enumerator 'IFF_MULTICAST'
IFF_MULTICAST = 1<<12, /* sysfs */
^
/usr/include/net/if.h:72:5: note: previous definition of 'IFF_MULTICAST' was here
IFF_MULTICAST = 0x1000, /* Supports multicast. */
^
/usr/include/linux/if.h:84:2: error: redeclaration of enumerator 'IFF_PORTSEL'
IFF_PORTSEL = 1<<13, /* sysfs */
^
/usr/include/net/if.h:75:5: note: previous definition of 'IFF_PORTSEL' was here
IFF_PORTSEL = 0x2000, /* Can set media type. */
^
/usr/include/linux/if.h:85:2: error: redeclaration of enumerator 'IFF_AUTOMEDIA'
IFF_AUTOMEDIA = 1<<14, /* sysfs */
^
/usr/include/net/if.h:77:5: note: previous definition of 'IFF_AUTOMEDIA' was here
IFF_AUTOMEDIA = 0x4000, /* Auto media select active. */
^
/usr/include/linux/if.h:86:2: error: redeclaration of enumerator 'IFF_DYNAMIC'
IFF_DYNAMIC = 1<<15, /* sysfs */
^
/usr/include/net/if.h:79:5: note: previous definition of 'IFF_DYNAMIC' was here
IFF_DYNAMIC = 0x8000 /* Dialup device with changing addresses. */
^
In file included from /usr/include/linux/netfilter_ipv4/ip_tables.h:20:0,
from ../internal.h:174,
from ../utils.c:35:
/usr/include/linux/if.h:169:8: error: redefinition of 'struct ifmap'
struct ifmap {
^
In file included from ../internal.h:126:0,
from ../utils.c:35:
/usr/include/net/if.h:111:8: note: originally defined here
struct ifmap
^
In file included from /usr/include/linux/netfilter_ipv4/ip_tables.h:20:0,
from ../internal.h:174,
from ../utils.c:35:
/usr/include/linux/if.h:203:8: error: redefinition of 'struct ifreq'
struct ifreq {
^
In file included from ../internal.h:126:0,
from ../utils.c:35:
/usr/include/net/if.h:126:8: note: originally defined here
struct ifreq
^
In file included from /usr/include/linux/netfilter_ipv4/ip_tables.h:20:0,
from ../internal.h:174,
from ../utils.c:35:
/usr/include/linux/if.h:252:8: error: redefinition of 'struct ifconf'
struct ifconf {
^
In file included from ../internal.h:126:0,
from ../utils.c:35:
/usr/include/net/if.h:176:8: note: originally defined here
struct ifconf
^
Makefile:1064: recipe for target '../utils.lo' failed
make[3]: *** [../utils.lo] Error 1
make[3]: Leaving directory '/home/lamby/temp/cdt.20160514090702.GFi9ANCthD.scamper/scamper-20141211d/scamper'
Makefile:404: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/lamby/temp/cdt.20160514090702.GFi9ANCthD.scamper/scamper-20141211d'
Makefile:336: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/lamby/temp/cdt.20160514090702.GFi9ANCthD.scamper/scamper-20141211d'
dh_auto_build: make -j1 returned exit code 2
debian/rules:9: 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: scamper.20141211d-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 5169 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20160514/52dac679/attachment.obj>
More information about the Reproducible-builds
mailing list