Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/wput.spec'], chrootPath='/var/lib/mock/f40-build-751382-116130/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/wput.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/wput-0.6.1-35.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/wput.spec'], chrootPath='/var/lib/mock/f40-build-751382-116130/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/wput.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ry9ekL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wput-0.6.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/wput-0.6.1.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd wput-0.6.1 + rm -rf /builddir/build/BUILD/wput-0.6.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/wput-0.6.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/wput-destdir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/wput-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.vFV1f2 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd wput-0.6.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-g-switch checking for riscv64-redhat-linux-gnu-gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/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/bin/install -c checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/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... no checking gnutls/openssl.h presence... no checking for gnutls/openssl.h... no 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 + /usr/bin/make -O -j4 V=1 VERBOSE=1 cd po && /usr/bin/make all make[1]: Nothing to be done for 'all'. cd src && /usr/bin/make all make[1]: Entering directory '/builddir/build/BUILD/wput-0.6.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DLOCALEDIR=\"/usr/share/locale\" -c -o netrc.o netrc.c make[1]: Leaving directory '/builddir/build/BUILD/wput-0.6.1/src' make[1]: Entering directory '/builddir/build/BUILD/wput-0.6.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DLOCALEDIR=\"/usr/share/locale\" -c -o wput.o wput.c make[1]: Leaving directory '/builddir/build/BUILD/wput-0.6.1/src' 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:25: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 168 | freopen ("/dev/null", "r", stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wput.c:169:25: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 169 | freopen ("/dev/null", "w", stdout); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ wput.c:170:25: warning: ignoring return value of ‘freopen’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 170 | freopen ("/dev/null", "w", stderr); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wput-0.6.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DLOCALEDIR=\"/usr/share/locale\" -c -o ftp.o ftp.c make[1]: Leaving directory '/builddir/build/BUILD/wput-0.6.1/src' ftp.c: In function ‘try_do_cwd’: ftp.c:105:11: warning: ‘res’ may be used uninitialized [-Wmaybe-uninitialized] 105 | if(res < 0 && opt.no_directories) | ^ ftp.c:92:13: note: ‘res’ was declared here 92 | int res; | ^~~ ftp.c: In function ‘open_input_file’: ftp.c:206:13: warning: ‘fd’ may be used uninitialized [-Wmaybe-uninitialized] 206 | int fd; | ^~ make[1]: Entering directory '/builddir/build/BUILD/wput-0.6.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DLOCALEDIR=\"/usr/share/locale\" -c -o ftplib.o ftplib.c make[1]: Leaving directory '/builddir/build/BUILD/wput-0.6.1/src' make[1]: Entering directory '/builddir/build/BUILD/wput-0.6.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DLOCALEDIR=\"/usr/share/locale\" -c -o utils.o utils.c make[1]: Leaving directory '/builddir/build/BUILD/wput-0.6.1/src' make[1]: Entering directory '/builddir/build/BUILD/wput-0.6.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DLOCALEDIR=\"/usr/share/locale\" -c -o progress.o progress.c make[1]: Leaving directory '/builddir/build/BUILD/wput-0.6.1/src' 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:9: 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:39: 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:30: 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:980, from wput.h:37, from progress.h:4, from progress.c:19: In function ‘sprintf’, inlined from ‘calculate_eta’ at progress.c:310:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 11 and 14 bytes into a destination of size 11 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ progress.c: In function ‘calculate_eta’: progress.c:304:38: 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:30: note: directive argument in the range [-2147483648, 59] 304 | sprintf(buf, "ETA %02ds", remain); | ^~~~~~~~~~~~~~ In function ‘sprintf’, inlined from ‘calculate_eta’ at progress.c:304:3: /usr/include/bits/stdio2.h:30:10: note: ‘__sprintf_chk’ output between 11 and 20 bytes into a destination of size 11 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:548, from wput.h:38: In function ‘memcpy’, inlined from ‘bar_update’ at progress.c:383:4: /usr/include/bits/string_fortified.h:29:10: warning: ‘memcpy’ accessing 92 bytes at offsets 32 and 36 overlaps 88 bytes at offset 36 [-Wrestrict] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wput-0.6.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DLOCALEDIR=\"/usr/share/locale\" -c -o socketlib.o socketlib.c make[1]: Leaving directory '/builddir/build/BUILD/wput-0.6.1/src' socketlib.c: In function ‘proxy_init’: socketlib.c:469:7: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation] 469 | } else | ^~~~ socketlib.c:477:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 477 | return sock; | ^~~~~~ make[1]: Entering directory '/builddir/build/BUILD/wput-0.6.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -DLOCALEDIR=\"/usr/share/locale\" -c -o ftp-ls.o ftp-ls.c ftp-ls.c: In function ‘ftp_parse_unix_ls.isra.0’: ftp-ls.c:352:42: warning: ‘cur.perms’ may be used uninitialized [-Wmaybe-uninitialized] 352 | && (cur.perms & 0111) | ~~~~~~~~~~~^~~~~~~ ftp-ls.c:119:29: note: ‘cur.perms’ was declared here 119 | struct fileinfo *dir, *l, cur; /* list creation */ | ^~~ make[1]: Leaving directory '/builddir/build/BUILD/wput-0.6.1/src' make[1]: Entering directory '/builddir/build/BUILD/wput-0.6.1/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE -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:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’ 478 | fsession->local_fname = file; | ^~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/wput-0.6.1/src' make[1]: Entering directory '/builddir/build/BUILD/wput-0.6.1/src' gcc -o ../wput wput.o netrc.o ftp.o ftplib.o utils.o progress.o socketlib.o queue.o ftp-ls.o make[1]: Leaving directory '/builddir/build/BUILD/wput-0.6.1/src' cd doc && /usr/bin/make all make[1]: Entering directory '/builddir/build/BUILD/wput-0.6.1/doc' gzip < wput.1 > wput.1.gz make[1]: Leaving directory '/builddir/build/BUILD/wput-0.6.1/doc' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DlvMxc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fcommon -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd wput-0.6.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64 'INSTALL=/usr/bin/install -p' cd po && /usr/bin/make all make[1]: Entering directory '/builddir/build/BUILD/wput-0.6.1/po' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/wput-0.6.1/po' cd src && /usr/bin/make all make[1]: Entering directory '/builddir/build/BUILD/wput-0.6.1/src' gcc -o ../wput wput.o netrc.o ftp.o ftplib.o utils.o progress.o socketlib.o queue.o ftp-ls.o make[1]: Leaving directory '/builddir/build/BUILD/wput-0.6.1/src' cd doc && /usr/bin/make all make[1]: Entering directory '/builddir/build/BUILD/wput-0.6.1/doc' gzip < wput.1 > wput.1.gz make[1]: Leaving directory '/builddir/build/BUILD/wput-0.6.1/doc' cd po && /usr/bin/make install make[1]: Entering directory '/builddir/build/BUILD/wput-0.6.1/po' /bin/sh .././mkinstalldirs /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share mkdir -p -- /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share mkdir -p -- /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/locale/de/LC_MESSAGES installing de.gmo as /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/locale/de/LC_MESSAGES/wput.mo mkdir -p -- /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/locale/it/LC_MESSAGES installing it.gmo as /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/locale/it/LC_MESSAGES/wput.mo mkdir -p -- /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/locale/nl/LC_MESSAGES installing nl.gmo as /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/locale/nl/LC_MESSAGES/wput.mo mkdir -p -- /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/locale/ru/LC_MESSAGES installing ru.gmo as /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/locale/ru/LC_MESSAGES/wput.mo mkdir -p -- /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/locale/tr/LC_MESSAGES installing tr.gmo as /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/locale/tr/LC_MESSAGES/wput.mo mkdir -p -- /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/locale/zh/LC_MESSAGES installing zh.gmo as /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/locale/zh/LC_MESSAGES/wput.mo if test "wput" = "gettext-tools"; then \ /bin/sh .././mkinstalldirs /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -p -m 644 ./$file \ /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/builddir/build/BUILD/wput-0.6.1/po' install -D -p -m 0755 wput /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/bin/wput install -D -p -m 0644 doc/wput.1.gz /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/man/man1/wput.1.gz ---------------- Wput installed. See 'wput -h' or 'man wput' for usage information. Further documentation is located in the doc/USAGE.* files. Wput is not perfect, so please report any bugs you notice (see BUGS-section in the manpage). ---------------- + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64 wput + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.6.1-35.fc40 --unique-debug-suffix -0.6.1-35.fc40.riscv64 --unique-debug-src-base wput-0.6.1-35.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/wput-0.6.1 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/wput-0.6.1-35.fc40.riscv64 405 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: wput-0.6.1-35.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.syNPcV + umask 022 + cd /builddir/build/BUILD + cd wput-0.6.1 + DOCDIR=/builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/doc/wput + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/doc/wput + cp -pr /builddir/build/BUILD/wput-0.6.1/ChangeLog /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/doc/wput + cp -pr /builddir/build/BUILD/wput-0.6.1/COPYING /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/doc/wput + cp -pr /builddir/build/BUILD/wput-0.6.1/INSTALL /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/doc/wput + cp -pr /builddir/build/BUILD/wput-0.6.1/TODO /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/doc/wput + cp -pr /builddir/build/BUILD/wput-0.6.1/doc /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64/usr/share/doc/wput + RPM_EC=0 ++ jobs -p + exit 0 Provides: wput = 0.6.1-35.fc40 wput(riscv-64) = 0.6.1-35.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: wput-debugsource-0.6.1-35.fc40.riscv64 Provides: wput-debugsource = 0.6.1-35.fc40 wput-debugsource(riscv-64) = 0.6.1-35.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: wput-debuginfo-0.6.1-35.fc40.riscv64 Provides: debuginfo(build-id) = 454f12c58381b2e2dc9ba409e6fcc4cd4bac9933 wput-debuginfo = 0.6.1-35.fc40 wput-debuginfo(riscv-64) = 0.6.1-35.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: wput-debugsource(riscv-64) = 0.6.1-35.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64 Wrote: /builddir/build/RPMS/wput-0.6.1-35.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/wput-debugsource-0.6.1-35.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/wput-debuginfo-0.6.1-35.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.1aircP + umask 022 + cd /builddir/build/BUILD + cd wput-0.6.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/wput-0.6.1-35.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.wSivhx + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/wput-0.6.1-SPECPARTS + rm -rf wput-0.6.1 wput-0.6.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0