You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ xmake
note: configure found, try building it or you can run `xmake f --trybuild=` to set buildsystem (pass -y or --confirm=y/n/d to skip confirm)?
please input: y (y/n)
y
checking for platform ... linux
checking for architecture ... x86_64
trap: ERR: bad trap
error: execv(sh ./configure --prefix=/home/zero/work/openfree/spdk-github/build/artifacts) failed(1)
zero@zero-PC:~/work/openfree/spdk-github$ xmake --version
xmake v2.7.1+202209091006, A cross-platform build utility based on Lua
Copyright (C) 2015-present Ruki Wang, tboox.org, xmake.io
手动执行无错:
$ ./configure --prefix=/home/zero/work/openfree/spdk-github/build/artifacts
Using default SPDK env in /home/zero/work/openfree/spdk-github/lib/env_dpdk
Using default DPDK in /home/zero/work/openfree/spdk-github/dpdk/build
Configuring ISA-L (logfile: /home/zero/work/openfree/spdk-github/isa-l/spdk-isal.log)...done.
Creating mk/config.mk...done.
Creating mk/cc.flags.mk...done.
Type 'make' to build.
...
不确定是不是普遍现象,或则和终端有关?
代码中出错应该在 sandbox_os.execv - > os.execv
可以帮助分析分析,谢谢
### 期待的结果
无错误,执行成功。
### 工程配置
_No response_
### 附加信息和错误日志
_No response_
The text was updated successfully, but these errors were encountered:
Xmake 版本
2.7.1
操作系统版本和架构
Deepin 20.7
描述问题
spdk项目中,不存在 xmake.lua 脚本(默认使用Makefile),执行xmake,检测到存在configure,在调用执行时出错,但是在终端下复制要执行的命令则无错。
手动执行无错:
The text was updated successfully, but these errors were encountered: