OpenBMC compile failed issue(urgency)

Roy Zhang roy.zhang at hj-micro.com
Tue Aug 9 18:59:30 AEST 2022


Hello,


when i compile the  openbmc image for "evb-ast2600", it compiled failed as below error :


ERROR: Task (/home/openbmc/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb:do_configure) failed with exit code '1'
ERROR: systemd-1_251.2-r0 do_configure: meson failed
ERROR: systemd-1_251.2-r0 do_configure: ExecutionError('/home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/systemd/1_251.2-r0/temp/run.do_configure.130656', 1, None, None)







Detail compile log as below:
bmc at docker:/home/openbmc/build/evb-ast2600$ cat /home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/build/meson-logs/meson-log.txt
Build started at 2022-08-09T08:46:13.628199
Main binary: /home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/recipe-sysroot-native/usr/bin/nativepython3
Build Options: -Dgtk_doc=false -Ddtrace=false -Dfam=false -Dsystemtap=false -Db_lto=true -Dlibmount=enabled -Dman=false -Dselinux=disabled -Dinstalled_tests=false -Dprefix=/usr -Dbindir=bin -Ddatadir=share -Dincludedir=include -Dinfodir=share/info -Dlibdir=lib -Dlibexecdir=libexec -Dlocalstatedir=/var -Dmandir=share/man -Dsbindir=sbin -Dsharedstatedir=/com -Dsysconfdir=/etc -Dbuildtype=plain -Dwrap_mode=nodownload '--cross-file /home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/meson.cross' '--cross-file /home/openbmc/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-linux' '--cross-file /home/openbmc/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-glibc' '--cross-file /home/openbmc/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common' '--native-file /home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/meson.native'
Python system: Linux
The Meson build system
Version: 0.62.2
Source dir: /home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/glib-2.72.3
Build dir: /home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/build
Build type: cross build
Project name: glib
Project version: 2.72.3
Sanity testing C compiler: arm-openbmc-linux-gnueabi-gcc -march=armv7-a -mfpu=vfpv4-d16 -mfloat-abi=hard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/recipe-sysroot
Is cross compiler: True.
Sanity check compiler command line: arm-openbmc-linux-gnueabi-gcc -march=armv7-a -mfpu=vfpv4-d16 -mfloat-abi=hard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/recipe-sysroot sanitycheckc.c -o sanitycheckc_cross.exe -O2 -pipe -g -feliminate-unused-debug-types -fmacro-prefix-map=/home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0=/usr/src/debug/glib-2.0/1_2.72.3-r0 -fdebug-prefix-map=/home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0=/usr/src/debug/glib-2.0/1_2.72.3-r0 -fdebug-prefix-map=/home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/recipe-sysroot= -fdebug-prefix-map=/home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/recipe-sysroot-native= -D_FILE_OFFSET_BITS=64 -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,-z,relro,-z,now
Sanity check compile stdout:


-----
Sanity check compile stderr:


-----
Running test binary command: /home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/meson-qemuwrapper /home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/build/meson-private/sanitycheckc_cross.exe


../glib-2.72.3/meson.build:1:0: ERROR: Executables created by c compiler arm-openbmc-linux-gnueabi-gcc -march=armv7-a -mfpu=vfpv4-d16 -mfloat-abi=hard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/recipe-sysroot are not runnable.





 uild Configuration:
BB_VERSION           = "2.0.1"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-18.04"
TARGET_SYS           = "arm-openbmc-linux-gnueabi"
MACHINE              = "evb-ast2600"
DISTRO               = "openbmc-phosphor"
DISTRO_VERSION       = "nodistro.0"
TUNE_FEATURES        = "arm armv7a vfp vfpv4d16 callconvention-hard"
TARGET_FPU           = "hard"
meta                 
meta-poky            
meta-oe              
meta-networking      
meta-python          
meta-phosphor        
meta-aspeed          
meta-evb-ast2600     = "<unknown>:<unknown>"


