Re: [gentoo-dev] [EAPI 7] Cross-compile improvements (BDEPEND, BROOT, sysroot)

2015-12-14 Thread Mike Frysinger
On 02 Dec 2015 23:20, James Le Cuirot wrote: > On reflection, I'm now thinking that we should call it something less > generic. I also found that the Qt build uses SYSROOT for its own > purposes so you cannot rely on it in toolchain wrappers. ROOT is > probably just as unreliable. For that reason,

Re: [gentoo-dev] [EAPI 7] Cross-compile improvements (BDEPEND, BROOT, sysroot)

2015-12-07 Thread Alexis Ballier
On Sun, 6 Dec 2015 21:15:31 + James Le Cuirot wrote: > On Sun, 6 Dec 2015 21:05:07 + > Joakim Tjernlund wrote: > > > > Put simple: > > > SYSROOT is where "sources" are installed (headers, .so, etc); > > > think debian's -dev packages. > > > ROOT is where packages are merged. > > > > >

Re: [gentoo-dev] [EAPI 7] Cross-compile improvements (BDEPEND, BROOT, sysroot)

2015-12-06 Thread James Le Cuirot
On Sun, 6 Dec 2015 21:05:07 + Joakim Tjernlund wrote: > > Put simple: > > SYSROOT is where "sources" are installed (headers, .so, etc); think > > debian's -dev packages. > > ROOT is where packages are merged. > > > > Meaning: > > > > RDEPEND are installed to ROOT > > DEPEND are installed to

Re: [gentoo-dev] [EAPI 7] Cross-compile improvements (BDEPEND, BROOT, sysroot)

2015-12-06 Thread Joakim Tjernlund
On Thu, 2015-12-03 at 09:28 +0100, Alexis Ballier wrote: > On Wed, 2 Dec 2015 23:20:05 + > James Le Cuirot wrote: > > > On Wed, 2 Dec 2015 12:40:08 +0100 > > Alexis Ballier wrote: > > > > > On Tue, 1 Dec 2015 22:58:55 + > > > James Le Cuirot wrote: > > > [...]   > > > > > > > > I rais

Re: [gentoo-dev] [EAPI 7] Cross-compile improvements (BDEPEND, BROOT, sysroot)

2015-12-05 Thread Gregory M. Turner
On Tue, 2015-12-01 at 22:58 +, James Le Cuirot wrote: > Sorry [snip] > gentle! :) Not sure I have anything meaningful to contribute to the discussion from a technical perspective at the moment, but I just wanted to voice my support for what you're doing with cross: I think Gentoo is setting s

Re: [gentoo-dev] [EAPI 7] Cross-compile improvements (BDEPEND, BROOT, sysroot)

2015-12-03 Thread Joakim Tjernlund
On Thu, 2015-12-03 at 23:32 +, James Le Cuirot wrote: > On Thu, 3 Dec 2015 08:22:01 + > Joakim Tjernlund wrote: > > > > There's also a further complication here that I forgot to mention to > > > mgorny. While calling configure with --with-sysroot certainly helps, > > > it still stumbles o

Re: [gentoo-dev] [EAPI 7] Cross-compile improvements (BDEPEND, BROOT, sysroot)

2015-12-03 Thread James Le Cuirot
On Thu, 3 Dec 2015 08:22:01 + Joakim Tjernlund wrote: > > There's also a further complication here that I forgot to mention to > > mgorny. While calling configure with --with-sysroot certainly helps, > > it still stumbles on a significant number of packages that do > > relinking at the end of

Re: [gentoo-dev] [EAPI 7] Cross-compile improvements (BDEPEND, BROOT, sysroot)

2015-12-03 Thread Guilherme Amadio
On Tue, Dec 01, 2015 at 10:58:55PM +, James Le Cuirot wrote: > Sorry for the length of this but you really need to consider the bigger > picture with this stuff and not all devs are familiar with it. > > For EAPI 7, mgorny and I are seeking to address some cross-compiling > issues. This is a s

Re: [gentoo-dev] [EAPI 7] Cross-compile improvements (BDEPEND, BROOT, sysroot)

2015-12-03 Thread Alexis Ballier
On Wed, 2 Dec 2015 23:20:05 + James Le Cuirot wrote: > On Wed, 2 Dec 2015 12:40:08 +0100 > Alexis Ballier wrote: > > > On Tue, 1 Dec 2015 22:58:55 + > > James Le Cuirot wrote: > > [...] > > > > > > I raised one further point with mgorny that he feels could > > > potentially go into

Re: [gentoo-dev] [EAPI 7] Cross-compile improvements (BDEPEND, BROOT, sysroot)

2015-12-03 Thread Joakim Tjernlund
On Tue, 2015-12-01 at 22:58 +, James Le Cuirot wrote: >  [SNIP really good writeup, thanks :)] > There's also a further complication here that I forgot to mention to > mgorny. While calling configure with --with-sysroot certainly helps, > it still stumbles on a significant number of packages

Re: [gentoo-dev] [EAPI 7] Cross-compile improvements (BDEPEND, BROOT, sysroot)

2015-12-02 Thread James Le Cuirot
On Wed, 2 Dec 2015 12:40:08 +0100 Alexis Ballier wrote: > On Tue, 1 Dec 2015 22:58:55 + > James Le Cuirot wrote: > [...] > > > > I raised one further point with mgorny that he feels could > > potentially go into EAPI 7 but I think could remain an > > implementation detail. In cases #3 and #

Re: [gentoo-dev] [EAPI 7] Cross-compile improvements (BDEPEND, BROOT, sysroot)

2015-12-02 Thread Alexis Ballier
Wow, what a lengthy email :) On Tue, 1 Dec 2015 22:58:55 + James Le Cuirot wrote: [...] > > I raised one further point with mgorny that he feels could potentially > go into EAPI 7 but I think could remain an implementation detail. In > cases #3 and #4 (basically when ROOT != / and > PORTAGE_

[gentoo-dev] [EAPI 7] Cross-compile improvements (BDEPEND, BROOT, sysroot)

2015-12-01 Thread James Le Cuirot
Sorry for the length of this but you really need to consider the bigger picture with this stuff and not all devs are familiar with it. For EAPI 7, mgorny and I are seeking to address some cross-compiling issues. This is a subject I've long had an interest in and before I became a developer, I crea