Wind River Support Network

HomeDefectsLIN9-4735
Fixed

LIN9-4735 : [wraxl] libsign_git failed (do_compile) of wrlinux-cgl_intel-x86-64_cgl_world_predefined_9-lts-cve.

Created: Jul 24, 2017    Updated: Dec 3, 2018
Resolved Date: Aug 2, 2017
Found In Version: 9.0.0.8
Fix Version: 9.0.0.9
Severity: Standard
Applicable for: Wind River Linux 9
Component/s: Userspace

Description

Build in fedora23_64 x86_64
Branch being built is WRLINUX_9_LTS_CVE
Logfiles are 00-wrconfig.log and 00-wrbuild.log
Relevant bits of the config were:
    setup.sh --machines=qemux86 --distro=wrlinux-cgl --dl-layers --layers=wr-cgl --kernel=cgl --all-layers --repo-verbose --verbose --accept-eula=yes
    notconfigure.sh --jobs=10 --parallel_pkgbuilds=20
    bitbake world

[2017-07-24 13:10:29.473202618-04:00] Build Configuration:
[2017-07-24 13:10:29.474326116-04:00] BB_VERSION        = "1.32.0"
[2017-07-24 13:10:29.475709119-04:00] BUILD_SYS         = "x86_64-linux"
[2017-07-24 13:10:29.476776218-04:00] NATIVELSBSTRING   = "Fedora-23"
[2017-07-24 13:10:29.477676735-04:00] DISTRO            = "wrlinux-cgl"
[2017-07-24 13:10:29.478791772-04:00] DISTRO_VERSION    = "9.0.0.9"
[2017-07-24 13:10:29.480524962-04:00] MACHINE           = "qemux86"
[2017-07-24 13:10:29.481550356-04:00] DEFAULTTUNE       = "i586"
[2017-07-24 13:10:29.482496008-04:00] TARGET_SYS        = "i586-wrs-linux"
[2017-07-24 13:10:29.483468390-04:00] TUNE_FEATURES     = "m32 i586"
[2017-07-24 13:10:29.492817219-04:00] TARGET_FPU        = ""
[2017-07-24 13:10:29.496271303-04:00] wr-base           = "HEAD:3ca77afd6bda168e4befa8da39fdc803ffaafc10"
[2017-07-24 13:10:29.497281171-04:00] wr-fixes          = "HEAD:b07a1d75c651fa4c267d18694fcd9d54973b320e"
[2017-07-24 13:10:29.498215071-04:00] wr-cgl            = "HEAD:55c7117e939b307a889490fe5c9c8a3afb7c3185"
[2017-07-24 13:10:29.499171267-04:00] meta              = "HEAD:b7d97be798fe1d7417aebe783c3d81b2850ff425"
[2017-07-24 13:10:29.500142490-04:00] wr-kernel         = "HEAD:3bca788f867af4aa69b3ef30b67e2453f92e08dc"
[2017-07-24 13:10:29.501098210-04:00] meta-selftest     
[2017-07-24 13:10:29.505273436-04:00] meta-skeleton     = "HEAD:b7d97be798fe1d7417aebe783c3d81b2850ff425"
[2017-07-24 13:10:29.506913408-04:00] meta-initramfs    
[2017-07-24 13:10:29.508044175-04:00] meta-xfce         
[2017-07-24 13:10:29.513570158-04:00] meta-systemd      
[2017-07-24 13:10:29.514672714-04:00] meta-oe           
[2017-07-24 13:10:29.515642720-04:00] meta-filesystems  
[2017-07-24 13:10:29.516607621-04:00] meta-efl          
[2017-07-24 13:10:29.517581572-04:00] meta-webserver    
[2017-07-24 13:10:29.521864588-04:00] meta-networking   
[2017-07-24 13:10:29.525780349-04:00] meta-python       
[2017-07-24 13:10:29.529716730-04:00] meta-perl         
[2017-07-24 13:10:29.533844544-04:00] meta-ruby         
[2017-07-24 13:10:29.537836177-04:00] meta-gnome        
[2017-07-24 13:10:29.538879086-04:00] meta-multimedia   
[2017-07-24 13:10:29.543978071-04:00] meta-gpe          = "HEAD:e9f64723ffaa2d0adc132f0beb539581629c6bef"
[2017-07-24 13:10:29.545014318-04:00] meta-security     = "HEAD:48c8460d52ddb689aec700ad8560eef6d7ceead6"
[2017-07-24 13:10:29.545980415-04:00] meta-selinux      = "HEAD:b68133896025e1e06f105d15c12331ad90d9687d"
[2017-07-24 13:10:29.546924870-04:00] intel-broadwell   
[2017-07-24 13:10:29.547841248-04:00] intel-x86         
[2017-07-24 13:10:29.548947339-04:00] intel-skylake     
[2017-07-24 13:10:29.553902848-04:00] intel-vmware-guest 
[2017-07-24 13:10:29.555071221-04:00] intel-haswell     = "HEAD:3cb216fe699b4492acd9a8a1db0fd1b15b2c977d"
[2017-07-24 13:10:29.556075086-04:00] meta-virtualization = "HEAD:d7b51d92f1e6a70d88f9e4a87272cef7df384f90"
[2017-07-24 13:10:29.558354565-04:00] meta-realtime     = "HEAD:02733b143bdfe02175db723a582913acf3d53ebd"
[2017-07-24 13:10:29.561833856-04:00] wrlinux           = "HEAD:30b20c305d2e87224a8d35ec6380ce8ea3a92b2e"
[2017-07-24 13:10:29.565246706-04:00] meta-mingw        = "HEAD:436fff8f20fdf8e33c7aca154dd732b3e67963a9"
[2017-07-24 13:10:29.572488627-04:00] wr-template       = "HEAD:4ca39f39de1a649e0fc9cffa1f048803f609fdb4"
[2017-07-24 13:10:29.577928435-04:00] meta-yocto-bsp    
[2017-07-24 13:10:29.580845972-04:00] meta-poky         
[2017-07-24 13:10:29.584368542-04:00] meta-yocto        = "HEAD:2bd318fd4f0c53e039d215bfb5b892986e1199e2"
[2017-07-24 13:10:29.585717095-04:00] nxp-t4xxx         = "HEAD:ad94c1597dc939727c8d1e33a49b1a54e0c1b5bc"
[2017-07-24 13:10:29.589213520-04:00] nxp-ls10xx        = "HEAD:d9e04976fdd02f80844701339c5203afba86e8ae"
[2017-07-24 13:10:29.590377340-04:00] wr-installer      = "HEAD:2647a10163bf8dec6276f79bd7cac8ca2e3f2e52"
[2017-07-24 13:10:29.593147825-04:00] xilinx-zynqmp     = "HEAD:a0c3cc765142906a6fef5503669e426a74b28dd0"
Failed step: do_compile in file: /home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0/temp/log.do_compile.12519

