Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/bes.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-755915-27676/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/bes.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674000000 Wrote: /builddir/build/SRPMS/bes-3.20.13-6.fc38.src.rpm RPM build warnings: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/bes.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-755915-27676/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/bes.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674000000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OnMcEA + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bes-3.20.13 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bes-3.20.13.tar.gz /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.dropbox.attributes' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.dropbox.attributes' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.dropbox.attributes' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.dropbox.attributes' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.xattr.com.apple.quarantine' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' /usr/bin/tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' + STATUS=0 + '[' 0 -ne 0 ']' + cd bes-3.20.13 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (bes-link.patch):' Patch #1 (bes-link.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .link --fuzz=0 patching file xmlcommand/Makefile.am Hunk #1 succeeded at 22 (offset 3 lines). Patch #2 (bes-int32.patch): + echo 'Patch #2 (bes-int32.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .int32 --fuzz=0 patching file modules/hdf4_handler/HDFSP.cc Patch #3 (bes-config.patch): + echo 'Patch #3 (bes-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .config --fuzz=0 patching file conf/sys_errlist.m4 + autoreconf --install libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'conf'. libtoolize: copying file 'conf/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'conf'. libtoolize: copying file 'conf/libtool.m4' libtoolize: copying file 'conf/ltversion.m4' configure.ac:16: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:16: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... configure.ac:16: the top level configure.ac:214: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... aclocal.m4:705: AM_PROG_LEX is expanded from... configure.ac:214: the top level configure.ac:242: warning: The macro `AM_PROG_LIBTOOL' is obsolete. configure.ac:242: You should run autoupdate. conf/libtool.m4:101: AM_PROG_LIBTOOL is expanded from... configure.ac:242: the top level configure.ac:268: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:268: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:268: the top level configure.ac:300: warning: The macro `AC_FUNC_SETVBUF_REVERSED' is obsolete. Remove it and all references to SETVBUF_REVERSED. ./lib/autoconf/functions.m4:1766: AC_FUNC_SETVBUF_REVERSED is expanded from... configure.ac:300: the top level configure.ac:369: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:369: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK 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:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... conf/sys_errlist.m4:1: SIC_VAR_SYS_ERRLIST is expanded from... configure.ac:369: the top level configure.ac:392: warning: The macro `AC_LANG_CPLUSPLUS' is obsolete. configure.ac:392: You should run autoupdate. ./lib/autoconf/c.m4:262: AC_LANG_CPLUSPLUS 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:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... conf/tr1_functional.m4:2: AC_HEADER_TR1_FUNCTIONAL is expanded from... configure.ac:392: the top level configure.ac:392: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:392: 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:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... conf/tr1_functional.m4:2: AC_HEADER_TR1_FUNCTIONAL is expanded from... configure.ac:392: the top level configure.ac:428: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:428: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... conf/ax_lib_gdal.m4:44: AX_LIB_GDAL is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... aclocal.m4:133: AM_COND_IF is expanded from... configure.ac:428: the top level configure.ac:428: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:428: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... aclocal.m4:133: AM_COND_IF is expanded from... configure.ac:428: the top level configure.ac:428: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:428: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... aclocal.m4:133: AM_COND_IF is expanded from... configure.ac:428: the top level modules/asciival/unit-tests/Makefile.am:22: warning: AM_CXXFLAGS multiply defined in condition TRUE ... modules/asciival/unit-tests/Makefile.am:11: ... 'AM_CXXFLAGS' previously defined here modules/dmrpp_module/Makefile.am:73: warning: source file '$(srcdir)/../hdf5_handler/h5common.cc' is in a subdirectory, modules/dmrpp_module/Makefile.am:73: but option 'subdir-objects' is disabled automake: warning: possible forward-incompatibility. automake: At least one source file is in a subdirectory, but the 'subdir-objects' automake: automake option hasn't been enabled. For now, the corresponding output automake: object file(s) will be placed in the top-level directory. However, this automake: behavior may change in a future Automake major version, with object automake: files being placed in the same subdirectory as the corresponding sources. automake: You are advised to start using 'subdir-objects' option throughout your automake: project, to avoid future incompatibilities. modules/dmrpp_module/unit-tests/Makefile.am:148: warning: source file '$(top_srcdir)/modules/read_test_baseline.cc' is in a subdirectory, modules/dmrpp_module/unit-tests/Makefile.am:148: but option 'subdir-objects' is disabled modules/dmrpp_module/unit-tests/Makefile.am:142: warning: source file '$(top_srcdir)/modules/read_test_baseline.cc' is in a subdirectory, modules/dmrpp_module/unit-tests/Makefile.am:142: but option 'subdir-objects' is disabled modules/dmrpp_module/unit-tests/Makefile.am:145: warning: source file '$(top_srcdir)/modules/read_test_baseline.cc' is in a subdirectory, modules/dmrpp_module/unit-tests/Makefile.am:145: but option 'subdir-objects' is disabled modules/dmrpp_module/unit-tests/Makefile.am:158: warning: source file '../build_dmrpp_util.cc' is in a subdirectory, modules/dmrpp_module/unit-tests/Makefile.am:158: but option 'subdir-objects' is disabled modules/dmrpp_module/unit-tests/Makefile.am:158: warning: source file '$(top_srcdir)/modules/hdf5_handler/h5common.cc' is in a subdirectory, modules/dmrpp_module/unit-tests/Makefile.am:158: but option 'subdir-objects' is disabled modules/functions/stare/Makefile.am:28: warning: variable 'build_sidecar_SOURCES' is defined but no program or modules/functions/stare/Makefile.am:28: library has 'build_sidecar' as canonical name (possible typo) modules/functions/stare/Makefile.am:31: warning: variable 'build_test_s_indices_SOURCES' is defined but no program or modules/functions/stare/Makefile.am:31: library has 'build_test_s_indices' as canonical name (possible typo) modules/functions/stare/Makefile.am:9: warning: variable 'AM_LDADD' is defined but no program or modules/functions/stare/Makefile.am:9: library has 'AM' as canonical name (possible typo) modules/functions/stare/Makefile.am:29: warning: variable 'build_sidecar_LDADD' is defined but no program or modules/functions/stare/Makefile.am:29: library has 'build_sidecar' as canonical name (possible typo) modules/functions/stare/Makefile.am:32: warning: variable 'build_test_s_indices_LDADD' is defined but no program or modules/functions/stare/Makefile.am:32: library has 'build_test_s_indices' as canonical name (possible typo) modules/functions/unit-tests/Makefile.am:142: warning: source file '../RangeFunction.cc' is in a subdirectory, modules/functions/unit-tests/Makefile.am:142: but option 'subdir-objects' is disabled + chmod a-x dispatch/BESStreamResponseHandler.cc dispatch/BESStreamResponseHandler.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X9KdAa + 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 bes-3.20.13 + 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 2023-06-09 11:17:16.235966567 -0400 +++ ./configure 2023-06-09 11:19:00.995984088 -0400 @@ -2076,7 +2076,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 2023-06-09 11:19:00.995984088 -0400 +++ ./configure 2023-06-09 11:19:02.065984267 -0400 @@ -7808,7 +7808,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'" @@ -27566,7 +27566,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 ./conf/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./conf/config.sub ++ basename ./conf/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./conf/config.sub '/usr/lib/rpm/redhat/config.sub' -> './conf/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./conf/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./conf/config.guess ++ basename ./conf/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./conf/config.guess '/usr/lib/rpm/redhat/config.guess' -> './conf/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"~' ./conf/ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --with-cfits-inc=/usr/include --with-cfits-libdir=/usr/lib64 'CPPFLAGS=-I/usr/include/cfitsio -I/usr/include/tirpc' LDFLAGS=-L/usr/lib64/libdap LIBS=-ltirpc 3.20.13 configure: Package Major Version: 3 configure: Package Minor Version: 20 configure: Package Patch Version: 13 configure: Package Build Number: 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 how to create a pax tar archive... gnutar checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for riscv64-koji-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 dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E 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-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop checking how to convert riscv64-koji-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-koji-linux-gnu-file... no checking for file... file checking for riscv64-koji-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-koji-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-koji-linux-gnu-strip... no checking for strip... strip checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7814: -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-koji-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no 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 fcntl.h... yes checking for float.h... yes checking for malloc.h... yes checking for stddef.h... yes checking for limits.h... yes checking for pthread.h... yes checking for bzlib.h... yes checking for byteswap.h... yes checking for sys/time.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... yes configure: Developer Mode is disabled. configure: Address Sanitizer (ASAN) is disabled. checking for gcov_open in -lgcov... no configure: Not building coverage version configure: Building support for the CMR Module configure: Support for categorized logging output is ENABLED. configure: Building support for the NGAP Module checking for pthread_kill in -lpthread... yes checking for riscv64-koji-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether make sets $(MAKE)... (cached) yes checking for flex... no checking for lex... no checking for python... no checking for python2... no checking for python3... /usr/bin/python3 checking for python version... 3.11 checking for python platform... linux checking for GNU default python prefix... ${prefix} checking for GNU default python exec_prefix... ${exec_prefix} checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.11/site-packages checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib64/python3.11/site-packages checking if g++ supports --std=c++11... yes checking for bison... no checking for library containing uuid_generate... -luuid checking for valgrind... no checking for curl... /bin/curl checking for curl/curl.h... yes checking for curl/multi.h... yes checking for library containing curl_multi_wait... -lcurl checking for egrep... (cached) /usr/bin/grep -E checking for uuid/uuid.h... yes checking for uuid.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for ptrdiff_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working alloca.h... yes checking for alloca... yes checking for strdup... yes checking for strftime... yes checking for strtol... yes checking for strcasecmp... yes checking for strcspn... yes checking for strerror... yes checking for strncasecmp... yes checking for strpbrk... yes checking for strchr... yes checking for strrchr... yes checking for strspn... yes checking for strtoul... yes checking for timegm... yes checking for mktime... yes checking for atexit... yes checking for floor... no checking for isascii... yes checking for memmove... yes checking for memset... yes checking for pow... no checking for sqrt... no checking for library containing isdigit... none required checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for error_at_line... yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for alarm... yes checking for vprintf... yes checking for working mktime... yes checking for GNU libc compatible realloc... yes checking for working strtod... yes checking for BZ2_bzReadOpen in -lbz2... yes checking for gzopen in -lz... yes checking for dlclose... yes checking for a readline compatible library... -lreadline checking for readline.h... no checking for readline/readline.h... yes checking whether readline supports history... yes checking for history.h... no checking for readline/history.h... yes checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for XML2... yes yes; used pkg-config checking for sys_errlist... no checking for DAP... yes checking for DAP_CLIENT... yes checking for DAP_SERVER... yes checking for libdap version >= 3.18.0... yes checking whether to use libwrap... no checking for tr1/functional... yes checking for cppunit-config... no checking for Cppunit - version >= 1.12.0... no checking for CPPUNIT... yes configure: Not a RHEL 8 or equivalent system checking how to run the C preprocessor... gcc -E checking the OS type for the freeform code... set to -DLINUX checking the netCDF library... checking for nc-config... /usr/bin/nc-config -L/usr/lib64 -lnetcdf checking for nc_inq_libvers in -lnetcdf... yes checking the netCDF library version number... 4 configure: NC_BIN is -I/usr/include -I/usr/include/hdf -DH5_USE_110_API ./configure: line 23970: test: too many arguments configure: Looking for GDAL. checking for gdal-config... /usr/bin/gdal-config checking for GDAL library... /usr/bin/gdal-config: line 9: gdal-config-32: command not found /usr/bin/gdal-config: line 9: gdal-config-32: command not found /usr/bin/gdal-config: line 9: gdal-config-32: command not found /usr/bin/gdal-config: line 9: gdal-config-32: command not found yes checking for OGR support in GDAL library... /usr/bin/gdal-config: line 9: gdal-config-32: command not found checking if GDAL version is >= 1.10.0... expr: syntax error: unexpected argument '\\([0-9]*\\)' expr: syntax error: unexpected argument '[0-9]*\\.\\([0-9]*\\)' expr: syntax error: unexpected argument '[0-9]*\\.[0-9]*\\.\\([0-9]*\\)' expr: syntax error: unexpected argument '1000000' expr: syntax error: unexpected argument '1010000' no configure: error: GDAL found, but required version is 1.10.0 error: Bad exit status from /var/tmp/rpm-tmp.X9KdAa (%build) RPM build warnings: RPM build errors: %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.X9KdAa (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/bes.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/bes.spec