Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

problems creating an ARM prefix[solved]

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
Author
Message
Adel Ahmed
Veteran
Veteran
Posts: 1616
Joined: Fri Sep 21, 2012 7:59 am

problems creating an ARM prefix[solved]

  • Quote

Post by Adel Ahmed » Wed Jan 19, 2022 11:16 am

I am using the gentoo prefixin the following document:
https://wiki.gentoo.org/wiki/Project:Android/tarball

to build a new prefix(I'm building the new prefix because the old one has an outdated version of portage that I cannot get around)
I'm following the following document:
https://wiki.gentoo.org/wiki/Project:Pr ... _Bootstrap

I have set the eprefix directory correctly and have tried running the following command:

Code: Select all

 ${EPREFIX}/bootstrap-prefix.sh ${EPREFIX} stage1
while installing portage it fails with the following output:

Code: Select all

* setting up some guessed defaults
grep: /etc/passwd: No such file or directory
grep: /etc/group: No such file or directory
* Your profile is set to /data/gentoo/downloads/bootstrap/var/db/repos/gentoo/profiles/default/linux/arm/17.0/prefix/kernel-3.2+.
/data/gentoo/downloads/bootstrap/bootstrap-prefix.sh: line 497: /data/gentoo/downloads/bootstrap/etc/portage/make.profile/make.defaults: No such file or directory
/data/gentoo/downloads/bootstrap/bootstrap-prefix.sh: line 503: /data/gentoo/downloads/bootstrap/etc/portage/make.profile/package.mask: No such file or directory
/data/gentoo/downloads/bootstrap/bootstrap-prefix.sh: line 522: /data/gentoo/downloads/bootstrap/etc/portage/make.profile/package.use: No such file or directory
/data/gentoo/downloads/bootstrap/bootstrap-prefix.sh: line 535: /data/gentoo/downloads/bootstrap/etc/portage/make.profile/package.unmask: No such file or directory
/data/gentoo/downloads/bootstrap/bootstrap-prefix.sh: line 548: /data/gentoo/downloads/bootstrap/etc/portage/make.profile/package.use: No such file or directory

this is an android system, so there is no /etc/passwd or /etc/group but it seems the script continued, it is failing however while checking those files under make.profile

any idea what I'm doing wrong here?
also is there a way to continue the bootstrapping without starting over?
Last edited by Adel Ahmed on Wed Jan 19, 2022 5:05 pm, edited 1 time in total.
Top
Adel Ahmed
Veteran
Veteran
Posts: 1616
Joined: Fri Sep 21, 2012 7:59 am

  • Quote

Post by Adel Ahmed » Wed Jan 19, 2022 4:53 pm

seems this broken symlink is the cause of the issue:

Code: Select all

 make.profile -> /data/hdd/bootstrap/var/db/repos/gentoo/profiles/default/linux/arm/17.0/prefix/kernel-3.2+
localhost /data/hdd/bootstrap/var/db/repos/gentoo/profiles/default/linux/arm/17.0 # ls
armv4  armv4t  armv5te  armv6j  armv7a  desktop  developer  eapi  musl  parent
Top
Adel Ahmed
Veteran
Veteran
Posts: 1616
Joined: Fri Sep 21, 2012 7:59 am

  • Quote

Post by Adel Ahmed » Wed Jan 19, 2022 5:04 pm

I have created the symlink and was able to create stage 1 successfully.
Top
Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Gentoo on ARM”

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