Bug 9768 - libxml2: do_package fails when ptest is added to DISTRO_FEATURES
Summary: libxml2: do_package fails when ptest is added to DISTRO_FEATURES
Status: RESOLVED INVALID
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Medium normal
Target Milestone: 2.2
Assignee: Andrei Gherzan
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-06-13 15:30 UTC by Andrei Gherzan
Modified: 2016-07-08 12:46 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Gherzan 2016-06-13 15:30:22 UTC
Preconditions/Environment
-------------------------
oe-core current HEAD (master:71765a90d1ff455608a006ed32cf42110e779217) with meta-oe HEAD (master:52213998eb4ead7d24cba012c937bcc25e89c2ca) and meta-raspebrrypi (master:ffddbad97c67ae20b09284096276d85e7a6a66e1).

Triggering Action/Cause
-----------------------
Using poky distro, run bitbake libxml2

Expectation
-----------
Build should succeed.

Actual Result
-------------
ERROR: libxml2-2.9.3-r0 do_package: QA Issue: split_and_strip_files: 'file /home/andrei/work/yocto/build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libxml2/2.9.3-r0/package/usr/lib/libxml2/ptest
/xmlconf/sun/invalid/utf16b.xml' failed [split-strip]
ERROR: libxml2-2.9.3-r0 do_package: QA Issue: split_and_strip_files: 'file /home/andrei/work/yocto/build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libxml2/2.9.3-r0/package/usr/lib/libxml2/ptest
/xmlconf/oasis/p03fail12.xml' failed [split-strip]
ERROR: libxml2-2.9.3-r0 do_package: QA Issue: split_and_strip_files: 'file /home/andrei/work/yocto/build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libxml2/2.9.3-r0/package/usr/lib/libxml2/ptest
/xmlconf/oasis/p05fail4.xml' failed [split-strip]
ERROR: libxml2-2.9.3-r0 do_package: QA Issue: split_and_strip_files: 'file /home/andrei/work/yocto/build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libxml2/2.9.3-r0/package/usr/lib/libxml2/ptest
/xmlconf/oasis/p39pass1.xml' failed [split-strip]
ERROR: libxml2-2.9.3-r0 do_package: QA Issue: split_and_strip_files: 'file /home/andrei/work/yocto/build-rpi-master/tmp/work/cortexa7hf-neon-vfpv4-poky-linux-gnueabi/libxml2/2.9.3-r0/package/usr/lib/libxml2/ptest
/xmlconf/oasis/p03fail27.xml' failed [split-strip]
[...]

Reproducibility
---------------
5/5
Comment 1 Ross Burton 2016-06-13 15:34:38 UTC
Works for me.  Can you run file yourself on one of those files?
Comment 2 Ross Burton 2016-06-16 14:42:32 UTC
Marking as needinfo.
Comment 3 Randy MacLeod 2016-06-16 14:52:54 UTC
FYI.

This problem is also not seen for a variety of Wind River configs tested continually for the following host distos:
      - centos6_64
      - centos7_64
      - fedora22_64
      - fedora23_64
      - opensuse132_64
      - sled12_64
      - ubuntu1204_64
      - ubuntu1404_64
      - ubuntu1604_64

so it may be specific to the meta-raspebrrypi layer.
Comment 4 Andrei Gherzan 2016-06-17 09:03:11 UTC
I will add this to my queue and try to reproduce it as soon as. Don't have the artifacts anymore (deactivated ptest for unblocking).
Comment 5 Andrei Gherzan 2016-07-08 12:46:09 UTC
I re-added ptest and started a new build. Seems like the issue got fixed in the meanwhile.