Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Portage throws gcc bug but keeps updating
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
nameiwillforget
n00b
n00b


Joined: 07 May 2024
Posts: 41

PostPosted: Wed Mar 05, 2025 12:46 pm    Post subject: [SOLVED] Portage throws gcc bug but keeps updating Reply with quote

Recently, I had the following happen on my laptop: If I run, say,
Code:

emerge -auvDU @world

I get
Code:

Calculating dependencies - * ERROR: sys-devel/gcc-11.2.0::akater failed (depend phase):
 *   rust: EAPI 7 not supported
 *
 * Call stack:
 *           ebuild.sh, line 632:  Called source '/var/db/repos/akater/sys-devel/gcc/gcc-11.2.0.ebuild'
 *   gcc-11.2.0.ebuild, line   9:  Called inherit 'toolchain'
 *           ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/toolchain.eclass'
 *           ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/toolchain.eclass'
 \ *    toolchain.eclass, line  27:  Called inherit 'edo' 'flag-o-matic' 'gnuconfig' 'libtool' 'multilib' 'pax-utils' 'rust' 'toolchain-funcs' 'prefix'
 *           ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/rust.eclass'
 *           ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/rust.eclass'
 *         rust.eclass, line  48:  Called die
 * The specific snippet of code:
 *      *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 *
 * If you need support, post the output of `emerge --info '=sys-devel/gcc-11.2.0::akater'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-11.2.0::akater'`.
 * Working directory: '/usr/lib/python3.12/site-packages'
 * S: '/var/tmp/portage/sys-devel/gcc-11.2.0/work/gcc-11.2.0'
 | * ERROR: sys-devel/gcc-10.3.0::akater failed (depend phase):
 *   rust: EAPI 7 not supported
 *
 * Call stack:
 / *           ebuild.sh, line 632:  Called source '/var/db/repos/akater/sys-devel/gcc/gcc-10.3.0.ebuild'
 *   gcc-10.3.0.ebuild, line   9:  Called inherit 'toolchain'
 *           ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/toolchain.eclass'
 *           ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/toolchain.eclass'
 *    toolchain.eclass, line  27:  Called inherit 'edo' 'flag-o-matic' 'gnuconfig' 'libtool' 'multilib' 'pax-utils' 'rust' 'toolchain-funcs' 'prefix'
 *           ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/rust.eclass'
 | *           ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/rust.eclass'
 *         rust.eclass, line  48:  Called die
 * The specific snippet of code:
 *      *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 *
 * If you need support, post the output of `emerge --info '=sys-devel/gcc-10.3.0::akater'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-10.3.0::akater'`.
 * Working directory: '/usr/lib/python3.12/site-packages'
 * S: '/var/tmp/portage/sys-devel/gcc-10.3.0/work/gcc-10.3.0'
 | * ERROR: sys-devel/gcc-10.2.0-r5::akater failed (depend phase):
 *   rust: EAPI 7 not supported
 *
 * Call stack:
 *              ebuild.sh, line 632:  Called source '/var/db/repos/akater/sys-devel/gcc/gcc-10.2.0-r5.ebuild'
 *   gcc-10.2.0-r5.ebuild, line   9:  Called inherit 'toolchain'
 *              ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/toolchain.eclass'
 *              ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/toolchain.eclass'
 / *       toolchain.eclass, line  27:  Called inherit 'edo' 'flag-o-matic' 'gnuconfig' 'libtool' 'multilib' 'pax-utils' 'rust' 'toolchain-funcs' 'prefix'
 *              ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/rust.eclass'
 *              ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/rust.eclass'
 *            rust.eclass, line  48:  Called die
 * The specific snippet of code:
 *      *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 *
 * If you need support, post the output of `emerge --info '=sys-devel/gcc-10.2.0-r5::akater'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-10.2.0-r5::akater'`.
 * Working directory: '/usr/lib/python3.12/site-packages'
 * S: '/var/tmp/portage/sys-devel/gcc-10.2.0-r5/work/gcc-10.2.0'
