<div dir="ltr">Also fails on musl:<div><br>ERROR: Nothing RPROVIDES 'glibc-utils' (but /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-musl/build/meta/recipes-kernel/linux/<a href="http://kernel-devsrc.bb">kernel-devsrc.bb</a> RDEPENDS on or otherwise requires it)</div><div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 1 March 2018 at 08:28, Maxin B. John <span dir="ltr"><<a href="mailto:maxin.john@intel.com" target="_blank">maxin.john@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div><div class="h5"><br>
On Wed, Feb 28, 2018 at 02:20:45PM -0500, Bruce Ashfield wrote:<br>
> The existing kernel-devsrc package starts with a full copy of the kernel<br>
> source and then starts to strip out elements that are not required.<br>
><br>
> This results in extra time (I/O) and extra space being taken up in the<br>
> final package. The main purpose of the kernel-devsrc package has been to<br>
> build modules against the running kernel, not to include a full copy of<br>
> the source code for re-building the kernel. The end result was a<br>
> 600M kernel-devsrc package.<br>
><br>
> This restructuring of the package uses an approach similar to other<br>
> distros, where the kernel-devsrc package is for building against the<br>
> running kernel and uses a curated set of copied infrastructure, versus<br>
> a mass copy of the entire kernel.<br>
><br>
> The differences in this approach versus other is largely due to the<br>
> architecture support and the split build/source directory of the<br>
> kernel.<br>
><br>
> The result is a kernel-devsrc package of about 10M, which is capable<br>
> of running "make scripts" and compiling kernel modules against the<br>
> running kernel.<br>
><br>
> Along with the changes to the copying of the infrascture, we also<br>
> have the following changes:<br>
><br>
> - a better/more explicit listing of dependencies for on-target<br>
> builds of "make scripts" or "make modules_prepare"<br>
><br>
> - The kernel source is installed into /lib/modules/<version>/build<br>
> and a symlink created from /usr/src/kernel to the new location.<br>
> This aligns with the standard location for module support<br>
> code<br>
><br>
> - There is also a symlink from /lib/modules/<version>/source -> build<br>
> to reserve a spot for a new package that is simply the kernel<br>
> source. That package is not part of this update.<br>
><br>
> [YOCTO #12535]<br>
><br>
> Signed-off-by: Bruce Ashfield <<a href="mailto:bruce.ashfield@windriver.com">bruce.ashfield@windriver.com</a>><br>
> ---<br>
><br>
> v2: fix arch/arm devsrc builds<br>
<br>
</div></div>Noticed one kernel-devsrc build failure in autobuilder (qemuarm) :<br>
<br>
<a href="https://autobuilder.yocto.io/builders/nightly-arm/builds/876/steps/BuildImages/logs/stdio" rel="noreferrer" target="_blank">https://autobuilder.yocto.io/<wbr>builders/nightly-arm/builds/<wbr>876/steps/BuildImages/logs/<wbr>stdio</a><br>
<span class=""><br>
ERROR: kernel-devsrc-1.0-r0 do_install: Function failed: do_install (log file is located at /home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/build/tmp/<wbr>work/qemuarm-poky-linux-<wbr>gnueabi/kernel-devsrc/1.0-r0/<wbr>temp/log.do_install.25822)<br>
ERROR: Logfile of failure stored in: /home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/build/tmp/<wbr>work/qemuarm-poky-linux-<wbr>gnueabi/kernel-devsrc/1.0-r0/<wbr>temp/log.do_install.25822<br>
Log data follows:<br>
</span>| DEBUG: Executing python function extend_recipe_sysroot<br>
| NOTE: Direct dependencies are ['/home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/meta/<wbr>recipes-devtools/binutils/<wbr>binutils-cross_2.30.bb:do_<wbr>populate_sysroot', 'virtual:native:/home/<wbr>pokybuild/yocto-autobuilder/<wbr>yocto-worker/nightly-arm/<wbr>build/meta/recipes-extended/<wbr>xz/xz_5.2.3.bb:do_populate_<wbr>sysroot', 'virtual:native:/home/<wbr>pokybuild/yocto-autobuilder/<wbr>yocto-worker/nightly-arm/<wbr>build/meta/recipes-devtools/<wbr>pkgconfig/pkgconfig_git.bb:do_<wbr>populate_sysroot', 'virtual:native:/home/<wbr>pokybuild/yocto-autobuilder/<wbr>yocto-worker/nightly-arm/<wbr>build/meta/recipes-support/<wbr>lzop/lzop_1.03.bb:do_populate_<wbr>sysroot', '/home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/meta/<wbr>recipes-kernel/kern-tools/<wbr>kern-tools-native_git.bb:do_<wbr>populate_sysroot', '/home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/meta/<wbr>recipes-devtools/gcc/gcc-<wbr>runtime_7.3.bb:do_populate_<wbr>sysroot', '/home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/meta/<wbr>recipes-devtools/gcc/gcc-<wbr>cross_7.<br>
3.bb:do_populate_sysroot', 'virtual:native:/home/<wbr>pokybuild/yocto-autobuilder/<wbr>yocto-worker/nightly-arm/<wbr>build/meta/recipes-devtools/<wbr>bison/bison_3.0.4.bb:do_<wbr>populate_sysroot', 'virtual:native:/home/<wbr>pokybuild/yocto-autobuilder/<wbr>yocto-worker/nightly-arm/<wbr>build/meta/recipes-devtools/<wbr>pseudo/pseudo_1.8.2.bb:do_<wbr>populate_sysroot', '/home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/meta/<wbr>recipes-core/glibc/glibc_2.26.<wbr>bb:do_populate_sysroot', '/home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/meta/<wbr>recipes-kernel/kmod/kmod-<wbr>native_git.bb:do_populate_<wbr>sysroot', 'virtual:native:/home/<wbr>pokybuild/yocto-autobuilder/<wbr>yocto-worker/nightly-arm/<wbr>build/meta/recipes-extended/<wbr>bc/bc_1.06.bb:do_populate_<wbr>sysroot', '/home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/meta/<wbr>recipes-devtools/quilt/quilt-<wbr>native_0.65.bb:do_populate_<wbr>sysroot', 'virtual:native:/home/<wbr>pokybuild/yocto-autobuilder/<wbr>yocto-worker/nightly-arm/<wbr>build/meta/recipes-<wbr>connectivity/openssl/openssl_<wbr>1.0.2n.bb:d<br>
o_populate_sysroot']<br>
| NOTE: Installed into sysroot: ['pkgconfig-native', 'lzop-native', 'kern-tools-native', 'pseudo-native', 'kmod-native', 'bc-native', 'openssl-native', 'gtk-doc-native', 'lzo-native', 'makedepend-native', 'cryptodev-linux-native', 'util-macros-native', 'xproto-native']<br>
| NOTE: Skipping as already exists in sysroot: ['binutils-cross-arm', 'xz-native', 'gcc-runtime', 'gcc-cross-arm', 'bison-native', 'glibc', 'quilt-native', 'gettext-minimal-native', 'gnu-config-native', 'automake-native', 'autoconf-native', 'libtool-native', 'linux-libc-headers', 'libgcc', 'zlib-native', 'texinfo-dummy-native', 'flex-native', 'libmpc-native', 'gmp-native', 'mpfr-native', 'm4-native']<br>
| DEBUG: sed -e 's:^[^/]*/:/home/pokybuild/<wbr>yocto-autobuilder/yocto-<wbr>worker/nightly-arm/build/<wbr>build/tmp/work/qemuarm-poky-<wbr>linux-gnueabi/kernel-devsrc/1.<wbr>0-r0/recipe-sysroot-native/:g' /home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/build/tmp/<wbr>sysroots-components/x86_64/<wbr>pkgconfig-native/fixmepath /home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/build/tmp/<wbr>sysroots-components/x86_64/<wbr>openssl-native/fixmepath /home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/build/tmp/<wbr>sysroots-components/x86_64/<wbr>gtk-doc-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:/<wbr>home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/build/tmp/<wbr>work/qemuarm-poky-linux-<wbr>gnueabi/kernel-devsrc/1.0-r0/<wbr>recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:/home/<wbr>pokybuild/yocto-autobuilder/<wbr>yocto-worker/nightly-arm/<wbr>build/build/tmp/work/qemuarm-<wbr>poky-linux-gnueabi/kernel-<wbr>devsrc/1.0-r0/recipe-sysroot-<wbr>native:g' -e 's:FIXME_COMPONENTS_DIR:/home/<wbr>pokybuild/yocto-autobuilder/y<br>
octo-worker/nightly-arm/build/<wbr>build/tmp/sysroots-components:<wbr>g' -e 's:FIXME_HOSTTOOLS_DIR:/home/<wbr>pokybuild/yocto-autobuilder/<wbr>yocto-worker/nightly-arm/<wbr>build/build/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:/home/<wbr>pokybuild/yocto-autobuilder/<wbr>yocto-worker/nightly-arm/<wbr>build/build/tmp/pkgdata/<wbr>qemuarm:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:<wbr>/home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/build/tmp/<wbr>work/qemuarm-poky-linux-<wbr>gnueabi/kernel-devsrc/1.0-r0/<wbr>pseudo/:g' -e 's:FIXME_LOGFIFO:/home/<wbr>pokybuild/yocto-autobuilder/<wbr>yocto-worker/nightly-arm/<wbr>build/build/tmp/work/qemuarm-<wbr>poky-linux-gnueabi/kernel-<wbr>devsrc/1.0-r0/temp/fifo.25822:<wbr>g'<br>
| DEBUG: Python function extend_recipe_sysroot finished<br>
<span class="">| DEBUG: Executing shell function do_install<br>
| cp: with --parents, the destination must be a directory<br>
| Try 'cp --help' for more information.<br>
| WARNING: /home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/build/tmp/<wbr>work/qemuarm-poky-linux-<wbr>gnueabi/kernel-devsrc/1.0-r0/<wbr>temp/run.do_install.25822:1 exit 1 from 'rm -rf $kerneldir/build/include'<br>
| ERROR: Function failed: do_install (log file is located at /home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/build/tmp/<wbr>work/qemuarm-poky-linux-<wbr>gnueabi/kernel-devsrc/1.0-r0/<wbr>temp/log.do_install.25822)<br>
</span>NOTE: recipe kernel-devsrc-1.0-r0: task do_install: Failed<br>
ERROR: Task (/home/pokybuild/yocto-<wbr>autobuilder/yocto-worker/<wbr>nightly-arm/build/meta/<wbr>recipes-kernel/linux/kernel-<wbr>devsrc.bb:do_install) failed with exit code '1'<br>
<br>
Best Regards,<br>
Maxin<br>
<div class="HOEnZb"><div class="h5">--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</div></div></blockquote></div><br></div>