【环境版本】
bmcsdk:2509
bingo:0.6.51

conan版本:2.19.1
![]()
【当前问题】
在构建多个组件时,包括:sensor、rackmount等组件时会报
[2025-10-07 09:51:32,114 INFO] cli.py:671 >> whoami
root
[2025-10-07 09:51:32,120 INFO] cli.py:357 >> sed -i 's/208\.[0-9]\+\.[0-9]\+/208.9.0/g' /root/.conan2/profiles/profile.ini
[2025-10-07 09:51:32,122 INFO] cli.py:357 >> sed -i 's/208\.[0-9]\+\.[0-9]\+/208.9.0/g' /root/.conan2/profiles/profile.luajit.ini
[2025-10-07 09:51:32,123 INFO] cli.py:357 >> sed -i 's/208\.[0-9]\+\.[0-9]\+/208.9.0/g' /root/.conan2/profiles/profile.dt.ini
[2025-10-07 09:51:32,125 INFO] cli.py:618 conan版本: 2.19.1
[2025-10-07 09:51:32,145 INFO] build.py:143 仓库地址为: https://192.168.13.111/JD_920BS/sensor.git
[2025-10-07 09:51:32,154 INFO] build.py:278 >> conan create --name sensor --version 1.70.79 . -pr:h profile.luajit.ini -pr:b profile.dt.ini -s:a build_type=Debug --user openubmc --channel stable -r artifactory -o */*:enable_luajit=True --build=sensor/* --build=missing -u -f json --out-file=/tmp/tmpt3poq_ih.graph.json -tf=
======== Exporting recipe to the cache ========
sensor/1.70.79@openubmc/stable: Exporting package recipe: /home/workspace/source/sensor/conanfile.py
sensor/1.70.79@openubmc/stable: Calling export()
sensor/1.70.79@openubmc/stable: RUN: git status . --short --no-branch --untracked-files
sensor/1.70.79@openubmc/stable: RUN: git rev-list HEAD -n 1 --full-history -- "."
sensor/1.70.79@openubmc/stable: RUN: git branch -r --contains aa1ff6d7e13d52194530d6a2bc1ffefba23585f6
sensor/1.70.79@openubmc/stable: RUN: git remote
sensor/1.70.79@openubmc/stable: RUN: git remote -v
sensor/1.70.79@openubmc/stable: RUN: git fetch --prune --prune-tags origin
bash: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8)
sensor/1.70.79@openubmc/stable: RUN: git tag --points-at HEAD | grep -m 1 1.70.79
sensor/1.70.79@openubmc/stable: Copied 2 '.py' files: conanfile.py, conanbase.py
sensor/1.70.79@openubmc/stable: Copied 1 '.yml' file: conandata.yml
sensor/1.70.79@openubmc/stable: Exported to cache folder: /root/.conan2/p/sensob6b4221f9880d/e
sensor/1.70.79@openubmc/stable: Exported: sensor/1.70.79@openubmc/stable#685f0a4b41b50aafa19cb83f612d1d6a (2025-10-07 09:51:32 UTC)
======== Input profiles ========
Profile host:
[settings]
arch=armv8
build_type=Debug
compiler=gcc
compiler.libcxx=libstdc++
compiler.version=7.3
os=Linux
[options]
*/*:enable_luajit=True
[conf]
tools.build:sysroot=/opt/RTOS/208.9.0/arm64le_5.10_ek_preempt_pro/sdk
tools.gnu:host_triplet=aarch64-target-linux-gnu
user.tools:luajit=luajit/2.1.0.b015@openubmc/stable
user.tools:skynet=skynet/1.8.0.b001_006@openubmc/stable
[buildenv]
PATH=+(path)/opt/hcc_arm64le/bin
KERNEL_PATH=/opt/RTOS/208.9.0/arm64le_5.10_ek_preempt_pro/sdk/usr/src/kernel/
CONAN_CMAKE_SYSROOT=/opt/RTOS/208.9.0/arm64le_5.10_ek_preempt_pro/sdk
CONAN_CMAKE_FIND_SDK_ROOT=/opt/RTOS/208.9.0/arm64le_5.10_ek_preempt_pro/sdk
CHOST=aarch64-target-linux-gnu
AR=aarch64-target-linux-gnu-ar
AS=aarch64-target-linux-gnu-as
RANLIB=aarch64-target-linux-gnu-ranlib
LD=aarch64-target-linux-gnu-ld
STRIP=aarch64-target-linux-gnu-strip
CC=aarch64-target-linux-gnu-gcc
HOSTCC=gcc
CXX=aarch64-target-linux-gnu-g++
PKG_CONFIG_PATH=/opt/RTOS/208.9.0/arm64le_5.10_ek_preempt_pro/sdk/lib64/pkgconfig:/opt/RTOS/208.9.0/arm64le_5.10_ek_preempt_pro/sdk/usr/lib64/pkgconfig
PKG_CONFIG=/usr/share/bingo/pkg_config.sh
CFLAGS=-Wall -fPIC -fstack-protector-all -Os -fPIE -pie -fno-common -std=gnu11
CXXFLAGS=-I/opt/hcc_arm64le/aarch64-target-linux-gnu/lib/include -Wall -fPIC -fstack-protector-all -Os -fPIE -pie -fno-common -std=c++17
LDFLAGS=-Wl,-z,relro,-z,now,-z,noexecstack
Profile build:
[settings]
arch=x86_64
build_type=Debug
compiler=gcc
compiler.cppstd=gnu14
compiler.libcxx=libstdc++11
compiler.version=9
os=Linux
[conf]
user.tools:luajit=luajit/2.1.0.b015@openubmc/stable
user.tools:skynet=skynet/1.8.0.b001_005@openubmc/stable
[buildenv]
AR=ar
AS=as
RANLIB=ranlib
LD=ld
STRIP=strip
CC=gcc
HOSTCC=gcc
CXX=g++
CFLAGS=-Wall -fPIC -fstack-protector-all -Os -fPIE -pie -fno-common -std=gnu11
CXXFLAGS=-Wall -fPIC -fstack-protector-all -Os -fPIE -pie -fno-common -std=c++17
LDFLAGS=-Wl,-z,relro,-z,now,-z,noexecstack
======== Computing dependency graph ========
sensor/1.70.79@openubmc/stable: Checking remote: artifactory
Connecting to remote 'artifactory' with user 'admin'
skynet/1.8.0.b001_006@openubmc/stable: Checking remote: artifactory
luajit/2.1.0.b015@openubmc/stable: Checking remote: artifactory
Graph root
cli
Requirements
sensor/1.70.79@openubmc/stable#685f0a4b41b50aafa19cb83f612d1d6a - Not in remote
Build requirements
luajit/2.1.0.b015@openubmc/stable#14094f7ffb0da376531db179f4487ec7 - Cache (artifactory)
skynet/1.8.0.b001_006@openubmc/stable#9588dab601a89aba66a7ebc0894a4847 - Cache (artifactory)
======== Computing necessary packages ========
luajit/2.1.0.b015@openubmc/stable: Main binary package '92cb2e68c292129cdb3e1a0560784b61500e3c7d' missing
luajit/2.1.0.b015@openubmc/stable: Checking 9 compatible configurations
luajit/2.1.0.b015@openubmc/stable: '3fa314d715bfcc866bd4340adb7a0a04a31c5889': compiler.cppstd=98
luajit/2.1.0.b015@openubmc/stable: 'bbc8391ca721abb1cf026da6650adbae2555dcb3': compiler.cppstd=gnu98
luajit/2.1.0.b015@openubmc/stable: 'c72a765caf0d34a3696843f501c16eec0cc1cad6': compiler.cppstd=11
luajit/2.1.0.b015@openubmc/stable: 'a4257c4b3b07abc481df028ada3dccfee16eb052': compiler.cppstd=gnu11
luajit/2.1.0.b015@openubmc/stable: '8acbab825dfc1e03bcf4fb8e7a1fcff8457f0e62': compiler.cppstd=14
luajit/2.1.0.b015@openubmc/stable: '347d491f74f3d27ca4d601674268b64af642720b': compiler.cppstd=17
luajit/2.1.0.b015@openubmc/stable: 'a36599f9512de2d328785106ed84f261b1f237fe': compiler.cppstd=gnu17
luajit/2.1.0.b015@openubmc/stable: '0ce4ef76c66967ead8f1ec83ae67e62e80e457a1': compiler.cppstd=20
luajit/2.1.0.b015@openubmc/stable: '71787340e219ca0fdee990098dca3d8ac66e0cc8': compiler.cppstd=gnu20
skynet/1.8.0.b001_006@openubmc/stable: Main binary package '91b4bbe734097f4b47cf715dd67a8079bce582f3' missing
skynet/1.8.0.b001_006@openubmc/stable: Checking 9 compatible configurations
skynet/1.8.0.b001_006@openubmc/stable: '0537546f635bfdf4327ccc285d489792f5729901': compiler.cppstd=98
skynet/1.8.0.b001_006@openubmc/stable: '42a8d13bb6d52bf7e086843c354728aca3dd1e95': compiler.cppstd=gnu98
skynet/1.8.0.b001_006@openubmc/stable: '16c1eee66810029a7732d66090cadef41b5ea4d4': compiler.cppstd=11
skynet/1.8.0.b001_006@openubmc/stable: '52f5cf9ee25e8e25bade3b069add0ec348d7b7bb': compiler.cppstd=gnu11
skynet/1.8.0.b001_006@openubmc/stable: '07730325b42d401906e094773558faaa8643093b': compiler.cppstd=14
skynet/1.8.0.b001_006@openubmc/stable: '5405d76b6a51f3e177e37e6301ec704abcc13825': compiler.cppstd=17
skynet/1.8.0.b001_006@openubmc/stable: '96cce291e62274f49497152af8d2746f415bb3f1': compiler.cppstd=gnu17
skynet/1.8.0.b001_006@openubmc/stable: 'b5c6b9b8e01e8bcdcb3f1fd297bb5e8b6e6371cc': compiler.cppstd=20
skynet/1.8.0.b001_006@openubmc/stable: 'a291869af6fe91d349b2940a9f25307e6aa90687': compiler.cppstd=gnu20
sensor/1.70.79@openubmc/stable: Forced build from source
Requirements
sensor/1.70.79@openubmc/stable#685f0a4b41b50aafa19cb83f612d1d6a:8a9f01e2cb696293d8c85aeb3e2ac5762339db18 - Build
Build requirements
luajit/2.1.0.b015@openubmc/stable#14094f7ffb0da376531db179f4487ec7:92cb2e68c292129cdb3e1a0560784b61500e3c7d - Build
skynet/1.8.0.b001_006@openubmc/stable#9588dab601a89aba66a7ebc0894a4847:91b4bbe734097f4b47cf715dd67a8079bce582f3 - Build
======== Installing packages ========
luajit/2.1.0.b015@openubmc/stable: WARN: Trying to remove corrupted source folder
luajit/2.1.0.b015@openubmc/stable: WARN: This can take a while for big packages
luajit/2.1.0.b015@openubmc/stable: Calling source() in /root/.conan2/p/luaji0c8a6bf1eb34f/s
ERROR: luajit/2.1.0.b015@openubmc/stable: Error in source() method, line 55
git.fetch_commit(
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType
[2025-10-07 09:51:33,072 ERROR] build.py:278 执行命令 conan create --name sensor --version 1.70.79 . -pr:h profile.luajit.ini -pr:b profile.dt.ini -s:a build_type=Debug --user openubmc --channel stable -r artifactory -o */*:enable_luajit=True --build=sensor/* --build=missing -u -f json --out-file=/tmp/tmpt3poq_ih.graph.json -tf= 错误, 日志: /root/.bmcgo_log/bingo.log
[2025-10-07 09:51:33,073 ERROR] cli.py:305 Traceback (most recent call last):
File "/usr/local/lib/python3.12/dist-packages/bmcgo/cli/cli.py", line 284, in run
return method(command_args)
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/bmcgo/cli/cli.py", line 183, in build
build.run()
File "/usr/local/lib/python3.12/dist-packages/bmcgo/component/build.py", line 288, in run
self.run_conan_v2()
File "/usr/local/lib/python3.12/dist-packages/bmcgo/component/build.py", line 278, in run_conan_v2
tool.run_command(cmd, show_log=True)
File "/usr/local/lib/python3.12/dist-packages/bmcgo/utils/tools.py", line 697, in run_command
raise e
File "/usr/local/lib/python3.12/dist-packages/bmcgo/utils/tools.py", line 679, in run_command
ret = subprocess.run(command, check=check, timeout=timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['conan', 'create', '--name', 'sensor', '--version', '1.70.79', '.', '-pr:h', 'profile.luajit.ini', '-pr:b', 'profile.dt.ini', '-s:a', 'build_type=Debug', '--user', 'openubmc', '--channel', 'stable', '-r', 'artifactory', '-o', '*/*:enable_luajit=True', '--build=sensor/*', '--build=missing', '-u', '-f', 'json', '--out-file=/tmp/tmpt3poq_ih.graph.json', '-tf=']' returned non-zero exit status 1.
[2025-10-07 09:51:33,074 ERROR] cli.py:307 Command '['conan', 'create', '--name', 'sensor', '--version', '1.70.79', '.', '-pr:h', 'profile.luajit.ini', '-pr:b', 'profile.dt.ini', '-s:a', 'build_type=Debug', '--user', 'openubmc', '--channel', 'stable', '-r', 'artifactory', '-o', '*/*:enable_luajit=True', '--build=sensor/*', '--build=missing', '-u', '-f', 'json', '--out-file=/tmp/tmpt3poq_ih.graph.json', '-tf=']' returned non-zero exit status 1.
[2025-10-07 09:51:33,074 ERROR] cli.py:308 请查看日志信息
【当前疑问】
根据日志看是因为强制去构建luajit时报的错,这个需要去修改哪方面的内容呢


