ERROR: qemu-native-2.11.1-r0 do_compile: oe_runmake failed
ERROR: qemu-native-2.11.1-r0 do_compile: Function failed: do_compile (log file is located at /AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/temp/log.do_compile.30844)
ERROR: Logfile of failure stored in: /AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/temp/log.do_compile.30844
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 LD=ld AR=ar OBJCOPY=objcopy LDFLAGS=-L/AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/recipe-sysroot-native/usr/lib -L/AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/recipe-sysroot-native/lib -Wl,-rpath-link,/AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath-link,/AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/recipe-sysroot-native/lib -Wl,-rpath,/AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/recipe-sysroot-native/usr/lib -Wl,-rpath,/AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/recipe-sysroot-native/lib -Wl,-O1 -fuse-ld=bfd
| make[1]: `/AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/build/capstone/libcapstone.a' is up to date.
| CC qemu-keymap.o
| CC block/qcow2-snapshot.o
| CC block/qcow2-cache.o
| CC block/qcow2-bitmap.o
| CC block/qed.o
| CC block/qed-l2-cache.o
| CC block/qed-table.o
| CC block/qed-cluster.o
| /AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/qemu-2.11.1/qemu-keymap.c: In function ‘main’:
| /AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/qemu-2.11.1/qemu-keymap.c:203:27: error: ‘XKB_CONTEXT_NO_FLAGS’ undeclared (first use in this function)
| ctx = xkb_context_new(XKB_CONTEXT_NO_FLAGS);
| ^
| /AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/qemu-2.11.1/qemu-keymap.c:203:27: note: each undeclared identifier is reported only once for each function it appears in
| /AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/qemu-2.11.1/qemu-keymap.c:204:50: error: ‘XKB_KEYMAP_COMPILE_NO_FLAGS’ undeclared (first use in this function)
| map = xkb_keymap_new_from_names(ctx, &names, XKB_KEYMAP_COMPILE_NO_FLAGS);
| ^
| /AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/qemu-2.11.1/qemu-keymap.c:229:5: warning: implicit declaration of function ‘xkb_keymap_key_for_each’ [-Wimplicit-function-declaration]
| xkb_keymap_key_for_each(map, walk_map, state);
| ^
| /AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/qemu-2.11.1/qemu-keymap.c:229:5: warning: nested extern declaration of ‘xkb_keymap_key_for_each’ [-Wnested-externs]
| make: [qemu-keymap.o] Error 1
| make: Waiting for unfinished jobs....
| ERROR: oe_runmake failed
| WARNING: /AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/temp/run.do_compile.30844:1 exit 1 from 'exit 1'
| ERROR: Function failed: do_compile (log file is located at /AMP/thhpham/git/openbmc/build/tmp/work/x86_64-linux/qemu-native/2.11.1-r0/temp/log.do_compile.30844)
ERROR: Task (virtual:native:/AMP/thhpham/git/openbmc/meta/recipes-devtools/qemu/qemu_2.11.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 2029 tasks of which 2017 didn't need to be rerun and 1 failed.
I don't know if someone has seen these error before. Advices to resolve these errors are appreciated.
SRCREV of phosphor-pid-control in phosphor-pid-control.bb is ba003434509dce6d0a9b83806a37040c70fc4d40.
Hi, I try to build this package by executing
bitbake phosphor-pid-control
and have several errors as below:So I create a dummy bb file to provide phosphor-fans-sensor-inventory like below to temporarily by-pass this build error
Then I see another error with qemu:
I don't know if someone has seen these error before. Advices to resolve these errors are appreciated.
SRCREV of phosphor-pid-control in phosphor-pid-control.bb is ba003434509dce6d0a9b83806a37040c70fc4d40.
Thanks in advance, Thinh