Every emerge update I do throws exceptions regarding unsupported EAPI=5. The error message for all the concerned packages is: "Unsupported EAPI=5 (too old) for distutils-r1" It concerns these related packages: dev-python/rtslib-fb-2.1.60 dev-python/configshell-fb-1.1.20 sys-block/targetcli-fb-2.1.43 Full output of an emerge update follows: # emerge -uDNp world These are the packages that would be merged, in order: Calculating dependencies / * ERROR: dev-python/rtslib-fb-2.1.60::localrepo failed (depend phase): * Unsupported EAPI=5 (too old) for distutils-r1 * * Call stack: * ebuild.sh, line 645: Called source '/usr/local/portage/dev-python/rtslib-fb/rtslib-fb-2.1.60.ebuild' * rtslib-fb-2.1.60.ebuild, line 10: Called inherit 'eutils' 'versionator' 'distutils-r1' * ebuild.sh, line 329: Called __qa_source '/usr/portage/eclass/distutils-r1.eclass' * ebuild.sh, line 114: Called source '/usr/portage/eclass/distutils-r1.eclass' / * distutils-r1.eclass, line 48: Called die * The specific snippet of code: * die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" * * If you need support, post the output of `emerge --info '=dev-python/rtslib-fb-2.1.60::localrepo'`, * the complete build log and the output of `emerge -pqv '=dev-python/rtslib-fb-2.1.60::localrepo'`. * Working directory: '/usr/lib/python3.9/site-packages' * S: '/var/tmp/portage/dev-python/rtslib-fb-2.1.60/work/rtslib-fb-2.1.60' - * ERROR: dev-python/rtslib-fb-2.1.57::localrepo failed (depend phase): * Unsupported EAPI=5 (too old) for distutils-r1 * * Call stack: * ebuild.sh, line 645: Called source '/usr/local/portage/dev-python/rtslib-fb/rtslib-fb-2.1.57.ebuild' * rtslib-fb-2.1.57.ebuild, line 10: Called inherit 'eutils' 'versionator' 'distutils-r1' * ebuild.sh, line 329: Called __qa_source '/usr/portage/eclass/distutils-r1.eclass' * ebuild.sh, line 114: Called source '/usr/portage/eclass/distutils-r1.eclass' * distutils-r1.eclass, line 48: Called die * The specific snippet of code: \ * die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" * * If you need support, post the output of `emerge --info '=dev-python/rtslib-fb-2.1.57::localrepo'`, * the complete build log and the output of `emerge -pqv '=dev-python/rtslib-fb-2.1.57::localrepo'`. * Working directory: '/usr/lib/python3.9/site-packages' * S: '/var/tmp/portage/dev-python/rtslib-fb-2.1.57/work/rtslib-fb-2.1.57' - * ERROR: dev-python/configshell-fb-1.1.20::localrepo failed (depend phase): * Unsupported EAPI=5 (too old) for distutils-r1 * * Call stack: * ebuild.sh, line 645: Called source '/usr/local/portage/dev-python/configshell-fb/configshell-fb-1.1.20.ebuild' * configshell-fb-1.1.20.ebuild, line 10: Called inherit 'eutils' 'versionator' 'distutils-r1' * ebuild.sh, line 329: Called __qa_source '/usr/portage/eclass/distutils-r1.eclass' * ebuild.sh, line 114: Called source '/usr/portage/eclass/distutils-r1.eclass' * distutils-r1.eclass, line 48: Called die * The specific snippet of code: * die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" * * If you need support, post the output of `emerge --info '=dev-python/configshell-fb-1.1.20::localrepo'`, * the complete build log and the output of `emerge -pqv '=dev-python/configshell-fb-1.1.20::localrepo'`. * Working directory: '/usr/lib/python3.9/site-packages' * S: '/var/tmp/portage/dev-python/configshell-fb-1.1.20/work/configshell-fb-1.1.20' \ * ERROR: dev-python/configshell-fb-1.1.18::localrepo failed (depend phase): * Unsupported EAPI=5 (too old) for distutils-r1 * * Call stack: * ebuild.sh, line 645: Called source '/usr/local/portage/dev-python/configshell-fb/configshell-fb-1.1.18.ebuild' * configshell-fb-1.1.18.ebuild, line 10: Called inherit 'eutils' 'versionator' 'distutils-r1' * ebuild.sh, line 329: Called __qa_source '/usr/portage/eclass/distutils-r1.eclass' * ebuild.sh, line 114: Called source '/usr/portage/eclass/distutils-r1.eclass' | * distutils-r1.eclass, line 48: Called die * The specific snippet of code: * die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" * * If you need support, post the output of `emerge --info '=dev-python/configshell-fb-1.1.18::localrepo'`, * the complete build log and the output of `emerge -pqv '=dev-python/configshell-fb-1.1.18::localrepo'`. * Working directory: '/usr/lib/python3.9/site-packages' * S: '/var/tmp/portage/dev-python/configshell-fb-1.1.18/work/configshell-fb-1.1.18' / * ERROR: sys-block/targetcli-fb-2.1.43::localrepo failed (depend phase): * Unsupported EAPI=5 (too old) for distutils-r1 * * Call stack: * ebuild.sh, line 645: Called source '/usr/local/portage/sys-block/targetcli-fb/targetcli-fb-2.1.43.ebuild' * targetcli-fb-2.1.43.ebuild, line 8: Called inherit 'eutils' 'versionator' 'distutils-r1' 'linux-info' * ebuild.sh, line 329: Called __qa_source '/usr/portage/eclass/distutils-r1.eclass' * ebuild.sh, line 114: Called source '/usr/portage/eclass/distutils-r1.eclass' | * distutils-r1.eclass, line 48: Called die * The specific snippet of code: * die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" * * If you need support, post the output of `emerge --info '=sys-block/targetcli-fb-2.1.43::localrepo'`, * the complete build log and the output of `emerge -pqv '=sys-block/targetcli-fb-2.1.43::localrepo'`. * Working directory: '/usr/lib/python3.9/site-packages' * S: '/var/tmp/portage/sys-block/targetcli-fb-2.1.43/work/targetcli-fb-2.1.43' / * ERROR: sys-block/targetcli-fb-2.1.41::localrepo failed (depend phase): * Unsupported EAPI=5 (too old) for distutils-r1 * * Call stack: * ebuild.sh, line 645: Called source '/usr/local/portage/sys-block/targetcli-fb/targetcli-fb-2.1.41.ebuild' * targetcli-fb-2.1.41.ebuild, line 8: Called inherit 'eutils' 'versionator' 'distutils-r1' 'linux-info' * ebuild.sh, line 329: Called __qa_source '/usr/portage/eclass/distutils-r1.eclass' * ebuild.sh, line 114: Called source '/usr/portage/eclass/distutils-r1.eclass' * distutils-r1.eclass, line 48: Called die * The specific snippet of code: * die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" * * If you need support, post the output of `emerge --info '=sys-block/targetcli-fb-2.1.41::localrepo'`, * the complete build log and the output of `emerge -pqv '=sys-block/targetcli-fb-2.1.41::localrepo'`. * Working directory: '/usr/lib/python3.9/site-packages' \ * S: '/var/tmp/portage/sys-block/targetcli-fb-2.1.41/work/targetcli-fb-2.1.41' ... done!
# emerge --info Portage 3.0.20 (python 3.9.5-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.3.0, glibc-2.33, 5.10.27-gentoo-x86_64 x86_64) ================================================================= System uname: Linux-5.10.27-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-glibc2.33 KiB Mem: 32051176 total, 3354320 free KiB Swap: 25165816 total, 20303864 free Timestamp of repository gentoo: Sun, 27 Jun 2021 08:15:01 +0000 Head commit of repository gentoo: 0479093a2655a6f7c2cf2feca458f7dc7b8f1866 sh bash 5.1_p8 ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 app-shells/bash: 5.1_p8::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.32.1::gentoo dev-lang/python: 2.7.18_p10::gentoo, 3.8.10_p2::gentoo, 3.9.5_p2::gentoo dev-lang/rust: 1.52.1::gentoo dev-util/cmake: 3.18.5::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1-r1::gentoo sys-apps/sandbox: 2.24::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.13.4-r2::gentoo, 1.16.3-r1::gentoo sys-devel/binutils: 2.35.2::gentoo sys-devel/gcc: 10.3.0::gentoo sys-devel/gcc-config: 2.4::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.33::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync2.nl.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 localrepo location: /usr/local/portage masters: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE dlj-1.1 Oracle-BCLA-JavaSE googleearth AdobeFlash-11.x RAR unRAR linux-fw-redistributable linux-firmware no-source-code freedist MPEG-4 intel-ucode splunk-eula Spotify MSttfEULA all-rights-reserved NPSL" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.8/conf /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind" 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/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" 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="-O2 -pipe" 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 xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LANG="nl_NL.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="nl de fr en en_US" MAKEOPTS="-j4" 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 X509 a52 aac aacplus acl acpi activities addc ads alsa amd64 amr anacron apng avx berkdb bluetooth branding bzip2 cacert cairo caps cdda cddb cdr clamdtop cli conch conntrack context crypt cryptsetup cups curl dar64 dbus declarative designer dhcp-tools dnssec dolphin dpi dri drm dts dvd dvdr ebook elogind emboss encode exif faac fax ffmpeg flac fortran gd gdbm gif gimp gpg gphoto2 gpm graph gtk gudev gui hpcups http2 hwdb iconv icu imagemagick imap initramfs ipv6 java jpeg jpeg2k kde kipi kwallet lcms libglvnd libnotify libtirpc lm_sensors logrotate lua lvm lzma lzo mad mbox melt metadata-analysis-api minizip mjpeg mmx mng mobi monitor mount mp3 mp4 mpeg mtp multilib ncurses nfs nls nptl ogg openexr opengl openmp opus pam pango pcre pdf perl phonon plasma png pnm policykit ppds printsupport pulseaudio qml qt5 quicktime quota readline redeyes sasl scanner sdl seccomp semantic-desktop sensord slp smbsharemodes smime smtp sndfile snmp soap spell spice split-usr sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification svg swat syslog system-libvncserver taglib tcpd tftp theora threads tiff tls truetype twolame udev udisks unicode upcall upower usb usbredir utils video videoslideshow vim-syntax virt-network vorbis vpx webchannel webp widgets winbind wireshark-plugins wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64 32" 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" CAMERAS="ptp2 directory canon samsung" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" CURL_SSL="nss" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="nl de fr en en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer pdfimport" 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_9" PYTHON_TARGETS="python3_8 python3_9" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Forget this bug report. I discovered that I had overlays installed for these packages. Solution: I removed the overlays and ran an 'emerge --sync'. Problem solved. Sorry for the noise.
Closed per OP request
Also @toon, next time remember to close bug if it is invalid ;)