Created attachment 917896 [details] Build Log Seems like that USE="python" is missing some bdepends and/or possibly which may need distutils or similar required as an inherit. As the build stands currently, the error says, "/usr/lib/python-exec/python3.12/python: No module named build". I've installed dev-python/build and dev-python/pip (same issue as with build) where the error changes to an issue within /usr/lib/python3.12/site-packages/pip_internal/build_env.py line 14 where it calls for module certifi. I have dev-python/certifi installed. I'm primarily using this on a raspberry pi 5 (arm64) but have been able to reproduce this on my desktop (amd64). The attached files are from my desktop since they're pretty much identical. This is my first bug report so please let me know if there is anything else I can provide. --- dani@archery ~ $ emerge --info dev-libs/libgpiod Portage 3.0.66.1 (python 3.12.8-final-0, default/linux/amd64/23.0/desktop/gnome/systemd, gcc-14, glibc-2.40-r5, 6.12.10-gentoo-x86_64 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.12.10-gentoo-x86_64-x86_64-AMD_Ryzen_5_2600_Six-Core_Processor-with-glibc2.40 KiB Mem: 16316108 total, 5376336 free KiB Swap: 18433020 total, 18433020 free Timestamp of repository gentoo: Thu, 30 Jan 2025 01:03:22 +0000 Head commit of repository gentoo: fecc172f01c024612505bcc716cbc00671e97118 Timestamp of repository 4nykey: Thu, 16 Jan 2025 14:18:16 +0000 Head commit of repository 4nykey: f04c3c2259b261d53a8bd1c60726eb2b7fc82846 Head commit of repository brushy: 9cec938fadff1df777545be0eb6d120db70593c7 Timestamp of repository guru: Fri, 17 Jan 2025 14:33:26 +0000 Head commit of repository guru: 1ca117df78bec56d8d3d9f9a1e321fa5db75eea3 Head commit of repository sk-overlay: 92e8a1695c3f0f53e3d3d6ed73aa51c3f59ca881 Timestamp of repository snapd: Tue, 17 Dec 2024 22:21:18 +0000 Head commit of repository snapd: aa34166eed961bd9509aa4cf5e3d46eae3b185a0 Timestamp of repository src_prepare-overlay: Wed, 15 Jan 2025 14:48:28 +0000 Head commit of repository src_prepare-overlay: 444efe63229d50268016d062952f9ffcd7c9a545 Timestamp of repository steam-overlay: Thu, 16 Jan 2025 14:18:14 +0000 Head commit of repository steam-overlay: 0dadfe9f126e3846975628f2f6c123d71baf5c0c Timestamp of repository wayland-desktop: Thu, 16 Jan 2025 14:18:18 +0000 Head commit of repository wayland-desktop: 90125b179d30232c7a5ea3d71604e514e6107f96 sh bash 5.2_p37 ld GNU ld (Gentoo 2.43 p3) 2.43.1 distcc 3.4 x86_64-pc-linux-gnu [disabled] app-misc/pax-utils: 1.3.8::gentoo app-shells/bash: 5.2_p37::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo dev-build/automake: 1.16.5-r2::gentoo dev-build/cmake: 3.30.6::gentoo dev-build/libtool: 2.5.4::gentoo dev-build/make: 4.4.1-r100::gentoo dev-build/meson: 1.6.1::gentoo dev-java/java-config: 2.3.4::gentoo dev-lang/perl: 5.40.0::gentoo dev-lang/python: 3.11.11_p1::gentoo, 3.12.8_p1::gentoo, 3.13.1_p1::gentoo dev-lang/rust-bin: 1.81.0-r101::gentoo, 1.84.0::gentoo llvm-core/clang: 19.1.4::gentoo llvm-core/lld: 19.1.4::gentoo llvm-core/llvm: 18.1.8-r6::gentoo, 19.1.4::gentoo sys-apps/baselayout: 2.17::gentoo sys-apps/sandbox: 2.39::gentoo sys-apps/systemd: 256.7::gentoo sys-devel/binutils: 2.43-r2::gentoo sys-devel/binutils-config: 5.5.2::gentoo sys-devel/gcc: 14.2.1_p20241221::gentoo sys-devel/gcc-config: 2.11::gentoo sys-kernel/linux-headers: 6.12::gentoo (virtual/os-headers) sys-libs/glibc: 2.40-r5::gentoo Repositories: gentoo location: /home/dani/.gentoo/portage sync-type: git sync-uri: git@github.com:gentoo-mirror/gentoo.git priority: -1000 volatile: True 4nykey location: /var/db/repos/4nykey sync-type: git sync-uri: git@github.com:gentoo-mirror/4nykey.git masters: gentoo volatile: True brushy location: /var/db/repos/brushy sync-type: git sync-uri: git@github.com:tfemby/brushy.git masters: gentoo volatile: True crossdev location: /var/db/repos/crossdev masters: gentoo volatile: False guru location: /var/db/repos/guru sync-type: git sync-uri: git@github.com:gentoo-mirror/guru.git masters: gentoo volatile: True sk-overlay location: /usr/local/overlay/sk-overlay sync-type: git sync-uri: https://gitlab.com/skitties/overlay.git masters: gentoo volatile: True snapd location: /var/db/repos/snapd sync-type: git sync-uri: git@github.com:gentoo-mirror/snapd.git masters: gentoo volatile: True src_prepare-overlay location: /var/db/repos/src_prepare-overlay sync-type: git sync-uri: git@github.com:gentoo-mirror/src_prepare-overlay.git masters: gentoo volatile: False steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: git@github.com:gentoo-mirror/steam-overlay.git masters: gentoo volatile: True wayland-desktop location: /var/db/repos/wayland-desktop sync-type: git sync-uri: git@github.com:gentoo-mirror/wayland-desktop.git masters: gentoo volatile: False Binary Repositories: gentoobinhost priority: 1 sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64 Installed sets: @steam ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -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="-O2 -pipe" DISTDIR="/home/dani/.gentoo/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" 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="-O2 -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="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs" LEX="flex" PKGDIR="/home/dani/.gentoo/packages" 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" SHELL="/bin/bash" USE="X a52 aac acl acpi alsa amd64 bluetooth branding bzip2 cairo cdda cdr cet colord crypt cups dbus dri dts dvd dvdr eds encode evo exif flac gdbm gdk-pixbuf gif gnome gnome-keyring gnome-online-accounts gnome-shell gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg keyring kf6compat lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls ogg opengl openmp pam pango pcre pdf pipewire png policykit ppds pulseaudio qml qt5 qt6 readline sdl seccomp sound spell ssl startup-notification svg sysprof systemd test-rust tiff tracker truetype udev udisks unicode upower usb vaapi vorbis vulkan wayland wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_13" 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" 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" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_11 python3_12" QEMU_USER_TARGETS="aarch64 arm" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu radeon radeonsi" 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, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, MAKEOPTS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Created attachment 917897 [details] Build environment file
Created attachment 917898 [details] Build Log w/ build and pip installed
Created attachment 917899 [details] Build environment file w/ build and pip installed
Wanted to add that I do have certifi installed (seems to be an indirect dependency for gemato and pip). --- dani@archery ~ $ emerge --search "certifi$" [ Results for search key : certifi$ ] Searching... * dev-python/certifi Latest version available: 3024.7.22 Latest version installed: 3024.7.22 Size of files: 13 KiB Homepage: https://github.com/projg2/certifi-system-store/ https://github.com/tiran/certifi-system-store/ https://pypi.org/project/certifi-system-store/ Description: A certifi hack to use system trust store on Linux/FreeBSD License: MPL-2.0 [ Applications found : 1 ]
After looking at this I think the python bindings should be separated into their ebuild. Upstream appears to also support this explicitly with providing sdists. In the current state python is just going to use the latest one that the user has installed as its not hooked up at all.