Mock Version: 4.1
Mock Version: 4.1
Mock Version: 4.1
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/rc.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-156940-9986/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fb22e5cdb10>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/rc-1.7.4-1.ocs23.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/rc.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-156940-9986/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fb22e5cdb10>timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hAz3mL
+ 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 .
+ autoreconf --force --install
configure.ac:32: warning: The macro `AC_HEADER_STDC' is obsolete.
configure.ac:32: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:32: the top level
configure.ac:47: warning: AC_SYS_RESTARTABLE_SYSCALLS: AC_SYS_RESTARTABLE_SYSCALLS is useful only when supporting very
configure.ac:47: old systems that lack `sigaction' and `SA_RESTART'.  Don't bother with
configure.ac:47: this macro unless you need to support very old systems like 4.2BSD and
configure.ac:47: SVR3.
./lib/autoconf/specific.m4:230: AC_SYS_RESTARTABLE_SYSCALLS is expanded from...
configure.ac:47: the top level
configure.ac:51: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:51: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
acinclude.m4:3: RC_FUNC_GETGROUPS is expanded from...
configure.ac:51: the top level
configure.ac:53: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:53: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
acinclude.m4:19: RC_FUNC_SIGSETJMP is expanded from...
configure.ac:53: the top level
configure.ac:57: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:57: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
acinclude.m4:33: RC_FUNC_STRERROR is expanded from...
configure.ac:57: the top level
configure.ac:59: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:59: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
acinclude.m4:46: RC_NEED_KERNEL is expanded from...
configure.ac:59: the top level
configure.ac:59: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:59: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:2823: _AC_COMPILE_IFELSE is expanded from...
./lib/autoconf/general.m4:2839: AC_COMPILE_IFELSE is expanded from...
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
acinclude.m4:46: RC_NEED_KERNEL is expanded from...
configure.ac:59: the top level
configure.ac:61: warning: The macro `AC_TRY_COMPILE' is obsolete.
configure.ac:61: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
acinclude.m4:69: RC_TYPE_RLIM_T is expanded from...
configure.ac:61: the top level
configure.ac:61: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:61: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
acinclude.m4:69: RC_TYPE_RLIM_T is expanded from...
configure.ac:61: the top level
configure.ac:65: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:65: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
acinclude.m4:138: RC_SYS_V_SIGCLD is expanded from...
configure.ac:65: the top level
configure.ac:87: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:87: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
acinclude.m4:182: RC_SYS_MKNOD_FIFO is expanded from...
configure.ac:87: the top level
configure.ac:172: warning: The macro `AC_TRY_LINK' is obsolete.
configure.ac:172: You should run autoupdate.
./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from...
lib/m4sugar/m4sh.m4:699: AS_IF is expanded from...
./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from...
configure.ac:172: the top level
configure.ac:247: warning: AC_OUTPUT should be used without arguments.
configure.ac:247: You should run autoupdate.
configure.ac:15: installing './compile'
configure.ac:10: installing './missing'
Makefile.am: installing './depcomp'
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.18pOt2
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ 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
+ '[' '-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	2024-05-09 01:04:06.959833072 +0800
+++ ./configure	2024-05-09 01:04:07.640835141 +0800
@@ -1798,7 +1798,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/OpenCloudOS/OpenCloudOS-hardened-ld' ']'
++ find . -name ltmain.sh
+ ./configure --build=x86_64-opencloudos-linux-gnu --host=x86_64-opencloudos-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 race-free 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 x86_64-opencloudos-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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
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 stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for sys/resource.h... 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 grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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 requires zero arguments... 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 -j32 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o utils.o utils.c
make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4'
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]: 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -DHAVE_CONFIG_H -I.     -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o edit-readline.o edit-readline.c
make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4'
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]: 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o which.o which.c
make[1]: Leaving directory '/builddir/build/BUILD/rc-1.7.4'
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]: 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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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  -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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  -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -DHAVE_CONFIG_H -I.     -Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1 -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.9duYZ0
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64
++ dirname /builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64
+ cd rc-1.7.4
+ /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64 '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-1.ocs23.x86_64/usr/bin'
  /usr/bin/install -p rc '/builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64/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-1.ocs23.x86_64/usr/share/man/man1'
 /usr/bin/install -p -m 644 rc.1 '/builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64/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 -j32 --strict-build-id -m -i --build-id-seed 1.7.4-1.ocs23 --unique-debug-suffix -1.7.4-1.ocs23.x86_64 --unique-debug-src-base rc-1.7.4-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/rc-1.7.4
