* Package: net-analyzer/portmon-2.0 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking portmon-2.0.tar.gz to /var/tmp/portage/net-analyzer/portmon-2.0/work >>> Source unpacked in /var/tmp/portage/net-analyzer/portmon-2.0/work >>> Preparing source in /var/tmp/portage/net-analyzer/portmon-2.0/work/portmon-2.0 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/portmon-2.0/work/portmon-2.0 ... * econf: updating portmon-2.0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating portmon-2.0/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --libdir=/usr/lib64 --sysconfdir=/etc/portmon checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes /var/tmp/portage/net-analyzer/portmon-2.0/work/portmon-2.0/missing: Unknown `--run' option Try `/var/tmp/portage/net-analyzer/portmon-2.0/work/portmon-2.0/missing --help' for more information configure: WARNING: `missing' script is too old or missing checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking for gawk... (cached) gawk checking whether byte ordering is bigendian... no checking whether to install extra goodies... no checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for ftime in -lcompat... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) 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 getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for strings.h... (cached) yes checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for unistd.h... (cached) 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 stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking return type of signal handlers... void checking for alarm... yes checking for bzero... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for inet_ntoa... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for getopt_long... yes configure: creating ./config.status config.status: creating Makefile config.status: creating extras/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/portmon-2.0/work/portmon-2.0 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/net-analyzer/portmon-2.0/work/portmon-2.0' Making all in src make[2]: Entering directory '/var/tmp/portage/net-analyzer/portmon-2.0/work/portmon-2.0/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -pipe -march=native -fno-common -O2 -pipe -march=native -fno-common -c `test -f 'portmon.c' || echo './'`portmon.c portmon.c: In function ‘main’: portmon.c:287:4: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] 287 | chdir("/"); | ^~~~~~~~~~ In file included from /usr/include/string.h:494, from portmon.c:23: In function ‘strncat’, inlined from ‘main’ at portmon.c:386:8: /usr/include/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ specified bound 512 equals destination size [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncat’, inlined from ‘main’ at portmon.c:398:8: /usr/include/bits/string_fortified.h:136:10: warning: ‘__builtin___strncat_chk’ specified bound 512 equals destination size [-Wstringop-overflow=] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -pipe -march=native -fno-common -O2 -pipe -march=native -fno-common -c `test -f 'tcp_ping.c' || echo './'`tcp_ping.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -pipe -march=native -fno-common -O2 -pipe -march=native -fno-common -c `test -f 'icmp_ping.c' || echo './'`icmp_ping.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -pipe -march=native -fno-common -O2 -pipe -march=native -fno-common -c `test -f 'action.c' || echo './'`action.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -pipe -march=native -fno-common -O2 -pipe -march=native -fno-common -c `test -f 'report.c' || echo './'`report.c report.c: In function ‘format_output’: report.c:108:5: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] 108 | sprintf(out_str, "%s%d", out_str, port); | ^~~~~~~ report.c:111:5: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] 111 | sprintf(out_str, "%s%d", out_str, lag); | ^~~~~~~ report.c:114:5: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] 114 | sprintf(out_str, "%s%c", out_str, status); | ^~~~~~~ In file included from /usr/include/string.h:494, from report.c:23: In function ‘strncpy’, inlined from ‘format_output’ at report.c:92:3: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncat’, inlined from ‘format_output’ at report.c:117:5: /usr/include/bits/string_fortified.h:136:10: warning: ‘__builtin_strncat’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ report.c: In function ‘format_output’: report.c:117:5: note: length computed here 117 | strncat(out_str, wd_status, strlen(wd_status)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from report.c:23: In function ‘strncat’, inlined from ‘format_output’ at report.c:105:5: /usr/include/bits/string_fortified.h:136:10: warning: ‘__builtin_strncat’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 136 | return __builtin___strncat_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ report.c: In function ‘format_output’: report.c:105:5: note: length computed here 105 | strncat(out_str, hostname, strlen(hostname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -pipe -march=native -fno-common -O2 -pipe -march=native -fno-common -c `test -f 'config.c' || echo './'`config.c config.c: In function ‘read_config’: config.c:96:18: warning: argument to ‘sizeof’ in ‘memcpy’ call is the same expression as the source; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] 96 | sizeof(host->h_addr)); | ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -O2 -pipe -march=native -fno-common -O2 -pipe -march=native -fno-common -c `test -f 'exec_proc.c' || echo './'`exec_proc.c In file included from /usr/include/string.h:494, from exec_proc.c:22: In function ‘strncpy’, inlined from ‘exec_proc’ at exec_proc.c:35:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 512 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wall -O2 -pipe -march=native -fno-common -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o portmon portmon.o tcp_ping.o icmp_ping.o action.o report.o config.o exec_proc.o -lnsl /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tcp_ping.o:(.bss+0xc): multiple definition of `timeout'; portmon.o:(.bss+0x4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tcp_ping.o:(.bss+0x8): multiple definition of `verbose'; portmon.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tcp_ping.o:(.bss+0x220): multiple definition of `err_msg'; portmon.o:(.bss+0x220): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tcp_ping.o:(.bss+0x20): multiple definition of `logfile'; portmon.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tcp_ping.o:(.bss+0x228): multiple definition of `hosts'; portmon.o:(.bss+0x228): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tcp_ping.o:(.bss+0x230): multiple definition of `daemonize_flag'; portmon.o:(.bss+0x230): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: tcp_ping.o:(.bss+0x234): multiple definition of `report_flag'; portmon.o:(.bss+0x234): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: icmp_ping.o:(.bss+0x4): multiple definition of `timeout'; portmon.o:(.bss+0x4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: icmp_ping.o:(.bss+0x0): multiple definition of `verbose'; portmon.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: icmp_ping.o:(.bss+0x220): multiple definition of `err_msg'; portmon.o:(.bss+0x220): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: icmp_ping.o:(.bss+0x20): multiple definition of `logfile'; portmon.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: icmp_ping.o:(.bss+0x228): multiple definition of `hosts'; portmon.o:(.bss+0x228): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: icmp_ping.o:(.bss+0x230): multiple definition of `daemonize_flag'; portmon.o:(.bss+0x230): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: icmp_ping.o:(.bss+0x234): multiple definition of `report_flag'; portmon.o:(.bss+0x234): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: action.o:(.bss+0x0): multiple definition of `verbose'; portmon.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: action.o:(.bss+0x4): multiple definition of `timeout'; portmon.o:(.bss+0x4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: action.o:(.bss+0x20): multiple definition of `logfile'; portmon.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: action.o:(.bss+0x220): multiple definition of `err_msg'; portmon.o:(.bss+0x220): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: action.o:(.bss+0x228): multiple definition of `hosts'; portmon.o:(.bss+0x228): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: action.o:(.bss+0x230): multiple definition of `daemonize_flag'; portmon.o:(.bss+0x230): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: action.o:(.bss+0x234): multiple definition of `report_flag'; portmon.o:(.bss+0x234): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: report.o:(.bss+0x228): multiple definition of `hosts'; portmon.o:(.bss+0x228): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: report.o:(.bss+0x0): multiple definition of `verbose'; portmon.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: report.o:(.bss+0x4): multiple definition of `timeout'; portmon.o:(.bss+0x4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: report.o:(.bss+0x20): multiple definition of `logfile'; portmon.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: report.o:(.bss+0x220): multiple definition of `err_msg'; portmon.o:(.bss+0x220): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: report.o:(.bss+0x230): multiple definition of `daemonize_flag'; portmon.o:(.bss+0x230): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: report.o:(.bss+0x234): multiple definition of `report_flag'; portmon.o:(.bss+0x234): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: config.o:(.bss+0x228): multiple definition of `hosts'; portmon.o:(.bss+0x228): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: config.o:(.bss+0x220): multiple definition of `err_msg'; portmon.o:(.bss+0x220): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: config.o:(.bss+0x0): multiple definition of `verbose'; portmon.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: config.o:(.bss+0x4): multiple definition of `timeout'; portmon.o:(.bss+0x4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: config.o:(.bss+0x20): multiple definition of `logfile'; portmon.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: config.o:(.bss+0x230): multiple definition of `daemonize_flag'; portmon.o:(.bss+0x230): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: config.o:(.bss+0x234): multiple definition of `report_flag'; portmon.o:(.bss+0x234): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: exec_proc.o:(.bss+0x0): multiple definition of `verbose'; portmon.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: exec_proc.o:(.bss+0x4): multiple definition of `timeout'; portmon.o:(.bss+0x4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: exec_proc.o:(.bss+0x20): multiple definition of `logfile'; portmon.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: exec_proc.o:(.bss+0x220): multiple definition of `err_msg'; portmon.o:(.bss+0x220): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: exec_proc.o:(.bss+0x228): multiple definition of `hosts'; portmon.o:(.bss+0x228): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: exec_proc.o:(.bss+0x230): multiple definition of `daemonize_flag'; portmon.o:(.bss+0x230): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: exec_proc.o:(.bss+0x234): multiple definition of `report_flag'; portmon.o:(.bss+0x234): first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:177: portmon] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-analyzer/portmon-2.0/work/portmon-2.0/src' make[1]: *** [Makefile:174: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-analyzer/portmon-2.0/work/portmon-2.0' make: *** [Makefile:129: all] Error 2 * ERROR: net-analyzer/portmon-2.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/portmon-2.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/portmon-2.0::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:portmon-2.0:20200129-065134.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/portmon-2.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/portmon-2.0/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/portmon-2.0/work/portmon-2.0' * S: '/var/tmp/portage/net-analyzer/portmon-2.0/work/portmon-2.0'