D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/@2252575:firefox-128.12.0-1.5.mga9.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.xXZht9 + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf firefox-128.12.0 + /usr/lib/rpm/rpmuncompress -x /home/iurt/rpmbuild/SOURCES/firefox-128.12.0esr.source.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd firefox-128.12.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #44 (build-arm-libopus.patch):' Patch #44 (build-arm-libopus.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .build-arm-libopus --fuzz=0 patching file media/libopus/silk/arm/arm_silk_map.c + echo 'Patch #53 (firefox-gcc-build.patch):' Patch #53 (firefox-gcc-build.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .firefox-gcc-build --fuzz=0 patching file toolkit/crashreporter/google-breakpad/src/third_party/lss/linux_syscall_support.h + echo 'Patch #71 (0001-GLIBCXX-fix-for-GCC-12.patch):' Patch #71 (0001-GLIBCXX-fix-for-GCC-12.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .0001-GLIBCXX-fix-for-GCC-12 --fuzz=0 patching file build/unix/stdc++compat/stdc++compat.cpp Hunk #2 succeeded at 70 (offset -1 lines). + echo 'Patch #219 (rhbz-1173156.patch):' Patch #219 (rhbz-1173156.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .rhbz-1173156 --fuzz=0 patching file extensions/auth/nsAuthSambaNTLM.cpp Hunk #1 succeeded at 160 (offset -1 lines). + echo 'Patch #231 (webrtc-nss-fix.patch):' Patch #231 (webrtc-nss-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .webrtc-nss-fix --fuzz=0 patching file third_party/libsrtp/src/crypto/cipher/aes_gcm_nss.c patching file third_party/libsrtp/src/crypto/include/aes_gcm.h + echo 'Patch #402 (mozilla-1196777.patch):' Patch #402 (mozilla-1196777.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .1196777 --fuzz=0 patching file widget/gtk/nsWindow.cpp Hunk #1 succeeded at 173 (offset 5 lines). + echo 'Patch #501 (expat-CVE-2022-25235.patch):' Patch #501 (expat-CVE-2022-25235.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .expat-CVE-2022-25235 --fuzz=0 patching file parser/expat/lib/xmltok.c patching file parser/expat/lib/xmltok_impl.c + echo 'Patch #502 (expat-CVE-2022-25236.patch):' Patch #502 (expat-CVE-2022-25236.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .expat-CVE-2022-25236 --fuzz=0 patching file parser/expat/lib/xmlparse.c Hunk #1 succeeded at 704 (offset 4 lines). Hunk #2 succeeded at 1287 (offset 12 lines). Hunk #3 succeeded at 3771 (offset 106 lines). + echo 'Patch #503 (expat-CVE-2022-25315.patch):' Patch #503 (expat-CVE-2022-25315.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .expat-CVE-2022-25315 --fuzz=0 patching file parser/expat/lib/xmlparse.c Hunk #1 succeeded at 2491 (offset 12 lines). Hunk #2 succeeded at 2503 (offset 12 lines). + echo 'Patch #1005 (firefox-66.0-appname.patch):' Patch #1005 (firefox-66.0-appname.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .appname --fuzz=0 patching file browser/components/shell/nsGNOMEShellService.cpp Hunk #1 succeeded at 103 (offset -15 lines). + echo 'Patch #1009 (fix-build.diff):' Patch #1009 (fix-build.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fbts --fuzz=0 patching file toolkit/system/unixproxy/nsLibProxySettings.cpp + echo 'Patch #1045 (mga-fix-double_t-conflicting-declaration.patch):' Patch #1045 (mga-fix-double_t-conflicting-declaration.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .fix-build-i586 --fuzz=0 patching file modules/fdlibm/src/math_private.h patching file modules/fdlibm/src/e_rem_pio2.cpp patching file modules/fdlibm/src/s_scalbn.cpp + echo 'Patch #2000 (firefox-128.0-build-python312.patch):' Patch #2000 (firefox-128.0-build-python312.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file mach patching file python/sites/mach.txt + echo 'Patch #2001 (Allow-to-override-rust-LTO-flag.patch):' Patch #2001 (Allow-to-override-rust-LTO-flag.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file config/makefiles/rust.mk Hunk #1 succeeded at 92 (offset -9 lines). Hunk #2 succeeded at 102 (offset -9 lines). + /usr/bin/rm -f .mozconfig + /usr/bin/cp /home/iurt/rpmbuild/SOURCES/firefox-mozconfig .mozconfig + cat + echo 'ac_add_options --enable-default-toolkit=cairo-gtk3-wayland' + echo 'ac_add_options --enable-official-branding' + /usr/bin/cp /home/iurt/rpmbuild/SOURCES/mozilla-api-key mozilla-api-key + /usr/bin/cp /home/iurt/rpmbuild/SOURCES/google-api-key google-api-key + echo 'ac_add_options --prefix="/usr"' + echo 'ac_add_options --libdir="/usr/lib64"' + echo 'ac_add_options --with-system-nspr' + echo 'ac_add_options --with-system-nss' + echo 'ac_add_options --enable-system-ffi' + echo 'ac_add_options --with-system-libevent' + echo 'ac_add_options --enable-optimize="-g -O2"' + echo 'ac_add_options --disable-debug' + echo 'ac_add_options --disable-jemalloc' + echo 'ac_add_options --disable-webrtc' + echo 'ac_add_options --disable-crashreporter' + echo 'ac_add_options --disable-tests' + echo 'ac_add_options --with-system-jpeg' + echo 'ac_add_options --enable-system-pixman' + echo 'ac_add_options --with-system-libvpx' + echo 'ac_add_options --with-system-webp' + echo 'ac_add_options --with-system-libdrm' + echo 'ac_add_options --with-system-icu' ++ pwd + echo 'ac_add_options --with-mozilla-api-keyfile=/home/iurt/rpmbuild/BUILD/firefox-128.12.0/mozilla-api-key' ++ pwd + echo 'ac_add_options --with-google-safebrowsing-api-keyfile=/home/iurt/rpmbuild/BUILD/firefox-128.12.0/google-api-key' + chmod -x third_party/rust/itertools/src/lib.rs + chmod a-x third_party/rust/ash/src/extensions/ext/acquire_drm_display.rs third_party/rust/ash/src/extensions/ext/buffer_device_address.rs third_party/rust/ash/src/extensions/ext/calibrated_timestamps.rs third_party/rust/ash/src/extensions/ext/debug_marker.rs third_party/rust/ash/src/extensions/ext/debug_report.rs third_party/rust/ash/src/extensions/ext/debug_utils.rs third_party/rust/ash/src/extensions/ext/descriptor_buffer.rs third_party/rust/ash/src/extensions/ext/extended_dynamic_state.rs third_party/rust/ash/src/extensions/ext/extended_dynamic_state2.rs third_party/rust/ash/src/extensions/ext/extended_dynamic_state3.rs third_party/rust/ash/src/extensions/ext/full_screen_exclusive.rs third_party/rust/ash/src/extensions/ext/hdr_metadata.rs third_party/rust/ash/src/extensions/ext/headless_surface.rs third_party/rust/ash/src/extensions/ext/host_image_copy.rs third_party/rust/ash/src/extensions/ext/image_compression_control.rs third_party/rust/ash/src/extensions/ext/image_drm_format_modifier.rs third_party/rust/ash/src/extensions/ext/mesh_shader.rs third_party/rust/ash/src/extensions/ext/metal_surface.rs third_party/rust/ash/src/extensions/ext/mod.rs third_party/rust/ash/src/extensions/ext/pipeline_properties.rs third_party/rust/ash/src/extensions/ext/private_data.rs third_party/rust/ash/src/extensions/ext/sample_locations.rs third_party/rust/ash/src/extensions/ext/shader_object.rs third_party/rust/ash/src/extensions/ext/swapchain_maintenance1.rs third_party/rust/ash/src/extensions/ext/tooling_info.rs third_party/rust/ash/src/extensions/ext/vertex_input_dynamic_state.rs + chmod a-x third_party/rust/ash/src/extensions/khr/acceleration_structure.rs third_party/rust/ash/src/extensions/khr/android_surface.rs third_party/rust/ash/src/extensions/khr/buffer_device_address.rs third_party/rust/ash/src/extensions/khr/calibrated_timestamps.rs third_party/rust/ash/src/extensions/khr/cooperative_matrix.rs third_party/rust/ash/src/extensions/khr/copy_commands2.rs third_party/rust/ash/src/extensions/khr/create_renderpass2.rs third_party/rust/ash/src/extensions/khr/deferred_host_operations.rs third_party/rust/ash/src/extensions/khr/device_group.rs third_party/rust/ash/src/extensions/khr/device_group_creation.rs third_party/rust/ash/src/extensions/khr/display.rs third_party/rust/ash/src/extensions/khr/display_swapchain.rs third_party/rust/ash/src/extensions/khr/draw_indirect_count.rs third_party/rust/ash/src/extensions/khr/dynamic_rendering.rs third_party/rust/ash/src/extensions/khr/dynamic_rendering_local_read.rs third_party/rust/ash/src/extensions/khr/external_fence_fd.rs third_party/rust/ash/src/extensions/khr/external_fence_win32.rs third_party/rust/ash/src/extensions/khr/external_memory_fd.rs third_party/rust/ash/src/extensions/khr/external_memory_win32.rs third_party/rust/ash/src/extensions/khr/external_semaphore_fd.rs third_party/rust/ash/src/extensions/khr/external_semaphore_win32.rs third_party/rust/ash/src/extensions/khr/get_memory_requirements2.rs third_party/rust/ash/src/extensions/khr/get_physical_device_properties2.rs third_party/rust/ash/src/extensions/khr/get_surface_capabilities2.rs third_party/rust/ash/src/extensions/khr/line_rasterization.rs third_party/rust/ash/src/extensions/khr/maintenance1.rs third_party/rust/ash/src/extensions/khr/maintenance3.rs third_party/rust/ash/src/extensions/khr/maintenance4.rs third_party/rust/ash/src/extensions/khr/maintenance5.rs third_party/rust/ash/src/extensions/khr/maintenance6.rs third_party/rust/ash/src/extensions/khr/mod.rs third_party/rust/ash/src/extensions/khr/performance_query.rs third_party/rust/ash/src/extensions/khr/pipeline_executable_properties.rs third_party/rust/ash/src/extensions/khr/present_wait.rs third_party/rust/ash/src/extensions/khr/push_descriptor.rs third_party/rust/ash/src/extensions/khr/ray_tracing_maintenance1.rs third_party/rust/ash/src/extensions/khr/ray_tracing_pipeline.rs third_party/rust/ash/src/extensions/khr/sampler_ycbcr_conversion.rs third_party/rust/ash/src/extensions/khr/surface.rs third_party/rust/ash/src/extensions/khr/swapchain.rs third_party/rust/ash/src/extensions/khr/synchronization2.rs third_party/rust/ash/src/extensions/khr/timeline_semaphore.rs third_party/rust/ash/src/extensions/khr/wayland_surface.rs third_party/rust/ash/src/extensions/khr/win32_surface.rs third_party/rust/ash/src/extensions/khr/xcb_surface.rs third_party/rust/ash/src/extensions/khr/xlib_surface.rs + chmod a-x third_party/rust/ash/src/extensions/nv/copy_memory_indirect.rs third_party/rust/ash/src/extensions/nv/coverage_reduction_mode.rs third_party/rust/ash/src/extensions/nv/cuda_kernel_launch.rs third_party/rust/ash/src/extensions/nv/device_diagnostic_checkpoints.rs third_party/rust/ash/src/extensions/nv/device_generated_commands_compute.rs third_party/rust/ash/src/extensions/nv/low_latency2.rs third_party/rust/ash/src/extensions/nv/memory_decompression.rs third_party/rust/ash/src/extensions/nv/mesh_shader.rs third_party/rust/ash/src/extensions/nv/mod.rs third_party/rust/ash/src/extensions/nv/ray_tracing.rs + find -name lib.rs + xargs chmod -x + rm -fr third_party/python/attrs/ + rm -fr third_party/python/typing_extensions/ + rm -fr third_party/python/MarkupSafe/ + rm -fr third_party/python/requests + rm -fr third_party/python/idna/ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.6GFPFq + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd firefox-128.12.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export CBINDGEN=/usr/bin/cbindgen + CBINDGEN=/usr/bin/cbindgen + export PATH=/usr/lib64/llvm19/bin:/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/usr/local/sbin:/usr/sbin:/usr/lib64/qt5/bin:/home/iurt/.local/bin:/home/iurt/bin + PATH=/usr/lib64/llvm19/bin:/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/usr/local/sbin:/usr/sbin:/usr/lib64/qt5/bin:/home/iurt/.local/bin:/home/iurt/bin ++ echo '-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' ++ /usr/bin/sed -e s/-Wall// + MOZ_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' ++ echo '-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' ++ /usr/bin/sed -e s/-Werror=format-security// + MOZ_OPT_FLAGS='-O2 -g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + MOZ_OPT_FLAGS='-O2 -g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fpermissive' + MOZ_OPT_FLAGS='-O2 -g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fpermissive -fPIC -Wl,-z,relro -Wl,-z,now' + export MAGEIA_RUST_LTO=-Clto=thin + MAGEIA_RUST_LTO=-Clto=thin + MOZ_OPT_FLAGS='-O2 -g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fpermissive -fPIC -Wl,-z,relro -Wl,-z,now -DNSS_PKCS11_3_0_STRICT' + echo 'export CFLAGS="-O2 -g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fpermissive -fPIC -Wl,-z,relro -Wl,-z,now -DNSS_PKCS11_3_0_STRICT"' + echo 'export CXXFLAGS="-O2 -g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fpermissive -fPIC -Wl,-z,relro -Wl,-z,now -DNSS_PKCS11_3_0_STRICT"' + echo 'export LDFLAGS=""' + echo 'export LLVM_PROFDATA="llvm-profdata"' + echo 'export AR="llvm-ar"' + echo 'export NM="llvm-nm"' + echo 'export RANLIB="llvm-ranlib"' + echo 'ac_add_options --enable-linker=lld' + echo 'export MOZ_MAKE_FLAGS="-j8"' + echo 'export MOZ_SERVICES_SYNC=1' + echo 'export STRIP=/bin/true' + echo 'export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system' ++ llvm-config --libdir + echo 'ac_add_options --with-libclang-path=/usr/lib64/llvm19/lib' + export MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system + MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system + ./mach build Mach and the build system store shared state in a common directory on the filesystem. The following directory will be created: /home/iurt/.mozbuild If you would like to use a different directory, rename or move it to your desired location, and set the MOZBUILD_STATE_PATH environment variable accordingly. Creating default state directory: /home/iurt/.mozbuild Running "pip check" to verify compatibility between the system Python and the "mach" site. Creating local state directory: /home/iurt/.mozbuild/srcdirs/firefox-128.12.0-703a636c19c2 Running "pip check" to verify compatibility between the system Python and the "build" site. 0:02.52 W Clobber not needed. 0:02.81 Using Python 3.10.11 from /home/iurt/.mozbuild/srcdirs/firefox-128.12.0-703a636c19c2/_virtualenvs/build/bin/python 0:02.81 Adding configure options from /home/iurt/rpmbuild/BUILD/firefox-128.12.0/.mozconfig 0:02.81 --enable-project=browser 0:02.81 --prefix= 0:02.81 --libdir= 0:02.81 --with-system-zlib 0:02.81 --disable-strip 0:02.81 --enable-necko-wifi 0:02.81 --disable-updater 0:02.81 --enable-chrome-format=omni 0:02.81 --enable-pulseaudio 0:02.81 --without-system-icu 0:02.81 --with-mozilla-api-keyfile=../mozilla-api-key 0:02.81 --with-google-location-service-api-keyfile=../google-api-key 0:02.81 --with-google-safebrowsing-api-keyfile=../google-api-key 0:02.81 --enable-release 0:02.81 --update-channel=release 0:02.81 --without-wasm-sandboxed-libraries 0:02.81 BINDGEN_CFLAGS=-I/usr/include/nspr4 -I/usr/include/pixman-1 0:02.81 --enable-av1 0:02.81 --allow-addon-sideload 0:02.81 --enable-js-shell 0:02.81 --with-unsigned-addon-scopes=app,system 0:02.81 --enable-libproxy 0:02.81 --with-system-png 0:02.81 --with-distribution-id=org.mageia 0:02.81 --enable-update-channel=release 0:02.81 --enable-default-toolkit=cairo-gtk3-wayland 0:02.81 --enable-official-branding 0:02.81 --prefix=/usr 0:02.81 --libdir=/usr/lib64 0:02.81 --with-system-nspr 0:02.81 --with-system-nss 0:02.81 --enable-system-ffi 0:02.81 --with-system-libevent 0:02.81 --enable-optimize=-g -O2 0:02.81 --disable-debug 0:02.81 --disable-jemalloc 0:02.81 --disable-webrtc 0:02.81 --disable-crashreporter 0:02.81 --disable-tests 0:02.81 --with-system-jpeg 0:02.81 --enable-system-pixman 0:02.81 --with-system-libvpx 0:02.81 --with-system-webp 0:02.81 --with-system-libdrm 0:02.81 --with-system-icu 0:02.81 --with-mozilla-api-keyfile=/home/iurt/rpmbuild/BUILD/firefox-128.12.0/mozilla-api-key 0:02.81 --with-google-safebrowsing-api-keyfile=/home/iurt/rpmbuild/BUILD/firefox-128.12.0/google-api-key 0:02.81 --enable-linker=lld 0:02.81 --with-libclang-path=/usr/lib64/llvm19/lib 0:02.81 AR=llvm-ar 0:02.81 LDFLAGS= 0:02.81 MOZ_SERVICES_SYNC=1 0:02.81 MOZ_MAKE_FLAGS=-j8 0:02.81 RANLIB=llvm-ranlib 0:02.81 CFLAGS=-O2 -g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fpermissive -fPIC -Wl,-z,relro -Wl,-z,now -DNSS_PKCS11_3_0_STRICT 0:02.81 CXXFLAGS=-O2 -g -pipe -Wformat -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -fpermissive -fPIC -Wl,-z,relro -Wl,-z,now -DNSS_PKCS11_3_0_STRICT 0:02.81 NM=llvm-nm 0:02.81 LLVM_PROFDATA=llvm-profdata 0:02.81 BUILD_OFFICIAL=1 0:02.81 STRIP=/bin/true 0:02.81 MOZILLA_OFFICIAL=1 0:02.81 checking for vcs source checkout... no 0:02.86 checking for a shell... /usr/bin/sh 0:02.94 checking for host system type... aarch64-unknown-linux-gnu 0:02.94 checking for target system type... aarch64-unknown-linux-gnu 0:03.38 checking whether cross compiling... no 0:03.51 Traceback (most recent call last): 0:03.51 File "/home/iurt/rpmbuild/BUILD/firefox-128.12.0/configure.py", line 351, in 0:03.51 sys.exit(main(sys.argv)) 0:03.51 File "/home/iurt/rpmbuild/BUILD/firefox-128.12.0/configure.py", line 141, in main 0:03.51 sandbox.run() 0:03.51 File "/home/iurt/rpmbuild/BUILD/firefox-128.12.0/python/mozbuild/mozbuild/configure/__init__.py", line 569, in run 0:03.51 raise InvalidOptionError(msg) 0:03.51 mozbuild.configure.options.InvalidOptionError: Unknown option: --with-system-libdrm 0:03.81 W Exception when writing resource usage file: [Errno 2] No such file or directory: '/home/iurt/rpmbuild/BUILD/firefox-128.12.0/objdir/.mozbuild/profile_build_resources.json' Config object not found by mach. *** Fix above errors and then restart with "./mach build" error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.6GFPFq (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.6GFPFq (%build) I: [iurt_root_command] ERROR: chroot