Bug 2469

Summary: The switch from WARNS -> ERRORS introduces failures in meta-intel BSP's
Product: [Build System, Metadata & Runtime] Other YP Layers Reporter: Joshua Lock - Disabled <josh>
Component: layersAssignee: Tom Zanussi <tom.zanussi>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandrux.palalau, dvhart, poky.bs.watcher, poky.watcher, tom.zanussi
Version: unspecified   
Target Milestone: 1.3 M1   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Attachments:
Description Flags
log.do_package none

Description Joshua Lock - Disabled 2012-05-17 23:27:01 UTC
Building an image for meta-intel's fri2 BSP I see a lot of:

"ERROR: QA Issue: No GNU_HASH in the elf binary"

Since the following change:

"poky.conf: Change WARNS -> ERRORS"
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d4e265661517f8dd4e1648fdc56bac5973f986f6

This is because the EMGD binaries have symbols but no GNU_HASH and therefore fail the ldflags QA test.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/classes/insane.bbclass#n396
Comment 1 Joshua Lock - Disabled 2012-05-17 23:33:51 UTC
Created attachment 518 [details]
log.do_package

The relevant log messages:

ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixcommon.so.0.1.9'
ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp_mpeg4.so.0.1.24'
ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvideo.so.0.1.31'
ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixcommon.so.0'
ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp.so.0'
ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvideo.so.0'
ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp_h264.so.0.1.24'
ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp_h264.so.0'
ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp.so.0.1.24'
ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp_vc1.so.0'
ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp_mpeg4.so.0'
ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libgstvabuffer.so.0'
ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libgstvabuffer.so.0.10.5'
ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/libmixvbp_vc1.so.0.1.24'
ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/gstreamer-0.10/libgstmixvideoplugin.so'
ERROR: QA Issue: No GNU_HASH in the elf binary: '/srv/yocto/poky/build/tmp/work/core2-poky-linux/emgd-driver-bin-1.10-r0/packages-split/emgd-driver-bin/usr/lib/gstreamer-0.10/libgstvaplugin.so'
Comment 2 Joshua Lock - Disabled 2012-05-17 23:53:39 UTC
It's worth pointing out that the emgd driver is a binary driver, so there's no way we can guarantee anything about how it's built.

Do we want to be able to disable certain tests for recipes which just copy around binaries?
Comment 3 Tom Zanussi 2012-05-18 00:08:08 UTC
Can we use some INSANE_SKIP line(s) for this?
Comment 4 Joshua Lock - Disabled 2012-05-18 00:16:59 UTC
(In reply to comment #3)
> Can we use some INSANE_SKIP line(s) for this?

Oh, good knowledge. Looks like INSANE_SKIP_${PN} = "ldflags" should do it (untested).
Comment 5 Saul Wold 2012-05-18 06:28:06 UTC
Looks like tom already has a patch
Comment 7 Alexandru Palalau 2012-06-19 12:41:44 UTC
Behavior does not reproduce after last patch.