* Package: net-misc/wput-0.6.2:0 * 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.2.tgz to /var/tmp/portage/net-misc/wput-0.6.2/work >>> Source unpacked in /var/tmp/portage/net-misc/wput-0.6.2/work >>> Preparing source in /var/tmp/portage/net-misc/wput-0.6.2/work/wput-0.6.2 ... * Applying wput-0.6.2-respect-destdir.patch ... [ ok ] * Applying wput-0.6-respectldflags.patch ... patching file src/Makefile.in Hunk #1 succeeded at 23 with fuzz 2. [ ok ] * Applying wput-fix-crash.patch ... [ ok ] * Applying wput-0.6.2-fno-common.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/wput-0.6.2/work/wput-0.6.2 ... * econf: updating wput-0.6.2/config.guess with /usr/share/gnuconfig/config.guess * econf: updating wput-0.6.2/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.2 --htmldir=/usr/share/doc/wput-0.6.2/html --libdir=/usr/lib64 --enable-nls --with-ssl --enable-g-switch=no checking Large File System support: no checking for x86_64-pc-linux-gnu-gcc... clang 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 clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -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.10/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/bin/x86_64-pc-linux-gnu-ld checking if the linker (/usr/bin/x86_64-pc-linux-gnu-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. '/var/tmp/portage/net-misc/wput-0.6.2/temp/clang14.log' -> '/var/tmp/clang/net-misc/wput-0.6.2/clang14.log' '/var/tmp/portage/net-misc/wput-0.6.2/temp/clang15.log' -> '/var/tmp/clang/net-misc/wput-0.6.2/clang15.log' >>> Compiling source in /var/tmp/portage/net-misc/wput-0.6.2/work/wput-0.6.2 ... make -j4 cd po && make all make[1]: Entering directory '/var/tmp/portage/net-misc/wput-0.6.2/work/wput-0.6.2/po' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/var/tmp/portage/net-misc/wput-0.6.2/work/wput-0.6.2/po' cd src && make all make[1]: Entering directory '/var/tmp/portage/net-misc/wput-0.6.2/work/wput-0.6.2/src' clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o wput.o wput.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o netrc.o netrc.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o ftp.o ftp.c clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o ftplib.o ftplib.c wput.c:587:11: warning: cast to 'char *' from smaller integer type 'int' [-Wint-to-pointer-cast] tmp = (char *) set_option(com, val); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wput.c:681:69: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ...fprintf(opt.output, "\nUsing %d-Bytes for off_t\n", sizeof(off_t)); ~~ ^~~~~~~~~~~~~ %lu ftp.c:100:5: warning: variable 'res' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if(!mkd) { ^~~~ ftp.c:105:5: note: uninitialized use occurs here if(res < 0 && opt.no_directories) ^~~ ftp.c:100:2: note: remove the 'if' if its condition is always true if(!mkd) { ^~~~~~~~~ ftp.c:92:9: note: initialize the variable 'res' to silence this warning int res; ^ = 0 ftp.c:224:12: warning: variable 'fd' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] } else if(opt.input_pipe) { ^~~~~~~~~~~~~~ ftp.c:254:9: note: uninitialized use occurs here return fd; ^~ ftp.c:224:9: note: remove the 'if' if its condition is always true } else if(opt.input_pipe) { ^~~~~~~~~~~~~~~~~~~ ftp.c:206:8: note: initialize the variable 'fd' to silence this warning int fd; ^ = 0 ftp.c:829:51: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 ftplib.c:607:6: warning: variable 'res' set but not used [-Wunused-but-set-variable] int res; ^ [-Wimplicit-const-int-float-conversion] usleep( (opt.random_wait ? 2 * (float) rand() / 0x7fffffff : 1) ~ ^~~~~~~~~~ ftplib.c:771:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] if(self->r.reply[0] == '1') { ^ ftplib.c:748:3: note: previous statement is here else if(res == ERR_PERMANENT) ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o utils.o utils.c 2 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o progress.o progress.c 3 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o socketlib.o socketlib.c 2 warnings generated. clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o queue.o queue.c progress.c:254:19: warning: explicitly assigning value of variable of type 'double' to itself [-Wself-assign] unit = 0, trate = trate; ~~~~~ ^ ~~~~~ progress.c:341:2: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation] bar.dots = 0; ^ progress.c:338:5: note: previous statement is here if(fsession->local_fname) /* input-pipe */ ^ clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -Wall -DLOCALEDIR=\"/usr/share/locale\" -c -o ftp-ls.o ftp-ls.c ftp-ls.c:850:7: error: call to undeclared function 'strptime'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] strptime( date_str, "%d-%b-%Y %H:%M:%S", ×truct); ^ ftp-ls.c:850:7: note: did you mean 'strftime'? /usr/include/time.h:100:15: note: 'strftime' declared here extern size_t strftime (char *__restrict __s, size_t __maxsize, ^ 1 error generated. make[1]: *** [: ftp-ls.o] Error 1 make[1]: *** Waiting for unfinished jobs.... 2 warnings generated. make[1]: Leaving directory '/var/tmp/portage/net-misc/wput-0.6.2/work/wput-0.6.2/src' make: *** [Makefile:11: all] Error 2 * ERROR: net-misc/wput-0.6.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/wput-0.6.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/wput-0.6.2::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:wput-0.6.2:20220918-085743.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/wput-0.6.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/wput-0.6.2/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/wput-0.6.2/work/wput-0.6.2' * S: '/var/tmp/portage/net-misc/wput-0.6.2/work/wput-0.6.2'