Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/gjs.spec'], chrootPath='/var/lib/mock/dist-an23.3-build-424141-72931/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=86400uid=982gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h1qlp1n5:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h1qlp1n5:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b0560175a86944efab4041515115ff41', '-D', '/var/lib/mock/dist-an23.3-build-424141-72931/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h1qlp1n5:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/gjs.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1739836800 Wrote: /builddir/build/SRPMS/gjs-1.80.2-1.an23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gjs.spec'], chrootPath='/var/lib/mock/dist-an23.3-build-424141-72931/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=86400uid=982gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h1qlp1n5:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h1qlp1n5:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6fff19e3fc9c403fa19b75783ed23c97', '-D', '/var/lib/mock/dist-an23.3-build-424141-72931/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.h1qlp1n5:/etc/resolv.conf', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gjs.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1739836800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Vsbehl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gjs-1.80.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gjs-1.80.2.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd gjs-1.80.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar -xf /builddir/build/SOURCES/firefox-115.15.0esr.source.tar.xz + pushd firefox-115.15.0 ~/build/BUILD/gjs-1.80.2/firefox-115.15.0 ~/build/BUILD/gjs-1.80.2 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 Hunk #1 succeeded at 1532 (offset -1 lines). Hunk #2 succeeded at 1545 (offset -1 lines). 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 + echo 'Patch #9 (icu_sources_data.py-Decouple-from-Mozilla-build-system.patch):' 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 Hunk #1 succeeded at 18 (offset -3 lines). + echo 'Patch #10 (icu_sources_data-Write-command-output-to-our-stderr.patch):' 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 Hunk #1 succeeded at 185 (offset -3 lines). 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 Hunk #1 succeeded at 1358 (offset -7 lines). patching file python/mozbuild/mozbuild/test/frontend/test_emitter.py Hunk #1 succeeded at 1071 (offset -5 lines). + echo 'Patch #13 (tests-Use-native-TemporaryDirectory.patch):' 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 555 (offset -2 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 + echo 'Patch #16 (firefox-112.0-commasplit.patch):' Patch #16 (firefox-112.0-commasplit.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file build/moz.configure/rust.configure Hunk #1 succeeded at 599 (offset 6 lines). patching file python/mozbuild/mozbuild/configure/options.py + echo 'Patch #20 (spidermonkey_checks_disable.patch):' Patch #20 (spidermonkey_checks_disable.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file config/run_spidermonkey_checks.py Patch #30 (tests-Replace-pipes-with-shlex-for-Python-3.13.patch): + echo 'Patch #30 (tests-Replace-pipes-with-shlex-for-Python-3.13.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file js/src/tests/lib/results.py + rm third_party/python/six/six.py + ln -s /usr/lib/python3.11/site-packages/six.py third_party/python/six/six.py + cp /builddir/build/SOURCES/known_failures.txt js/src/ + rm -rf modules/zlib + popd ~/build/BUILD/gjs-1.80.2 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aU2TCV + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS ~/build/BUILD/gjs-1.80.2/firefox-115.15.0/js/src ~/build/BUILD/gjs-1.80.2 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gjs-1.80.2 + pushd firefox-115.15.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 'LINKFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + LINKFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export PYTHON=/usr/bin/python3 + PYTHON=/usr/bin/python3 + 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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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 -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -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/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-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' ./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 2024-08-26 22:25:28.000000000 +0800 +++ ./ctypes/libffi/configure 2025-03-20 19:06:34.675075766 +0800 @@ -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 2025-03-20 19:06:34.675075766 +0800 +++ ./ctypes/libffi/configure 2025-03-20 19:06:34.695075873 +0800 @@ -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"`' + 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 + '[' 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.guess + '[' -f /usr/lib/rpm/anolis/config.guess ']' + /usr/bin/rm -f ./ctypes/libffi/config.guess ++ basename ./ctypes/libffi/config.guess + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.guess ./ctypes/libffi/config.guess '/usr/lib/rpm/anolis/config.guess' -> './ctypes/libffi/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./ctypes/libffi/config.sub + '[' -f /usr/lib/rpm/anolis/config.sub ']' + /usr/bin/rm -f ./ctypes/libffi/config.sub ++ basename ./ctypes/libffi/config.sub + /usr/bin/cp -fv /usr/lib/rpm/anolis/config.sub ./ctypes/libffi/config.sub '/usr/lib/rpm/anolis/config.sub' -> './ctypes/libffi/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-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/anolis/anolis-hardened-ld"~' ./ctypes/libffi/ltmain.sh ++ dirname ./configure + /usr/lib/rpm/anolis/force-as-needed-for-shared-lib-in-libtool . Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/anolis/fix-libtool-ltmain-from-overlinking ++ dirname ./configure + /usr/lib/rpm/anolis/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/anolis/fix-dlsearch-path-in-libtool . lib64 + ./configure --build=aarch64-Anolis-linux --host=aarch64-Anolis-linux --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 Using Python 3.11.6 from /usr/bin/python3 Site not up-to-date reason: "/builddir/build/BUILD/gjs-1.80.2/firefox-115.15.0/js/src/_virtualenvs/build" does not exist Created Python 3 virtualenv checking for vcs source checkout... no checking for a shell... /usr/bin/sh checking for host system type... aarch64-Anolis-linux-gnu checking for target system type... aarch64-Anolis-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/gjs-1.80.2/firefox-115.15.0/js/src/_virtualenvs/build/bin/python (3.11.6) checking whether cross compiling... no checking for wget... /usr/bin/wget 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... 12.3.0 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... 12.3.0 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... 12.3.0 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... 12.3.0 checking the host C++ compiler works... yes checking for target linker... bfd checking for host linker... bfd checking for 64-bit OS... yes checking for new enough STL headers from libstdc++... yes checking for the assembler... /usr/bin/gcc checking for ar... /usr/bin/ar checking for host_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 whether pkg-config is pkgconf... yes checking for strndup... yes checking for posix_memalign... yes checking for memalign... yes checking for malloc_usable_size... yes 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 -Wtautological-constant-in-range-compare... no checking whether the C++ compiler supports -Wtautological-constant-in-range-compare... 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-subscript... 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 -Wenum-float-conversion... no checking whether the C++ compiler supports -Wenum-float-conversion... no checking whether the C++ compiler supports -Wvolatile... yes checking whether the C++ compiler supports -Wno-error=deprecated... yes checking whether the C++ compiler supports -Wno-error=deprecated-anon-enum-enum-conversion... no checking whether the C++ compiler supports -Wno-error=deprecated-enum-enum-conversion... yes checking whether the C++ compiler supports -Wno-error=deprecated-pragma... no checking whether the C++ compiler supports -Wno-error=deprecated-this-capture... no 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 -Wimplicit-fallthrough... yes checking whether the C compiler supports -Wlogical-op... yes checking whether the C++ compiler supports -Wlogical-op... 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=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=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-builtins... no checking whether the C++ compiler supports -Wno-error=deprecated-builtins... no 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 -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 -Wno-error=builtin-macro-redefined... yes checking whether the C++ compiler supports -Wno-error=builtin-macro-redefined... yes checking whether the C compiler supports -Wno-unknown-warning-option... no checking whether the C++ compiler supports -Wno-unknown-warning-option... no 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.83.0 checking cargo version... 1.83.0 checking for rust host triplet... aarch64-unknown-linux-gnu checking for rust target triplet... aarch64-unknown-linux-gnu checking for rustdoc... /usr/bin/rustdoc checking for rustfmt... /usr/bin/rustfmt checking for clang for bindgen... /usr/bin/clang++ checking for libclang for bindgen... /usr/lib64/libclang.so checking that libclang is new enough... yes checking bindgen cflags... -x c++ -fno-sized-deallocation -fno-aligned-new -DTRACING=1 -DIMPL_LIBXUL -DMOZILLA_INTERNAL_API -DRUST_BINDGEN -DOS_POSIX=1 -DOS_LINUX=1 checking for readline... yes checking for icu-i18n >= 73.1... no ERROR: Package dependency requirement 'icu-i18n >= 73.1' could not be satisfied. ERROR: Package 'icu-i18n' has version '72.1', required version is '>= 73.1' error: Bad exit status from /var/tmp/rpm-tmp.aU2TCV (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.aU2TCV (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 6fff19e3fc9c403fa19b75783ed23c97 -D /var/lib/mock/dist-an23.3-build-424141-72931/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.h1qlp1n5:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gjs.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M 6fff19e3fc9c403fa19b75783ed23c97 -D /var/lib/mock/dist-an23.3-build-424141-72931/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.h1qlp1n5:/etc/resolv.conf --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/gjs.spec'