manifest和bmc_sdk都是25.12版本
编译命令:bingo build
环境:docker环境,ubuntu24.04
-------- Installing package devmon/1.2.2@openubmc/stable (69 of 117) --------
devmon/1.2.2@openubmc/stable: Building from source
devmon/1.2.2@openubmc/stable: Package devmon/1.2.2@openubmc/stable:a143ad1d4bf10ceb0c25ea5e36b9f7f2dc0a9f77
devmon/1.2.2@openubmc/stable: Copying sources to build folder
devmon/1.2.2@openubmc/stable: Building your package in /root/.conan2/p/b/devmodd342c35c7a7b/b
devmon/1.2.2@openubmc/stable: Writing generators to /root/.conan2/p/b/devmodd342c35c7a7b/b
devmon/1.2.2@openubmc/stable: Generator ‘CMakeDeps’ calling ‘generate()’
devmon/1.2.2@openubmc/stable: Generator ‘VirtualBuildEnv’ calling ‘generate()’
devmon/1.2.2@openubmc/stable: Generator ‘PkgConfigDeps’ calling ‘generate()’
devmon/1.2.2@openubmc/stable: Calling generate()
devmon/1.2.2@openubmc/stable: Generators folder: /root/.conan2/p/b/devmodd342c35c7a7b/b
devmon/1.2.2@openubmc/stable: MesonToolchain generated: conan_meson_cross.ini
devmon/1.2.2@openubmc/stable: Generating aggregated env files
devmon/1.2.2@openubmc/stable: Generated aggregated env files: [‘conanbuild.sh’, ‘conanrun.sh’]
devmon/1.2.2@openubmc/stable: Calling build()
devmon/1.2.2@openubmc/stable: Meson configure cmd: meson setup --cross-file “/root/.conan2/p/b/devmodd342c35c7a7b/b/conan_meson_cross.ini” “/root/.conan2/p/b/devmodd342c35c7a7b/b/build” “/root/.conan2/p/b/devmodd342c35c7a7b/b” --prefix=/
devmon/1.2.2@openubmc/stable: RUN: meson setup --cross-file “/root/.conan2/p/b/devmodd342c35c7a7b/b/conan_meson_cross.ini” “/root/.conan2/p/b/devmodd342c35c7a7b/b/build” “/root/.conan2/p/b/devmodd342c35c7a7b/b” --prefix=/
The Meson build system
Version: 1.7.0
Source dir: /root/.conan2/p/b/devmodd342c35c7a7b/b
Build dir: /root/.conan2/p/b/devmodd342c35c7a7b/b/build
Build type: cross build
Project name: devmon
Project version: 0.1.0
C++ compiler for the host machine: aarch64-target-linux-gnu-g++ (gcc 7.3.0 “aarch64-target-linux-gnu-g++ (BiSheng Embedded CPU 303.1.0.B010) 7.3.0”)
C++ linker for the host machine: aarch64-target-linux-gnu-g++ ld.bfd 2.41
C++ compiler for the build machine: c++ (gcc 9.5.0 “c++ (Ubuntu 9.5.0-6ubuntu2) 9.5.0”)
C++ linker for the build machine: c++ ld.bfd 2.42
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: aarch64
Host machine cpu: armv8
Target machine cpu family: aarch64
Target machine cpu: armv8
../meson.build:13: WARNING: Consider using the built-in warning_level option instead of using “-Wall”.
../meson.build:13: WARNING: Consider using the built-in warning_level option instead of using “-Wextra”.
Configuring devmon_config.h using configuration
WARNING: We thought we found pkg-config ‘/usr/share/bingo/pkg_config.sh’ but now it’s not there. How odd!
Found pkg-config: NO
Run-time dependency libmcpp found: NO (tried pkgconfig)
Not looking for a fallback subproject for the dependency libmcpp because:
Use of fallback dependencies is disabled.
../meson.build:96:16: ERROR: Dependency ‘libmcpp’ is required but not found.
A full log can be found at /root/.conan2/p/b/devmodd342c35c7a7b/b/build/meson-logs/meson-log.txt
devmon/1.2.2@openubmc/stable: ERROR:
Package ‘a143ad1d4bf10ceb0c25ea5e36b9f7f2dc0a9f77’ build failed
devmon/1.2.2@openubmc/stable: WARN: Build folder /root/.conan2/p/b/devmodd342c35c7a7b/b/build
ERROR: devmon/1.2.2@openubmc/stable: Error in build() method, line 59
meson.configure()
ConanException: Error 1 while executing
ERROR: 执行命令 conan create . -pr=profile.luajit.ini -pr:b profile.dt.ini -s:h build_type=Debug -o :module_symvers=ca7d466b391e7ba1e7f5576666e3fec47f8c3d90d6010c4d53704c14a5147f0f -o firmware_mgmt/:community_enable=True -o vpd/:board_name=openUBMC -o fructrl/:manufacture=True -o chassis/:manufacture=True -o webui/:energy_enabled=False -o webui/:webvnc_enabled=True -o help/:board_name=openUBMC -o remote_console/:webvnc_supported=True -o nsm/:webvnc_supported=True -o bmc_time/*:manufacture=True -o /:enable_luajit=True --user=openubmc --channel=stable --build=missing 错误, 日志: /home/workspace/manifest/temp/log/task.log
root@f8e2786cc35e:/home/workspace/manifest# cat /root/.conan2/p/b/devmodd342c35c7a7b/b/build/meson-logs/meson-log.txt
Build started at 2026-01-28T11:20:53.478793
Main binary: /usr/bin/python3
Build Options: -Dprefix=/ --cross-file=/root/.conan2/p/b/devmodd342c35c7a7b/b/conan_meson_cross.ini
Python system: Linux
The Meson build system
Version: 1.7.0
Source dir: /root/.conan2/p/b/devmodd342c35c7a7b/b
Build dir: /root/.conan2/p/b/devmodd342c35c7a7b/b/build
Build type: cross build
Project name: devmon
Project version: 0.1.0
Detecting compiler via: aarch64-target-linux-gnu-g++ --version → 0
stdout:
aarch64-target-linux-gnu-g++ (BiSheng Embedded CPU 303.1.0.B010) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Running command: -cpp -x c++ -E -dM -
pre-processor extraction using -cpp -x c++ failed, falling back w/o lang
Running command: -E -dM -
Detecting linker via: aarch64-target-linux-gnu-g++ -Wl,--version -Wl,-z,relro,-z,now,-z,noexecstack --sysroot=/opt/RTOS/208.10.0/arm64le_5.10_ek_preempt_pro/sdk -lstdc++fs → 0
stdout:
GNU ld (BiSheng Embedded CPU 303.1.0.B010) 2.41
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
stderr:
collect2 version 7.3.0
/opt/hcc_arm64le/bin/../lib64/gcc/aarch64-target-linux-gnu/7.3.0/../../../../aarch64-target-linux-gnu/bin/ld -plugin /opt/hcc_arm64le/bin/../libexec/gcc/aarch64-target-linux-gnu/7.3.0/liblto_plugin.so -plugin-opt=/opt/hcc_arm64le/bin/../libexec/gcc/aarch64-target-linux-gnu/7.3.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cc3VuX2Y.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --sysroot=/opt/RTOS/208.10.0/arm64le_5.10_ek_preempt_pro/sdk --eh-frame-hdr -dynamic-linker /lib64/ld-linux-aarch64.so.1 -X -EL -maarch64linux -pie /opt/RTOS/208.10.0/arm64le_5.10_ek_preempt_pro/sdk/usr/lib64/../lib64/Scrt1.o /opt/RTOS/208.10.0/arm64le_5.10_ek_preempt_pro/sdk/usr/lib64/../lib64/crti.o /opt/hcc_arm64le/bin/../lib64/gcc/aarch64-target-linux-gnu/7.3.0/crtbeginS.o -L/opt/hcc_arm64le/bin/../lib64/gcc/aarch64-target-linux-gnu/7.3.0 -L/opt/hcc_arm64le/bin/../lib64/gcc -L/opt/hcc_arm64le/bin/../lib64/gcc/aarch64-target-linux-gnu/7.3.0/../../../../aarch64-target-linux-gnu/lib/../lib64 -L/opt/RTOS/208.10.0/arm64le_5.10_ek_preempt_pro/sdk/lib/../lib64 -L/opt/RTOS/208.10.0/arm64le_5.10_ek_preempt_pro/sdk/usr/lib64/../lib64 -L/opt/hcc_arm64le/bin/../lib64/gcc/aarch64-target-linux-gnu/7.3.0/../../../../aarch64-target-linux-gnu/lib -L/opt/RTOS/208.10.0/arm64le_5.10_ek_preempt_pro/sdk/lib -L/opt/RTOS/208.10.0/arm64le_5.10_ek_preempt_pro/sdk/usr/lib64 --version -z relro -z now -z noexecstack -lstdc++fs -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /opt/hcc_arm64le/bin/../lib64/gcc/aarch64-target-linux-gnu/7.3.0/crtendS.o /opt/RTOS/208.10.0/arm64le_5.10_ek_preempt_pro/sdk/usr/lib64/../lib64/crtn.o
Sanity testing C++ compiler: aarch64-target-linux-gnu-g++
Is cross compiler: True.
Sanity check compiler command line: aarch64-target-linux-gnu-g++ sanitycheckcpp.cc -o sanitycheckcpp_cross.exe -I/opt/hcc_arm64le/aarch64-target-linux-gnu/lib/include -Wall -fPIC -fstack-protector-all -Os -fPIE -pie -fno-common -std=c++17 --sysroot=/opt/RTOS/208.10.0/arm64le_5.10_ek_preempt_pro/sdk -Wno-unused-variable -Wno-unused-parameter -Wno-sign-compare -fpermissive -Wno-pedantic -fno-strict-aliasing -Wno-deprecated-copy -Os -D_GLIBCXX_USE_CXX11_ABI=0 -D_FILE_OFFSET_BITS=64 -c
Sanity check compile stdout:
Sanity check compile stderr:
C++ compiler for the host machine: aarch64-target-linux-gnu-g++ (gcc 7.3.0 “aarch64-target-linux-gnu-g++ (BiSheng Embedded CPU 303.1.0.B010) 7.3.0”)
C++ linker for the host machine: aarch64-target-linux-gnu-g++ ld.bfd 2.41
Detecting archiver via: aarch64-target-linux-gnu-ar --version → 0
stdout:
GNU ar (BiSheng Embedded CPU 303.1.0.B010) 2.41
Copyright (C) 2023 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
Detecting compiler via: c++ --version → 0
stdout:
c++ (Ubuntu 9.5.0-6ubuntu2) 9.5.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Running command: -cpp -x c++ -E -dM -
Detecting linker via: c++ -Wl,--version → 0
stdout:
GNU ld (GNU Binutils for Ubuntu) 2.42
Copyright (C) 2024 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
stderr:
collect2 version 9.5.0
/usr/bin/ld -plugin /usr/lib/gcc/x86_64-linux-gnu/9/liblto_plugin.so -plugin-opt=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper -plugin-opt=-fresolution=/tmp/cc8AFqMo.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --eh-frame-hdr -m elf_x86_64 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie -z now -z relro /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/Scrt1.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/9/crtbeginS.o -L/usr/lib/gcc/x86_64-linux-gnu/9 -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/9/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/9/../../.. --version -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/9/crtendS.o /usr/lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/crtn.o
Sanity testing C++ compiler: c++
Is cross compiler: False.
Sanity check compiler command line: c++ sanitycheckcpp.cc -o sanitycheckcpp.exe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:
Sanity check compile stderr:
Running test binary command: /root/.conan2/p/b/devmodd342c35c7a7b/b/build/meson-private/sanitycheckcpp.exe
C++ compiler for the build machine: c++ (gcc 9.5.0 “c++ (Ubuntu 9.5.0-6ubuntu2) 9.5.0”)
C++ linker for the build machine: c++ ld.bfd 2.42
Detecting archiver via: gcc-ar --version → 0
stdout:
GNU ar (GNU Binutils for Ubuntu) 2.42
Copyright (C) 2024 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: aarch64
Host machine cpu: armv8
Target machine cpu family: aarch64
Target machine cpu: armv8
../meson.build:13: WARNING: Consider using the built-in warning_level option instead of using “-Wall”.
../meson.build:13: WARNING: Consider using the built-in warning_level option instead of using “-Wextra”.
Configuring devmon_config.h using configuration
Pkg-config binary for host machine specified from cross file, native file, or env var as [‘/usr/share/bingo/pkg_config.sh’]
WARNING: We thought we found pkg-config ‘/usr/share/bingo/pkg_config.sh’ but now it’s not there. How odd!
Found pkg-config: NO
Pkg-config for machine host machine not found. Giving up.
Run-time dependency libmcpp found: NO (tried pkgconfig)
Not looking for a fallback subproject for the dependency libmcpp because:
Use of fallback dependencies is disabled.
../meson.build:96:16: ERROR: Dependency ‘libmcpp’ is required but not found.