Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 945939 - www-client/firefox-133.0: cannot be built with python-3.12.8 due: ValueError: '/usr/lib/python3.12/site-packages' is not in the subpath of '/var/tmp/portage/www-client/firefox-133.0/work/firefox_build/srcdirs/firefox-133.0-e2f7122359be/_virtualenvs/build'
Summary: www-client/firefox-133.0: cannot be built with python-3.12.8 due: ValueError:...
Status: RESOLVED DUPLICATE of bug 945882
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-06 00:24 UTC by Avraham Hollander
Modified: 2024-12-07 09:24 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,15.13 KB, text/x-log)
2024-12-06 00:24 UTC, Avraham Hollander
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Avraham Hollander 2024-12-06 00:24:43 UTC
Created attachment 913416 [details]
build log

www-client/firefox-133.0 fails to build:

ValueError: '/usr/lib/python3.12/site-packages' is not in the subpath of '/var/tmp/portage/www-client/firefox-133.0/work/firefox_build/srcdirs/firefox-133.0-e2f7122359be/_virtualenvs/build'

  File "/var/tmp/portage/www-client/firefox-133.0/work/firefox-133.0/python/mozbuild/mozbuild/build_commands.py", line 255, in configure
    return driver.configure(
           ^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/www-client/firefox-133.0/work/firefox-133.0/python/mozbuild/mozbuild/controller/building.py", line 1620, in configure
    build_site.ensure()
  File "/var/tmp/portage/www-client/firefox-133.0/work/firefox-133.0/python/mach/mach/site.py", line 563, in ensure
    result = self._up_to_date()
             ^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/www-client/firefox-133.0/work/firefox-133.0/python/mach/mach/site.py", line 800, in _up_to_date
    pthfile_lines = self._pthfile_lines()
                    ^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/www-client/firefox-133.0/work/firefox-133.0/python/mach/mach/site.py", line 790, in _pthfile_lines
    _deprioritize_venv_packages(self._virtualenv, self._populate_virtualenv)
  File "/var/tmp/portage/www-client/firefox-133.0/work/firefox-133.0/python/mach/mach/site.py", line 1244, in _deprioritize_venv_packages
    for site_packages_dir in virtualenv.site_packages_dirs()
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/www-client/firefox-133.0/work/firefox-133.0/python/mach/mach/site.py", line 853, in site_packages_dirs
    platlib = self.resolve_sysconfig_packages_path("platlib")
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/var/tmp/portage/www-client/firefox-133.0/work/firefox-133.0/python/mach/mach/site.py", line 843, in resolve_sysconfig_packages_path
    relative_path = path.relative_to(data_path)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/pathlib.py", line 682, in relative_to
    raise ValueError(f"{str(self)!r} is not in the subpath of {str(other)!r}")



emerge -pqv www-client/firefox:
[ebuild  N    ] www-client/firefox-133.0  USE="X clang dbus gmp-autoupdate jumbo-build pgo pulseaudio system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp telemetry wayland wifi -debug -eme-free -gnome-shell -hardened -hwaccel -jack -libproxy -openh264 (-selinux) -sndio -system-png (-valgrind) -wasm" L10N="-ach -af -an -ar -ast -az -be -bg -bn -br -bs -ca -ca-valencia -cak -cs -cy -da -de -dsb -el -en-CA -en-GB -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fur -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mk -mr -ms -my -nb -ne -nl -nn -oc -pa -pl -pt-BR -pt-PT -rm -ro -ru -sc -sco -si -sk -skr -sl -son -sq -sr -sv -szl -ta -te -th -tl -tr -trs -uk -ur -uz -vi -xh -zh-CN -zh-TW" LLVM_SLOT="19 -17 -18"

emerge --info www-client/firefox:
Portage 3.0.66.1 (python 3.13.1-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-14, glibc-2.40-r6, 6.12.2-tkg-sched-ext-latency x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.12.2-tkg-sched-ext-latency-x86_64-AMD_Ryzen_5_5600G_with_Radeon_Graphics-with-glibc2.40
KiB Mem:    16187356 total,   3250864 free
KiB Swap:   24574968 total,  21195800 free
Head commit of repository gentoo: 3473be9a1916c73cef9fae9dedc5cf0ac317f37c

Head commit of repository guru: 65df6a32da93a015a227d79b64486859f01a0804

Head commit of repository librewolf: 56927a3cbdd1166421da826be2c0544933917806

Head commit of repository pf4public: 9099d69597be3d260fab257cd70bc7c66ffef35e

Timestamp of repository steam-overlay: Mon, 02 Dec 2024 09:05:34 +0000
Head commit of repository steam-overlay: 03119df5acca03b919ac1e7768c0bf035083804b

Head commit of repository the-anime-team: f37ea010754dce3a0bc54a89d99ce7a4b5f30003

Head commit of repository xarblu-overlay: 5075712879ded3b1da6e8c7871d21069d313dedb

sh dash 0.5.12-r1
ld GNU ld (Gentoo 2.43 p3) 2.43.1
app-misc/pax-utils:        1.3.8::gentoo
app-shells/bash:           5.2_p37::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.17-r1::gentoo
dev-build/cmake:           3.31.1::gentoo
dev-build/libtool:         2.5.4::gentoo
dev-build/make:            4.4.1-r100::gentoo
dev-build/meson:           1.6.0::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           3.12.8::gentoo, 3.13.1::gentoo
dev-lang/rust:             1.83.0::gentoo
sys-apps/baselayout:       2.17::gentoo
sys-apps/openrc:           0.55.1::gentoo
sys-apps/sandbox:          2.40::gentoo
sys-devel/binutils:        2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang:           19.1.5::gentoo
sys-devel/gcc:             14.2.1_p20241116::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             19.1.5::gentoo
sys-devel/llvm:            19.1.5::gentoo
sys-kernel/linux-headers:  6.12::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/proj/guru.git
    masters: gentoo
    volatile: False

librewolf
    location: /var/db/repos/librewolf
    sync-type: git
    sync-uri: https://codeberg.org/librewolf/gentoo.git
    masters: gentoo
    volatile: False

pf4public
    location: /var/db/repos/pf4public
    sync-type: git
    sync-uri: https://github.com/PF4Public/gentoo-overlay.git
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

the-anime-team
    location: /var/db/repos/the-anime-team
    sync-type: git
    sync-uri: https://github.com/an-anime-team/gentoo-ebuilds.git
    masters: gentoo
    volatile: False

xarblu-overlay
    location: /var/db/repos/xarblu
    sync-type: git
    sync-uri: https://github.com/xarblu/xarblu-overlay
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    priority: 10
    volatile: False

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -fno-stack-clash-protection -fno-stack-protector -flto=auto -fuse-linker-plugin -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -fno-stack-clash-protection -fno-stack-protector -flto=auto -fuse-linker-plugin -pipe"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -fno-stack-clash-protection -fno-stack-protector -flto=auto -fuse-linker-plugin -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O3 -fgraphite-identity -floop-nest-optimize -fdevirtualize-at-ltrans -fipa-pta -fno-semantic-interposition -fno-stack-clash-protection -fno-stack-protector -flto=auto -fuse-linker-plugin -pipe"
GENTOO_MIRRORS="https://mirrors.rit.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j12"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
RUSTFLAGS="-C opt-level=3 -C target-cpu=native"
SHELL="/bin/fish"
USE="X aac acl acpi activities amd64 cairo caps cdr crypt cups custom-cflags dbus declarative dri dts dvdr elogind encode exif ffmpeg filecaps flac ftp geolocation gif gui io-uring ipv6 jpeg kde kf6compat kwallet lcms libnotify libtirpc lto mad man mng mp3 mp4 mpeg mtp multilib native-extensions ncurses networkmanager ogg opengl openmp opus orc pam pango pdf pgo pipewire plasma png policykit ppds pulseaudio qml qt6 readline screencast semantic-desktop sound spell ssl startup-notification svg system-bootstrap test-rust threads truetype udev udisks unicode upower usb v4l vaapi vorbis vpx vulkan wayland webp widgets wifi wxwidgets x264 xattr xcb xft xv zeroconf" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-US" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="luajit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_13" PYTHON_TARGETS="python3_13" RUBY_TARGETS="ruby33" VIDEO_CARDS="amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 tt_1 2024-12-06 05:34:30 UTC
please downgrade your python-3.12 to stable as a workaround
Comment 2 Joonas Niilola gentoo-dev 2024-12-06 08:58:52 UTC
Yeah. I'm currently away from home so can't do much about this before monday, but I guess now'd be a great time to pursue python-3.13 support if 3.13.1 works any better.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-06 09:54:07 UTC

*** This bug has been marked as a duplicate of bug 945882 ***