Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

[SOLVED] EAPI=0 /etc/portage/make.profile issue

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
redwood
Guru
Guru
Posts: 306
Joined: Fri Jan 27, 2006 6:28 am

[SOLVED] EAPI=0 /etc/portage/make.profile issue

  • Quote

Post by redwood » Wed Feb 05, 2020 4:56 pm

Trying to upgrade my system.
Did a "rm -rf /usr/portage" and "emerge --sync"

Code: Select all

Portage 2.3.87 (python 3.4.8-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-8.2.0, glibc-2.27-r6, 4.19.27-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.19.27-gentoo-r1-x86_64-AMD_Opteron-tm-_Processor_6128-with-gentoo-2.6
KiB Mem:     8169664 total,    928248 free
KiB Swap:   20971516 total,  20149500 free
Timestamp of repository gentoo: Wed, 05 Feb 2020 14:13:19 +0000
Head commit of repository gentoo: 32f2be0183d317b61de3343c55c304683b89893b
Then trying to "emerge -1v portage"
but get errors like the following:

Code: Select all

--- Invalid atom in /usr/portage/profiles/targets/desktop/plasma/package.use: Slot deps are not allowed in EAPI 0: 'dev-qt/qtsql:5'
But this is my /etc/portage/make.profile link:

Code: Select all

#eselect profile show
Current /etc/portage/make.profile symlink:
  default/linux/amd64/17.0/desktop/plasma

#ls -l /etc/portage/make.profile
lrwxrwxrwx 1 root root 61 Feb  5 11:37 /etc/portage/make.profile -> /usr/portage/profiles/default/linux/amd64/17.0/desktop/plasma
Thanks for any help.
Last edited by redwood on Thu Feb 06, 2020 4:31 pm, edited 1 time in total.
Top
redwood
Guru
Guru
Posts: 306
Joined: Fri Jan 27, 2006 6:28 am

  • Quote

Post by redwood » Wed Feb 05, 2020 11:47 pm

Decided to

Code: Select all

rm -r /usr/portage/*; rm -r /usr/portage/.git
Then restore from backup

Code: Select all

cp -a /root/.snapshots/daily.1/usr/portage/* /usr/portage/
Now re-emerging portage then gentoolkit

After that will try

Code: Select all

emerge --sync; eix-update

Code: Select all

For anybody who keeps /usr/portage on a separate Logical Volume, what's a good size for the LV? Mine is 10G with about 84% used. Is that normal using a git repo for portage?
Top
redwood
Guru
Guru
Posts: 306
Joined: Fri Jan 27, 2006 6:28 am

  • Quote

Post by redwood » Thu Feb 06, 2020 12:49 am

Got an error during

Code: Select all

emerge --sync

Code: Select all

error: The following untracked working tree files would be overwritten by merge:
	acct-group/adm/adm-0.ebuild
	acct-group/adm/metadata.xml
	acct-group/amule/amule-0.ebuild
	acct-group/amule/metadata.xml
	acct-group/asterisk/asterisk-0.ebuild
	acct-group/asterisk/metadata.xml
	acct-group/audio/audio-0.ebuild
	acct-group/audio/metadata.xml
	acct-group/automx2/automx2-0.ebuild
	acct-group/automx2/metadata.xml
	acct-group/avahi-autoipd/avahi-autoipd-0.ebuild
	acct-group/avahi-autoipd/metadata.xml
...
Aborting
!!! git merge error in /usr/portage
q: Updating ebuild cache for /usr/portage ...
q: Finished 25701 entries in 2.000363 seconds
[/code]

So did

Code: Select all

rm -r /usr/portage/acct-group
And another

Code: Select all

emerge --sync
which failed on merging /usr/portage/acct-user/
so removed /usr/portage/acct-user/
then "emerge --sync" failed on merging more untracked working tree files which would be overwritten.


[/code]
Top
redwood
Guru
Guru
Posts: 306
Joined: Fri Jan 27, 2006 6:28 am

Solved

  • Quote

Post by redwood » Thu Feb 06, 2020 4:31 pm

Maybe I missed these changes to repos:
https://wiki.gentoo.org/wiki/Project:Portage/Sync

Anyhow, I followed suggestion for /etc/portage/repos.conf/gentoo
using rsync method and location of /var/db/repos/gentoo

So wiped /usr/portage logical volume clean and remounted at /var/db/repos/gentoo
and for good measure set PORTDIR=/var/db/repos/gentoo in /etc/portage/make.conf

Then synced with

Code: Select all

emaint sync -r gentoo

Code: Select all

df -h /var/db/repos/gentoo
Filesystem                Size  Used Avail Use% Mounted on
/dev/mapper/raid-portage  9.8G  294M  9.0G   4% /var/db/repos/gentoo
Then ran eix-update
Then ran

Code: Select all

emerge -1uv portage; emerge -1uv gentoolkit
SUCCESS!!
Top
Post Reply

4 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic