* Re: [gentoo-portage-dev] cross emerge pulls in my hosts gentoo repo
@ 2015-10-23 7:13 99% ` Joakim Tjernlund
0 siblings, 0 replies; 1+ results
From: Joakim Tjernlund @ 2015-10-23 7:13 UTC (permalink / raw
To: gentoo-portage-dev@lists.gentoo.org
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
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2015-10-22 7:24 [gentoo-portage-dev] cross emerge pulls in my hosts gentoo repo Joakim Tjernlund
2015-10-23 1:58 ` Zac Medico
2015-10-23 7:13 99% ` Joakim Tjernlund
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox