[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-portage-dev
Subject:    Re: [gentoo-portage-dev] cross emerge pulls in my hosts gentoo repo
From:       Joakim Tjernlund <joakim.tjernlund () transmode ! se>
Date:       2015-10-23 7:13:56
Message-ID: 1445584436.31293.129.camel () transmode ! se
[Download RAW message or body]

On Thu, 2015-10-22 at 18:58 -0700, Zac Medico wrote:
> On 10/22/2015 12:24 AM, Joakim Tjernlund wrote:
> > In my cross sysroot I have:
> > [DEFAULT]
> > main-repo = tm-cusfpv3
> > 
> > [tm-cusfpv3]
> > location = /usr/local/portage/tm-cusfpv3/
> > masters =
> > priority = 500
> > auto-sync = no
> > 
> > Still  "sudo powerpc-g2.20-linux-gnu-emerge -d -ep  sys-libs/pam" pulls in
> > my hosts gentoo repo:
> 
> Note that emerge -e has known issues with ROOT:
> 
> https://bugs.gentoo.org/show_bug.cgi?id=239114
> 
> > ....
> > (sys-libs/ncurses-5.9-r5:0/5::tm-cusfpv3, installed in '/usr/powerpc-g2.20-linux-gnu/') (no children)
> > (sys-libs/pam-1.2.1:0/0::tm-cusfpv3, ebuild scheduled for merge to '/usr/powerpc-g2.20-linux-gnu/')
> > depends on
> >   (sys-auth/pambase-20150213:0/0::tm-cusfpv3, ebuild scheduled for merge to '/usr/powerpc-g2.20-linux
> > -gnu/')
> > (runtime_post)
> >   (virtual/libintl-0-r2:0/0::gentoo, ebuild scheduled for merge to '/usr/powerpc-g2.20-linux-gnu/')
> > (runtime)
> > ...
> > 
> > feels much like there is a hardcoded search for gentoo 
> 
> No, there's nothing hardcoded about the gentoo repo.
> 
> > and it will even fallback
> > to my hosts /etc/portage/repos.conf
> 
> Yes, but only for DEPEND (also HDEPEND if you use EAPI 5-hdepend) which

I am not using EAPI 5-hdepend

> is installed to ROOT=/ by default (unless you use the --root-deps option).

I am, crossdev's emerge wrapper uses emerge --root-deps=rdeps

> 
> > Both ROOT and PORTAGE_CONFIGROOT are set to point at my cross sysroot
> 
> Since ROOT=/ is used to satisfy DEPEND, the configuration for
> PORTAGE_CONFIGROOT=/ is still loaded even when you have set ROOT and
> PORTAGE_CONFIGROOT to some other location.

hmm, this is very confusing. As is powerpc-g2.20-linux-gnu-emerge will pull
the virtual/libintl-0-r2 into my sysroot because it is newer than what I have in
my local gentoo repo config. This should not happen I think when using --root-deps=rdeps
or --root-deps only, it will break the sysroot sooner or later.

 Jocke


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic