Package: xtables-addons
Version: 2.10-1
Severity: serious

This package fails to build in unstable:

> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> make[6]: Entering directory '/<<PKGBUILDDIR>>/extensions/pknock'
> gcc -DHAVE_CONFIG_H -I. -I../..  -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES 
> -D_FILE_OFFSET_BITS=64  -D_REENTRANT -I../../include 
> -I/<<PKGBUILDDIR>>/extensions -Wdate-time -D_FORTIFY_SOURCE=2 -Wall 
> -Waggregate-return -Wmissing-declarations      -Wmissing-prototypes 
> -Wredundant-decls -Wshadow -Wstrict-prototypes     -Winline -pipe  -g -O2 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o pknlusr.o 
> pknlusr.c
> /bin/bash ../../libtool  --tag=CC   --mode=link gcc -Wall -Waggregate-return 
> -Wmissing-declarations   -Wmissing-prototypes -Wredundant-decls -Wshadow 
> -Wstrict-prototypes     -Winline -pipe  -g -O2 -fstack-protector-strong 
> -Wformat -Werror=format-security  -Wl,-z,relro -o pknlusr pknlusr.o  
> libtool: link: gcc -Wall -Waggregate-return -Wmissing-declarations 
> -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes -Winline 
> -pipe -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z 
> -Wl,relro -o pknlusr pknlusr.o 
> make -f ../../Makefile.iptrules all;
> make[7]: Entering directory '/<<PKGBUILDDIR>>/extensions/pknock'
>   CC     libxt_pknock.oo
> In file included from /usr/include/xtables.h:16:0,
>                  from libxt_pknock.c:15:
> /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 libxt_pknock.c:17:
> /usr/include/linux/if.h:169:8: error: redefinition of 'struct ifmap'
>  struct ifmap {
>         ^
> In file included from /usr/include/xtables.h:16:0,
>                  from libxt_pknock.c:15:
> /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 libxt_pknock.c:17:
> /usr/include/linux/if.h:203:8: error: redefinition of 'struct ifreq'
>  struct ifreq {
>         ^
> In file included from /usr/include/xtables.h:16:0,
>                  from libxt_pknock.c:15:
> /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 libxt_pknock.c:17:
> /usr/include/linux/if.h:252:8: error: redefinition of 'struct ifconf'
>  struct ifconf  {
>         ^
> In file included from /usr/include/xtables.h:16:0,
>                  from libxt_pknock.c:15:
> /usr/include/net/if.h:176:8: note: originally defined here
>  struct ifconf

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to