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

Bruce Ashfield bruce.ashfield at gmail.com
Thu Mar 1 12:58:25 UTC 2018


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 <maxin.john at intel.com> 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, Maxin B. John <maxin.john at intel.com> wrote:
>
>  >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 package. The main purpose of the kernel-devsrc package has been to
>  >> build modules against the running kernel, not to include a full copy of
>  >> the source code for re-building the kernel. The end result was a
>  >> 600M kernel-devsrc package.
>
>  Other failures are listed below:
>
>  arm64:
>  https://autobuilder.yocto.io/builders/nightly-arm64/builds/790/steps/Running%20Sanity%20Tests/logs/stdio
>
>  RESULTS - kernelmodule.KernelModuleTest.test_kernel_module - Testcase 1541: FAILED
>
> HOSTCC  scripts/sortextable
>  scripts/sortextable.c:31:10: fatal error: tools/be_byteshift.h: No such file or directory
> #include <tools/be_byteshift.h>
>   ^~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[1]: *** [scripts/Makefile.host:102: scripts/sortextable] Error 1
> make: *** [Makefile:557: scripts] Error 2
> ----------------------------------------------------------------------
>
> Similar on qemuarm - poky-lsb :
>
> https://autobuilder.yocto.io/builders/nightly-arm-lsb/builds/812/steps/Running%20Sanity%20Tests/logs/stdio
>
> HOSTCC  scripts/recordmcount
> HOSTCC  scripts/sortextable
> scripts/sortextable.c:31:10: fatal error: tools/be_byteshift.h: No such file or directory
>     #include <tools/be_byteshift.h>
>               ^~~~~~~~~~~~~~~~~~~~~~
>               compilation terminated.
>               make[1]: *** [scripts/Makefile.host:102: scripts/sortextable] Error 1
>               make: *** [Makefile:557: scripts] Error 2
> -------------------------------------------------------------------------
>
> Also on PowerPC:
>
> https://autobuilder.yocto.io/builders/nightly-ppc-lsb/builds/814/steps/Running%20Sanity%20Tests/logs/stdio
>
> scripts/sortextable.c:31:10: fatal error: tools/be_byteshift.h: No such file or directory
>  #include <tools/be_byteshift.h>
>            ^~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> make[1]: *** [scripts/Makefile.host:102: scripts/sortextable] Error 1
> make: *** [Makefile:557: scripts] Error 2
>
> Best Regards,
> Maxin
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"



More information about the Openembedded-core mailing list