[meta-freescale] building core-image-minimal for t1042d4rdb* fails building hypervisor

Robert P. J. Day rpjday at crashcourse.ca
Sat Jul 8 12:15:37 PDT 2017


  to make a long story (hopefully) short, i was trying to build both
the 32- and 64-bit versions of t1042d4rdb, and both failed in exactly
the same place, trying to build the hypervisor recipe, so i'm open to
suggestions (this is on a fully-updated fedora system):

Loading cache...done.
Loaded 2259 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.34.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "universal"
TARGET_SYS        = "powerpc64-poky-linux"
MACHINE           = "t1042d4rdb-64b"
DISTRO            = "poky"
DISTRO_VERSION    = "2.3"
TUNE_FEATURES     = "m64 fpu-hard e5500"
TARGET_FPU        = "hard"
meta
meta-poky
meta-yocto-bsp    = "master:754c03006943a219ffd417c36ab909b464f57f67"
meta-freescale    = "master:bb7d8463edfa8e51c22170ecd6fd13d6c88f4aa9"

Initialising tasks...done.
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Running task 448 of 479 (/home/rpjday/oe/dist/layers/meta-freescale/recipes-virtualization/hypervisor/hypervisor_git.bb:do_compile)
NOTE: recipe hypervisor-git-r3: task do_compile: Started
ERROR: hypervisor-git-r3 do_compile: oe_runmake failed
ERROR: hypervisor-git-r3 do_compile: Function failed: do_compile (log file is located at /home/rpjday/oe/builds/t1042d4rdb-64b/tmp/work/ppc64e5500-poky-linux/hypervisor/git-r3/temp/log.do_compile.18035)
ERROR: Logfile of failure stored in: /home/rpjday/oe/builds/t1042d4rdb-64b/tmp/work/ppc64e5500-poky-linux/hypervisor/git-r3/temp/log.do_compile.18035
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 CROSS_COMPILE=powerpc64-poky-linux- CC=powerpc64-poky-linux-gcc  --sysroot=/home/rpjday/oe/builds/t1042d4rdb-64b/tmp/work/ppc64e5500-poky-linux/hypervisor/git-r3/recipe-sysroot HOSTCC=gcc  O=output64
| make[1]: Entering directory '/home/rpjday/oe/builds/t1042d4rdb-64b/tmp/work/ppc64e5500-poky-linux/hypervisor/git-r3/git/output64'
| build: libos/lib/sprintf.c
| build: src/debug-stub.c
| build: src/gdb-stub.c
| build: src/shell.c
| echo "const unsigned char build_config_data[] = {" >bin/bld_cfg.c
| build: src/pamu.c
| build: src/ns16550.c
| od -txC -v .config | sed -e "s/^[0-9]*//" -e "s/ \([0-9a-f][0-9a-f]\)/0x\1,/g" -e "\$d" | sed -e "\$s/,$/,0x00};/" >>bin/bld_cfg.c
| build: src/pm.c
| mkdep: src/zlib.c
| build: bin/bld_cfg.c
| build: src/zlib.c
| /home/rpjday/oe/builds/t1042d4rdb-64b/tmp/work/ppc64e5500-poky-linux/hypervisor/git-r3/git/libos/lib/sprintf.c: In function 'sprintf':
| /home/rpjday/oe/builds/t1042d4rdb-64b/tmp/work/ppc64e5500-poky-linux/hypervisor/git-r3/git/libos/lib/sprintf.c:459:6: error: specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Werror=format-truncation=]
|   int ret = vsnprintf(buf, ULONG_MAX, str, args);
|       ^~~
| cc1: all warnings being treated as errors
| /home/rpjday/oe/builds/t1042d4rdb-64b/tmp/work/ppc64e5500-poky-linux/hypervisor/git-r3/git/libos/lib/Makefile.libos:110: recipe for target 'bin/libos/sprintf.o' failed
| make[1]: *** [bin/libos/sprintf.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| make[1]: Leaving directory '/home/rpjday/oe/builds/t1042d4rdb-64b/tmp/work/ppc64e5500-poky-linux/hypervisor/git-r3/git/output64'
| Makefile:75: recipe for target 'all' failed
| make: *** [all] Error 2
| ERROR: oe_runmake failed
| WARNING: /home/rpjday/oe/builds/t1042d4rdb-64b/tmp/work/ppc64e5500-poky-linux/hypervisor/git-r3/temp/run.do_compile.18035:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /home/rpjday/oe/builds/t1042d4rdb-64b/tmp/work/ppc64e5500-poky-linux/hypervisor/git-r3/temp/log.do_compile.18035)
NOTE: recipe hypervisor-git-r3: task do_compile: Failed
ERROR: Task (/home/rpjday/oe/dist/layers/meta-freescale/recipes-virtualization/hypervisor/hypervisor_git.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 471 tasks of which 470 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
  /home/rpjday/oe/dist/layers/meta-freescale/recipes-virtualization/hypervisor/hypervisor_git.bb:do_compile
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.



rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the meta-freescale mailing list