Gentoo Archives: gentoo-dev

From: James Le Cuirot <chewi@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [EAPI 7] Cross-compile improvements (BDEPEND, BROOT, sysroot)
Date: Sun, 06 Dec 2015 21:16:02
Message-Id: 20151206211531.0f39782c@symphony.aura-online.co.uk
In Reply to: Re: [gentoo-dev] [EAPI 7] Cross-compile improvements (BDEPEND, BROOT, sysroot) by Joakim Tjernlund
1 On Sun, 6 Dec 2015 21:05:07 +0000
2 Joakim Tjernlund <Joakim.Tjernlund@××××××××.com> wrote:
3
4 > > Put simple:
5 > > SYSROOT is where "sources" are installed (headers, .so, etc); think
6 > > debian's -dev packages.
7 > > ROOT is where packages are merged.
8 > >
9 > > Meaning:
10 > >
11 > > RDEPEND are installed to ROOT
12 > > DEPEND are installed to SYSROOT
13 >
14 > hmm, this implies that a pkg in both DEPEND and RDEPEND should be
15 > installed in both SYSROOT and ROOT? Does portage do this ATM?
16
17 That's not quite how I read it. SYSROOT == ROOT when cross-compiling so
18 under EAPI 7, this would be true. In case #2, when not cross-compiling,
19 SYSROOT = / but ROOT would be something else. DEPEND would go to / and
20 RDEPEND would go to ROOT.
21
22 --
23 James Le Cuirot (chewi)
24 Gentoo Linux Developer

Replies