D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/firefox-beta-133.0-0.b9.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MeVNb9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build + test -d /home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.65lcOc + umask 022 + cd /home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build + rm -rf firefox-133.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/firefox-133.0b9.source.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd firefox-133.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 #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 + echo 'Patch #1000 (firefox-lang.patch):' Patch #1000 (firefox-lang.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .lang --fuzz=0 patching file browser/app/profile/firefox.js Hunk #1 succeeded at 260 (offset 46 lines). + echo 'Patch #1003 (firefox-disable-check-default-browser.patch):' Patch #1003 (firefox-disable-check-default-browser.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .defaultbrowser --fuzz=0 patching file browser/app/profile/firefox.js Hunk #1 succeeded at 279 (offset 22 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 #1043 (force-i586-host.patch):' Patch #1043 (force-i586-host.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 (Stripping trailing CRs from patch; use --binary to disable.) patching file build/moz.configure/init.configure Hunk #1 succeeded at 526 (offset -207 lines). + echo 'Patch #1044 (bypass-cmov-assert-on-i586.patch):' Patch #1044 (bypass-cmov-assert-on-i586.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file js/src/jit/x86-shared/Assembler-x86-shared.cpp Hunk #1 succeeded at 322 (offset -6 lines). + /usr/bin/rm -f .mozconfig + /usr/bin/cp /home/pterjan/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/pterjan/rpmbuild/SOURCES/mozilla-api-key mozilla-api-key + /usr/bin/cp /home/pterjan/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 --without-system-nspr' + echo 'ac_add_options --without-system-nss' + echo 'ac_add_options --enable-system-ffi' + echo 'ac_add_options --enable-optimize' + echo 'ac_add_options --disable-debug' + echo 'ac_add_options --disable-crashreporter' + echo 'ac_add_options --with-system-jpeg' + echo 'ac_add_options --without-system-libvpx' + echo 'ac_add_options --without-system-icu' ++ pwd + echo 'ac_add_options --with-mozilla-api-keyfile=/home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build/firefox-133.0/mozilla-api-key' ++ pwd + echo 'ac_add_options --with-google-safebrowsing-api-keyfile=/home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build/firefox-133.0/google-api-key' ++ llvm-config --libdir + echo 'ac_add_options --with-libclang-path=/usr/lib64' + 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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.X8cgUO + umask 022 + cd /home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build + cd firefox-133.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export CBINDGEN=/usr/bin/cbindgen + CBINDGEN=/usr/bin/cbindgen ++ /usr/bin/sed -e s/-Wall// ++ echo '-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + MOZ_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' ++ echo '-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' ++ /usr/bin/sed -e s/-Werror=format-security// + MOZ_OPT_FLAGS='-O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + MOZ_OPT_FLAGS='-O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fpermissive' + MOZ_OPT_FLAGS='-O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fpermissive -fPIC -Wl,-z,relro -Wl,-z,now' + echo 'export CFLAGS="-O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fpermissive -fPIC -Wl,-z,relro -Wl,-z,now"' + echo 'export CXXFLAGS="-O2 -g -pipe -Wformat -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fpermissive -fPIC -Wl,-z,relro -Wl,-z,now"' + 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' + MOZ_SMP_FLAGS=-j1 + '[' -z 16 ']' + '[' 16 -ge 2 ']' + MOZ_SMP_FLAGS=-j2 + '[' 16 -ge 4 ']' + MOZ_SMP_FLAGS=-j4 + '[' 16 -ge 8 ']' + MOZ_SMP_FLAGS=-j8 + echo 'export MOZ_MAKE_FLAGS="-j8"' + echo 'export MOZ_SERVICES_SYNC=1' + echo 'export STRIP=/bin/true' + echo 'export MACH_USE_SYSTEM_PYTHON=1' + export MACH_USE_SYSTEM_PYTHON=1 + MACH_USE_SYSTEM_PYTHON=1 + ./mach build Mach and the build system store shared state in a common directory on the filesystem. The following directory will be created: /home/pterjan/.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/pterjan/.mozbuild The "MACH_USE_SYSTEM_PYTHON" environment variable is deprecated, please unset it or replace it with either "MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=system" or "MACH_BUILD_PYTHON_NATIVE_PACKAGE_SOURCE=none" Creating local state directory: /home/pterjan/.mozbuild/srcdirs/firefox-133.0-f058d09f0dbc 0:01.47 W Clobber not needed. Config object not found by mach. Error running mach: mach build The error occurred in code that was called by the mach command. This is either a bug in the called code itself or in the way that mach is calling it. You can invoke ``./mach busted`` to check if this issue is already on file. If it isn't, please use ``./mach busted file build`` to report it. If ``./mach busted`` is misbehaving, you can also inspect the dependencies of bug 1543241. If filing a bug, please include the full output of mach, including this error message. The details of the failure are as follows: ValueError: '/usr/lib64/python3.12/site-packages' is not in the subpath of '/home/pterjan/.mozbuild/srcdirs/firefox-133.0-f058d09f0dbc/_virtualenvs/build' File "/home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build/firefox-133.0/python/mozbuild/mozbuild/build_commands.py", line 221, in build return driver.build( ^^^^^^^^^^^^^ File "/home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build/firefox-133.0/python/mozbuild/mozbuild/controller/building.py", line 1096, in build status = self._build( ^^^^^^^^^^^^ File "/home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build/firefox-133.0/python/mozbuild/mozbuild/controller/building.py", line 1200, in _build config_rc = self.configure( ^^^^^^^^^^^^^^^ File "/home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build/firefox-133.0/python/mozbuild/mozbuild/controller/building.py", line 1620, in configure build_site.ensure() File "/home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build/firefox-133.0/python/mach/mach/site.py", line 563, in ensure result = self._up_to_date() ^^^^^^^^^^^^^^^^^^ File "/home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build/firefox-133.0/python/mach/mach/site.py", line 800, in _up_to_date pthfile_lines = self._pthfile_lines() ^^^^^^^^^^^^^^^^^^^^^ File "/home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build/firefox-133.0/python/mach/mach/site.py", line 790, in _pthfile_lines _deprioritize_venv_packages(self._virtualenv, self._populate_virtualenv) File "/home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build/firefox-133.0/python/mach/mach/site.py", line 1244, in _deprioritize_venv_packages for site_packages_dir in virtualenv.site_packages_dirs() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build/firefox-133.0/python/mach/mach/site.py", line 853, in site_packages_dirs platlib = self.resolve_sysconfig_packages_path("platlib") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/pterjan/rpmbuild/BUILD/firefox-beta-133.0-build/firefox-133.0/python/mach/mach/site.py", line 843, in resolve_sysconfig_packages_path relative_path = path.relative_to(data_path) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/python3.12/pathlib.py", line 682, in relative_to raise ValueError(f"{str(self)!r} is not in the subpath of {str(other)!r}") error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.X8cgUO (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.X8cgUO (%build) I: [iurt_root_command] ERROR: chroot