Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-30 Thread Bruce Ashfield
On Mon, Jul 30, 2018 at 7:26 PM, wrote: > On Thu, 2018-07-26 at 10:04 -0400, Bruce Ashfield wrote: >> > https://autobuilder.yocto.io/builders/nightly-multilib/builds/1139/ >> > steps/BuildImages_4/logs/stdio >> > >> > Error: Transaction check error: >> >file /usr/bin/libtool from install of

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-30 Thread richard . purdie
On Thu, 2018-07-26 at 10:04 -0400, Bruce Ashfield wrote: > > https://autobuilder.yocto.io/builders/nightly-multilib/builds/1139/ > > steps/BuildImages_4/logs/stdio > > > > Error: Transaction check error: > >file /usr/bin/libtool from install of libtool-2.4.6-r0.0.i586 > > conflicts with file

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-26 Thread Richard Purdie
On Thu, 2018-07-26 at 15:17 +0100, richard.pur...@linuxfoundation.org wrote: > On Thu, 2018-07-26 at 10:04 -0400, Bruce Ashfield wrote: > > On 2018-07-10 6:21 AM, Richard Purdie wrote: > > > and also a failure in one of the multilib builds, probably from > > > different dependencies pulled in by

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-26 Thread richard . purdie
On Thu, 2018-07-26 at 10:04 -0400, Bruce Ashfield wrote: > On 2018-07-10 6:21 AM, Richard Purdie wrote: > > and also a failure in one of the multilib builds, probably from > > different dependencies pulled in by kernel-devsrc: > > > >

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-26 Thread Bruce Ashfield
On 2018-07-10 6:21 AM, Richard Purdie wrote: On Mon, 2018-07-09 at 11:53 -0400, Bruce Ashfield wrote: The existing kernel-devsrc package starts with a full copy of the kernel source and then starts to strip out elements that are not required. This results in extra time (I/O) and extra space

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-12 Thread Bruce Ashfield
On 2018-07-12 1:22 PM, Khem Raj wrote: On 7/12/18 11:07 AM, Bruce Ashfield wrote: On 2018-07-12 1:02 PM, Khem Raj wrote: On 7/12/18 7:55 AM, Bruce Ashfield wrote: On 2018-07-12 9:53 AM, Richard Purdie wrote: On Thu, 2018-07-12 at 09:49 -0400, Bruce Ashfield wrote: On 2018-07-10 5:41 PM,

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-12 Thread Khem Raj
On 7/12/18 11:07 AM, Bruce Ashfield wrote: > On 2018-07-12 1:02 PM, Khem Raj wrote: >> On 7/12/18 7:55 AM, Bruce Ashfield wrote: >>> On 2018-07-12 9:53 AM, Richard Purdie wrote: On Thu, 2018-07-12 at 09:49 -0400, Bruce Ashfield wrote: > On 2018-07-10 5:41 PM, Richard Purdie wrote: >>

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-12 Thread Bruce Ashfield
On 2018-07-12 1:02 PM, Khem Raj wrote: On 7/12/18 7:55 AM, Bruce Ashfield wrote: On 2018-07-12 9:53 AM, Richard Purdie wrote: On Thu, 2018-07-12 at 09:49 -0400, Bruce Ashfield wrote: On 2018-07-10 5:41 PM, Richard Purdie wrote: On Tue, 2018-07-10 at 12:38 -0400, Bruce Ashfield wrote: On

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-12 Thread Khem Raj
On 7/12/18 7:55 AM, Bruce Ashfield wrote: > On 2018-07-12 9:53 AM, Richard Purdie wrote: >> On Thu, 2018-07-12 at 09:49 -0400, Bruce Ashfield wrote: >>> On 2018-07-10 5:41 PM, Richard Purdie wrote: On Tue, 2018-07-10 at 12:38 -0400, Bruce Ashfield wrote: > On 07/10/2018 06:21 AM, Richard

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-12 Thread Bruce Ashfield
On 2018-07-12 9:53 AM, Richard Purdie wrote: On Thu, 2018-07-12 at 09:49 -0400, Bruce Ashfield wrote: On 2018-07-10 5:41 PM, Richard Purdie wrote: On Tue, 2018-07-10 at 12:38 -0400, Bruce Ashfield wrote: On 07/10/2018 06:21 AM, Richard Purdie wrote: On Mon, 2018-07-09 at 11:53 -0400, Bruce

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-12 Thread Richard Purdie
On Thu, 2018-07-12 at 09:49 -0400, Bruce Ashfield wrote: > On 2018-07-10 5:41 PM, Richard Purdie wrote: > > On Tue, 2018-07-10 at 12:38 -0400, Bruce Ashfield wrote: > > > On 07/10/2018 06:21 AM, Richard Purdie wrote: > > > > On Mon, 2018-07-09 at 11:53 -0400, Bruce Ashfield wrote: > > > > > >

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-12 Thread Bruce Ashfield
On 2018-07-10 5:41 PM, Richard Purdie wrote: On Tue, 2018-07-10 at 12:38 -0400, Bruce Ashfield wrote: On 07/10/2018 06:21 AM, Richard Purdie wrote: On Mon, 2018-07-09 at 11:53 -0400, Bruce Ashfield wrote: I'll try the other configs, but clearly I have something different in my x86-64 build.

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-10 Thread Bruce Ashfield
On 2018-07-10 5:41 PM, Richard Purdie wrote: On Tue, 2018-07-10 at 12:38 -0400, Bruce Ashfield wrote: On 07/10/2018 06:21 AM, Richard Purdie wrote: On Mon, 2018-07-09 at 11:53 -0400, Bruce Ashfield wrote: I'll try the other configs, but clearly I have something different in my x86-64 build.

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-10 Thread Richard Purdie
On Tue, 2018-07-10 at 12:38 -0400, Bruce Ashfield wrote: > On 07/10/2018 06:21 AM, Richard Purdie wrote: > > On Mon, 2018-07-09 at 11:53 -0400, Bruce Ashfield wrote: > I'll try the other configs, but clearly I have something different in > my x86-64 build. > > I can't run the self tests directly,

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-10 Thread Bruce Ashfield
On 07/10/2018 06:21 AM, Richard Purdie wrote: On Mon, 2018-07-09 at 11:53 -0400, Bruce Ashfield wrote: The existing kernel-devsrc package starts with a full copy of the kernel source and then starts to strip out elements that are not required. This results in extra time (I/O) and extra space

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-10 Thread Bruce Ashfield
On 07/10/2018 06:21 AM, Richard Purdie wrote: On Mon, 2018-07-09 at 11:53 -0400, Bruce Ashfield wrote: The existing kernel-devsrc package starts with a full copy of the kernel source and then starts to strip out elements that are not required. This results in extra time (I/O) and extra space

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-07-10 Thread Richard Purdie
On Mon, 2018-07-09 at 11:53 -0400, Bruce Ashfield wrote: > The existing kernel-devsrc package starts with a full copy of the > kernel > source and then starts to strip out elements that are not required. > > This results in extra time (I/O) and extra space being taken up in > the > final package.

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-02 Thread Burton, Ross
On 2 March 2018 at 19:29, Bruce Ashfield wrote: > Yah. I've already removed that in my updated WIP version of the patch, > I'm just trying to complete > the work and get the scripts building on target with musl .. I assume > I can use the c library variable > and select

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-02 Thread Bruce Ashfield
On Fri, Mar 2, 2018 at 1:16 PM, Khem Raj wrote: > On Thu, Mar 1, 2018 at 1:37 AM, Burton, Ross wrote: >> Also fails on musl: >> >> ERROR: Nothing RPROVIDES 'glibc-utils' (but >>

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-02 Thread Khem Raj
On Thu, Mar 1, 2018 at 1:37 AM, Burton, Ross wrote: > Also fails on musl: > > ERROR: Nothing RPROVIDES 'glibc-utils' (but > /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl/build/meta/recipes-kernel/linux/kernel-devsrc.bb > RDEPENDS on or otherwise requires it) >

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-02 Thread Khem Raj
On Fri, Mar 2, 2018 at 6:26 AM, Burton, Ross wrote: > Alpine Linux has hit this and they just build a custom getconf binary as > part of their musl build; > > https://git.alpinelinux.org/cgit/aports/tree/main/musl > > (also getent) > I have long thought for adding

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-02 Thread Burton, Ross
Alpine Linux has hit this and they just build a custom getconf binary as part of their musl build; https://git.alpinelinux.org/cgit/aports/tree/main/musl (also getent) Ross On 2 March 2018 at 14:23, Bruce Ashfield wrote: > I worked through some problems to test

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-02 Thread Bruce Ashfield
I worked through some problems to test with musl: - uprev'd linux-libc-headers --> refresh / change of the musl ethhdr patch - worked around the binutils link issue and libsystemd So I was able to assemble kernel-devsrc on an image with musl, and now I'm back to the problem that lead

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-01 Thread Burton, Ross
Ah ok, I misunderstood. Ross On 1 March 2018 at 14:45, Bruce Ashfield wrote: > On 2018-03-01 9:22 AM, Burton, Ross wrote: > >> Swore I picked the v2 patch for the second run, I've fired a mini test >> build to see. >> > > The other failures reported were valid and

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-01 Thread Bruce Ashfield
On 2018-03-01 9:22 AM, Burton, Ross wrote: Swore I picked the v2 patch for the second run, I've fired a mini test build to see. The other failures reported were valid and not addressed by v2. So only 32 bit ARM would have been fixed (packaging wise), the rest were ok. I build and deployed

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-01 Thread Burton, Ross
Swore I picked the v2 patch for the second run, I've fired a mini test build to see. Ross On 1 March 2018 at 13:59, Bruce Ashfield wrote: > On 2018-03-01 5:58 AM, Maxin B. John wrote: > >> >> Also fails on musl: >>> >>> ERROR: Nothing RPROVIDES 'glibc-utils' (but

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-01 Thread Bruce Ashfield
On 2018-03-01 5:58 AM, Maxin B. John wrote: Also fails on musl: ERROR: Nothing RPROVIDES 'glibc-utils' (but /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl/build/meta/recipes-kernel/linux/kernel-devsrc.bb RDEPENDS on or otherwise requires it) Ross On 1 March 2018 at 08:28,

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-01 Thread Bruce Ashfield
Interesting. I'll look at the errors and send a v3 next week. I unfortunately have no capability to run the oe-selftests on my builder, so I can only fix these by inspection. Cheers, Bruce On Thu, Mar 1, 2018 at 5:58 AM, Maxin B. John wrote: > >>Also fails on musl: >>

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-01 Thread Bruce Ashfield
On Thu, Mar 1, 2018 at 3:28 AM, Maxin B. John wrote: > Hi, > > On Wed, Feb 28, 2018 at 02:20:45PM -0500, Bruce Ashfield wrote: >> The existing kernel-devsrc package starts with a full copy of the kernel >> source and then starts to strip out elements that are not required.

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-01 Thread Maxin B. John
>Also fails on musl: > >ERROR: Nothing RPROVIDES 'glibc-utils' (but >/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl/build/meta/recipes-kernel/linux/kernel-devsrc.bb > RDEPENDS on or otherwise requires it) > >Ross > >On 1 March 2018 at 08:28, Maxin B. John

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-01 Thread Burton, Ross
Also fails on musl: ERROR: Nothing RPROVIDES 'glibc-utils' (but /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl/build/meta/recipes-kernel/linux/ kernel-devsrc.bb RDEPENDS on or otherwise requires it) Ross On 1 March 2018 at 08:28, Maxin B. John wrote: > Hi, >

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-03-01 Thread Maxin B. John
Hi, On Wed, Feb 28, 2018 at 02:20:45PM -0500, Bruce Ashfield wrote: > The existing kernel-devsrc package starts with a full copy of the kernel > source and then starts to strip out elements that are not required. > > This results in extra time (I/O) and extra space being taken up in the > final

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-02-28 Thread Bruce Ashfield
On 2018-02-28 4:10 PM, Mark Hatle wrote: One question, below inline: On 2/28/18 1:20 PM, Bruce Ashfield wrote: The existing kernel-devsrc package starts with a full copy of the kernel source and then starts to strip out elements that are not required. This results in extra time (I/O) and

Re: [OE-core] [PATCH v2] kernel-devsrc: restructure for out of tree (and on target) module builds

2018-02-28 Thread Mark Hatle
One question, below inline: On 2/28/18 1:20 PM, Bruce Ashfield wrote: > The existing kernel-devsrc package starts with a full copy of the kernel > source and then starts to strip out elements that are not required. > > This results in extra time (I/O) and extra space being taken up in the >