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/rc.spec'], chrootPath='/var/lib/mock/f38-build-695960-85957/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/rc.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=1674172800 Wrote: /builddir/build/SRPMS/rc-1.7.4-19.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rc.spec'], chrootPath='/var/lib/mock/f38-build-695960-85957/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/rc.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=1674172800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5LO6ZH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rc-1.7.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/rc-1.7.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd rc-1.7.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zf1z2G + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 rc-1.7.4 + CFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 --- ./configure.backup 2015-05-13 17:26:19.000000000 -0400 +++ ./configure 2023-03-16 09:56:04.304061639 -0400 @@ -1841,7 +1841,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /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 + '[' 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 --with-edit=gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking how to run the C preprocessor... gcc -E checking for ln... ln 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/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for pid_t... yes checking for size_t... yes checking for uid_t in sys/types.h... (cached) yes checking for ssize_t... yes checking for getgroups... yes checking for lstat... yes checking for setpgrp... yes checking for setrlimit... yes checking for sigaction... yes checking for POSIX getgroups... yes checking for sigsetjmp... yes checking whether setpgrp takes no argument... yes checking for strerror... yes checking if _KERNEL is required for RLIMIT defines... no checking for rlim_t... yes checking for sig_atomic_t... yes checking for SysV SIGCLD semantics... yes checking whether #! works in shell scripts... yes checking for /dev/fd... yes checking extant directories for default path... "/usr/local/bin","/usr/bin","/bin","." checking for tgetent in -ltinfo... yes checking for readline in -lreadline... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o mksignal.o mksignal.c gcc -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -o mksignal mksignal.o -lreadline -ltinfo ./mksignal /usr/bin/make all-am make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o exec.o exec.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o except.o except.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o fn.o fn.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o getopt.o getopt.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o builtins.o builtins.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o glob.o glob.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o footobar.o footobar.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o heredoc.o heredoc.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o glom.o glom.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o list.o list.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o input.o input.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o hash.o hash.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o main.o main.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o match.o match.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o lex.o lex.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o nalloc.o nalloc.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o open.o open.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o redir.o redir.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o signal.o signal.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o mkstatval.o mkstatval.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o utils.o utils.c utils.c: In function 'panic': utils.c:40:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 40 | write(2, PANICMSG, conststrlen(PANICMSG)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c:41:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 41 | write(2, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ utils.c:42:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 42 | write(2, "!\n", 2); | ^~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o tree.o tree.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o print.o print.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o parse.o parse.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' parse.c:3:1: warning: 'yyrcsid' defined but not used [-Wunused-const-variable=] 3 | yyrcsid[] = "$FreeBSD: src/usr.bin/yacc/skeleton.c,v 1.28 2000/01/17 02:04:06 bde Exp $"; | ^~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o wait.o wait.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o sigmsgs.o sigmsgs.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o var.o var.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o which.o which.c which.c: In function 'which': which.c:112:25: warning: ignoring return value of 'getgroups' declared with attribute 'warn_unused_result' [-Wunused-result] 112 | getgroups(ngroups, gidset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o edit-readline.o edit-readline.c edit-readline.c: In function 'edit_catcher': edit-readline.c:36:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 36 | write(2, "\n", 1); | ^~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o system.o system.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o tripping.o tripping.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -o mkstatval mkstatval.o -lreadline -ltinfo make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' ./mkstatval > statval.h make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o walk.o walk.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -o tripping tripping.o -lreadline -ltinfo make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -DHAVE_CONFIG_H -I. -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o status.o status.c make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' gcc -Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -o rc builtins.o except.o exec.o fn.o footobar.o getopt.o glob.o glom.o hash.o heredoc.o input.o lex.o list.o main.o match.o nalloc.o open.o parse.o print.o redir.o signal.o status.o tree.o utils.o var.o wait.o walk.o which.o sigmsgs.o edit-readline.o system.o -lreadline -ltinfo make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' glob.c: In function 'doglob': glob.c:253:16: warning: function may return address of local variable [-Wreturn-local-addr] 253 | return matched; | ^ glob.c:153:28: note: declared here 153 | List *q, *r, *top, foo; | ^ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.h4OOrf + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64 + CFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 rc-1.7.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64 'INSTALL=/usr/bin/install -p' /usr/bin/make install-am make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' make[2]: Entering directory '/builddir/build/BUILD/rc-1.7.4' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64/usr/bin' /usr/bin/install -p rc '/builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64/usr/bin' /usr/bin/make install-exec-hook make[3]: Entering directory '/builddir/build/BUILD/rc-1.7.4' make[3]: Nothing to be done for 'install-exec-hook'. make[3]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 rc.1 '/builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.7.4-19.fc38 --unique-debug-suffix -1.7.4-19.fc38.riscv64 --unique-debug-src-base rc-1.7.4-19.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rc-1.7.4 extracting debug info from /builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64/usr/bin/rc original debug info size: 1076kB, size after compression: 1052kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. cpio: y.tab.c: Cannot stat: No such file or directory 383 blocks + /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.py3Pvm + umask 022 + cd /builddir/build/BUILD + CFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -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 -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 -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + 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 rc-1.7.4 + make check ./rc -p < ./trip.rc tripping ./rc 1.7.4 $Release: @(#)rc 1.7.4 2023-03-16 $ expect error from cat, closing stdin: cat: -: Bad file descriptor cat: closing standard input: Bad file descriptor expect warning: rc: line 1: warning: null character ignored expect bad number: rc: `foo' is a bad number expect arg count: rc: too many arguments to shift expect shift overflow: cannot shift expect list of signal handlers: fn sighup fn sigint fn sigquit fn sigill fn sigtrap fn sigabrt fn sigbus fn sigfpe fn sigkill fn sigusr1 fn sigsegv fn sigusr2 fn sigpipe fn sigalrm fn sigterm fn sigstkflt fn sigchld fn sigcont fn sigstop fn sigtstp fn sigttin fn sigttou fn sigurg fn sigxcpu fn sigxfsz fn sigvtalrm fn sigprof fn sigwinch fn sigio fn sigpwr fn sigsys fn sigunknown32 {} fn sigunknown33 {} fn sigunknown34 fn sigunknown35 fn sigunknown36 fn sigunknown37 fn sigunknown38 fn sigunknown39 fn sigunknown40 fn sigunknown41 fn sigunknown42 fn sigunknown43 fn sigunknown44 fn sigunknown45 fn sigunknown46 fn sigunknown47 fn sigunknown48 fn sigunknown49 fn sigunknown50 fn sigunknown51 fn sigunknown52 fn sigunknown53 fn sigunknown54 fn sigunknown55 fn sigunknown56 fn sigunknown57 fn sigunknown58 fn sigunknown59 fn sigunknown60 fn sigunknown61 fn sigunknown62 fn sigunknown63 fn sigunknown64 LT_SYS_LIBRARY_PATH=/usr/lib64: MAKEFLAGS='' i=2 RPM_BUILD_ROOT=/builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64 SOURCE_DATE_EPOCH=1674172800 PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig y=(-rw-r----- 1 mockbuild mock 0 Mar 16 09:57 /tmp/rc-trip.HcPqPM/tmp) RPM_DOC_DIR=/usr/share/doc prompt=('; ' '') RPM_SOURCE_DIR=/builddir/build/SOURCES TERM=vt100 OLDPWD=/builddir/build/BUILD tmpdir=/tmp/rc-trip.HcPqPM version=(1.7.4 '$Release: @(#)rc 1.7.4 2023-03-16 $') FFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' RPM_PACKAGE_RELEASE=19.fc38 HOME=/builddir tmp=/tmp/rc-trip.HcPqPM/tmp RPM_OS=linux abc=(this is a) CONFIG_SITE=NONE bigfile=/tmp/rc-trip.HcPqPM/big.58693 path=(/usr/bin /bin /usr/sbin /sbin /usr/local/sbin) FCFLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' LOGNAME=mockbuild RPM_PACKAGE_VERSION=1.7.4 HISTCONTROL=ignoredups bqstatus=0 rc=./rc RPM_BUILD_DIR=/builddir/build/BUILD RPM_PACKAGE_NAME=rc 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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' result='this is a heredoc this is an heredoc ' 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 ' CXX=g++ ifs=(' ' ' ' ' ') PWD=/builddir/build/BUILD/rc-1.7.4 RPM_ARCH=riscv64 CFLAGS='-Wall -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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' RPM_BUILD_NCPUS=4 VALAFLAGS=-g PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin pid=58693 CC=gcc HISTSIZE=1000 DEBUGINFOD_URLS='https://debuginfod.fedoraproject.org/ ' HOSTNAME=unmatchedbuild02 RPM_LD_FLAGS='-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 ' USER=mockbuild MAKELEVEL=1 _=./rc MFLAGS='' nl=' ' home=/builddir RPM_OPT_FLAGS='-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 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer' SHLVL=2 MAIL=/var/spool/mail/mockbuild PROMPT_COMMAND='printf "\033]0;\007"' LANG=C SHELL=/bin/bash fn expect {echo >[1=2] -n expect $^*^': '} fn bar {for(i in (1 2 3 4 5))if(~ $i 3)return} fn bytes {for(i in $*)x=`{wc -c $i} echo $x(1)} fn submatch {if(!~ $#* 3)fail incorrect invocation of submatch;prompt=$nl if(!~ ``$nl{$rc -ic $1 >[2=1]} $2)fail $3} fn sigunknown32 {} fn sigunknown33 {} fn fail {echo >[1=2] trip took a wrong turn: $*;rm -rf $tmpdir;fn sigexit;exit 1} fn sigexit {echo trip complete} expect list of variables and functions: fgrep: warning: fgrep is obsolescent; using grep -F expect 58810: 58810 expect prompt, echo hi: echo hi expect date: Thu Mar 16 09:57:09 EDT 2023 expect foo bar qux: foo bar qux expect rc: cannot find `nonesuch': rc: cannot find `nonesuch' trip complete make check-am make[1]: Entering directory '/builddir/build/BUILD/rc-1.7.4' make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rc-1.7.4-19.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uBVfwl + umask 022 + cd /builddir/build/BUILD + cd rc-1.7.4 + DOCDIR=/builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64/usr/share/doc/rc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64/usr/share/doc/rc + cp -pr ChangeLog /builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64/usr/share/doc/rc + cp -pr AUTHORS /builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64/usr/share/doc/rc + cp -pr EXAMPLES /builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64/usr/share/doc/rc + cp -pr NEWS /builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64/usr/share/doc/rc + cp -pr README /builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64/usr/share/doc/rc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3iEKos + umask 022 + cd /builddir/build/BUILD + cd rc-1.7.4 + LICENSEDIR=/builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64/usr/share/licenses/rc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64/usr/share/licenses/rc + cp -pr COPYING /builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64/usr/share/licenses/rc + RPM_EC=0 ++ jobs -p + exit 0 Provides: /bin/rc rc = 1.7.4-19.fc38 rc(riscv-64) = 1.7.4-19.fc38 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh grep Requires(postun): /bin/sh sed 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) libreadline.so.8()(64bit) rtld(GNU_HASH) Conflicts: filesystem < 3 Processing files: rc-debugsource-1.7.4-19.fc38.riscv64 Provides: rc-debugsource = 1.7.4-19.fc38 rc-debugsource(riscv-64) = 1.7.4-19.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rc-debuginfo-1.7.4-19.fc38.riscv64 Provides: debuginfo(build-id) = b43947a60d368dc942ad523a965d17da662a7d3e rc-debuginfo = 1.7.4-19.fc38 rc-debuginfo(riscv-64) = 1.7.4-19.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rc-debugsource(riscv-64) = 1.7.4-19.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64 Wrote: /builddir/build/RPMS/rc-1.7.4-19.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/rc-debugsource-1.7.4-19.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/rc-debuginfo-1.7.4-19.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hTIuV2 + umask 022 + cd /builddir/build/BUILD + cd rc-1.7.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rc-1.7.4-19.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.n0eUxk + umask 022 + cd /builddir/build/BUILD + rm -rf rc-1.7.4 rc-1.7.4.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0