Wind River Support Network

HomeDefectsLIN7-2731
Fixed

LIN7-2731 : mmc-utils_git failed (do_compile) of x86-kvm-guest_world_bd.

Created: Jan 19, 2015    Updated: Sep 8, 2018
Resolved Date: Jan 22, 2015
Found In Version: 7.0
Fix Version: 7.0.0.2
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Userspace

Description


Build in ubuntu1404_64 x86_64
Branch being built is WRLINUX_7_0_HEAD
Logfiles are 00-wrconfig.log and 00-wrbuild.log
Relevant bits of the config were:
     --enable-board=x86-kvm-guest --enable-rootfs=glibc-std-sato --enable-kernel=standard --with-layer=meta-selinux --enable-unsupported-host=i686 --enable-build=debug --enable-parallel-pkgbuilds=20 --enable-jobs=10 --enable-patchresolve=noop --enable-buildstats=yes --enable-bootimage=noimage

[2015-01-20 00:41:19.945658296+00:00] Build Configuration:
[2015-01-20 00:41:19.946510218+00:00] BB_VERSION        = "1.24.0"
[2015-01-20 00:41:19.947284844+00:00] BUILD_SYS         = "x86_64-linux"
[2015-01-20 00:41:19.948041383+00:00] NATIVELSBSTRING   = "Ubuntu-14.04"
[2015-01-20 00:41:19.948820516+00:00] DISTRO            = "wrlinux-std-sato"
[2015-01-20 00:41:19.949669830+00:00] DISTRO_VERSION    = "7.0.0.0"
[2015-01-20 00:41:19.950403404+00:00] MACHINE           = "x86-kvm-guest"
[2015-01-20 00:41:19.951147363+00:00] DEFAULTTUNE       = "i586"
[2015-01-20 00:41:19.951896795+00:00] TARGET_SYS        = "i586-wrs-linux"
[2015-01-20 00:41:19.952612669+00:00] TUNE_FEATURES     = "m32 i586"
[2015-01-20 00:41:19.953325216+00:00] TARGET_FPU        = ""
[2015-01-20 00:41:19.954091282+00:00] wrlinux           = "WRLINUX_7_0_HEAD:4ea33df64bd841c007417ce3a367f602e43b04dd"
[2015-01-20 00:41:19.954901412+00:00] wrlcompat         = "WRLINUX_7_0_HEAD:3ffbdc93b8507d0bdd70152ae0304c5e1e99194b"
[2015-01-20 00:41:19.955693299+00:00] wr-sdk-toolchain  = "WRLINUX_7_0_HEAD:b284c0e708db6dd6689323a688d0250435ae29aa"
[2015-01-20 00:41:19.956496376+00:00] wr-tcwrappers     = "WRLINUX_7_0_HEAD:ccfc4f8c3dadc2f5a8e0ef7864a5f8026ddae213"
[2015-01-20 00:41:19.957276684+00:00] meta              = "wr-7.0-20141118:57c547576870aef42eb2278881f960f9ae624eb0"
[2015-01-20 00:41:19.961963843+00:00] oe-core-dl-1.7    = "WRLINUX_7_0_HEAD:689e8cdb898dd7e722dccdd2b0099877767fd466"
[2015-01-20 00:41:19.962652670+00:00] meta-downloads    = "WRLINUX_7_0_HEAD:311c1c4027cc9fd93eb5b66f448e6084ffd74897"
[2015-01-20 00:41:19.963375760+00:00] wr-kernel         = "WRLINUX_7_0_HEAD:a1e90f6a2f98b1310b7ca67ee7cba393d4d82d4c"
[2015-01-20 00:41:19.964039138+00:00] x86-kvm-guest     = "WRLINUX_7_0_HEAD:b942f464e0836bf4eed1f410b3fc01ab5bcd03b9"
[2015-01-20 00:41:19.964763714+00:00] wr-base           = "WRLINUX_7_0_HEAD:7e84cbdbc7b5333d39bdaaa5fb7a2d806b998c91"
[2015-01-20 00:41:19.965458797+00:00] wr-fixes          = "WRLINUX_7_0_HEAD:687272acd4cb63bd47f4505793b4697f33bd9d02"
[2015-01-20 00:41:19.966293989+00:00] wr-tools-profile  = "WRLINUX_7_0_HEAD:f75ffddc55cf609e8fc3525db70dd5dc769e4940"
[2015-01-20 00:41:19.967061032+00:00] wr-tools-debug    = "WRLINUX_7_0_HEAD:06a290402a9422748388533ff75392638f040958"
[2015-01-20 00:41:19.967809850+00:00] meta-networking   = "wr-7.0-20141118:d9e89eb74510b5c5d2806105578d33af5c9624d9"
[2015-01-20 00:41:19.968609584+00:00] meta-gnome-subset = "wr-7.0-20141118:ea11babea7de95c98efd7e45e10ea782657b494c"
[2015-01-20 00:41:19.969384420+00:00] meta-oe-subset    = "wr-7.0-20141118:ae8f01368e38540c9a505731e20ddab739dfcea3"
[2015-01-20 00:41:19.970053818+00:00] meta-python-subset = "wr-7.0-20141118:0ff8160b4ab15a44141d56650f40278addb4067f"
[2015-01-20 00:41:19.970769559+00:00] meta-perl-subset  = "wr-7.0-20141118:80e6f878aae0054e7cf00d166654f3a19ea14db8"
[2015-01-20 00:41:19.971481125+00:00] meta-webserver    = "wr-7.0-20141118:11fc8ead284ab848393025a44ae22ca8c38a468e"
[2015-01-20 00:41:19.972186016+00:00] wr-prebuilts      = "WRLINUX_7_0_HEAD:152e4960d828a1daefdccb0b31b0917178161b3e"
[2015-01-20 00:41:19.972890981+00:00] meta-selinux      = "wr-7.0-20141118:8773a7484497082ba1e59377510a613c5df70f68"
[2015-01-20 00:41:19.973580100+00:00] extra-downloads   
[2015-01-20 00:41:19.974274020+00:00] local             = "<unknown>:<unknown>"
[2015-01-20 00:41:19.975043928+00:00] 
[2015-01-20 00:41:19.975838001+00:00] NOTE: Preparing runqueue
[2015-01-20 00:42:24.369271345+00:00] NOTE: Executing SetScene Tasks
[2015-01-20 00:42:24.503138135+00:00] Setting up host-cross and links
[2015-01-20 00:42:24.504011372+00:00] Setting up packages link
[2015-01-20 00:42:24.504841551+00:00] Creating export directory
[2015-01-20 00:42:24.505578248+00:00] Creating project properties
[2015-01-20 00:42:26.540228891+00:00] NOTE: Running setscene task 4038 of 5955 (/home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/layers/oe-core/meta/recipes-devtools/quilt/quilt-native_0.63.bb, do_populate_lic_setscene)
[2015-01-20 00:42:26.541499506+00:00] NOTE: Running setscene task 4039 of 5955 (virtual:native:/home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/layers/oe-core/meta/recipes-devtools/pseudo/pseudo_1.6.2.bb, do_populate_sysroot_setscene)
[2015-01-20 00:42:26.542395072+00:00] NOTE: Running setscene task 4040 of 5955 (virtual:native:/home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/layers/oe-core/meta/recipes-devtools/pseudo/pseudo_1.6.2.bb, do_populate_lic_setscene)
[2015-01-20 00:42:26.545750234+00:00] NOTE: Running setscene task 4043 of 5955 (virtual:native:/home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/layers/oe-core/meta/recipes-devtools/file/file_5.18.bb, do_populate_lic_setscene)
[2015-01-20 00:42:26.555809405+00:00] NOTE: Running setscene task 4052 of 5955 (virtual:native:/home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/layers/oe-core/meta/recipes-core/ncurses/ncurses_5.9.bb, do_populate_lic_setscene)
Failed step: do_compile in file: /home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/bitbake_build/tmp/work/i586-wrs-linux/mmc-utils/0.1-r0/temp/do_compile/log.do_compile.10162

