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/rssh.spec'], chrootPath='/var/lib/mock/f40-build-794264-139514/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/rssh.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 warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706227200 Wrote: /builddir/build/SRPMS/rssh-2.3.4-28.fc40.src.rpm RPM build warnings: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rssh.spec'], chrootPath='/var/lib/mock/f40-build-794264-139514/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/rssh.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 warning: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706227200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OGlwQF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rssh-2.3.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rssh-2.3.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rssh-2.3.4 + rm -rf /builddir/build/BUILD/rssh-2.3.4-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/rssh-2.3.4-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (rssh-2.3.4-makefile.patch):' Patch #0 (rssh-2.3.4-makefile.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .makefile --fuzz=0 patching file Makefile.in + echo 'Patch #2 (rssh-2.3.4-command-line-error.patch):' Patch #2 (rssh-2.3.4-command-line-error.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .cmdline-error --fuzz=0 patching file util.c + echo 'Patch #3 (rssh-2.3.4-Verify-rsync-command-options.patch):' Patch #3 (rssh-2.3.4-Verify-rsync-command-options.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rsync_opts --fuzz=0 patching file util.c Patch #4 (rssh-2.3.4-Verify-scp-command-options.patch): + echo 'Patch #4 (rssh-2.3.4-Verify-scp-command-options.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .scp_opts --fuzz=0 patching file util.c Hunk #1 succeeded at 260 (offset -6 lines). Hunk #2 succeeded at 312 (offset -6 lines). Patch #5 (rssh-2.3.4-Check-command-line-after-chroot.patch): + echo 'Patch #5 (rssh-2.3.4-Check-command-line-after-chroot.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .chroot_cmd --fuzz=0 patching file rssh_chroot_helper.c + echo 'Patch #6 (rssh-configure-c99.patch):' Patch #6 (rssh-configure-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .c99 --fuzz=0 patching file configure + chmod 644 conf_convert.sh + chmod 644 mkchroot.sh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YvDMxc + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -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=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 rssh-2.3.4 + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -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=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes 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 ANSI C... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking how to run the C preprocessor... 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 stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking wordexp.h usability... yes checking wordexp.h presence... yes checking for wordexp.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for an ANSI C-conforming const... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether stat accepts an empty string... no checking for memset... yes checking for strdup... yes checking for strtol... yes checking for strerror... yes checking for wordexp... yes checking for basename... yes checking for OpenSSH >= v3.5... yes - v9.6 checking for scp... /usr/bin/scp checking for sftp-server... /usr/libexec/openssh/sftp-server checking for cvs... /usr/bin/cvs checking for rdist... /usr/bin/rdist checking for rsync... /usr/bin/rsync checking static compilation... secure SSH found - not compiling rssh statically configure: creating ./config.status config.status: creating Makefile config.status: creating main.c config.status: creating pathnames.h config.status: creating rssh.conf.5 config.status: creating rssh.spec config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/rssh-2.3.4' gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/libexec/rssh_chroot_helper\" -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 argvec.c make[1]: Leaving directory '/builddir/build/BUILD/rssh-2.3.4' make[1]: Entering directory '/builddir/build/BUILD/rssh-2.3.4' gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/libexec/rssh_chroot_helper\" -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 log.c make[1]: Leaving directory '/builddir/build/BUILD/rssh-2.3.4' make[1]: Entering directory '/builddir/build/BUILD/rssh-2.3.4' gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/libexec/rssh_chroot_helper\" -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 main.c make[1]: Leaving directory '/builddir/build/BUILD/rssh-2.3.4' make[1]: Entering directory '/builddir/build/BUILD/rssh-2.3.4' gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/libexec/rssh_chroot_helper\" -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 rssh_chroot_helper.c rssh_chroot_helper.c: In function ‘ch_fatal_error’: rssh_chroot_helper.c:103:27: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 103 | if ( !geteuid() ) setuid(getuid()); | ^~~~~~~~~~~~~~~~ rssh_chroot_helper.c: In function ‘main’: rssh_chroot_helper.c:195:9: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 195 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ rssh_chroot_helper.c:201:26: warning: ‘uinfo.pw_dir’ may be used uninitialized [-Wmaybe-uninitialized] 201 | if ( !(homedir = extract_root(opts.chroot_path, uinfo.pw_dir)) ){ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rssh_chroot_helper.c:123:25: note: ‘uinfo.pw_dir’ was declared here 123 | struct passwd uinfo; | ^~~~~ make[1]: Leaving directory '/builddir/build/BUILD/rssh-2.3.4' make[1]: Entering directory '/builddir/build/BUILD/rssh-2.3.4' gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/libexec/rssh_chroot_helper\" -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 util.c make[1]: Leaving directory '/builddir/build/BUILD/rssh-2.3.4' make[1]: Entering directory '/builddir/build/BUILD/rssh-2.3.4' gcc -c -DHAVE_CONFIG_H -DPATH_RSSH_CONFIG=\"/etc/rssh.conf\" -DPATH_CHROOT_HELPER=\"/usr/libexec/rssh_chroot_helper\" -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 rsshconf.c make[1]: Leaving directory '/builddir/build/BUILD/rssh-2.3.4' rsshconf.c:81:5: warning: built-in function ‘log’ declared as non-function [-Wbuiltin-declaration-mismatch] 81 | int log=0; | ^~~ rsshconf.c: In function ‘process_user’: rsshconf.c:851:17: warning: variable ‘optlen’ set but not used [-Wunused-but-set-variable] 851 | int optlen; /* string length of user options */ | ^~~~~~ rsshconf.c: In function ‘get_token’: rsshconf.c:419:34: warning: pointer ‘copy’ used after ‘free’ [-Wuse-after-free] 419 | return (1 + end + adjust - copy); | ~~~~~~~~~~~~~~~~~~^~~~~~~ rsshconf.c:418:9: note: call to ‘free’ here 418 | free(copy); | ^~~~~~~~~~ rsshconf.c:419:25: warning: pointer ‘end’ used after ‘free’ [-Wuse-after-free] 419 | return (1 + end + adjust - copy); | ~~~~~~~~^~~~~~~~ rsshconf.c:418:9: note: call to ‘free’ here 418 | free(copy); | ^~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rssh-2.3.4' gcc -O2 -Wall -Wshadow -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -o rssh_chroot_helper rssh_chroot_helper.o log.o argvec.o util.o rsshconf.o make[1]: Leaving directory '/builddir/build/BUILD/rssh-2.3.4' make[1]: Entering directory '/builddir/build/BUILD/rssh-2.3.4' gcc -O2 -Wall -Wshadow -O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -o rssh rsshconf.o log.o util.o argvec.o main.o make[1]: Leaving directory '/builddir/build/BUILD/rssh-2.3.4' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.0BolAr + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64 + CFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -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 -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=-specs=/usr/lib/rpm/redhat/redhat-package-notes' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 rssh-2.3.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/rssh-2.3.4' test -z "/usr/bin" || mkdir -p -- "/builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/bin" /usr/bin/install -p 'rssh' '/builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/bin/rssh' test -z "/etc" || mkdir -p -- "/builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/etc" /usr/bin/install -p -m 644 'rssh.conf.default' '/builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/etc/rssh.conf.default' test -z "/usr/libexec" || mkdir -p -- "/builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/libexec" /usr/bin/install -p 'rssh_chroot_helper' '/builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/libexec/rssh_chroot_helper' /usr/bin/make install-exec-hook make[2]: Entering directory '/builddir/build/BUILD/rssh-2.3.4' chmod u+s /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/libexec/rssh_chroot_helper make[2]: Leaving directory '/builddir/build/BUILD/rssh-2.3.4' test -z "/usr/share/man/man1" || mkdir -p -- "/builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/man/man1" /usr/bin/install -p -m 644 './rssh.1' '/builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/man/man1/rssh.1' test -z "/usr/share/man/man5" || mkdir -p -- "/builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/man/man5" /usr/bin/install -p -m 644 './rssh.conf.5' '/builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/man/man5/rssh.conf.5' make[1]: Leaving directory '/builddir/build/BUILD/rssh-2.3.4' + mv /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64//etc/rssh.conf.default /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64//etc/rssh.conf + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.3.4-28.fc40 --unique-debug-suffix -2.3.4-28.fc40.riscv64 --unique-debug-src-base rssh-2.3.4-28.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rssh-2.3.4 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/rssh-2.3.4-28.fc40.riscv64 155 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: rssh-2.3.4-28.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PmJG5a + umask 022 + cd /builddir/build/BUILD + cd rssh-2.3.4 + DOCDIR=/builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/doc/rssh + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/doc/rssh + cp -pr /builddir/build/BUILD/rssh-2.3.4/AUTHORS /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/doc/rssh + cp -pr /builddir/build/BUILD/rssh-2.3.4/ChangeLog /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/doc/rssh + cp -pr /builddir/build/BUILD/rssh-2.3.4/CHROOT /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/doc/rssh + cp -pr /builddir/build/BUILD/rssh-2.3.4/NEWS /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/doc/rssh + cp -pr /builddir/build/BUILD/rssh-2.3.4/README /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/doc/rssh + cp -pr /builddir/build/BUILD/rssh-2.3.4/SECURITY /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/doc/rssh + cp -pr /builddir/build/BUILD/rssh-2.3.4/TODO /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/doc/rssh + cp -pr /builddir/build/BUILD/rssh-2.3.4/conf_convert.sh /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/doc/rssh + cp -pr /builddir/build/BUILD/rssh-2.3.4/mkchroot.sh /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/doc/rssh + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DpVFhx + umask 022 + cd /builddir/build/BUILD + cd rssh-2.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/licenses/rssh + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/licenses/rssh + cp -pr /builddir/build/BUILD/rssh-2.3.4/COPYING /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64/usr/share/licenses/rssh + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(rssh) = 2.3.4-28.fc40 rssh = 2.3.4-28.fc40 rssh(riscv-64) = 2.3.4-28.fc40 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): /bin/sh shadow-utils 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) Recommends: group(rsshusers) Processing files: rssh-debugsource-2.3.4-28.fc40.riscv64 Provides: rssh-debugsource = 2.3.4-28.fc40 rssh-debugsource(riscv-64) = 2.3.4-28.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rssh-debuginfo-2.3.4-28.fc40.riscv64 Provides: debuginfo(build-id) = 11be5c7dc0d23ec050caacc70c082aed464ac435 debuginfo(build-id) = 78196b78cdabfb0c5392076cde11ea44c3cf9589 rssh-debuginfo = 2.3.4-28.fc40 rssh-debuginfo(riscv-64) = 2.3.4-28.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rssh-debugsource(riscv-64) = 2.3.4-28.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64 Wrote: /builddir/build/RPMS/rssh-debugsource-2.3.4-28.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/rssh-2.3.4-28.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/rssh-debuginfo-2.3.4-28.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.JqQb2X + umask 022 + cd /builddir/build/BUILD + cd rssh-2.3.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rssh-2.3.4-28.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.i6xBQW + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/rssh-2.3.4-SPECPARTS + rm -rf rssh-2.3.4 rssh-2.3.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Child return code was: 0