Bug 4988

Summary: QA fatal errors for the external Code Sourcery toolchain.
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Laszlo Papp <lpapp>
Component: devtools / tool chainAssignee: Christopher Larson <kergoth>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, ross.burton, sgw
Version: unspecified   
Target Milestone: Future   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)
Attachments:
Description Flags
local.conf
none
fix none

Description Laszlo Papp 2013-08-06 10:17:08 UTC
Created attachment 1411 [details]
local.conf

bitbake u-boot
WARNING: Host distribution "arch-rolling" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes: 100% |######################################################################################################################################################################################################| Time: 00:00:30
Parsing of 852 .bb files complete (0 cached, 852 parsed). 1181 targets, 44 skipped, 0 masked, 0 errors.

Build Configuration:                                                                                                                                                                                                                         
BB_VERSION        = "1.19.1"                                                                                                                                                                                                                 
BUILD_SYS         = "x86_64-linux"                                                                                                                                                                                                           
NATIVELSBSTRING   = "arch-rolling"                                                                                                                                                                                                           
TARGET_SYS        = "arm-poky-linux-gnueabi"                                                                                                                                                                                                 
MACHINE           = "beagleboard"                                                                                                                                                                                                            
DISTRO            = "poky"                                                                                                                                                                                                                   
DISTRO_VERSION    = "1.4+snapshot-20130806"                                                                                                                                                                                                  
TUNE_FEATURES     = "armv7a vfp neon"                                                                                                                                                                                                        
TARGET_FPU        = "vfp-neon"                                                                                                                                                                                                               
CSL_VER_MAIN      = "2009q1-203"                                                                                                                                                                                                             
EXTERNAL_TOOLCHAIN = "/usr/local/arm-2009q1"                                                                                                                                                                                                 
meta-sourcery     = "master:832ce1937780bbb508050f02ac8a8bf309045fef"                                                                                                                                                                        
meta                                                                                                                                                                                                                                         
meta-yocto                                                                                                                                                                                                                                   
meta-yocto-bsp    = "master:2db46232785f53067eb289d8da12cd4bf5eb4ea2"                                                                                                                                                                        
                                                                                                                                                                                                                                             
NOTE: Resolving any missing task queue dependencies                                                                                                                                                                                          
NOTE: Preparing runqueue                                                                                                                                                                                                                     
NOTE: Executing SetScene Tasks                                                                                                                                                                                                               
NOTE: Executing RunQueue Tasks                                                                                                                                                                                                               
WARNING: Failed to fetch URL ftp://ftp.ossp.org/pkg/lib/uuid/uuid-1.6.2.tar.gz, attempting MIRRORS if available
ERROR: QA Issue: external-sourcery-toolchain: Files/directories were installed but not shipped
  /usr/libexec
  /lib/libssl.so.1.0.0
WARNING: QA Issue: ELF binary '/home/lpapp/Projects/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/external-sourcery-toolchain/2009q1-203-r22/packages-split/nscd/usr/sbin/nscd' has relocations in .text
WARNING: QA Issue: No GNU_HASH in the elf binary: '/home/lpapp/Projects/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/external-sourcery-toolchain/2009q1-203-r22/packages-split/nscd/usr/sbin/nscd'
WARNING: QA Issue: ELF binary '/home/lpapp/Projects/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/external-sourcery-toolchain/2009q1-203-r22/packages-split/external-sourcery-toolchain-utils/usr/bin/nscd' has relocations in .text
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/lpapp/Projects/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/external-sourcery-toolchain/2009q1-203-r22/temp/log.do_package.22591
ERROR: Task 80 (/home/lpapp/Projects/poky/meta-sourcery/recipes/meta/external-sourcery-toolchain.bb, do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 385 tasks of which 100 didn't need to be rerun and 1 failed.
No currently running tasks (385 of 393)

Summary: 1 task failed:
  /home/lpapp/Projects/poky/meta-sourcery/recipes/meta/external-sourcery-toolchain.bb, do_package
Summary: There were 5 WARNING messages shown.
Summary: There were 3 ERROR messages shown, returning a non-zero exit code.
Comment 1 Saul Wold 2013-08-06 14:29:51 UTC
This issue can be fixed by modifying the recipe to include those installed not shipped files in the correct FILES entry.
Comment 2 Laszlo Papp 2013-08-16 12:28:57 UTC
Sau, can you provide a short patch, then?
Comment 3 Laszlo Papp 2013-08-16 12:46:32 UTC
Created attachment 1429 [details]
fix
Comment 4 Ross Burton 2013-09-25 09:36:07 UTC
THis is also being tracked upstream at https://github.com/MentorEmbedded/meta-sourcery/issues/13, closing.