... done!
Dependency resolution took 103.59 s (backtrack: 8/20).

But then it just continues with the upgrade. The outputs of the involved commands are
Code:

emerge --info '=sys-devel/gcc-11.2.0::akater'
 * ERROR: sys-devel/gcc-11.2.0::akater failed (depend phase):
 *   rust: EAPI 7 not supported
 *
 * Call stack:
 *           ebuild.sh, line 632:  Called source '/var/db/repos/akater/sys-devel/gcc/gcc-11.2.0.ebuild'
 *   gcc-11.2.0.ebuild, line   9:  Called inherit 'toolchain'
 *           ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/toolchain.eclass'
 *           ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/toolchain.eclass'
 *    toolchain.eclass, line  27:  Called inherit 'edo' 'flag-o-matic' 'gnuconfig' 'libtool' 'multilib' 'pax-utils' 'rust' 'toolchain-funcs' 'prefix'
 *           ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/rust.eclass'
 *           ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/rust.eclass'
 *         rust.eclass, line  48:  Called die
 * The specific snippet of code:
 *      *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 *
 * If you need support, post the output of `emerge --info '=sys-devel/gcc-11.2.0::akater'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-11.2.0::akater'`.
 * Working directory: '/usr/lib/python3.12/site-packages'
 * S: '/var/tmp/portage/sys-devel/gcc-11.2.0/work/gcc-11.2.0'
Portage 3.0.66.1 (python 3.12.9-final-0, default/linux/amd64/23.0/desktop/systemd, gcc-14, glibc-2.40-r8, 6.6.28-gentoo-dist-hardened x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.28-gentoo-dist-hardened-x86_64-AMD_Ryzen_7_5700U_with_Radeon_Graphics-with-glibc2.40
KiB Mem:    40402340 total,   7238800 free
KiB Swap:   51461116 total,  48001900 free
Timestamp of repository gentoo: Wed, 05 Mar 2025 01:45:00 +0000
Head commit of repository gentoo: 87e0806522019b3ed4572737035dbfefda4a0eb4
Timestamp of repository akater: Mon, 17 Feb 2025 22:03:51 +0000
Head commit of repository akater: b9671fceffbf4ee66c501a4a667c0210df83a876

Timestamp of repository fem-overlay: Mon, 03 Mar 2025 18:03:30 +0000
Head commit of repository fem-overlay: 4498c6eb56e4d45fb86f37703584a6b69708694e

Timestamp of repository guru: Tue, 04 Mar 2025 22:48:20 +0000
Head commit of repository guru: 7a4b81a76cf422d7609c74dd8450b9e52711ce25

Timestamp of repository luke-jr: Mon, 17 Feb 2025 22:03:37 +0000
Head commit of repository luke-jr: 62b1bcff4bfe777a54fc12bca606764f6bdb56f7

Timestamp of repository parona-overlay: Tue, 04 Mar 2025 22:48:22 +0000
Head commit of repository parona-overlay: 02c503865b0e048e597e472df7b90270b410b460

Timestamp of repository xarblu-overlay: Tue, 04 Mar 2025 22:48:22 +0000
Head commit of repository xarblu-overlay: 5da46dfba48d9920bc031b05adf80b8a7c1f8446

sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p3) 2.42.0
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.16.5-r2::gentoo
dev-build/cmake:           3.31.5::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-r1::gentoo
dev-lang/python:           3.11.11_p1::gentoo, 3.12.9::gentoo, 3.13.2::gentoo
dev-lang/rust-bin:         1.81.0-r103::gentoo, 1.82.0-r101::gentoo, 1.83.0::gentoo, 1.84.1-r2::gentoo
llvm-core/clang:           17.0.6::gentoo, 18.1.8-r6::gentoo, 19.1.4::gentoo
llvm-core/lld:             17.0.6::gentoo, 18.1.8::gentoo, 19.1.4::gentoo
llvm-core/llvm:            17.0.6-r2::xarblu-overlay, 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.10::gentoo
sys-devel/binutils:        2.42-r1::gentoo, 2.43-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/gcc:             13.3.1_p20241220::gentoo, 14.2.1_p20241221::gentoo
sys-devel/gcc-config:      2.12.1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.40-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 3

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

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

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

local_ebuilds
    location: /var/db/repos/local_ebuilds
    masters: gentoo
    volatile: False

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

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

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

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: https://distfiles.gentoo.org/releases/amd64/binpackages/23.0/x86-64

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver2 --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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=znver2 --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512 -O2 -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=znver2 --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512 -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="-march=znver2 --param=l1-cache-line-size=64 --param=l1-cache-size=32 --param=l2-cache-size=512 -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"
MAKEOPTS="-j16 -l14"
PKGDIR="/var/cache/binpkgs"
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 bash-completion bluetooth branding bzip2 cairo cdda cdr cet crypt cups dbus dri dts dvd dvdr emacs encode exif flac gdbm gif git gpm gtk gui hardened iconv icu ipv6 jpeg kf6compat lcms libnotify libtirpc libxml2 mad mng mp3 mp4 mpeg mplayer multilib 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 systemd test-rust tiff truetype udev udisks uefi unicode upower usb vorbis vulkan wayland wifi wxwidgets x264 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gcc_14" 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 sha sse3 sse4_1 sse4_2 sse4a 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 synaptics" KERNEL="linux" L10N="en de" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" VIDEO_CARDS="amdgpu 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, 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, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

Code:

alex@gentoolaptop ~ $ emerge -pqv '=sys-devel/gcc-11.2.0::akater'
 * ERROR: sys-devel/gcc-11.2.0::akater failed (depend phase):
 *   rust: EAPI 7 not supported
 *
 * Call stack:
 *           ebuild.sh, line 632:  Called source '/var/db/repos/akater/sys-devel/gcc/gcc-11.2.0.ebuild'
 *   gcc-11.2.0.ebuild, line   9:  Called inherit 'toolchain'
 *           ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/toolchain.eclass'
 *           ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/toolchain.eclass'
 *    toolchain.eclass, line  27:  Called inherit 'edo' 'flag-o-matic' 'gnuconfig' 'libtool' 'multilib' 'pax-utils' 'rust' 'toolchain-funcs' 'prefix'
 *           ebuild.sh, line 312:  Called __qa_source '/var/db/repos/gentoo/eclass/rust.eclass'
 *           ebuild.sh, line 123:  Called source '/var/db/repos/gentoo/eclass/rust.eclass'
 *         rust.eclass, line  48:  Called die
 * The specific snippet of code:
 *      *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
 *
 * If you need support, post the output of `emerge --info '=sys-devel/gcc-11.2.0::akater'`,
 * the complete build log and the output of `emerge -pqv '=sys-devel/gcc-11.2.0::akater'`.
 * Working directory: '/usr/lib/python3.12/site-packages'
 * S: '/var/tmp/portage/sys-devel/gcc-11.2.0/work/gcc-11.2.0'

!!! All ebuilds that could satisfy "=sys-devel/gcc-11.2.0::akater" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-devel/gcc-11.2.0::akater (masked by: corruption)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


Does anyone have an idea what's going on?


Last edited by nameiwillforget on Wed Mar 05, 2025 4:14 pm; edited 3 times in total
Back to top
View user's profile Send private message
nicop
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2014
Posts: 109

PostPosted: Wed Mar 05, 2025 1:08 pm    Post subject: Reply with quote

You are demonstrating that the eclass "toolchain" no longer supports EAPI=7 since rust was introduced in its inherit.

This ebuild for gcc should be updated to EAPI=8. Or you can switch to ::gentoo
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2798

PostPosted: Wed Mar 05, 2025 1:24 pm    Post subject: Reply with quote

No, OP is denigrating how portage retorts an error and yet it continues.

Please file a bug.

Best Regards,
Georgi
Back to top
View user's profile Send private message
grknight
Retired Dev
Retired Dev