Here is some context from around the error:
 --------------------------------------------------
[2015-01-20 01:49:21.087977890+00:00] NOTE: recipe mmc-utils-0.1-r0: task do_compile: Started
[2015-01-20 01:49:21.482148886+00:00] NOTE: recipe ntp-4.2.6p5-r6.0: task do_compile: Succeeded
[2015-01-20 01:49:21.591853490+00:00] NOTE: Running task 10798 of 14948 (ID: 14068, /home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/layers/meta-oe-subset/recipes-support/fftw/fftw_3.3.4.bb, do_packagedata)
[2015-01-20 01:49:21.706141699+00:00] ERROR: Function failed: do_compile (log file is located at /home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/bitbake_build/tmp/work/i586-wrs-linux/mmc-utils/0.1-r0/temp/do_compile/log.do_compile.10162)
[2015-01-20 01:49:22.150373647+00:00] ERROR: Logfile of failure stored in: /home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/bitbake_build/tmp/work/i586-wrs-linux/mmc-utils/0.1-r0/temp/do_compile/log.do_compile.10162
[2015-01-20 01:49:22.185913224+00:00] Log data follows:
[2015-01-20 01:49:22.225394896+00:00] | DEBUG: Executing shell function do_compile
[2015-01-20 01:49:22.238329251+00:00] | NOTE: make -j 10 -e MAKEFLAGS=
--
[2015-01-20 01:49:22.774336027+00:00] | WARNING: exit code 1 from a shell command.
[2015-01-20 01:49:22.790154693+00:00] | ERROR: Function failed: do_compile (log file is located at /home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/bitbake_build/tmp/work/i586-wrs-linux/mmc-utils/0.1-r0/temp/do_compile/log.do_compile.10162)
[2015-01-20 01:49:22.797612211+00:00] NOTE: recipe mmc-utils-0.1-r0: task do_compile: Failed
[2015-01-20 01:49:22.826576892+00:00] ERROR: Task 7 (/home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/layers/oe-core/meta/recipes-devtools/mmc/mmc-utils_git.bb, do_compile) failed with exit code '1'
[2015-01-20 01:49:22.829368890+00:00] NOTE: Running task 10799 of 14948 (ID: 13141, /home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/layers/oe-core/meta/recipes-devtools/nasm/nasm_2.11.05.bb, do_install)
[2015-01-20 01:49:22.845974853+00:00] NOTE: recipe fftw-3.3.4-r0: task do_packagedata: Started
[2015-01-20 01:49:22.909941487+00:00] NOTE: recipe nasm-2.11.05-r0: task do_install: Started
 --------------------------------------------------

