Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] cross emerge pulls in my hosts gentoo repo
Date: Fri, 23 Oct 2015 01:58:07
Message-Id: 56299428.4060202@gentoo.org
In Reply to: [gentoo-portage-dev] cross emerge pulls in my hosts gentoo repo by Joakim Tjernlund
1 On 10/22/2015 12:24 AM, Joakim Tjernlund wrote:
2 > In my cross sysroot I have:
3 > [DEFAULT]
4 > main-repo = tm-cusfpv3
5 >
6 > [tm-cusfpv3]
7 > location = /usr/local/portage/tm-cusfpv3/
8 > masters =
9 > priority = 500
10 > auto-sync = no
11 >
12 > Still "sudo powerpc-g2.20-linux-gnu-emerge -d -ep sys-libs/pam" pulls in
13 > my hosts gentoo repo:
14
15 Note that emerge -e has known issues with ROOT:
16
17 https://bugs.gentoo.org/show_bug.cgi?id=239114
18
19 > ....
20 > (sys-libs/ncurses-5.9-r5:0/5::tm-cusfpv3, installed in '/usr/powerpc-g2.20-linux-gnu/') (no children)
21 > (sys-libs/pam-1.2.1:0/0::tm-cusfpv3, ebuild scheduled for merge to '/usr/powerpc-g2.20-linux-gnu/') depends on
22 > (sys-auth/pambase-20150213:0/0::tm-cusfpv3, ebuild scheduled for merge to '/usr/powerpc-g2.20-linux-gnu/')
23 > (runtime_post)
24 > (virtual/libintl-0-r2:0/0::gentoo, ebuild scheduled for merge to '/usr/powerpc-g2.20-linux-gnu/') (runtime)
25 > ...
26 >
27 > feels much like there is a hardcoded search for gentoo
28
29 No, there's nothing hardcoded about the gentoo repo.
30
31 > and it will even fallback
32 > to my hosts /etc/portage/repos.conf
33
34 Yes, but only for DEPEND (also HDEPEND if you use EAPI 5-hdepend) which
35 is installed to ROOT=/ by default (unless you use the --root-deps option).
36
37 > Both ROOT and PORTAGE_CONFIGROOT are set to point at my cross sysroot
38
39 Since ROOT=/ is used to satisfy DEPEND, the configuration for
40 PORTAGE_CONFIGROOT=/ is still loaded even when you have set ROOT and
41 PORTAGE_CONFIGROOT to some other location.
42 --
43 Thanks,
44 Zac

Replies

Subject Author
Re: [gentoo-portage-dev] cross emerge pulls in my hosts gentoo repo Joakim Tjernlund <joakim.tjernlund@×××××××××.se>