Joined: 20 Feb 2015
Posts: 2040

PostPosted: Wed Mar 05, 2025 1:29 pm    Post subject: Reply with quote

It is not a bug (with portage) when an outdated overlay ebuild is considered for calculation.

This should be reported to the akater overlay maintainer to fix or clean up.
Back to top
View user's profile Send private message
nameiwillforget
n00b
n00b


Joined: 07 May 2024
Posts: 41

PostPosted: Wed Mar 05, 2025 1:44 pm    Post subject: Reply with quote

Alright, I'll send them a note. Thanks!
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2798

PostPosted: Wed Mar 05, 2025 1:55 pm    Post subject: Reply with quote

Is sys-devel/gcc-11.2.0::akater included in the update? If it is, then it's a bug. If it's not, then it's portage informing you of inconsistencies which however do not affect that particular emerge session.

Best Regards,
Georgi
Back to top
View user's profile Send private message
nicop
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2014
Posts: 109

PostPosted: Wed Mar 05, 2025 3:20 pm    Post subject: Reply with quote

grknight wrote:
It is not a bug (with portage) when an outdated overlay ebuild is considered for calculation.

Anyway, if rust.eclass is 8 only, toolchain.eclass with "inherit rust" should be EAPI=8 only, no ?
Back to top
View user's profile Send private message
nameiwillforget
n00b
n00b


Joined: 07 May 2024
Posts: 41

PostPosted: Wed Mar 05, 2025 3:29 pm    Post subject: Reply with quote

The error also appears if I just upgrade gcc alone. But the strange thing is that if I do that, it actually installs gcc::gentoo. I don't remember switching to ::akater and I'd rather only have the ::gentoo gcc anyway. How do I get rid of the ::akater gcc? If I do
Code:

emerge -av --depclean sys-devel/gcc

the output is
Code:

Calculating dependencies... done!
  sys-devel/gcc-13.3.1_p20241220 pulled in by:
    @system requires sys-devel/gcc
    app-editors/emacs-30.0.9999 requires sys-devel/gcc:13/13=[jit(-)], sys-devel/gcc:=[jit(-)]
  sys-devel/gcc-14.2.1_p20241221 pulled in by:
    @system requires sys-devel/gcc
    app-crypt/libb2-0.98.1-r3 requires >=sys-devel/gcc-4.2:*[openmp]
    app-editors/emacs-29.4 requires sys-devel/gcc:=[jit(-)], sys-devel/gcc:14/14=[jit(-)]
    app-editors/emacs-31.0.9999 requires sys-devel/gcc:14/14=[jit(-)], sys-devel/gcc:=[jit(-)]    app-misc/resolve-march-native-5.1.0-r1 requires >=sys-devel/gcc-4.2
    app-portage/portage-utils-0.97 requires sys-devel/gcc:*[openmp]
    dev-lang/rust-bin-1.81.0-r103 requires sys-devel/gcc:*
    dev-lang/rust-bin-1.82.0-r101 requires sys-devel/gcc:*
    dev-lang/rust-bin-1.83.0 requires sys-devel/gcc:*
    dev-lang/rust-bin-1.84.1-r2 requires sys-devel/gcc:*
    dev-qt/qtwebengine-6.8.1-r1 requires sys-devel/gcc:*
    llvm-core/clang-common-19.1.7 requires sys-devel/gcc
    net-libs/nodejs-22.13.1 requires sys-devel/gcc:*
    net-libs/tdlib-9999 requires >=sys-devel/gcc-4.9:=, >=sys-devel/gcc-4.9:14/14=
    sys-libs/glibc-2.40-r8 requires >=sys-devel/gcc-6.2
    virtual/fortran-0-r1 requires sys-devel/gcc[fortran,openmp]

>>> No packages selected for removal by depclean
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2798

PostPosted: Wed Mar 05, 2025 3:37 pm    Post subject: Reply with quote