extracting debug info from /builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64/usr/bin/rc
cpio: y.tab.c: Cannot stat: No such file or directory
383 blocks
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/OpenCloudOS/brp-ldconfig
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs
+ /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/OpenCloudOS/brp-python-hardlink
Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.zIshiA
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
+ 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 2024-05-09 $
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
RPM_PACKAGE_NAME=rc
CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
LT_SYS_LIBRARY_PATH=/usr/lib64:
result='this is a heredoc
this is an heredoc
'
MAKEFLAGS=''
LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
CXX=g++
ifs=(' ' '	' '
')
PWD=/builddir/build/BUILD/rc-1.7.4
RPM_ARCH=x86_64
i=2
RPM_BUILD_ROOT=/builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64
PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig
y=(-rw-r----- 1 mockbuild mock 0 May 9 01:04 /tmp/rc-trip.TfOUVZ/tmp)
RPM_DOC_DIR=/usr/share/doc
prompt=('; ' '')
CFLAGS='-Wall -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
RPM_BUILD_NCPUS=32
RPM_SOURCE_DIR=/builddir/build/SOURCES
PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
pid=92466
TERM=vt100
OLDPWD=/builddir/build/BUILD
tmpdir=/tmp/rc-trip.TfOUVZ
CC=gcc
HISTSIZE=1000
version=(1.7.4 '$Release: @(#)rc 1.7.4 2024-05-09 $')
HOSTNAME=builder3.x64.stream.opencloudos.tech
RPM_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld  -Wl,--build-id=sha1'
FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
RPM_PACKAGE_RELEASE=1.ocs23
HOME=/builddir
tmp=/tmp/rc-trip.TfOUVZ/tmp
RPM_OS=linux
abc=(this is a)
USER=mockbuild
MAKELEVEL=1
which_declare='declare -f'
CONFIG_SITE=NONE
BASH_FUNC_which%%='() {  ( alias;
 eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@
}'
bigfile=/tmp/rc-trip.TfOUVZ/big.92466
path=(/usr/bin /bin /usr/sbin /sbin /usr/local/sbin)
_=./rc
FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules'
MFLAGS=''
nl='
'
LOGNAME=mockbuild
home=/builddir
RPM_PACKAGE_VERSION=1.7.4
HISTCONTROL=ignoredups
RPM_OPT_FLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong  -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection'
rc=./rc
bqstatus=0
SHLVL=2
RPM_BUILD_DIR=/builddir/build/BUILD
MAIL=/var/spool/mail/mockbuild
PROMPT_COMMAND='printf "\033]0;<mock-chroot>\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 93516: 93516
expect prompt, echo hi: echo hi
expect date: Thu May  9 01:04:18 CST 2024
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-1.ocs23.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.CNphBH
+ umask 022
+ cd /builddir/build/BUILD
+ cd rc-1.7.4
+ DOCDIR=/builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64/usr/share/doc/rc
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64/usr/share/doc/rc
+ cp -pr ChangeLog /builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64/usr/share/doc/rc
+ cp -pr AUTHORS /builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64/usr/share/doc/rc
+ cp -pr EXAMPLES /builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64/usr/share/doc/rc
+ cp -pr NEWS /builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64/usr/share/doc/rc
+ cp -pr README /builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64/usr/share/doc/rc
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.CrOWNJ
+ umask 022
+ cd /builddir/build/BUILD
+ cd rc-1.7.4
+ LICENSEDIR=/builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64/usr/share/licenses/rc
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64/usr/share/licenses/rc
+ cp -pr COPYING /builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64/usr/share/licenses/rc
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: /bin/rc rc = 1.7.4-1.ocs23 rc(x86-64) = 1.7.4-1.ocs23
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: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libreadline.so.8()(64bit) rtld(GNU_HASH)
Conflicts: filesystem < 3
Processing files: rc-debugsource-1.7.4-1.ocs23.x86_64
Provides: rc-debugsource = 1.7.4-1.ocs23 rc-debugsource(x86-64) = 1.7.4-1.ocs23
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-1.ocs23.x86_64
Provides: debuginfo(build-id) = 440a034a018aee1f9779758ff80d4698930043d7 rc-debuginfo = 1.7.4-1.ocs23 rc-debuginfo(x86-64) = 1.7.4-1.ocs23
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: rc-debugsource(x86-64) = 1.7.4-1.ocs23
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rc-1.7.4-1.ocs23.x86_64
Wrote: /builddir/build/RPMS/rc-debugsource-1.7.4-1.ocs23.x86_64.rpm
Wrote: /builddir/build/RPMS/rc-1.7.4-1.ocs23.x86_64.rpm
Wrote: /builddir/build/RPMS/rc-debuginfo-1.7.4-1.ocs23.x86_64.rpm
Child return code was: 0