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/gawk-select.spec'], chrootPath='/var/lib/mock/f37-build-668451-74720/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/gawk-select.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=1658361600 Wrote: /builddir/build/SRPMS/gawk-select-1.1.2-4.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gawk-select.spec'], chrootPath='/var/lib/mock/f37-build-668451-74720/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/gawk-select.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=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.7zx8oN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gawk-select-1.1.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gawk-select-1.1.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gawk-select-1.1.2 + /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.pZeYRi + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 gawk-select-1.1.2 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 2021-06-29 16:41:14.000000000 +0100 +++ ./configure 2022-11-08 12:06:11.020354426 +0000 @@ -1778,7 +1778,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 --- ./configure.backup 2022-11-08 12:06:11.020354426 +0000 +++ ./configure 2022-11-08 12:06:11.180354231 +0000 @@ -8248,7 +8248,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="sed -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -15255,7 +15255,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./build-aux/config.sub ++ basename ./build-aux/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub '/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build-aux/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./build-aux/config.guess ++ basename ./build-aux/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess '/usr/lib/rpm/redhat/config.guess' -> './build-aux/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./build-aux/ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for 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 whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for style of include used by make... GNU 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 dependency style of gcc... none checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E ./configure: line 4664: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory ./configure: line 4664: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 8254: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking gawkapi.h usability... yes checking gawkapi.h presence... yes checking for gawkapi.h... yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for inline... inline checking gawkextlib.h usability... yes checking gawkextlib.h presence... yes checking for gawkextlib.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for fcntl... yes checking for kill... yes checking for select... yes checking for sigaction... yes checking for sigprocmask... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating packaging/Makefile config.status: creating packaging/gawk-select.spec config.status: creating po/Makefile.in config.status: creating test/Makefile config.status: creating config.h config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in doc make[2]: Nothing to be done for 'all'. Making all in po Making all in packaging make[2]: Nothing to be done for 'all'. Making all in test make[2]: Nothing to be done for 'all'. make[2]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2' echo '#include ' | cpp -M | gawk -f siglist.awk > name2signal.h make[2]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2' make[2]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR='"/usr/share/locale"' -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpointer-arith -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wshadow -c -o select.lo select.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLOCALEDIR=\"/usr/share/locale\" -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpointer-arith -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wshadow -c select.c -fPIC -DPIC -o .libs/select.o make[2]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2' name2signal.h:41:19: warning: initialized field overwritten [-Woverride-init] 41 | init_sig (SIGIOT, "IOT") | ^~~~~ select.c:29:30: note: in definition of macro 'init_sig' 29 | #define init_sig(A, B) [A] = B, | ^ name2signal.h:41:19: note: (near initialization for 'signal2name[6]') 41 | init_sig (SIGIOT, "IOT") | ^~~~~ select.c:29:30: note: in definition of macro 'init_sig' 29 | #define init_sig(A, B) [A] = B, | ^ name2signal.h:71:20: warning: initialized field overwritten [-Woverride-init] 71 | init_sig (SIGCHLD, "CHLD") | ^~~~~~ select.c:29:30: note: in definition of macro 'init_sig' 29 | #define init_sig(A, B) [A] = B, | ^ name2signal.h:71:20: note: (near initialization for 'signal2name[17]') 71 | init_sig (SIGCHLD, "CHLD") | ^~~~~~ select.c:29:30: note: in definition of macro 'init_sig' 29 | #define init_sig(A, B) [A] = B, | ^ name2signal.h:80:20: warning: initialized field overwritten [-Woverride-init] 80 | init_sig (SIGPOLL, "POLL") | ^~~~~~ select.c:29:30: note: in definition of macro 'init_sig' 29 | #define init_sig(A, B) [A] = B, | ^ name2signal.h:80:20: note: (near initialization for 'signal2name[29]') 80 | init_sig (SIGPOLL, "POLL") | ^~~~~~ select.c:29:30: note: in definition of macro 'init_sig' 29 | #define init_sig(A, B) [A] = B, | ^ select.c: In function 'signal_handler': select.c:86:13: warning: passing argument 1 of 'sigaddset' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] 86 | sigaddset(& caught.mask, signum); | ^~~~~~~~~~~~~ In file included from select.c:25: /usr/include/signal.h:205:33: note: expected 'sigset_t *' but argument is of type 'volatile sigset_t *' 205 | extern int sigaddset (sigset_t *__set, int __signo) __THROW __nonnull ((1)); | ~~~~~~~~~~^~~~~ select.c: In function 'do_select': select.c:475:17: warning: passing argument 1 of 'sigemptyset' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] 475 | sigemptyset(& caught.mask); | ^~~~~~~~~~~~~ /usr/include/signal.h:199:35: note: expected 'sigset_t *' but argument is of type 'volatile sigset_t *' 199 | extern int sigemptyset (sigset_t *__set) __THROW __nonnull ((1)); | ~~~~~~~~~~^~~~~ make[2]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2' /bin/sh ./libtool --tag=CC --mode=link gcc -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Wextra -Wpointer-arith -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wshadow -module -avoid-version -no-undefined -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 select.la -rpath /usr/lib64/gawk select.lo -lgawkextlib libtool: link: gcc -shared -fPIC -DPIC .libs/select.o -lgawkextlib -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -fstack-protector-strong -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--build-id=sha1 -Wl,-soname -Wl,select.so -o .libs/select.so libtool: link: ( cd ".libs" && rm -f "select.la" && ln -s "../select.la" "select.la" ) make[2]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VhROOD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 gawk-select-1.1.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64 'INSTALL=/usr/bin/install -p' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2/doc' make[2]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/share/man/man3' /usr/bin/install -p -m 644 select.3am '/builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/share/man/man3' make[2]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2/doc' make[1]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2/doc' Making install in po make[1]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2/po' if test "gawk-select" = "gettext-tools"; then \ /usr/bin/mkdir -p /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -p -m 644 ./$file \ /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2/po' Making install in packaging make[1]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2/packaging' make[2]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2/packaging' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2/packaging' make[1]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2/packaging' Making install in test make[1]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2/test' make[2]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2/test' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2/test' make[1]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2/test' make[1]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2' make[2]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/lib64/gawk' /bin/sh ./libtool --mode=install /usr/bin/install -p select.la '/builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/lib64/gawk' libtool: install: /usr/bin/install -p .libs/select.so /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/lib64/gawk/select.so libtool: install: /usr/bin/install -p .libs/select.lai /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/lib64/gawk/select.la libtool: warning: remember to run 'libtool --finish /usr/lib64/gawk' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2' for i in select.la ; do \ rm -f /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/lib64/gawk/$i ; \ done make[3]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2' make[2]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2' make[1]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.1.2-4.fc37 --unique-debug-suffix -1.1.2-4.fc37.riscv64 --unique-debug-src-base gawk-select-1.1.2-4.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/gawk-select-1.1.2 extracting debug info from /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/lib64/gawk/select.so original debug info size: 152kB, size after compression: 152kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 48 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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.p6UF6t + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 gawk-select-1.1.2 + make check Making check in doc make[1]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2/doc' Making check in po make[1]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2/po' make[1]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2/po' Making check in packaging make[1]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2/packaging' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2/packaging' Making check in test make[1]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2/test' ======== Starting select tests ======== kill inputfd outputfd nonblock select signal timeout_parse ======== Done with select tests ======== make[2]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2/test' ALL TESTS PASSED make[2]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2/test' make[1]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2/test' make[1]: Entering directory '/builddir/build/BUILD/gawk-select-1.1.2' make[1]: Leaving directory '/builddir/build/BUILD/gawk-select-1.1.2' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: gawk-select-1.1.2-4.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hjxJ2N + umask 022 + cd /builddir/build/BUILD + cd gawk-select-1.1.2 + DOCDIR=/builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/share/doc/gawk-select + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/share/doc/gawk-select + cp -pr NEWS /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/share/doc/gawk-select + cp -pr multiplex.awk multiplex2.awk /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/share/doc/gawk-select + cp -pr test/nonblock.awk /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/share/doc/gawk-select + cp -pr test/signal.awk /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/share/doc/gawk-select + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5hBs0x + umask 022 + cd /builddir/build/BUILD + cd gawk-select-1.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/share/licenses/gawk-select + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/share/licenses/gawk-select + cp -pr COPYING /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64/usr/share/licenses/gawk-select + RPM_EC=0 ++ jobs -p + exit 0 Provides: gawk-select = 1.1.2-4.fc37 gawk-select(riscv-64) = 1.1.2-4.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgawkextlib.so.0()(64bit) rtld(GNU_HASH) Processing files: gawk-select-debugsource-1.1.2-4.fc37.riscv64 Provides: gawk-select-debugsource = 1.1.2-4.fc37 gawk-select-debugsource(riscv-64) = 1.1.2-4.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: gawk-select-debuginfo-1.1.2-4.fc37.riscv64 Provides: debuginfo(build-id) = b57c996c700eb8922fbb23edcffe9d356bcf1b5b gawk-select-debuginfo = 1.1.2-4.fc37 gawk-select-debuginfo(riscv-64) = 1.1.2-4.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gawk-select-debugsource(riscv-64) = 1.1.2-4.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64 Wrote: /builddir/build/RPMS/gawk-select-debugsource-1.1.2-4.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/gawk-select-1.1.2-4.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/gawk-select-debuginfo-1.1.2-4.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.peoyKY + umask 022 + cd /builddir/build/BUILD + cd gawk-select-1.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gawk-select-1.1.2-4.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.bDZmVq + umask 022 + cd /builddir/build/BUILD + rm -rf gawk-select-1.1.2 gawk-select-1.1.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0