First of all, always include the whole output with the command you're running. Second, always pass -v to emerge so everything is there for your helpers to see and there's no guessing like for your OP.

Third, I don't see gcc from ::akater anywhere, even your emerge --info shows you have two gcc versions* from ::gentoo. So my guess about gcc bug is wrong, I now see that. It's just that portage is parsing all the ebuilds for gcc because it takes part in dependency resolution and it sees problematic ebuilds and warns you about them.

Regarding ::akater, do you use something from it? If you can't remember, check the output of

Code:
equery list */*::akater


If you still can't remember then you might be better of disabling it and deselecting everything that you have installed from it the equery output that is.

*do you need both of them?

Code:
grep gcc /var/lib/portage/world


Best Regards,
Georgi
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23152

PostPosted: Wed Mar 05, 2025 3:38 pm    Post subject: Reply with quote

nicop wrote:
grknight wrote:
It is not a bug (with portage) when an outdated overlay ebuild is considered for calculation.

Anyway, if rust.eclass is 8 only, toolchain.eclass with "inherit rust" should be EAPI=8 only, no ?
Since it inherits something that disallows EAPI older than 8, I think it effectively already is EAPI=8 only. What do you want to see changed here?
nameiwillforget wrote:
The error also appears if I just upgrade gcc alone. But the strange thing is that if I do that, it actually installs gcc::gentoo. I don't remember switching to ::akater and I'd rather only have the ::gentoo gcc anyway. How do I get rid of the ::akater gcc? If I do
The error says that it cannot consider the ::akater version because of the EAPI problem. It does not say that the ::akater version is installed. Portage likely cannot install the ::akater version until that EAPI problem is resolved, even if the ::akater version were the "best" version (and since it is very old, it will not be best) or you explicitly asked for that version.

You need Portage not to consider the EAPI=7 ::akater ebuilds. You can do this by removing those ebuilds from the overlay, by getting the maintainer to update or remove them, or by telling Portage not to consider the ::akater overlay.
Back to top
View user's profile Send private message
nicop
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2014
Posts: 109

PostPosted: Wed Mar 05, 2025 4:04 pm    Post subject: Reply with quote

Hu wrote:
I think it effectively already is EAPI=8 only.

It isn't, that’s my only point.
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2798

PostPosted: Wed Mar 05, 2025 4:10 pm    Post subject: Reply with quote

nicop wrote:
Hu wrote:
I think it effectively already is EAPI=8 only.

It isn't, that’s my only point.


What makes you think so? I don't understand you, please explain more.

Best Regards,
Georgi
Back to top
View user's profile Send private message
nameiwillforget
n00b
n00b


Joined: 07 May 2024
Posts: 41

PostPosted: Wed Mar 05, 2025 4:13 pm    Post subject: Reply with quote

Ah, thanks, that makes sense. I do need some stuff from the ::akater overlay, and I think I need both gcc versions, but I've informed the overlay maintainer and in the meantime I'll just remove gcc from that overlay locally.

Edit: not sure what this tells me, but it's the output of the command:
Code:

gentoolaptop /home/alex/tmp # grep gcc /var/lib/portage/world
sys-devel/gcc
Back to top
View user's profile Send private message
logrusx
Advocate
Advocate


Joined: 22 Feb 2018
Posts: 2798

PostPosted: Wed Mar 05, 2025 4:17 pm    Post subject: Reply with quote

nameiwillforget wrote:
in the meantime I'll just remove gcc from that overlay locally.


There's no need to do so, it won't install either way.

nameiwillforget wrote:
Edit: not sure what this tells me, but it's the output of the command:
Code:

gentoolaptop /home/alex/tmp # grep gcc /var/lib/portage/world
sys-devel/gcc


I was afraid you had specific version of it there which was stale. Also if it was from ::akater I think it should have been reflected there. At least if you explicitly emerged it from akater. You should not have it there anyway, whatever needs it should pull it in, unless you require specific version of it. It should be safe to deselect it.

Best Regards,
Georgi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum