* Package: net-misc/ipsorcery-2.0.9-r2 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc gtk kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ipsorc-2.0.9.tar.gz to /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/work >>> Source unpacked in /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/work >>> Preparing source in /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/work/ipsorc-2.0.9 ... * Applying ipsorcery-2.0.9-_BSD_SOURCE.patch ... [ ok ] * Applying ipsorcery-2.0.9-gentoo.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/work/ipsorc-2.0.9 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/work/ipsorc-2.0.9 ... make -j1 CC=x86_64-pc-linux-gnu-gcc PKG_CONFIG=x86_64-pc-linux-gnu-pkg-config con gtk x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -fno-common -Wall -ansi -D_VERSION_=\"2.0.9\" -D_CON_ sorcery.c spells.c route.c ip.c tcp.c udp.c ipsorcery.c icmp.c -o ipmagic spells.c: In function ‘pooper_snooper’: spells.c:137:54: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] 137 | if((recvf = recvfrom(snoop, buff, 65535, 0, &sn, &sizer)) < 0) | ^~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from wand.h:45, from spells.c:18: /usr/include/bits/socket2.h:65:49: note: expected ‘socklen_t * __restrict__’ {aka ‘unsigned int * __restrict__’} but argument is of type ‘int *’ 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ spells.c:142:60: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] 142 | if((recvf = recvfrom(snoop, buff, 65535, 0, &sn, &sizer)) < 0) | ^~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from wand.h:45, from spells.c:18: /usr/include/bits/socket2.h:65:49: note: expected ‘socklen_t * __restrict__’ {aka ‘unsigned int * __restrict__’} but argument is of type ‘int *’ 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ In file included from wand.h:47, from route.c:20: route.c: In function ‘get_ospf_arg’: route.c:244:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 244 | toupper((int)&next_arg); | ^ route.c:244:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 244 | toupper((int)&next_arg); | ^ route.c:244:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 244 | toupper((int)&next_arg); | ^ route.c:244:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 244 | toupper((int)&next_arg); | ^ route.c:244:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 244 | toupper((int)&next_arg); | ^ route.c:289:39: warning: argument to ‘sizeof’ in ‘memcpy’ call is the same pointer type ‘char *’ as the destination; expected ‘char’ or an explicit length [-Wsizeof-pointer-memaccess] 289 | memcpy(oh->auth, next_arg, sizeof(next_arg)); | ^ ipsorcery.c: In function ‘main’: ipsorcery.c:408:47: warning: argument to ‘sizeof’ in ‘memcpy’ call is the same expression as the source; did you mean to remove the addressof? [-Wsizeof-pointer-memaccess] 408 | memcpy(&packet[S_IP], &ip_option, sizeof(&ip_option)); | ^ ipsorcery.c:588:8: warning: the address of ‘rip_e’ will always evaluate as ‘true’ [-Waddress] 588 | if(rip_e) | ^~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -O2 -pipe -march=native -fno-common -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/atk-1.0 -pthread -Wall -ansi -D_GTK_ -DGTK_ENABLE_BROKEN ipmagic.c spellbook.c cauldron.c spells.c tcp.c icmp.c udp.c -o magic -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype ipmagic.c: In function ‘ip_cauldron’: ipmagic.c:159:15: warning: variable ‘protoc’ set but not used [-Wunused-but-set-variable] 159 | const char *protoc; | ^~~~~~ ipmagic.c: In function ‘ip_defaults’: ipmagic.c:244:15: warning: variable ‘protoc’ set but not used [-Wunused-but-set-variable] 244 | const char *protoc; | ^~~~~~ spells.c: In function ‘pooper_snooper’: spells.c:137:54: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] 137 | if((recvf = recvfrom(snoop, buff, 65535, 0, &sn, &sizer)) < 0) | ^~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from wand.h:45, from spells.c:18: /usr/include/bits/socket2.h:65:49: note: expected ‘socklen_t * __restrict__’ {aka ‘unsigned int * __restrict__’} but argument is of type ‘int *’ 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ spells.c:142:60: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness [-Wpointer-sign] 142 | if((recvf = recvfrom(snoop, buff, 65535, 0, &sn, &sizer)) < 0) | ^~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from /usr/include/netinet/in.h:23, from /usr/include/netdb.h:27, from wand.h:45, from spells.c:18: /usr/include/bits/socket2.h:65:49: note: expected ‘socklen_t * __restrict__’ {aka ‘unsigned int * __restrict__’} but argument is of type ‘int *’ 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ udp.c: In function ‘udp_defaults’: udp.c:150:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 150 | sprintf(udleng, "%d", S_UDP); | ~^ | | | int | %ld /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccudEAal.o:(.bss+0x0): multiple definition of `snoop_check'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x80): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccudEAal.o:(.bss+0x8): multiple definition of `tab'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x88): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccudEAal.o:(.bss+0x10): multiple definition of `fixed_pos'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x90): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccQsxPrm.o:(.bss+0x0): multiple definition of `snoop_check'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x80): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccQsxPrm.o:(.bss+0x10): multiple definition of `fixed_pos'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x90): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccQsxPrm.o:(.bss+0x8): multiple definition of `tab'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x88): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccvgNUjo.o:(.bss+0x0): multiple definition of `snoop_check'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x80): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccvgNUjo.o:(.bss+0x8): multiple definition of `tab'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x88): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccvgNUjo.o:(.bss+0x10): multiple definition of `fixed_pos'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x90): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccepoblk.o:(.bss+0xd0): multiple definition of `tab'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x88): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccepoblk.o:(.bss+0xc8): multiple definition of `snoop_check'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x80): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccepoblk.o:(.bss+0xd8): multiple definition of `fixed_pos'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x90): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccm4XOVn.o:(.bss+0x0): multiple definition of `fixed_pos2'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccepoblk.o:(.bss+0x88): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccm4XOVn.o:(.bss+0x30): multiple definition of `tab'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x88): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccm4XOVn.o:(.bss+0x28): multiple definition of `snoop_check'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x80): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccm4XOVn.o:(.bss+0x38): multiple definition of `fixed_pos'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x90): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccBFu1om.o:(.bss+0x0): multiple definition of `src_te'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccepoblk.o:(.bss+0xc0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccBFu1om.o:(.bss+0x8): multiple definition of `dst_te'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccepoblk.o:(.bss+0xb8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccBFu1om.o:(.bss+0x20): multiple definition of `fixed_pos2'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccepoblk.o:(.bss+0x88): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccBFu1om.o:(.bss+0xa8): multiple definition of `tab'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x88): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccBFu1om.o:(.bss+0x18): multiple definition of `src_lbl'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccepoblk.o:(.bss+0x80): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccBFu1om.o:(.bss+0x10): multiple definition of `dst_lbl'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccepoblk.o:(.bss+0x78): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccBFu1om.o:(.bss+0xb0): multiple definition of `fixed_pos'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x90): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccBFu1om.o:(.bss+0xa0): multiple definition of `snoop_check'; /var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/ccE7XCel.o:(.bss+0x80): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:19: gtk] Error 1 * ERROR: net-misc/ipsorcery-2.0.9-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/ipsorcery-2.0.9-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/ipsorcery-2.0.9-r2::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:ipsorcery-2.0.9-r2:20200204-095215.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/work/ipsorc-2.0.9' * S: '/var/tmp/portage/net-misc/ipsorcery-2.0.9-r2/work/ipsorc-2.0.9'