Yocto QA error? File already stripped

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Yocto QA error? File already stripped

Jump to solution
7,825 Views
woutervh
Contributor IV

Following errors I receive when building a basic yocto image (morty). Even when deleting my complete temp-directory and build again. This is just when building the plain core-image-minimal for sabreauto. Does anybody have an idea where this comes from? Everything seems to compile ok, but starts to have problems when do_package.

To be complete, this is on a system where it was working before. But as it was a 32bit system before, I migrated to a 64bit system last week (multiarch). Since then, it stopped working. If possible, I want to fix it on this system.

Anybody has an idea what the issue could be?

ERROR: base-files-3.0.14-r89 do_package: QA Issue: File '/etc/skel/.bashrc' from base-files was already stripped, this will prevent future debugging! [already-stripped]
ERROR: base-files-3.0.14-r89 do_package: QA Issue: File '/etc/skel/.profile' from base-files was already stripped, this will prevent future debugging! [already-stripped]
ERROR: base-files-3.0.14-r89 do_package: Fatal QA errors found, failing task.
ERROR: base-files-3.0.14-r89 do_package: Function failed: do_package
ERROR: Logfile of failure stored in: /opt/yocto/fsl-community-bsp_morty/build-sabre/tmp/work/imx6qsabreauto-fslc-linux-gnueabi/base-files/3.0.14-r89/temp/log.do_package.35314
ERROR: Task (/opt/yocto/fsl-community-bsp_morty/sources/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_package) failed with exit code '1'
ERROR: glibc-2.24-r0 do_package: QA Issue: File '/etc/nscd.conf' from glibc was already stripped, this will prevent future debugging! [already-stripped]
ERROR: glibc-2.24-r0 do_package: QA Issue: File '/etc/init.d/nscd' from glibc was already stripped, this will prevent future debugging! [already-stripped]
ERROR: glibc-2.24-r0 do_package: QA Issue: File '/usr/lib/libpthread.so' from glibc was already stripped, this will prevent future debugging! [already-stripped]
ERROR: glibc-2.24-r0 do_package: QA Issue: File '/usr/lib/libc.so' from glibc was already stripped, this will prevent future debugging! [already-stripped]
ERROR: glibc-2.24-r0 do_package: QA Issue: File '/usr/bin/tzselect' from glibc was already stripped, this will prevent future debugging! [already-stripped]
ERROR: glibc-2.24-r0 do_package: QA Issue: File '/usr/bin/catchsegv' from glibc was already stripped, this will prevent future debugging! [already-stripped]
ERROR: glibc-2.24-r0 do_package: QA Issue: File '/usr/bin/ldd' from glibc was already stripped, this will prevent future debugging! [already-stripped]
ERROR: glibc-2.24-r0 do_package: Fatal QA errors found, failing task.
ERROR: glibc-2.24-r0 do_package: Function failed: do_package
ERROR: Logfile of failure stored in: /opt/yocto/fsl-community-bsp_morty/build-sabre/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/glibc/2.24-r0/temp/log.do_package.83637
ERROR: Task (/opt/yocto/fsl-community-bsp_morty/sources/poky/meta/recipes-core/glibc/glibc_2.24.bb:do_package) failed with exit code '1'
ERROR: sysvinit-inittab-2.88dsf-r10 do_package: QA Issue: File '/bin/start_getty' from sysvinit-inittab was already stripped, this will prevent future debugging! [already-stripped]
ERROR: sysvinit-inittab-2.88dsf-r10 do_package: Fatal QA errors found, failing task.
ERROR: sysvinit-inittab-2.88dsf-r10 do_package: Function failed: do_package
ERROR: Logfile of failure stored in: /opt/yocto/fsl-community-bsp_morty/build-sabre/tmp/work/imx6qsabreauto-fslc-linux-gnueabi/sysvinit-inittab/2.88dsf-r10/temp/log.do_package.38593
ERROR: Task (/opt/yocto/fsl-community-bsp_morty/sources/poky/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb:do_package) failed with exit code '1'
ERROR: qemuwrapper-cross-1.0-r0 do_package: QA Issue: File '/usr/bin/crossscripts/qemuwrapper' from qemuwrapper-cross was already stripped, this will prevent future debugging! [already-stripped]
ERROR: qemuwrapper-cross-1.0-r0 do_package: Fatal QA errors found, failing task.
ERROR: qemuwrapper-cross-1.0-r0 do_package: Function failed: do_package
ERROR: Logfile of failure stored in: /opt/yocto/fsl-community-bsp_morty/build-sabre/tmp/work/armv7at2hf-neon-fslc-linux-gnueabi/qemuwrapper-cross/1.0-r0/temp/log.do_package.90399
ERROR: Task (/opt/yocto/fsl-community-bsp_morty/sources/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_package) failed with exit code '1'
WARNING: glibc-locale-2.24-r0 do_package_qa: QA Issue: /usr/bin/localedef contained in package localedef requires libc.so.6, but no providers found in RDEPENDS_localedef? [file-rdeps]
NOTE: Tasks Summary: Attempted 1689 tasks of which 290 didn't need to be rerun and 4 failed.
NOTE: Writing buildhistory

Summary: 4 tasks failed:
/opt/yocto/fsl-community-bsp_morty/sources/poky/meta/recipes-core/base-files/base-files_3.0.14.bb:do_package
/opt/yocto/fsl-community-bsp_morty/sources/poky/meta/recipes-core/glibc/glibc_2.24.bb:do_package
/opt/yocto/fsl-community-bsp_morty/sources/poky/meta/recipes-core/sysvinit/sysvinit-inittab_2.88dsf.bb:do_package
/opt/yocto/fsl-community-bsp_morty/sources/poky/meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_package
Summary: There were 2 WARNING messages shown.
Summary: There were 19 ERROR messages shown, returning a non-zero exit code.

Labels (2)
0 Kudos
1 Solution
5,413 Views
woutervh
Contributor IV

Yes, but in the meantime, I was able to fix it. What exactly caused it, I don't know. But my machine at that time was a mix of 32bit & 64bit packages.

After updating grep, awk, automake, fileinfo, systemd, etc... to 64-bit, everything works afterwards

View solution in original post

0 Kudos
2 Replies
5,413 Views
jimmychan
NXP TechSupport
NXP TechSupport

Have you try to build in a new 'build' folder?

0 Kudos
5,414 Views
woutervh
Contributor IV

Yes, but in the meantime, I was able to fix it. What exactly caused it, I don't know. But my machine at that time was a mix of 32bit & 64bit packages.

After updating grep, awk, automake, fileinfo, systemd, etc... to 64-bit, everything works afterwards

0 Kudos