All of lore.kernel.org
 help / color / mirror / Atom feed
From: Roy Zhang <roy.zhang@hj-micro.com>
To: openbmc@lists.ozlabs.org
Subject: OpenBMC compile failed issue(urgency)
Date: Tue, 9 Aug 2022 16:59:30 +0800 (GMT+08:00)	[thread overview]
Message-ID: <ADAAFwAXFL5UmdT63XVClKq8.1.1660035570459.Hmail.roy.zhang@hj-micro.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 13288 bytes --]

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@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.





[-- Attachment #2: Type: text/html, Size: 16311 bytes --]

             reply	other threads:[~2022-08-10  3:00 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-09  8:59 Roy Zhang [this message]
2022-08-10 18:27 ` OpenBMC compile failed issue(urgency) Patrick Williams
2022-08-11  1:01   ` Roy Zhang
2022-08-12 15:58     ` Patrick Williams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ADAAFwAXFL5UmdT63XVClKq8.1.1660035570459.Hmail.roy.zhang@hj-micro.com \
    --to=roy.zhang@hj-micro.com \
    --cc=openbmc@lists.ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.