Talk:Cross build environment

From Gentoo Wiki
Jump to:navigation Jump to:search
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (~~~~). When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}} so it will show up in the list of open discussions.

New environment questions

Talk status
This discussion is still ongoing.

For emerge-chroot: The new environment has no Portage, how will "portageq" and "emerge" work in the first place?

In the chroot script: How will the user be able to execute mount, binaries at /usr/local/bin are only accessible to users and not root. — The preceding unsigned comment was added by MJaoune (talkcontribs)

Several issues

Talk status
This discussion is still ongoing.

Adding to the above, there are many issues here:

  • It is not clear what has to be run on the main environment and what has to be run in the choot.
  • Outdated system locations: /var/db/repos/gentoo is no more
  • crossdev deploys a chroot with busybox. Unfortunately, there is an issue with /bin/sh (which is indeed a "busybox sh") inside the chroot: for some reason, $PATH is ignored thus qemu-user is unable to spawn the required command. Instead you will get the message "qemu: no user program specified" when running configure scripts and of course nothing is run which badly breaks things. See the bug report here =>
  • The issue with namespaces and QEMU is related to this upstream bug =>

Admnd (talk) 21:30, 11 April 2021 (UTC)