Source: keepalived
Version: 1:2.1.5-0.2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> gcc -DHAVE_CONFIG_H -I. -I../../lib  -I ../../keepalived/include -I ../../lib 
> -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE 
> -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 
> -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE 
> -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -I/usr/lib/x86_64-linux-gnu/perl/5.32/CORE -D_FORTIFY_SOURCE=2 
> -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -DLOCAL_STATE_DIR=\"/var\" 
> -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes 
> -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero 
> -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align 
> -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion 
> -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal 
> -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation 
> -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline 
> -Wjump-misses-init -Wlogical-op -Wmissing-declarations 
> -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs 
> -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings 
> -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 
> -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes 
> -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const 
> -Wsuggest-attribute=format -Wsuggest-attribute=malloc 
> -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand 
> -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas 
> -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros 
> -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
> --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 
> -ffile-prefix-map=/build/net-snmp-UCbSax/net-snmp-5.9.1+dfsg=. 
> -fstack-protector-strong -Wformat -Werror=format-security 
> -fno-strict-aliasing -g -O2 
> -ffile-prefix-map=/build/net-snmp-UCbSax/net-snmp-5.9.1+dfsg=. 
> -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe 
> -Wdate-time -pthread  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o layer4.o 
> layer4.c
> In file included from /usr/include/linux/icmp.h:23,
>                  from layer4.c:30:
> /usr/include/net/if.h:44:5: error: redeclaration of enumerator ‘IFF_UP’
>    44 |     IFF_UP = 0x1,               /* Interface is up.  */
>       |     ^~~~~~
> /usr/include/linux/if.h:83:9: note: previous definition of ‘IFF_UP’ with type 
> ‘enum net_device_flags’
>    83 |         IFF_UP                          = 1<<0,  /* sysfs */
>       |         ^~~~~~
> /usr/include/net/if.h:46:5: error: redeclaration of enumerator ‘IFF_BROADCAST’
>    46 |     IFF_BROADCAST = 0x2,        /* Broadcast address valid.  */
>       |     ^~~~~~~~~~~~~
> /usr/include/linux/if.h:84:9: note: previous definition of ‘IFF_BROADCAST’ 
> with type ‘enum net_device_flags’
>    84 |         IFF_BROADCAST                   = 1<<1,  /* __volatile__ */
>       |         ^~~~~~~~~~~~~
> /usr/include/net/if.h:48:5: error: redeclaration of enumerator ‘IFF_DEBUG’
>    48 |     IFF_DEBUG = 0x4,            /* Turn on debugging.  */
>       |     ^~~~~~~~~
> /usr/include/linux/if.h:85:9: note: previous definition of ‘IFF_DEBUG’ with 
> type ‘enum net_device_flags’
>    85 |         IFF_DEBUG                       = 1<<2,  /* sysfs */
>       |         ^~~~~~~~~
> /usr/include/net/if.h:50:5: error: redeclaration of enumerator ‘IFF_LOOPBACK’
>    50 |     IFF_LOOPBACK = 0x8,         /* Is a loopback net.  */
>       |     ^~~~~~~~~~~~
> /usr/include/linux/if.h:86:9: note: previous definition of ‘IFF_LOOPBACK’ 
> with type ‘enum net_device_flags’
>    86 |         IFF_LOOPBACK                    = 1<<3,  /* __volatile__ */
>       |         ^~~~~~~~~~~~
> /usr/include/net/if.h:52:5: error: redeclaration of enumerator 
> ‘IFF_POINTOPOINT’
>    52 |     IFF_POINTOPOINT = 0x10,     /* Interface is point-to-point link.  
> */
>       |     ^~~~~~~~~~~~~~~
> /usr/include/linux/if.h:87:9: note: previous definition of ‘IFF_POINTOPOINT’ 
> with type ‘enum net_device_flags’
>    87 |         IFF_POINTOPOINT                 = 1<<4,  /* __volatile__ */
>       |         ^~~~~~~~~~~~~~~
> /usr/include/net/if.h:54:5: error: redeclaration of enumerator 
> ‘IFF_NOTRAILERS’
>    54 |     IFF_NOTRAILERS = 0x20,      /* Avoid use of trailers.  */
>       |     ^~~~~~~~~~~~~~
> /usr/include/linux/if.h:88:9: note: previous definition of ‘IFF_NOTRAILERS’ 
> with type ‘enum net_device_flags’
>    88 |         IFF_NOTRAILERS                  = 1<<5,  /* sysfs */
>       |         ^~~~~~~~~~~~~~
> /usr/include/net/if.h:56:5: error: redeclaration of enumerator ‘IFF_RUNNING’
>    56 |     IFF_RUNNING = 0x40,         /* Resources allocated.  */
>       |     ^~~~~~~~~~~
> /usr/include/linux/if.h:89:9: note: previous definition of ‘IFF_RUNNING’ with 
> type ‘enum net_device_flags’
>    89 |         IFF_RUNNING                     = 1<<6,  /* __volatile__ */
>       |         ^~~~~~~~~~~
> /usr/include/net/if.h:58:5: error: redeclaration of enumerator ‘IFF_NOARP’
>    58 |     IFF_NOARP = 0x80,           /* No address resolution protocol.  */
>       |     ^~~~~~~~~
> /usr/include/linux/if.h:90:9: note: previous definition of ‘IFF_NOARP’ with 
> type ‘enum net_device_flags’
>    90 |         IFF_NOARP                       = 1<<7,  /* sysfs */
>       |         ^~~~~~~~~
> /usr/include/net/if.h:60:5: error: redeclaration of enumerator ‘IFF_PROMISC’
>    60 |     IFF_PROMISC = 0x100,        /* Receive all packets.  */
>       |     ^~~~~~~~~~~
> /usr/include/linux/if.h:91:9: note: previous definition of ‘IFF_PROMISC’ with 
> type ‘enum net_device_flags’
>    91 |         IFF_PROMISC                     = 1<<8,  /* sysfs */
>       |         ^~~~~~~~~~~
> /usr/include/net/if.h:64:5: error: redeclaration of enumerator ‘IFF_ALLMULTI’
>    64 |     IFF_ALLMULTI = 0x200,       /* Receive all multicast packets.  */
>       |     ^~~~~~~~~~~~
> /usr/include/linux/if.h:92:9: note: previous definition of ‘IFF_ALLMULTI’ 
> with type ‘enum net_device_flags’
>    92 |         IFF_ALLMULTI                    = 1<<9,  /* sysfs */
>       |         ^~~~~~~~~~~~
> /usr/include/net/if.h:67:5: error: redeclaration of enumerator ‘IFF_MASTER’
>    67 |     IFF_MASTER = 0x400,         /* Master of a load balancer.  */
>       |     ^~~~~~~~~~
> /usr/include/linux/if.h:93:9: note: previous definition of ‘IFF_MASTER’ with 
> type ‘enum net_device_flags’
>    93 |         IFF_MASTER                      = 1<<10, /* __volatile__ */
>       |         ^~~~~~~~~~
> /usr/include/net/if.h:69:5: error: redeclaration of enumerator ‘IFF_SLAVE’
>    69 |     IFF_SLAVE = 0x800,          /* Slave of a load balancer.  */
>       |     ^~~~~~~~~
> /usr/include/linux/if.h:94:9: note: previous definition of ‘IFF_SLAVE’ with 
> type ‘enum net_device_flags’
>    94 |         IFF_SLAVE                       = 1<<11, /* __volatile__ */
>       |         ^~~~~~~~~
> /usr/include/net/if.h:72:5: error: redeclaration of enumerator ‘IFF_MULTICAST’
>    72 |     IFF_MULTICAST = 0x1000,     /* Supports multicast.  */
>       |     ^~~~~~~~~~~~~
> /usr/include/linux/if.h:95:9: note: previous definition of ‘IFF_MULTICAST’ 
> with type ‘enum net_device_flags’
>    95 |         IFF_MULTICAST                   = 1<<12, /* sysfs */
>       |         ^~~~~~~~~~~~~
> /usr/include/net/if.h:75:5: error: redeclaration of enumerator ‘IFF_PORTSEL’
>    75 |     IFF_PORTSEL = 0x2000,       /* Can set media type.  */
>       |     ^~~~~~~~~~~
> /usr/include/linux/if.h:96:9: note: previous definition of ‘IFF_PORTSEL’ with 
> type ‘enum net_device_flags’
>    96 |         IFF_PORTSEL                     = 1<<13, /* sysfs */
>       |         ^~~~~~~~~~~
> /usr/include/net/if.h:77:5: error: redeclaration of enumerator ‘IFF_AUTOMEDIA’
>    77 |     IFF_AUTOMEDIA = 0x4000,     /* Auto media select active.  */
>       |     ^~~~~~~~~~~~~
> /usr/include/linux/if.h:97:9: note: previous definition of ‘IFF_AUTOMEDIA’ 
> with type ‘enum net_device_flags’
>    97 |         IFF_AUTOMEDIA                   = 1<<14, /* sysfs */
>       |         ^~~~~~~~~~~~~
> /usr/include/net/if.h:79:5: error: redeclaration of enumerator ‘IFF_DYNAMIC’
>    79 |     IFF_DYNAMIC = 0x8000        /* Dialup device with changing 
> addresses.  */
>       |     ^~~~~~~~~~~
> /usr/include/linux/if.h:98:9: note: previous definition of ‘IFF_DYNAMIC’ with 
> type ‘enum net_device_flags’
>    98 |         IFF_DYNAMIC                     = 1<<15, /* sysfs */
>       |         ^~~~~~~~~~~
> In file included from ../../keepalived/include/layer4.h:28,
>                  from layer4.c:38:
> /usr/include/net/if.h:111:8: error: redefinition of ‘struct ifmap’
>   111 | struct ifmap
>       |        ^~~~~
> In file included from /usr/include/linux/icmp.h:23,
>                  from layer4.c:30:
> /usr/include/linux/if.h:194:8: note: originally defined here
>   194 | struct ifmap {
>       |        ^~~~~
> In file included from ../../keepalived/include/layer4.h:28,
>                  from layer4.c:38:
> /usr/include/net/if.h:126:8: error: redefinition of ‘struct ifreq’
>   126 | struct ifreq
>       |        ^~~~~
> In file included from /usr/include/linux/icmp.h:23,
>                  from layer4.c:30:
> /usr/include/linux/if.h:232:8: note: originally defined here
>   232 | struct ifreq {
>       |        ^~~~~
> In file included from ../../keepalived/include/layer4.h:28,
>                  from layer4.c:38:
> /usr/include/net/if.h:176:8: error: redefinition of ‘struct ifconf’
>   176 | struct ifconf
>       |        ^~~~~~
> In file included from /usr/include/linux/icmp.h:23,
>                  from layer4.c:30:
> /usr/include/linux/if.h:284:8: note: originally defined here
>   284 | struct ifconf  {
>       |        ^~~~~~
> gcc -DHAVE_CONFIG_H -I. -I../../lib  -I ../../keepalived/include -I ../../lib 
> -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE 
> -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 
> -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE 
> -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -I/usr/lib/x86_64-linux-gnu/perl/5.32/CORE -D_FORTIFY_SOURCE=2 
> -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -DLOCAL_STATE_DIR=\"/var\" 
> -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes 
> -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero 
> -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align 
> -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion 
> -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal 
> -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation 
> -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline 
> -Wjump-misses-init -Wlogical-op -Wmissing-declarations 
> -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs 
> -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings 
> -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 
> -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes 
> -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const 
> -Wsuggest-attribute=format -Wsuggest-attribute=malloc 
> -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand 
> -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas 
> -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros 
> -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
> --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 
> -ffile-prefix-map=/build/net-snmp-UCbSax/net-snmp-5.9.1+dfsg=. 
> -fstack-protector-strong -Wformat -Werror=format-security 
> -fno-strict-aliasing -g -O2 
> -ffile-prefix-map=/build/net-snmp-UCbSax/net-snmp-5.9.1+dfsg=. 
> -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe 
> -Wdate-time -pthread  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o smtp.o smtp.c
> gcc -DHAVE_CONFIG_H -I. -I../../lib  -I ../../keepalived/include -I ../../lib 
> -isystem debian//include -D_GNU_SOURCE -isystem debian//include -Wdate-time 
> -D_FORTIFY_SOURCE=2 -I/usr/include/libnl3 -DNETSNMP_NO_INLINE 
> -DNETSNMP_USE_INLINE -DNETSNMP_ENABLE_IPV6 -DNETSNMP_REMOVE_U64 
> -DNETSNMP_USE_INLINE -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE 
> -DDEBIAN -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -I/usr/lib/x86_64-linux-gnu/perl/5.32/CORE -D_FORTIFY_SOURCE=2 
> -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/glib-2.0 
> -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -DLOCAL_STATE_DIR=\"/var\" 
> -isystem debian//include -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -g -g 
> -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
> -Werror=format-security -Wall -Wextra -Wunused -Wstrict-prototypes 
> -Wabsolute-value -Waddress-of-packed-member -Walloca -Walloc-zero 
> -Warray-bounds=2 -Wattribute-alias -Wbad-function-cast -Wcast-align 
> -Wcast-qual -Wdate-time -Wdisabled-optimization -Wdouble-promotion 
> -Wduplicated-branches -Wduplicated-cond -Wfloat-conversion -Wfloat-equal 
> -Wformat-overflow -Wformat-security -Wformat-signedness -Wformat-truncation 
> -Wframe-larger-than=5120 -Wimplicit-fallthrough=3 -Winit-self -Winline 
> -Wjump-misses-init -Wlogical-op -Wmissing-declarations 
> -Wmissing-field-initializers -Wmissing-prototypes -Wnested-externs 
> -Wnormalized -Wnull-dereference -Wold-style-definition -Woverlength-strings 
> -Wpointer-arith -Wredundant-decls -Wshadow -Wshift-overflow=2 
> -Wstack-protector -Wstrict-overflow=4 -Wstrict-prototypes 
> -Wstringop-overflow=2 -Wsuggest-attribute=cold -Wsuggest-attribute=const 
> -Wsuggest-attribute=format -Wsuggest-attribute=malloc 
> -Wsuggest-attribute=noreturn -Wsuggest-attribute=pure -Wsync-nand 
> -Wtrampolines -Wundef -Wuninitialized -Wunknown-pragmas 
> -Wunsuffixed-float-constants -Wunused-const-variable=2 -Wunused-macros 
> -Wvariadic-macros -Wwrite-strings -fPIE -Wformat -Werror=format-security 
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong 
> --param=ssp-buffer-size=4 -grecord-gcc-switches -O2 -g -O2 
> -ffile-prefix-map=/build/net-snmp-UCbSax/net-snmp-5.9.1+dfsg=. 
> -fstack-protector-strong -Wformat -Werror=format-security 
> -fno-strict-aliasing -g -O2 
> -ffile-prefix-map=/build/net-snmp-UCbSax/net-snmp-5.9.1+dfsg=. 
> -fstack-protector-strong -Wformat -fwrapv -fno-strict-aliasing -pipe 
> -Wdate-time -pthread  -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
> -fstack-protector-strong -Wformat -Werror=format-security -c -o global_data.o 
> global_data.c
> In file included from layer4.c:36:
> /usr/include/linux/in.h:29:3: error: redeclaration of enumerator ‘IPPROTO_IP’
>    29 |   IPPROTO_IP = 0,               /* Dummy protocol for TCP             
>   */
>       |   ^~~~~~~~~~
> /usr/include/netinet/in.h:42:5: note: previous definition of ‘IPPROTO_IP’ 
> with type ‘enum <anonymous>’
>    42 |     IPPROTO_IP = 0,        /* Dummy protocol for TCP.  */
>       |     ^~~~~~~~~~
> /usr/include/linux/in.h:31:3: error: redeclaration of enumerator 
> ‘IPPROTO_ICMP’
>    31 |   IPPROTO_ICMP = 1,             /* Internet Control Message Protocol  
>   */
>       |   ^~~~~~~~~~~~
> /usr/include/netinet/in.h:44:5: note: previous definition of ‘IPPROTO_ICMP’ 
> with type ‘enum <anonymous>’
>    44 |     IPPROTO_ICMP = 1,      /* Internet Control Message Protocol.  */
>       |     ^~~~~~~~~~~~
> /usr/include/linux/in.h:33:3: error: redeclaration of enumerator 
> ‘IPPROTO_IGMP’
>    33 |   IPPROTO_IGMP = 2,             /* Internet Group Management Protocol 
>   */
>       |   ^~~~~~~~~~~~
> /usr/include/netinet/in.h:46:5: note: previous definition of ‘IPPROTO_IGMP’ 
> with type ‘enum <anonymous>’
>    46 |     IPPROTO_IGMP = 2,      /* Internet Group Management Protocol. */
>       |     ^~~~~~~~~~~~
> /usr/include/linux/in.h:35:3: error: redeclaration of enumerator 
> ‘IPPROTO_IPIP’
>    35 |   IPPROTO_IPIP = 4,             /* IPIP tunnels (older KA9Q tunnels 
> use 94) */
>       |   ^~~~~~~~~~~~
> /usr/include/netinet/in.h:48:5: note: previous definition of ‘IPPROTO_IPIP’ 
> with type ‘enum <anonymous>’
>    48 |     IPPROTO_IPIP = 4,      /* IPIP tunnels (older KA9Q tunnels use 
> 94).  */
>       |     ^~~~~~~~~~~~
> /usr/include/linux/in.h:37:3: error: redeclaration of enumerator ‘IPPROTO_TCP’
>    37 |   IPPROTO_TCP = 6,              /* Transmission Control Protocol      
>   */
>       |   ^~~~~~~~~~~
> /usr/include/netinet/in.h:50:5: note: previous definition of ‘IPPROTO_TCP’ 
> with type ‘enum <anonymous>’
>    50 |     IPPROTO_TCP = 6,       /* Transmission Control Protocol.  */
>       |     ^~~~~~~~~~~
> /usr/include/linux/in.h:39:3: error: redeclaration of enumerator ‘IPPROTO_EGP’
>    39 |   IPPROTO_EGP = 8,              /* Exterior Gateway Protocol          
>   */
>       |   ^~~~~~~~~~~
> /usr/include/netinet/in.h:52:5: note: previous definition of ‘IPPROTO_EGP’ 
> with type ‘enum <anonymous>’
>    52 |     IPPROTO_EGP = 8,       /* Exterior Gateway Protocol.  */
>       |     ^~~~~~~~~~~
> /usr/include/linux/in.h:41:3: error: redeclaration of enumerator ‘IPPROTO_PUP’
>    41 |   IPPROTO_PUP = 12,             /* PUP protocol                       
>   */
>       |   ^~~~~~~~~~~
> /usr/include/netinet/in.h:54:5: note: previous definition of ‘IPPROTO_PUP’ 
> with type ‘enum <anonymous>’
>    54 |     IPPROTO_PUP = 12,      /* PUP protocol.  */
>       |     ^~~~~~~~~~~
> /usr/include/linux/in.h:43:3: error: redeclaration of enumerator ‘IPPROTO_UDP’
>    43 |   IPPROTO_UDP = 17,             /* User Datagram Protocol             
>   */
>       |   ^~~~~~~~~~~
> /usr/include/netinet/in.h:56:5: note: previous definition of ‘IPPROTO_UDP’ 
> with type ‘enum <anonymous>’
>    56 |     IPPROTO_UDP = 17,      /* User Datagram Protocol.  */
>       |     ^~~~~~~~~~~
> /usr/include/linux/in.h:45:3: error: redeclaration of enumerator ‘IPPROTO_IDP’
>    45 |   IPPROTO_IDP = 22,             /* XNS IDP protocol                   
>   */
>       |   ^~~~~~~~~~~
> /usr/include/netinet/in.h:58:5: note: previous definition of ‘IPPROTO_IDP’ 
> with type ‘enum <anonymous>’
>    58 |     IPPROTO_IDP = 22,      /* XNS IDP protocol.  */
>       |     ^~~~~~~~~~~
> /usr/include/linux/in.h:47:3: error: redeclaration of enumerator ‘IPPROTO_TP’
>    47 |   IPPROTO_TP = 29,              /* SO Transport Protocol Class 4      
>   */
>       |   ^~~~~~~~~~
> /usr/include/netinet/in.h:60:5: note: previous definition of ‘IPPROTO_TP’ 
> with type ‘enum <anonymous>’
>    60 |     IPPROTO_TP = 29,       /* SO Transport Protocol Class 4.  */
>       |     ^~~~~~~~~~
> /usr/include/linux/in.h:49:3: error: redeclaration of enumerator 
> ‘IPPROTO_DCCP’
>    49 |   IPPROTO_DCCP = 33,            /* Datagram Congestion Control 
> Protocol */
>       |   ^~~~~~~~~~~~
> /usr/include/netinet/in.h:62:5: note: previous definition of ‘IPPROTO_DCCP’ 
> with type ‘enum <anonymous>’
>    62 |     IPPROTO_DCCP = 33,     /* Datagram Congestion Control Protocol.  
> */
>       |     ^~~~~~~~~~~~
> /usr/include/linux/in.h:51:3: error: redeclaration of enumerator 
> ‘IPPROTO_IPV6’
>    51 |   IPPROTO_IPV6 = 41,            /* IPv6-in-IPv4 tunnelling            
>   */
>       |   ^~~~~~~~~~~~
> /usr/include/netinet/in.h:64:5: note: previous definition of ‘IPPROTO_IPV6’ 
> with type ‘enum <anonymous>’
>    64 |     IPPROTO_IPV6 = 41,     /* IPv6 header.  */
>       |     ^~~~~~~~~~~~
> /usr/include/linux/in.h:53:3: error: redeclaration of enumerator 
> ‘IPPROTO_RSVP’
>    53 |   IPPROTO_RSVP = 46,            /* RSVP Protocol                      
>   */
>       |   ^~~~~~~~~~~~
> /usr/include/netinet/in.h:66:5: note: previous definition of ‘IPPROTO_RSVP’ 
> with type ‘enum <anonymous>’
>    66 |     IPPROTO_RSVP = 46,     /* Reservation Protocol.  */
>       |     ^~~~~~~~~~~~
> /usr/include/linux/in.h:55:3: error: redeclaration of enumerator ‘IPPROTO_GRE’
>    55 |   IPPROTO_GRE = 47,             /* Cisco GRE tunnels (rfc 1701,1702)  
>   */
>       |   ^~~~~~~~~~~
> /usr/include/netinet/in.h:68:5: note: previous definition of ‘IPPROTO_GRE’ 
> with type ‘enum <anonymous>’
>    68 |     IPPROTO_GRE = 47,      /* General Routing Encapsulation.  */
>       |     ^~~~~~~~~~~
> /usr/include/linux/in.h:57:3: error: redeclaration of enumerator ‘IPPROTO_ESP’
>    57 |   IPPROTO_ESP = 50,             /* Encapsulation Security Payload 
> protocol */
>       |   ^~~~~~~~~~~
> /usr/include/netinet/in.h:70:5: note: previous definition of ‘IPPROTO_ESP’ 
> with type ‘enum <anonymous>’
>    70 |     IPPROTO_ESP = 50,      /* encapsulating security payload.  */
>       |     ^~~~~~~~~~~
> /usr/include/linux/in.h:59:3: error: redeclaration of enumerator ‘IPPROTO_AH’
>    59 |   IPPROTO_AH = 51,              /* Authentication Header protocol     
>   */
>       |   ^~~~~~~~~~
> /usr/include/netinet/in.h:72:5: note: previous definition of ‘IPPROTO_AH’ 
> with type ‘enum <anonymous>’
>    72 |     IPPROTO_AH = 51,       /* authentication header.  */
>       |     ^~~~~~~~~~
> /usr/include/linux/in.h:61:3: error: redeclaration of enumerator ‘IPPROTO_MTP’
>    61 |   IPPROTO_MTP = 92,             /* Multicast Transport Protocol       
>   */
>       |   ^~~~~~~~~~~
> /usr/include/netinet/in.h:74:5: note: previous definition of ‘IPPROTO_MTP’ 
> with type ‘enum <anonymous>’
>    74 |     IPPROTO_MTP = 92,      /* Multicast Transport Protocol.  */
>       |     ^~~~~~~~~~~
> /usr/include/linux/in.h:63:3: error: redeclaration of enumerator 
> ‘IPPROTO_BEETPH’
>    63 |   IPPROTO_BEETPH = 94,          /* IP option pseudo header for BEET   
>   */
>       |   ^~~~~~~~~~~~~~
> /usr/include/netinet/in.h:76:5: note: previous definition of ‘IPPROTO_BEETPH’ 
> with type ‘enum <anonymous>’
>    76 |     IPPROTO_BEETPH = 94,   /* IP option pseudo header for BEET.  */
>       |     ^~~~~~~~~~~~~~
> /usr/include/linux/in.h:65:3: error: redeclaration of enumerator 
> ‘IPPROTO_ENCAP’
>    65 |   IPPROTO_ENCAP = 98,           /* Encapsulation Header               
>   */
>       |   ^~~~~~~~~~~~~
> /usr/include/netinet/in.h:78:5: note: previous definition of ‘IPPROTO_ENCAP’ 
> with type ‘enum <anonymous>’
>    78 |     IPPROTO_ENCAP = 98,    /* Encapsulation Header.  */
>       |     ^~~~~~~~~~~~~
> /usr/include/linux/in.h:67:3: error: redeclaration of enumerator ‘IPPROTO_PIM’
>    67 |   IPPROTO_PIM = 103,            /* Protocol Independent Multicast     
>   */
>       |   ^~~~~~~~~~~
> /usr/include/netinet/in.h:80:5: note: previous definition of ‘IPPROTO_PIM’ 
> with type ‘enum <anonymous>’
>    80 |     IPPROTO_PIM = 103,     /* Protocol Independent Multicast.  */
>       |     ^~~~~~~~~~~
> /usr/include/linux/in.h:69:3: error: redeclaration of enumerator 
> ‘IPPROTO_COMP’
>    69 |   IPPROTO_COMP = 108,           /* Compression Header Protocol        
>   */
>       |   ^~~~~~~~~~~~
> /usr/include/netinet/in.h:82:5: note: previous definition of ‘IPPROTO_COMP’ 
> with type ‘enum <anonymous>’
>    82 |     IPPROTO_COMP = 108,    /* Compression Header Protocol.  */
>       |     ^~~~~~~~~~~~
> /usr/include/linux/in.h:71:3: error: redeclaration of enumerator 
> ‘IPPROTO_SCTP’
>    71 |   IPPROTO_SCTP = 132,           /* Stream Control Transport Protocol  
>   */
>       |   ^~~~~~~~~~~~
> /usr/include/netinet/in.h:84:5: note: previous definition of ‘IPPROTO_SCTP’ 
> with type ‘enum <anonymous>’
>    84 |     IPPROTO_SCTP = 132,    /* Stream Control Transmission Protocol.  
> */
>       |     ^~~~~~~~~~~~
> /usr/include/linux/in.h:73:3: error: redeclaration of enumerator 
> ‘IPPROTO_UDPLITE’
>    73 |   IPPROTO_UDPLITE = 136,        /* UDP-Lite (RFC 3828)                
>   */
>       |   ^~~~~~~~~~~~~~~
> /usr/include/netinet/in.h:86:5: note: previous definition of 
> ‘IPPROTO_UDPLITE’ with type ‘enum <anonymous>’
>    86 |     IPPROTO_UDPLITE = 136, /* UDP-Lite protocol.  */
>       |     ^~~~~~~~~~~~~~~
> /usr/include/linux/in.h:75:3: error: redeclaration of enumerator 
> ‘IPPROTO_MPLS’
>    75 |   IPPROTO_MPLS = 137,           /* MPLS in IP (RFC 4023)              
>   */
>       |   ^~~~~~~~~~~~
> /usr/include/netinet/in.h:88:5: note: previous definition of ‘IPPROTO_MPLS’ 
> with type ‘enum <anonymous>’
>    88 |     IPPROTO_MPLS = 137,    /* MPLS in IP.  */
>       |     ^~~~~~~~~~~~
> /usr/include/linux/in.h:77:3: error: redeclaration of enumerator 
> ‘IPPROTO_ETHERNET’
>    77 |   IPPROTO_ETHERNET = 143,       /* Ethernet-within-IPv6 Encapsulation 
>   */
>       |   ^~~~~~~~~~~~~~~~
> /usr/include/netinet/in.h:90:5: note: previous definition of 
> ‘IPPROTO_ETHERNET’ with type ‘enum <anonymous>’
>    90 |     IPPROTO_ETHERNET = 143, /* Ethernet-within-IPv6 Encapsulation.  */
>       |     ^~~~~~~~~~~~~~~~
> /usr/include/linux/in.h:79:3: error: redeclaration of enumerator ‘IPPROTO_RAW’
>    79 |   IPPROTO_RAW = 255,            /* Raw IP packets                     
>   */
>       |   ^~~~~~~~~~~
> /usr/include/netinet/in.h:92:5: note: previous definition of ‘IPPROTO_RAW’ 
> with type ‘enum <anonymous>’
>    92 |     IPPROTO_RAW = 255,     /* Raw IP packets.  */
>       |     ^~~~~~~~~~~
> /usr/include/linux/in.h:81:3: error: redeclaration of enumerator 
> ‘IPPROTO_MPTCP’
>    81 |   IPPROTO_MPTCP = 262,          /* Multipath TCP connection           
>   */
>       |   ^~~~~~~~~~~~~
> /usr/include/netinet/in.h:94:5: note: previous definition of ‘IPPROTO_MPTCP’ 
> with type ‘enum <anonymous>’
>    94 |     IPPROTO_MPTCP = 262,   /* Multipath TCP connection.  */
>       |     ^~~~~~~~~~~~~
> In file included from /usr/include/linux/netfilter.h:7,
>                  from ../../keepalived/include/ip_vs.h:22,
>                  from ../../keepalived/include/check_data.h:38,
>                  from ../../keepalived/include/check_api.h:35,
>                  from layer4.c:42:
> /usr/include/linux/in.h:83:3: error: redeclaration of enumerator ‘IPPROTO_MAX’
>    83 |   IPPROTO_MAX
>       |   ^~~~~~~~~~~
> In file included from layer4.c:36:
> /usr/include/netinet/in.h:96:5: note: previous definition of ‘IPPROTO_MAX’ 
> with type ‘enum <anonymous>’
>    96 |     IPPROTO_MAX
>       |     ^~~~~~~~~~~
> In file included from /usr/include/linux/netfilter.h:7,
>                  from ../../keepalived/include/ip_vs.h:22,
>                  from ../../keepalived/include/check_data.h:38,
>                  from ../../keepalived/include/check_api.h:35,
>                  from layer4.c:42:
> /usr/include/linux/in.h:89:8: error: redefinition of ‘struct in_addr’
>    89 | struct in_addr {
>       |        ^~~~~~~
> In file included from layer4.c:36:
> /usr/include/netinet/in.h:31:8: note: originally defined here
>    31 | struct in_addr
>       |        ^~~~~~~
> In file included from /usr/include/linux/netfilter.h:7,
>                  from ../../keepalived/include/ip_vs.h:22,
>                  from ../../keepalived/include/check_data.h:38,
>                  from ../../keepalived/include/check_api.h:35,
>                  from layer4.c:42:
> /usr/include/linux/in.h:173:8: error: redefinition of ‘struct ip_mreq’
>   173 | struct ip_mreq  {
>       |        ^~~~~~~
> In file included from layer4.c:36:
> /usr/include/netinet/in.h:269:8: note: originally defined here
>   269 | struct ip_mreq
>       |        ^~~~~~~
> In file included from /usr/include/linux/netfilter.h:7,
>                  from ../../keepalived/include/ip_vs.h:22,
>                  from ../../keepalived/include/check_data.h:38,
>                  from ../../keepalived/include/check_api.h:35,
>                  from layer4.c:42:
> /usr/include/linux/in.h:178:8: error: redefinition of ‘struct ip_mreqn’
>   178 | struct ip_mreqn {
>       |        ^~~~~~~~
> In file included from /usr/include/netinet/in.h:37,
>                  from layer4.c:36:
> /usr/include/x86_64-linux-gnu/bits/in.h:149:8: note: originally defined here
>   149 | struct ip_mreqn
>       |        ^~~~~~~~
> In file included from /usr/include/linux/netfilter.h:7,
>                  from ../../keepalived/include/ip_vs.h:22,
>                  from ../../keepalived/include/check_data.h:38,
>                  from ../../keepalived/include/check_api.h:35,
>                  from layer4.c:42:
> /usr/include/linux/in.h:184:8: error: redefinition of ‘struct ip_mreq_source’
>   184 | struct ip_mreq_source {
>       |        ^~~~~~~~~~~~~~
> In file included from layer4.c:36:
> /usr/include/netinet/in.h:278:8: note: originally defined here
>   278 | struct ip_mreq_source
>       |        ^~~~~~~~~~~~~~
> In file included from /usr/include/linux/netfilter.h:7,
>                  from ../../keepalived/include/ip_vs.h:22,
>                  from ../../keepalived/include/check_data.h:38,
>                  from ../../keepalived/include/check_api.h:35,
>                  from layer4.c:42:
> /usr/include/linux/in.h:190:8: error: redefinition of ‘struct ip_msfilter’
>   190 | struct ip_msfilter {
>       |        ^~~~~~~~~~~
> In file included from layer4.c:36:
> /usr/include/netinet/in.h:328:8: note: originally defined here
>   328 | struct ip_msfilter
>       |        ^~~~~~~~~~~
> In file included from /usr/include/linux/netfilter.h:7,
>                  from ../../keepalived/include/ip_vs.h:22,
>                  from ../../keepalived/include/check_data.h:38,
>                  from ../../keepalived/include/check_api.h:35,
>                  from layer4.c:42:
> /usr/include/linux/in.h:202:8: error: redefinition of ‘struct group_req’
>   202 | struct group_req {
>       |        ^~~~~~~~~
> In file included from layer4.c:36:
> /usr/include/netinet/in.h:305:8: note: originally defined here
>   305 | struct group_req
>       |        ^~~~~~~~~
> In file included from /usr/include/linux/netfilter.h:7,
>                  from ../../keepalived/include/ip_vs.h:22,
>                  from ../../keepalived/include/check_data.h:38,
>                  from ../../keepalived/include/check_api.h:35,
>                  from layer4.c:42:
> /usr/include/linux/in.h:207:8: error: redefinition of ‘struct 
> group_source_req’
>   207 | struct group_source_req {
>       |        ^~~~~~~~~~~~~~~~
> In file included from layer4.c:36:
> /usr/include/netinet/in.h:314:8: note: originally defined here
>   314 | struct group_source_req
>       |        ^~~~~~~~~~~~~~~~
> In file included from /usr/include/linux/netfilter.h:7,
>                  from ../../keepalived/include/ip_vs.h:22,
>                  from ../../keepalived/include/check_data.h:38,
>                  from ../../keepalived/include/check_api.h:35,
>                  from layer4.c:42:
> /usr/include/linux/in.h:213:8: error: redefinition of ‘struct group_filter’
>   213 | struct group_filter {
>       |        ^~~~~~~~~~~~
> In file included from layer4.c:36:
> /usr/include/netinet/in.h:349:8: note: originally defined here
>   349 | struct group_filter
>       |        ^~~~~~~~~~~~
> In file included from /usr/include/linux/netfilter.h:7,
>                  from ../../keepalived/include/ip_vs.h:22,
>                  from ../../keepalived/include/check_data.h:38,
>                  from ../../keepalived/include/check_api.h:35,
>                  from layer4.c:42:
> /usr/include/linux/in.h:227:8: error: redefinition of ‘struct in_pktinfo’
>   227 | struct in_pktinfo {
>       |        ^~~~~~~~~~
> In file included from /usr/include/netinet/in.h:37,
>                  from layer4.c:36:
> /usr/include/x86_64-linux-gnu/bits/in.h:157:8: note: originally defined here
>   157 | struct in_pktinfo
>       |        ^~~~~~~~~~
> In file included from /usr/include/linux/netfilter.h:7,
>                  from ../../keepalived/include/ip_vs.h:22,
>                  from ../../keepalived/include/check_data.h:38,
>                  from ../../keepalived/include/check_api.h:35,
>                  from layer4.c:42:
> /usr/include/linux/in.h:237:8: error: redefinition of ‘struct sockaddr_in’
>   237 | struct sockaddr_in {
>       |        ^~~~~~~~~~~
> In file included from layer4.c:36:
> /usr/include/netinet/in.h:242:8: note: originally defined here
>   242 | struct sockaddr_in
>       |        ^~~~~~~~~~~
> make[3]: *** [Makefile:397: layer4.o] Error 1


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/keepalived_2.1.5-0.2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to