gemato dependency on setuptools not specified in ebuild Reproducible: Always Steps to Reproduce: 1. emerge dev-python/gemato Actual Results: Ebuild fails saying that setuptools is not found Expected Results: Ebuild succeeds. >>> Emerging (98 of 551) app-portage/gemato-16.2::gentoo >>> Failed to emerge app-portage/gemato-16.2, Log file: >>> '/home/portage/app-portage/gemato-16.2/temp/build.log' *** Resuming merge... * Package: app-portage/gemato-16.2 * Repository: gentoo * Maintainer: mgorny@gentoo.org * Upstream: https://github.com/mgorny/gemato/issues/ * USE: abi_x86_64 amd64 elibc_glibc gpg kernel_linux python_targets_pypy3 python_targets_python3_8 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * pypy3: running distutils-r1_run_phase distutils-r1_python_compile pypy3 setup.py build -j 2 Traceback (most recent call last): File "setup.py", line 6, in <module> from setuptools import setup ModuleNotFoundError: No module named 'setuptools' * ERROR: app-portage/gemato-16.2::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 2973: Called distutils-r1_src_compile * environment, line 1172: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 459: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2587: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2069: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2067: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 789: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1163: Called distutils-r1_python_compile * environment, line 1033: Called esetup.py 'build' '-j' '2' * environment, line 1613: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=app-portage/gemato-16.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-portage/gemato-16.2::gentoo'`. * The complete build log is located at '/home/portage/app-portage/gemato-16.2/temp/build.log'. * The ebuild environment file is located at '/home/portage/app-portage/gemato-16.2/temp/environment'. * Working directory: '/home/portage/app-portage/gemato-16.2/work/gemato-16.2' * S: '/home/portage/app-portage/gemato-16.2/work/gemato-16.2'
pingala ~ # emerge --info Portage 3.0.12 (python 3.8.7-final-0, default/linux/amd64/17.0/desktop/plasma/systemd, gcc-9.3.0, glibc-2.32-r7, 5.4.13-gentoo.32.efi x86_64) ================================================================= System uname: Linux-5.4.13-gentoo.32.efi-x86_64-Intel-R-_Core-TM-_i7-2760QM_CPU_@_2.40GHz-with-glibc2.2.5 KiB Mem: 16290404 total, 5028520 free KiB Swap: 20969468 total, 20969468 free Timestamp of repository gentoo: Wed, 10 Feb 2021 02:00:01 +0000 Head commit of repository gentoo: 703d753d49c938a1340adf0d4ea9dd42db88ce0d Timestamp of repository haskell: Tue, 09 Feb 2021 18:23:19 +0000 Head commit of repository haskell: de7f5f201a2fb912ead6ec956bd4b73c9632b7f5 Timestamp of repository wine: Sun, 31 Jan 2021 20:48:43 +0000 Head commit of repository wine: 3eccfb71052043d9287476e722ce4b01b29134bf sh bash 5.1_p4 ld GNU ld (Gentoo 2.34 p6) 2.34.0 app-shells/bash: 5.1_p4::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.32.0-r1::gentoo dev-lang/python: 2.7.18-r6::gentoo, 3.6.12-r1::gentoo, 3.7.9::gentoo, 3.8.7::gentoo, 3.9.1::gentoo dev-util/cmake: 3.19.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7-r1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.35.1-r1::gentoo sys-devel/gcc: 10.2.0-r5::gentoo sys-devel/gcc-config: 2.3.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r7::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: haskell location: /var/db/repos/haskell sync-type: git sync-uri: https://github.com/gentoo-mirror/haskell.git masters: gentoo wine location: /var/db/repos/wine sync-type: git sync-uri: https://github.com/gentoo-mirror/wine.git masters: gentoo dlang location: /var/lib/layman/dlang masters: gentoo priority: 50 zugaina location: /var/lib/layman/zugaina masters: gentoo priority: 50 Installed sets: @Cinna-desktop, @base, @laptop, @linux-firmware, @michael, @nvidia-optimus, @uefi, @wayland, @work ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-pipe -O2 -march=native -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.4/ext-active/ /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-pipe -O2 -march=native -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --verbose-conflicts --quiet --update --changed-use --autounmask=n --autounmask-write=n --deep" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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" FCFLAGS="-pipe -O2 -march=native -fomit-frame-pointer" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-pipe -O2 -march=native -fomit-frame-pointer" GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo http://mirror.pacific.net.au/linux/Gentoo ftp://ftp.swin.edu.au/gentoo ftp://mirror.pacific.net.au/linux/Gentoo " LANG="en_GB.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_GB" MAKEOPTS="-j2 -s" PKGDIR="/usr/portage/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" USE="X a52 aac acl acpi activities ada aio alsa amd64 apache2 apci autoipd avahi berkdb bluetooth branding bzip2 cairo caps cdda cdr cjk cli colord context crypt cryptsetup cups dbus declarative detex disk-partition doc down-root dri dri3 dts dv dvb dvd dvdr dvi2tty emboss encode epspdf exif extras fdt flac fontconfig foomatic fortran freerdp gbm gd gdbm gif git glamor glibc-omitfp gnat_2018 gnome-keyring gnutls gpm graphics gstreamer gtk gtk3 gui humanities iconv icu imap inotify ipmi iproute2 jadetex jpeg jpeg2k kipi kms kpathsea lame laptop latex lcms ldap libglvnd libnotify libtirpc litehtml luatex lz4 lzma lzo mad mbedtls mercurial metapost mmap mms mng mp3 mp4 mpeg msn mtp multilib musepack music ncurses networkmanager nfs nfsv41 nls nntp npp nptl nsplugin obex odbc ogg openexr opengl openmp oscar oss pam pango pcre pdf pdfannotextractor pdo phonon plasma plugins png policykit postgres ppds ppp pstricks publishers pulseaudio qml qt5 quicktime rdesktop readline real rss sasl science sdl sdl2 seccomp semantic-desktop slang smime sna spam-report spamassassin spell spice split-usr sql ssh ssl startup-notification subversion svg systemd taglib tcpd tex4ht texi2html theora threads tiff truetype udev udisks unicode upower usb uxa v4l2 vcd vim-syntax vnc vorbis wavpack wayland widgets wifi win32codecs wmf wxwidgets x264 xattr xcb xcomposite xetex xface xine xml xmp xnest xpm xv xvid yahoo zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache 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="aes avx mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="synaptics evdev" KERNEL="linux" L10N="en en-GB" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8 pypy3" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
It is specified in the ebuild: >DISTUTILS_USE_SETUPTOOLS=rdepend I'm not sure why setuptools is not yet present for pypy3. I'll keep this open because several people have mentioned this issue when trying to do world upgrades with the new python-exec and pypy3.
Probably a case of unfinished := rebuild.
A lot of developers have ended up hitting this. See https://archives.gentoo.org/gentoo-dev/message/f6d4b380665dcbde3bdfd3a6e3bfdd28 too: >5. PyPy3 doesn't give the same ABI stability guarantees as CPython, >and our choice not to slot between PyPy3 versions doesn't help (and it's >not worth changing considering all the other points). Upgrading PyPy3 >involves intermittent breakage, and people using it with Portage (which >is my fault) experience fatal breakage.