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

Bruce Ashfield bruce.ashfield at windriver.com
Thu Aug 16 17:30:57 UTC 2018


On 08/15/2018 04:42 PM, Richard Purdie wrote:
> On Wed, 2018-08-15 at 16:50 +0100, Richard Purdie wrote:
>> There has been one failure so far:
>>
>> https://autobuilder.yocto.io/builders/build-appliance/builds/1201/ste
>> ps/BuildImages_1/logs/stdio
>>
>> I suspect we need to tweak the do_populate_poky_src task in the
>> build-
>> appliance-image recipe given the kernel devsrc change.
>>
>> Other things are still building. Will reply if anything else comes
>> up.
> 
> It looks really close. There was one sanity test failure basically on
> all arches/kernels:
> 
> | NOTE: ======================================================================
> | NOTE: FAIL: test_stap (stap.StapTest)
> | NOTE: ----------------------------------------------------------------------
> | NOTE: Traceback (most recent call last):
> |   File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
> |     return func(*args, **kwargs)
> |   File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
> |     return func(*args, **kwargs)
> |   File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/meta/lib/oeqa/core/decorator/__init__.py", line 32, in wrapped_f
> |     return func(*args, **kwargs)
> |   File "/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-ppc/build/meta/lib/oeqa/runtime/cases/stap.py", line 33, in test_stap
> |     self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
> | AssertionError: 1 != 0 : cd /lib/modules/`uname -r` && (if [ ! -L build ]; then ln -s /usr/src/kernel build; fi)
> | ln: failed to create symbolic link 'build/kernel': File exists
> 
> If we can fix that (may need the test to be tweaked?) I'll rerun and
> check there isn't anything else. Looks like its hopefully not too hard
> to fix!

I have both of the issues fixed, but am waiting for a build cycle to
complete.

Fundamentally nothing needs to mess with the kernel source for out of
tree builds anymore, so just testing for 'build' to exist and trusting
that it is right is the proper thing to do.

I tweaked both this and the build-appliance image to do just that.

If you want, I can send the patch before my builds complete (since
it will be tomorrow before they are done).

Bruce

> 
> Cheers,
> 
> Richard
> 




More information about the Openembedded-core mailing list