Initialising tasks: 100% |########################################################################################################################################################################################################################################################################################################| Time: 0:00:01
Sstate summary: Wanted 129 Local 0 Mirrors 0 Missed 129 Current 940 (0% match, 87% complete)
NOTE: Executing Tasks
ERROR: glib-2.0-1_2.72.3-r0 do_configure: meson failed
ERROR: glib-2.0-1_2.72.3-r0 do_configure: ExecutionError('/home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/temp/run.do_configure.130659', 1, None, None)
ERROR: Logfile of failure stored in: /home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/temp/log.do_configure.130659
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/openbmc/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-core/util-linux/util-linux_2.38.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-core/zlib/zlib_1.2.12.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-devtools/gcc/gcc-cross_12.1.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-devtools/gcc/gcc-runtime_12.1.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-devtools/qemu/qemu-native_7.0.0.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-support/bash-completion/bash-completion_2.11.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-support/libffi/libffi_3.4.2.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-support/libpcre/libpcre_8.45.bb:do_populate_sysroot', 'virtual:native:/home/openbmc/meta/recipes-core/gettext/gettext_0.21.bb:do_populate_sysroot', 'virtual:native:/home/openbmc/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb:do_populate_sysroot', 'virtual:native:/home/openbmc/meta/recipes-devtools/meson/meson_0.62.2.bb:do_populate_sysroot', 'virtual:native:/home/openbmc/meta/recipes-devtools/ninja/ninja_1.11.0.bb:do_populate_sysroot', 'virtual:native:/home/openbmc/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/openbmc/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/openbmc/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/openbmc/meta/recipes-devtools/python/python3_3.10.5.bb:do_populate_sysroot', 'virtual:native:/home/openbmc/meta/recipes-extended/xz/xz_5.2.5.bb:do_populate_sysroot', 'virtual:native:/home/openbmc/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: []
| NOTE: Skipping as already exists in sysroot: ['glibc', 'util-linux', 'zlib', 'gcc-cross-arm', 'gcc-runtime', 'qemu-native', 'quilt-native', 'bash-completion', 'libffi', 'libpcre', 'gettext-native', 'glib-2.0-native', 'meson-native', 'ninja-native', 'patch-native', 'pkgconfig-native', 'pseudo-native', 'python3-native', 'xz-native', 'gtk-doc-native', 'libtool-native', 'zlib-native', 'linux-libc-headers', 'libgcc', 'openssl-native', 'util-linux-libuuid-native', 'libffi-native', 'libnsl2-native', 'libtirpc-native', 'bzip2-native', 'ncurses-native', 'readline-native', 'gdbm-native', 'sqlite3-native', 're2c-native', 'gettext-minimal-native', 'texinfo-dummy-native', 'attr-native', 'libpcre-native', 'util-linux-native', 'bzip2', 'gnu-config-native', 'zstd-native', 'libmpc-native', 'mpfr-native', 'flex-native', 'gmp-native', 'binutils-cross-arm', 'libpam', 'opkg-utils', 'ncurses', 'libxcrypt', 'util-linux-libuuid', 'libcap-ng', 'python3-installer-native', 'python3-wheel-native', 'python3-setuptools-native', 'python3-picobuild-native', 'perl-native', 'libcap-ng-native', 'libpcre2-native', 'm4-native', 'cracklib', 'flex', 'python3-flit-core-native', 'make-native', 'unzip-native']
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_configure
| gtkdocize: neither configure.ac nor configure.in exist
| NOTE: Executing meson -Dgtk_doc=false -Ddtrace=false -Dfam=false -Dsystemtap=false -Db_lto=true -Dlibmount=enabled -Dman=false -Dselinux=disabled -Dinstalled_tests=false --cross-file=/home/openbmc/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-linux --cross-file=/home/openbmc/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common-glibc --cross-file=/home/openbmc/meta/recipes-core/glib-2.0/glib-2.0/meson.cross.d/common...
| qemu-arm: Unable to reserve 0xffff0000 bytes of virtual address space at 0x1000 (Success) for use as guest address space (check your virtual memory ulimit setting, min_mmap_addr or reserve less using -R option)
| The Meson build system
| Version: 0.62.2
| Source dir: /home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/glib-2.72.3
| Build dir: /home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/build
| Build type: cross build
| Project name: glib
| Project version: 2.72.3
| 
| ../glib-2.72.3/meson.build:1:0: ERROR: Executables created by c compiler arm-openbmc-linux-gnueabi-gcc -march=armv7-a -mfpu=vfpv4-d16 -mfloat-abi=hard -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security --sysroot=/home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/recipe-sysroot are not runnable.
| 
| A full log can be found at /home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/glib-2.0/1_2.72.3-r0/build/meson-logs/meson-log.txt
| ERROR: meson failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/openbmc/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb:do_configure) failed with exit code '1'
ERROR: systemd-1_251.2-r0 do_configure: meson failed
ERROR: systemd-1_251.2-r0 do_configure: ExecutionError('/home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/systemd/1_251.2-r0/temp/run.do_configure.130656', 1, None, None)
ERROR: Logfile of failure stored in: /home/openbmc/build/evb-ast2600/tmp/work/armv7ahf-vfpv4d16-openbmc-linux-gnueabi/systemd/1_251.2-r0/temp/log.do_configure.130656
Log data follows:
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/home/openbmc/meta/recipes-core/base-files/base-files_3.0.14.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-core/base-passwd/base-passwd_3.5.52.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-core/glibc/glibc_2.35.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-core/systemd/systemd-systemctl-native.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-core/util-linux/util-linux_2.38.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-devtools/gcc/gcc-cross_12.1.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-devtools/gcc/gcc-runtime_12.1.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-devtools/opkg-utils/opkg-utils_0.5.0.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-devtools/qemu/qemu-native_7.0.0.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-extended/pam/libpam_1.3.1.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-extended/shadow/shadow-sysroot_4.6.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-extended/shadow/shadow_4.11.1.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-extended/zstd/zstd_1.5.2.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-kernel/kmod/kmod_30.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-support/bash-completion/bash-completion_2.11.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-support/libcap/libcap_2.64.bb:do_populate_sysroot', '/home/openbmc/meta/recipes-support/libseccomp/libseccomp_2.5.4.bb:do_populate_sysroot', 'virtual:native:/home/openbmc/meta/recipes-core/gettext/gettext_0.21.bb:do_populate_sysroot', 'virtual:native:/home/openbmc/meta/recipes-devtools/intltool/intltool_0.51.0.bb:do_populate_sysroot', 'virtual:native:/home/openbmc/meta/recipes-devtools/meson/meson_0.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20220809/0bb33ce7/attachment-0001.htm>


More information about the openbmc mailing list