Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

how to set arch when missing (raspberry pi)




I've followed funtoo's howto for this cpu (raspberry pi, ARMv7 Processor rev 5 (v7l)) and did emerge --sync OK, so far so good. But the results of eselect profile indicate that arch is still not set:

rpi # eselect profile show

Currently set profiles:
    arch: (missing)
   build: gentoo:funtoo/1.0/linux-gnu/build/current
  flavor: gentoo:funtoo/1.0/linux-gnu/flavor/core
(no type): gentoo:funtoo/1.0/linux-gnu/arch/arm-32bit/armv7a_hardfp

Can I ask how I'd set this? The contents of  /etc/portage/make.profile/parent are

# cat /etc/portage/make.profile/parent


Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

I should have studied the output more closely: changing /usr/portage/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/armv7a_hardfp to /usr/portage/profiles/funtoo/1.0/linux-gnu/arch/subarch/armv7a_hardfp corrected this ...


Edit: corrected: first line of parent should just read


Link to comment
Share on other sites

  • 0

Thanks -- but ego and epro aren't available( app-admin/ego wasn't in stage3), and I can't emerge any packages with an invalid profile:

# emerge ego -va
!!! Unable to parse profile: '/etc/portage/make.profile'
!!! ParseError: Parent '/usr/portage/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/armv7a_hardfp' not found: '/etc/portage/make.profile/parent'
!!! Your current profile is invalid. If you have just changed your profile
!!! configuration, you should revert back to the previous configuration.
!!! Allowed actions are limited to --help, --info, --search, --sync, and
!!! --version.
Link to comment
Share on other sites

  • 0
  • Funtoo Linux Developer

You are not supposed to change this yourself. How comes that armv7a_hardfp were in /usr/portage/profiles/funtoo/1.0/linux-gnu/arch/arm-32bit/ ?


You are not supposed to change /etc/portage/make.profile/parent yourself either. Ego is supposed to be included in stage3.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...