* Package: net-misc/wput-0.6.1-r1 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux nls ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking wput-0.6.1.tgz to /var/tmp/portage/net-misc/wput-0.6.1-r1/work >>> Source unpacked in /var/tmp/portage/net-misc/wput-0.6.1-r1/work >>> Preparing source in /var/tmp/portage/net-misc/wput-0.6.1-r1/work/wput-0.6.1 ... * Applying wput-0.6-gentoo.diff ... [ ok ] * Applying wput-0.6-respectldflags.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/wput-0.6.1-r1/work/wput-0.6.1 ... * econf: updating wput-0.6.1/config.guess with /usr/share/gnuconfig/config.guess * econf: updating wput-0.6.1/config.sub with /usr/share/gnuconfig/config.sub ./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 --docdir=/usr/share/doc/wput-0.6.1-r1 --htmldir=/usr/share/doc/wput-0.6.1-r1/html --libdir=/usr/lib64 --enable-nls --with-ssl --enable-g-switch=no checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... 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 ISO C89... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/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 sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/termio.h usability... no checking sys/termio.h presence... no checking for sys/termio.h... no checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sys/winsize.h usability... no checking sys/winsize.h presence... no checking for sys/winsize.h... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for library containing getopt_long... none required checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking whether NLS is requested... yes checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for GNUTLS includes... "" checking gnutls/gnutls.h, usability... no checking gnutls/gnutls.h, presence... no checking for gnutls/gnutls.h,... no checking gnutls/openssl.h usability... yes checking gnutls/openssl.h presence... yes checking for gnutls/openssl.h... yes checking for GNUTLS libraries... no checking for long long... yes checking for unsigned long long... yes checking for int... yes checking size of int... 4 checking for short... yes checking size of short... 2 configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: WARNING: po/Makefile.in.in seems to ignore the --datarootdir setting config.status: creating src/config.h config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/wput-0.6.1-r1/work/wput-0.6.1 ... make -j1 cd po && make all make[1]: Entering directory '/var/tmp/portage/net-misc/wput-0.6.1-r1/work/wput-0.6.1/po' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/net-misc/wput-0.6.1-r1/work/wput-0.6.1/po' cd src && make all make[1]: Entering directory '/var/tmp/portage/net-misc/wput-0.6.1-r1/work/wput-0.6.1/src' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o wput.o wput.c wput.c: In function ‘readwputrc’: wput.c:547:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 547 | tmp = (char *) set_option(com, val); | ^ wput.c: In function ‘commandlineoptions’: wput.c:639:47: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] 639 | fprintf(opt.output, "\nUsing %d-Bytes for off_t\n", sizeof(off_t)); | ~^ ~~~~~~~~~~~~~ | | | | int long unsigned int | %ld wput.c: In function ‘main’: wput.c:168:4: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] 168 | freopen ("/dev/null", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wput.c:169:4: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] 169 | freopen ("/dev/null", "w", stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wput.c:170:4: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] 170 | freopen ("/dev/null", "w", stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o netrc.o netrc.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o ftp.o ftp.c ftp.c: In function ‘try_do_cwd’: ftp.c:105:4: warning: ‘res’ may be used uninitialized in this function [-Wmaybe-uninitialized] 105 | if(res < 0 && opt.no_directories) | ^ ftp.c: In function ‘open_input_file’: ftp.c:206:6: warning: ‘fd’ may be used uninitialized in this function [-Wmaybe-uninitialized] 206 | int fd; | ^~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o ftplib.o ftplib.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o utils.o utils.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o progress.o progress.c progress.c: In function ‘bar_create’: progress.c:334:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 334 | if(fsession->local_fname) /* input-pipe */ | ^~ progress.c:337:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 337 | bar.dots = 0; | ^~~ progress.c: In function ‘calculate_eta’: progress.c:310:25: warning: ‘%02d’ directive writing 2 bytes into a region of size between 1 and 4 [-Wformat-overflow=] 310 | sprintf(buf, "ETA %2d:%02dd", remain / (3600 * 24), (remain % (24 * 3600)) / 3600); | ^~~~ progress.c:310:16: note: directive argument in the range [0, 23] 310 | sprintf(buf, "ETA %2d:%02dd", remain / (3600 * 24), (remain % (24 * 3600)) / 3600); | ^~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from wput.h:37, from progress.h:4, from progress.c:19: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 14 bytes into a destination of size 11 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ progress.c:304:24: warning: ‘%02d’ directive writing between 2 and 11 bytes into a region of size 4 [-Wformat-overflow=] 304 | sprintf(buf, "ETA %02ds", remain); | ^~~~ progress.c:304:16: note: directive argument in the range [-2147483648, 59] 304 | sprintf(buf, "ETA %02ds", remain); | ^~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from wput.h:37, from progress.h:4, from progress.c:19: /usr/include/bits/stdio2.h:36:10: note: ‘__builtin___sprintf_chk’ output between 11 and 20 bytes into a destination of size 11 36 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 37 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:494, from wput.h:38, from progress.h:4, from progress.c:19: In function ‘memcpy’, inlined from ‘bar_update’ at progress.c:383:4: /usr/include/bits/string_fortified.h:34:10: warning: ‘__builtin_memcpy’ accessing 92 bytes at offsets 32 and 36 overlaps 88 bytes at offset 36 [-Wrestrict] 34 | return __builtin___memcpy_chk (__dest, __src, __len, __bos0 (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o socketlib.o socketlib.c socketlib.c: In function ‘proxy_init’: socketlib.c:469:7: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 469 | } else | ^~~~ socketlib.c:477:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 477 | return sock; | ^~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o queue.o queue.c queue.c: In function ‘build_fsession’: queue.c:466:7: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 466 | } else | ^~~~ queue.c:478:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 478 | fsession->local_fname = file; | ^~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o ftp-ls.o ftp-ls.c ftp-ls.c: In function ‘ftp_parse_vms_ls’: ftp-ls.c:850:7: warning: implicit declaration of function ‘strptime’; did you mean ‘strftime’? [-Wimplicit-function-declaration] 850 | strptime( date_str, "%d-%b-%Y %H:%M:%S", ×truct); | ^~~~~~~~ | strftime ftp-ls.c: In function ‘ftp_parse_unix_ls.isra.0’: ftp-ls.c:352:21: warning: ‘cur.perms’ may be used uninitialized in this function [-Wmaybe-uninitialized] 352 | && (cur.perms & 0111) | ~~~~~~~~~~~^~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o ../wput wput.o netrc.o ftp.o ftplib.o utils.o progress.o socketlib.o queue.o ftp-ls.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: netrc.o:(.bss+0x0): multiple definition of `opt'; wput.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ftp.o:(.bss+0x0): multiple definition of `opt'; wput.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ftplib.o:(.bss+0x20): multiple definition of `opt'; wput.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: utils.o:(.bss+0x0): multiple definition of `opt'; wput.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: progress.o:(.bss+0x0): multiple definition of `opt'; wput.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: socketlib.o:(.bss+0x0): multiple definition of `opt'; wput.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: queue.o:(.bss+0x20): multiple definition of `opt'; wput.o:(.bss+0x20): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ftp-ls.o:(.bss+0x0): multiple definition of `opt'; wput.o:(.bss+0x20): first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:26: wput] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/wput-0.6.1-r1/work/wput-0.6.1/src' make: *** [Makefile:11: all] Error 2 * ERROR: net-misc/wput-0.6.1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/wput-0.6.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/wput-0.6.1-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:wput-0.6.1-r1:20200128-135637.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/wput-0.6.1-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/wput-0.6.1-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/wput-0.6.1-r1/work/wput-0.6.1' * S: '/var/tmp/portage/net-misc/wput-0.6.1-r1/work/wput-0.6.1'