Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/mozjs91.spec'], chrootPath='/var/lib/mock/f39-build-1996901-43957/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/mozjs91.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 (13 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/mozjs91-91.13.0-5.fc39.src.rpm RPM build warnings: %patchN is deprecated (13 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/mozjs91.spec'], chrootPath='/var/lib/mock/f39-build-1996901-43957/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/mozjs91.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 (13 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vwBy8d + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf firefox-91.13.0/js/src + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/firefox-91.13.0esr.source.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd firefox-91.13.0/js/src + rm -rf /builddir/build/BUILD/firefox-91.13.0/js/src-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/firefox-91.13.0/js/src-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + pushd ../.. ~/build/BUILD/firefox-91.13.0 ~/build/BUILD/firefox-91.13.0/js/src Patch #1 (fix-soname.patch): + echo 'Patch #1 (fix-soname.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file config/rules.mk Patch #2 (copy-headers.patch): + echo 'Patch #2 (copy-headers.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file python/mozbuild/mozbuild/backend/recursivemake.py Patch #3 (tests-increase-timeout.patch): + echo 'Patch #3 (tests-increase-timeout.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file js/src/Makefile.in Patch #9 (icu_sources_data.py-Decouple-from-Mozilla-build-system.patch): + echo 'Patch #9 (icu_sources_data.py-Decouple-from-Mozilla-build-system.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file intl/icu_sources_data.py Patch #10 (icu_sources_data-Write-command-output-to-our-stderr.patch): + echo 'Patch #10 (icu_sources_data-Write-command-output-to-our-stderr.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file intl/icu_sources_data.py Patch #12 (emitter.patch): + echo 'Patch #12 (emitter.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file python/mozbuild/mozbuild/frontend/emitter.py patching file python/mozbuild/mozbuild/test/frontend/test_emitter.py Patch #13 (tests-Use-native-TemporaryDirectory.patch): + echo 'Patch #13 (tests-Use-native-TemporaryDirectory.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file js/src/jit-test/jit_test.py patching file js/src/tests/jstests.py patching file js/src/tests/lib/tempfile.py Patch #14 (init_patch.patch): + echo 'Patch #14 (init_patch.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file python/mozbuild/mozbuild/configure/__init__.py Hunk #1 succeeded at 548 (offset -5 lines). Patch #15 (remove-sloppy-m4-detection-from-bundled-autoconf.patch): + echo 'Patch #15 (remove-sloppy-m4-detection-from-bundled-autoconf.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file build/autoconf/autoconf.sh Patch #16 (0001-Python-Build-Use-r-instead-of-rU-file-read-modes.patch): + echo 'Patch #16 (0001-Python-Build-Use-r-instead-of-rU-file-read-modes.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file python/mozbuild/mozbuild/action/process_define_files.py patching file python/mozbuild/mozbuild/backend/base.py patching file python/mozbuild/mozbuild/preprocessor.py patching file python/mozbuild/mozbuild/util.py patching file python/mozbuild/mozpack/files.py Patch #17 (spidermonkey_checks_disable.patch): + echo 'Patch #17 (spidermonkey_checks_disable.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file config/run_spidermonkey_checks.py + echo 'Patch #18 (six-is-always-PY3-don-t-ask-for-it.patch):' Patch #18 (six-is-always-PY3-don-t-ask-for-it.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file js/src/tests/lib/manifest.py Patch #20 (0001-Skip-failing-tests-on-ppc64-and-s390x.patch): + echo 'Patch #20 (0001-Skip-failing-tests-on-ppc64-and-s390x.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file js/src/tests/jstests.list + cp LICENSE js/src/ + cp /builddir/build/SOURCES/known_failures.txt js/src/ + popd ~/build/BUILD/firefox-91.13.0/js/src + rm -rf ../../modules/zlib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pIa181 + 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 -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 -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 + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 firefox-91.13.0/js/src + export CC=gcc + CC=gcc + export CXX=g++ + CXX=g++ + export 'RUSTFLAGS=-C embed-bitcode' + RUSTFLAGS='-C embed-bitcode' + export CARGO_PROFILE_RELEASE_LTO=true + CARGO_PROFILE_RELEASE_LTO=true + export 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 'LINKFLAGS=-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 ' + LINKFLAGS='-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 PYTHON3=/usr/bin/python3.11 + PYTHON3=/usr/bin/python3.11 + export M4=m4 + M4=m4 + export AWK=awk + AWK=awk + export AC_MACRODIR=/builddir/build/BUILD/firefox-91.13.0/build/autoconf/ + AC_MACRODIR=/builddir/build/BUILD/firefox-91.13.0/build/autoconf/ + sh ../../build/autoconf/autoconf.sh --localdir=/builddir/build/BUILD/firefox-91.13.0/js/src configure.in + chmod +x configure + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -Wno-complain-wrong-lang -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 -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 -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 + RUSTFLAGS='-C embed-bitcode' + export RUSTFLAGS + 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 + mv ./configure.backup ./configure + /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 + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./ctypes/libffi/configure + diff -u ./ctypes/libffi/configure.backup ./ctypes/libffi/configure + mv ./ctypes/libffi/configure.backup ./ctypes/libffi/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./ctypes/libffi/configure + diff -u ./ctypes/libffi/configure.backup ./ctypes/libffi/configure + mv ./ctypes/libffi/configure.backup ./ctypes/libffi/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./ctypes/libffi/configure + diff -u ./ctypes/libffi/configure.backup ./ctypes/libffi/configure --- ./ctypes/libffi/configure.backup 2022-08-15 14:04:39.000000000 -0400 +++ ./ctypes/libffi/configure 2023-12-11 09:08:01.826500206 -0500 @@ -1860,7 +1860,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' ./ctypes/libffi/configure + diff -u ./ctypes/libffi/configure.backup ./ctypes/libffi/configure + mv ./ctypes/libffi/configure.backup ./ctypes/libffi/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'\''"#' ./ctypes/libffi/configure + diff -u ./ctypes/libffi/configure.backup ./ctypes/libffi/configure --- ./ctypes/libffi/configure.backup 2023-12-11 09:08:01.826500206 -0500 +++ ./ctypes/libffi/configure 2023-12-11 09:08:03.786500565 -0500 @@ -7079,7 +7079,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'" @@ -19983,7 +19983,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 ./ctypes/libffi/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./ctypes/libffi/config.sub ++ basename ./ctypes/libffi/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./ctypes/libffi/config.sub '/usr/lib/rpm/redhat/config.sub' -> './ctypes/libffi/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./ctypes/libffi/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./ctypes/libffi/config.guess ++ basename ./ctypes/libffi/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./ctypes/libffi/config.guess '/usr/lib/rpm/redhat/config.guess' -> './ctypes/libffi/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"~' ./ctypes/libffi/ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./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 --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-system-icu --with-system-zlib --disable-tests --disable-strip --with-intl-api --enable-readline --enable-shared-js --enable-optimize --disable-debug --enable-pie --disable-jemalloc Creating Python 3 environment created virtual environment CPython3.11.6.final.0-64 in 41158ms creator CPython3Posix(dest=/builddir/build/BUILD/firefox-91.13.0/_virtualenvs/common, clear=False, no_vcs_ignore=False, global=False) seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/builddir/.local/share/virtualenv) added seed packages: pip==20.3.1, setuptools==51.0.0, wheel==0.36.1 activators BashActivator,CShellActivator,FishActivator,PowerShellActivator,PythonActivator,XonshActivator /builddir/build/BUILD/firefox-91.13.0/python/mozbuild/mozbuild/virtualenv.py:648: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.version import LooseVersion /builddir/build/BUILD/firefox-91.13.0/python/mozbuild/mozbuild/virtualenv.py:303: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead import distutils.sysconfig Re-executing in the virtualenv checking for vcs source checkout... no checking for a shell... /usr/bin/sh checking for host system type... riscv64-koji-linux-gnu checking for target system type... riscv64-koji-linux-gnu WARNING: Unknown option: --build WARNING: Unknown option: --program-prefix WARNING: Unknown option: --disable-dependency-tracking WARNING: Unknown option: --exec-prefix WARNING: Unknown option: --bindir WARNING: Unknown option: --sbindir WARNING: Unknown option: --sysconfdir WARNING: Unknown option: --libexecdir WARNING: Unknown option: --localstatedir WARNING: Unknown option: --sharedstatedir WARNING: Unknown option: --mandir WARNING: Unknown option: --infodir WARNING: Unknown option: --enable-pie checking for Python 3... /builddir/build/BUILD/firefox-91.13.0/_virtualenvs/common/bin/python (3.11.6) checking whether cross compiling... no checking for wget... not found checking for ccache... not found checking for the target C compiler... /usr/bin/gcc checking whether the target C compiler can be used... yes checking the target C compiler version... 13.2.1 checking the target C compiler works... yes checking for the target C++ compiler... /usr/bin/g++ checking whether the target C++ compiler can be used... yes checking the target C++ compiler version... 13.2.1 checking the target C++ compiler works... yes checking for the host C compiler... /usr/bin/gcc checking whether the host C compiler can be used... yes checking the host C compiler version... 13.2.1 checking the host C compiler works... yes checking for the host C++ compiler... /usr/bin/g++ checking whether the host C++ compiler can be used... yes checking the host C++ compiler version... 13.2.1 checking the host C++ compiler works... yes checking for 64-bit OS... yes checking for new enough STL headers from libstdc++... yes checking for linker... bfd checking for the assembler... /usr/bin/gcc checking for ar... /usr/bin/ar checking for nm... /usr/bin/nm checking for pkg_config... /usr/bin/pkg-config checking for pkg-config version... 1.9.5 checking for stdint.h... yes checking for inttypes.h... yes checking for malloc.h... yes checking for alloca.h... yes checking for sys/byteorder.h... no checking for getopt.h... yes checking for unistd.h... yes checking for nl_types.h... yes checking for cpuid.h... no checking for fts.h... yes checking for sys/statvfs.h... yes checking for sys/statfs.h... yes checking for sys/vfs.h... yes checking for sys/mount.h... yes checking for sys/quota.h... yes checking for linux/quota.h... yes checking for linux/if_addr.h... yes checking for linux/rtnetlink.h... yes checking for sys/queue.h... yes checking for sys/types.h... yes checking for netinet/in.h... yes checking for byteswap.h... yes checking for memfd_create in sys/mman.h... yes checking for linux/perf_event.h... yes checking for perf_event_open system call... yes checking whether the C compiler supports -Wbitfield-enum-conversion... no checking whether the C++ compiler supports -Wbitfield-enum-conversion... no checking whether the C++ compiler supports -Wdeprecated-this-capture... no checking whether the C compiler supports -Wformat-type-confusion... no checking whether the C++ compiler supports -Wformat-type-confusion... no checking whether the C compiler supports -Wshadow-field-in-constructor-modified... no checking whether the C++ compiler supports -Wshadow-field-in-constructor-modified... no checking whether the C++ compiler supports -Wshadow-uncaptured-local... no checking whether the C compiler supports -Wno-error=tautological-type-limit-compare... no checking whether the C++ compiler supports -Wno-error=tautological-type-limit-compare... no checking whether the C compiler supports -Wunreachable-code-return... no checking whether the C++ compiler supports -Wunreachable-code-return... no checking whether the C compiler supports -Wclass-varargs... no checking whether the C++ compiler supports -Wclass-varargs... no checking whether the C++ compiler supports -Wempty-init-stmt... no checking whether the C compiler supports -Wfloat-overflow-conversion... no checking whether the C++ compiler supports -Wfloat-overflow-conversion... no checking whether the C compiler supports -Wfloat-zero-conversion... no checking whether the C++ compiler supports -Wfloat-zero-conversion... no checking whether the C compiler supports -Wloop-analysis... no checking whether the C++ compiler supports -Wloop-analysis... no checking whether the C compiler supports -Wno-range-loop-analysis... no checking whether the C++ compiler supports -Wno-range-loop-analysis... no checking whether the C++ compiler supports -Wc++2a-compat... yes checking whether the C++ compiler supports -Wcomma... no checking whether the C compiler supports -Wduplicated-cond... yes checking whether the C++ compiler supports -Wduplicated-cond... yes checking whether the C compiler supports -Wenum-compare-conditional... no checking whether the C++ compiler supports -Wenum-compare-conditional... no checking whether the C++ compiler supports -Wimplicit-fallthrough... yes checking whether the C compiler supports -Wstring-conversion... no checking whether the C++ compiler supports -Wstring-conversion... no checking whether the C++ compiler supports -Wno-inline-new-delete... no checking whether the C compiler supports -Wno-error=maybe-uninitialized... yes checking whether the C++ compiler supports -Wno-error=maybe-uninitialized... yes checking whether the C compiler supports -Wno-error=deprecated-declarations... yes checking whether the C++ compiler supports -Wno-error=deprecated-declarations... yes checking whether the C compiler supports -Wno-error=array-bounds... yes checking whether the C++ compiler supports -Wno-error=array-bounds... yes checking whether the C compiler supports -Wno-error=coverage-mismatch... yes checking whether the C++ compiler supports -Wno-error=coverage-mismatch... yes checking whether the C compiler supports -Wno-error=backend-plugin... no checking whether the C++ compiler supports -Wno-error=backend-plugin... no checking whether the C compiler supports -Wno-error=free-nonheap-object... yes checking whether the C++ compiler supports -Wno-error=free-nonheap-object... yes checking whether the C compiler supports -Wno-multistatement-macros... yes checking whether the C++ compiler supports -Wno-multistatement-macros... yes checking whether the C compiler supports -Wno-error=return-std-move... no checking whether the C++ compiler supports -Wno-error=return-std-move... no checking whether the C compiler supports -Wno-error=class-memaccess... yes checking whether the C++ compiler supports -Wno-error=class-memaccess... yes checking whether the C compiler supports -Wno-error=atomic-alignment... no checking whether the C++ compiler supports -Wno-error=atomic-alignment... no checking whether the C compiler supports -Wno-error=deprecated-copy... yes checking whether the C++ compiler supports -Wno-error=deprecated-copy... yes checking whether the C compiler supports -Wno-error=unused-but-set-variable... yes checking whether the C++ compiler supports -Wno-error=unused-but-set-variable... yes checking whether the C compiler supports -Wformat... yes checking whether the C++ compiler supports -Wformat... yes checking whether the C compiler supports -Wformat-security... no checking whether the C++ compiler supports -Wformat-security... no checking whether the C compiler supports -Wformat-overflow=2... yes checking whether the C++ compiler supports -Wformat-overflow=2... yes checking whether the C compiler supports -Wno-gnu-zero-variadic-macro-arguments... no checking whether the C++ compiler supports -Wno-gnu-zero-variadic-macro-arguments... no checking whether the C compiler supports -Werror=implicit-function-declaration... yes checking whether the C compiler supports -Wno-psabi... yes checking whether the C++ compiler supports -Wno-psabi... yes checking whether the C++ compiler supports -fno-sized-deallocation... yes checking whether the C++ compiler supports -fno-aligned-new... yes checking for llvm_profdata... /usr/bin/llvm-profdata checking for rustc... /usr/bin/rustc checking for cargo... /usr/bin/cargo checking rustc version... 1.74.0 checking cargo version... 1.74.0 checking for rust host triplet... DEBUG: DEBUG: | pub extern fn hello() { println!("Hello world"); } DEBUG: Executing: `/usr/bin/rustc --crate-type staticlib --target=riscv64gc-unknown-linux-gnu -o /tmp/conftestcxi6jzmt.rlib /tmp/conftest6qjppf4n.rs` DEBUG: The command returned non-zero exit status -11. DEBUG: Its error output was: DEBUG: | error: rustc interrupted by SIGSEGV, printing backtrace DEBUG: | DEBUG: | /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x9de370)[0xffffffaa3de370] DEBUG: | linux-vdso.so.1(__vdso_rt_sigreturn+0x0)[0xffffffacea9800] DEBUG: | /lib64/lp64d/libc.so.6(syscall+0x1c)[0xffffffa97ebbc4] DEBUG: | /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks11futex_mutex5Mutex14lock_contended17he6a2492e0067ec39E+0x96)[0xffffffa990ae08] DEBUG: | /lib64/lp64d/libstd-93bc808617be04ae.so(_ZN3std3sys4unix5locks13futex_condvar7Condvar4wait17h6a26c94b9d9bb8a7E+0x9e)[0xffffffa994754e] DEBUG: | /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325a7e)[0xffffffabd25a7e] DEBUG: | /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325cc4)[0xffffffabd25cc4] DEBUG: | /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x23272fe)[0xffffffabd272fe] DEBUG: | /lib64/lp64d/librustc_driver-7c747a0a0d0c6377.so(+0x2325d84)[0xffffffabd25d84] DEBUG: | /lib64/lp64d/libstd-93bc808617be04ae.so(rust_metadata_std_61f6e7739d8dd73d+0xabf36)[0xffffffa9945f36] DEBUG: | /lib64/lp64d/libc.so.6(+0x734e4)[0xffffffa97954e4] DEBUG: | /lib64/lp64d/libc.so.6(+0xcb604)[0xffffffa97ed604] DEBUG: | DEBUG: | note: we would appreciate a report at https://github.com/rust-lang/rust ERROR: Cannot compile for riscv64-koji-linux-gnu with /usr/bin/rustc The target may be unsupported, or you may not have a rust std library for that target installed. Try: rustup target add riscv64gc-unknown-linux-gnu error: Bad exit status from /var/tmp/rpm-tmp.pIa181 (%build) RPM build warnings: RPM build errors: %patchN is deprecated (13 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.pIa181 (%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/mozjs91.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 597, 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/mozjs91.spec