Fix Gentoo Prefix with PRoot

October 23, 2017

Broken Prefix

Our institute administrator sliently relocated directories where I installed Gentoo Prefix. I can bootstrap again, but I want to explore something new. PRoot has been in my radar for years, and it was the main force behind GNURoot and termux for Android.

PRoot

  • static build https://github.com/proot-me/proot-static-build proot -b /disk01/xmass/gentoo:/disk/xmass/gentoo

    very slow

  • change prefix in startprefix
  • override environment variable export EPREFIX=/disk01/xmass/gentoo
  • sync portage change location of gentoo in repos.conf to speed up rsync

    location = /disk01/xmass/gentoo/usr/portage
    

    emerge –sync

  • emerge -1 portage baselayout

    env-update source profile

gcc gcc-config dynamic loader is imprinted by gcc

  • m4 does not work stack overflow
  • emerge -1evDt @system