Here is some context from around the error:
 --------------------------------------------------
[2017-07-24 13:54:39.254387385-04:00] NOTE: Running task 10825 of 17967 (/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/layers/oe-core/meta/recipes-connectivity/irda-utils/irda-utils_0.9.18.bb:do_rm_work_all)
[2017-07-24 13:54:39.287297223-04:00] NOTE: Running task 10826 of 17967 (/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/layers/wr-base/recipes-base/packagegroups/packagegroup-wr-core-db.bb:do_package_write_rpm)
[2017-07-24 13:54:39.679192014-04:00] NOTE
: recipe dfu-util-0.9-r0: task do_compile: Started
[2017-07-24 13:54:40.401826529-04:00] ERROR: libsign-0.3.2+gitAUTOINC+dfab84b423-r0 do_compile: oe_runmake failed
[2017-07-24 13:54:40.403056780-04:00] ERROR: libsign-0.3.2+gitAUTOINC+dfab84b423-r0 do_compile: Function failed: do_compile (log file is located at /home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0/temp/lo
g.do_compile.12519)
[2017-07-24 13:54:40.404073132-04:00] NOTE: recipe lemon-server-1.2-r0: task do_populate_sysroot: Succeeded
[2017-07-24 13:54:40.409534639-04:00] NOTE: Running task 10827 of 17967 (/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/layers/wr-base/recipes-base/packagegroups/packagegroup-wr-core-db.bb:do_package_qa)
[2017-07-24 13:54:41.689793090-04:00] ERROR: Logfile of failure stored in: /home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-
cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0/temp/log.do_compile.12519
[2017-07-24 13:54:42.111253547-04:00] Log data follows:
[2017-07-24 13:54:42.112212834-04:00] | DEBUG: Executing shell function do_compile
[2017-07-24 13:54:42.113590829-04:00] | NOTE: make CC=i586-wrs-linux-gcc  -m32 -march=i586 --sysroot=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/sysroot
s/qemux86 bindir=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/sysroots/qemux86/usr/bin libdir=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/sysroots/qemux86/usr/lib includedir=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/sysroots/qemux86/usr/include EXTRA_CFLAGS=-O2 -pipe 
-g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0=/usr/src/debug/libsign/0.3.2+gitAUTOINC+dfab84b423-r0 -fdebug-prefix-map=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/wrlbuild/builds/builds-d8
430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/sysroots/qemux86= -fstack-protector-strong -pie -fpie -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security EXTRA_LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fstack-protector-strong -Wl,-z,relro,-z,now SIGNATURELET_DIR=/usr/lib/signaturelet BINDIR=/usr/bin LIBDIR=/usr/lib
--
[2017-07-24 13:54:42.155558863-04:00] | WARNING: /home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f
4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0/temp/run.do_compile.12519:1 exit 1 from 'exit 1'
[2017-07-24 13:54:42.156616740-04:00] | ERROR: Function failed: do_compile (log file is located at /home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0/temp/log.do_compile.12519)
[2017-07-24 13:54:42.15
7629738-04:00] NOTE: recipe libsign-0.3.2+gitAUTOINC+dfab84b423-r0: task do_compile: Failed
[2017-07-24 13:54:42.234248752-04:00] ERROR: Task (/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/layers/meta-efi-secure-boot/recipes-devtools/libsign/libsign_git.bb:do_compile) failed with exit code '1'
[2017-07-24 13:54:42.235067160-04:00] NOTE: recipe tipcutils-2.2.0-r0: task do_compile: Succeeded
[2017-07-24 13:54:42.235991434-04:00] NOTE: recipe damageproto-1_1.2.1-r1: task do_pack
age: Succeeded
[2017-07-24 13:54:42.236991614-04:00] NOTE: recipe macchanger-1.5.0-r0: task do_package: Succeeded
 --------------------------------------------------

Here is the tail of log.do_compile.12519:
 --------------------------------------------------
DEBUG: Executing shell function do_compile
NOTE: make CC=i586-wrs-linux-gcc  -m32 -march=i586 --sysroot=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/sysroots/qemux86 bindir=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/sysroots/qemux86/usr/bin libdir=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_pr
edefined_9-lts-cve/tmp/sysroots/qemux86/usr/lib includedir=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/sysroots/qemux86/usr/include EXTRA_CFLAGS=-O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0=/usr/src/debug/libsign/0.3.2+gitAUT
OINC+dfab84b423-r0 -fdebug-prefix-map=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/sysroots/qemux86= -fstack-protector-strong -pie -fpie -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security EXTRA_LDFLAGS=-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-n
eeded -fstack-protector-strong -Wl,-z,relro,-z,now SIGNATURELET_DIR=/usr/lib/signaturelet BINDIR=/usr/bin LIBDIR=/usr/lib
make[1]: Entering directory '/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0/git/src'
...
...
i586-wrs-linux-gcc  -m32 -march=i586 --sysroot=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/sysroots/qemux86 selsign.o /home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0/git/src/lib/libsign.so -o selsign -std=gnu11 -
O2 -DLIBSIGN_VERSION=\"0.3.2\" -Wall -Wsign-compare -Werror -L/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/sysroots/qemux86/usr/lib -lcrypto -I/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0/git/src/include -O2 -pipe -g -feliminate-unused-debug-types -fdebug-prefix-map=/home/wrlbuild/builds/
builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0=/usr/src/debug/libsign/0.3.2+gitAUTOINC+dfab84b423-r0 -fdebug-prefix-map=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/sysroots/x86_64-linux= -fdebug-prefix-map=/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined
_9-lts-cve/tmp/sysroots/qemux86= -fstack-protector-strong -pie -fpie -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security -Wl,--warn-common -Wl,--no-undefined -Wl,--fatal-warnings -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-fstack-protector-strong -Wl,-z,relro,-z,now -DSELSIGN_KEY=\"/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0/git/key/efi_
sb_keys/DB.key\" -DSELSIGN_CERT=\"/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0/git/key/efi_sb_keys/DB.pem\" -DSELSIGN_CA_CERT=\"/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0/git/key/efi_sb_keys/KEK.pem\" 
/home/wrlbuild/builds/buil
ds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/sysroots/x86_64-linux/usr/libexec/i586-wrs-linux/gcc/i586-wrs-linux/6.2.0/ld: -f may not be used without -shared
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:17: selsign] Error 1
make[2]: Leaving directory '/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-
r0/git/src/selsign'
make[1]: *** [Makefile:7: all] Error 2
make[1]: Leaving directory '/home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0/git/src'
make: *** [Makefile:13: all] Error 2
WARNING: /home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r
0/temp/run.do_compile.12519:1 exit 1 from 'exit 1'
ERROR: Function failed: do_compile (log file is located at /home/wrlbuild/builds/builds-d8430aef-d916-4dd5-9050-5504f4604b1d/wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve/tmp/work/i586-wrs-linux/libsign/0.3.2+gitAUTOINC+dfab84b423-r0/temp/log.do_compile.12519)
 --------------------------------------------------
 --------------------------------------
 
This file, and more detailed log info can be found at:
http://git.wrs.com/cgit/projects/wraxl/fails/.git/log/?h=wrlinux-cgl_qemux86_cgl_world_predefined_9-lts-cve-libsign_git-2017-07-24-140653
To reproduce this failure with a local docker instance, see wraxl docs:
  http://ala-git.wrs.com/cgi-bin/cgit.cgi/lpd-ops/wr-buildscripts.git/tree/README.md
 --------------------------------------
Host: yow-blade21
Docker Version: Docker version 17.05.0-ce, build 89658be

Steps to Reproduce

1 setup.sh --machines=intel-x86-64 --distro=wrlinux-cgl --dl-layers --layers=wr-cgl --kernel=cgl --all-layers --repo-verbose --verbose --accept-eula=yes
2 . oe-init-build-env
3 bitbake libsign

Other Downloads


Live chat
Online