View previous topic :: View next topic |
Author |
Message |
tld Veteran
Joined: 09 Dec 2003 Posts: 1850
|
Posted: Sun Jan 05, 2025 12:55 pm Post subject: Unable to copy gcc ebuilds in local overlay? [SOLVED] |
|
|
On my MythTV backend systems I currently have gcc 13 and 14 installed. I don't want to update to newer versions (at least for now) and have those masked.
Since the sync will remove the versions I have from portage I wanted to have those in my local overlay, as I don't like having things without ebuilds installed. For some reason however I can't create a digest for those in the local overlay. I get errors like this for both the version 13 and 14 ebuilds I've copied there:
Code: | ebuild gcc-13.3.1_p20240614.ebuild digest
* ERROR: sys-devel/gcc-13.3.1_p20240614::x-portage failed (depend phase):
* Unsupported EAPI=8 (unknown) for python-any-r1
*
* Call stack:
* ebuild.sh, line 632: Called source '/usr/local/portage/sys-devel/gcc/gcc-13.3.1_p20240614.ebuild'
* gcc-13.3.1_p20240614.ebuild, line 35: Called inherit 'toolchain'
* ebuild.sh, line 312: Called __qa_source '/usr/portage/eclass/toolchain.eclass'
* ebuild.sh, line 123: Called source '/usr/portage/eclass/toolchain.eclass'
* toolchain.eclass, line 29: Called inherit 'python-any-r1'
* ebuild.sh, line 312: Called __qa_source '/usr/local/portage/eclass/python-any-r1.eclass'
* ebuild.sh, line 123: Called source '/usr/local/portage/eclass/python-any-r1.eclass'
* python-any-r1.eclass, line 43: Called die
* The specific snippet of code:
* *) die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" ;;
*
* If you need support, post the output of `emerge --info '=sys-devel/gcc-13.3.1_p20240614::x-portage'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/gcc-13.3.1_p20240614::x-portage'`.
* Working directory: '/usr/lib/python3.12/site-packages'
* S: '/var/tmp/portage/sys-devel/gcc-13.3.1_p20240614/work/gcc-13.3.1_p20240614' |
To be clear I haven't synced anything as yet so everything is currently the same as it was on those systems. What would cause the above? Thanks!
Tom
Last edited by tld on Sun Jan 05, 2025 1:25 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54673 Location: 56N 3W
|
Posted: Sun Jan 05, 2025 1:14 pm Post subject: |
|
|
tld,
Two things ...
Your error is
Code: | ebuild gcc-13.3.1_p20240614.ebuild digest
* ERROR: sys-devel/gcc-13.3.1_p20240614::x-portage failed (depend phase):
* Unsupported EAPI=8 (unknown) for python-any-r1 |
The digest should already be in ::gentoo, so no need to recreate it. Copy the entire /var/db/repos/gentoo/sys-devel/gcc directory, including the Manifest file.
That will fix the issue right now but the build will fail with the same Code: | * Unsupported EAPI=8 (unknown) for python-any-r1 |
Do you have an old out of date python-any-r1.eclass in your overlay? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
tld Veteran
Joined: 09 Dec 2003 Posts: 1850
|
Posted: Sun Jan 05, 2025 1:25 pm Post subject: |
|
|
NeddySeagoon wrote: | Do you have an old out of date python-any-r1.eclass in your overlay? | Ahhh...yup. That was the issue. No clue why I ever had that there. Hopefully there wasn't needed for something but I can't imagine why it ever would have been.
Thanks!
Tom |
|
Back to top |
|
|
|
|
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
|
|