Here is the tail of log.do_compile.10162:
 --------------------------------------------------
DEBUG: Executing shell function do_compile
NOTE: make -j 10 -e MAKEFLAGS=
i586-wrs-linux-gcc -m32 -march=i586 --sysroot=/home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/bitbake_build/tmp/sysroots/x86-kvm-guest  -Wall -Werror -Wuninitialized -Wundef -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  -O0 -fno-omit-frame-pointer -g -pipe -Wp,-MMD,./.mmc.o.d,-MT,mmc.o -c mmc.c
i586-wrs-linux-gcc -m32 -march=i586 --sysroot=/home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/bitbake_build/tmp/sysroots/x86-kvm-guest  -Wall -Werror -Wuninitialized -Wundef -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2  -O0 -fno-omit-frame-pointer -g -pipe -Wp,-MMD,./.mmc_cmds.o.d,-MT,mmc_cmds.o -c mmc_cmds.c
cd man && make
In file included from /home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/bitbake_build/tmp/sysroots/x86-kvm-guest/usr/include/stdio.h:27:0,
                 from mmc.c:20:
/home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/bitbake_build/tmp/sysroots/x86-kvm-guest/usr/include/features.h:328:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
make[1]: Entering directory '/home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/bitbake_build/tmp/work/i586-wrs-linux/mmc-utils/0.1-r0/git/man'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/bitbake_build/tmp/work/i586-wrs-linux/mmc-utils/0.1-r0/git/man'
In file included from /home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/bitbake_build/tmp/sysroots/x86-kvm-guest/usr/include/stdio.h:27:0,
                 from mmc_cmds.c:17:
/home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/bitbake_build/tmp/sysroots/x86-kvm-guest/usr/include/features.h:328:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^
cc1: all warnings being treated as errors
Makefile:31: recipe for target 'mmc.o' failed
make: *** [mmc.o] Error 1
make: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors
Makefile:31: recipe for target 'mmc_cmds.o' failed
make: *** [mmc_cmds.o] Error 1
ERROR: oe_runmake failed
WARNING: exit code 1 from a shell command.
ERROR: Function failed: do_compile (log file is located at /home/wrlbuild/builds/builds-2015-01-20-003950/x86-kvm-guest_world_bd/bitbake_build/tmp/work/i586-wrs-linux/mmc-utils/0.1-r0/temp/do_compile/log.do_compile.10162)
 --------------------------------------------------
 --------------------------------------
 
This file, and more detailed log info can be found at:
http://git.wrs.com/cgit/projects/wraxl/fails/.git/log/?h=x86-kvm-guest_world_bd-mmc-utils_git-2015-01-20-021653
---------
Host: yow-blade22
Docker Version: Docker version 1.4.1, build 5bc2ff8



Steps to Reproduce

--enable-board=x86-kvm-guest --enable-rootfs=glibc-std-sato --enable-kernel=standard --with-layer=meta-selinux --enable-unsupported-host=i686 --enable-build=debug --enable-parallel-pkgbuilds=20 --enable-jobs=10 --enable-patchresolve=noop --enable-buildstats=yes --enable-bootimage=noimage

Other Downloads


Live chat
Online