Closed lc-soft closed 2 months ago
Bot detected the issue body's language is not English, translate it automatically.
Title: Failed to install cairo 1.18.0 dependent libraries
error: attempt to index a number value (local 'opt')
xmake 本体 bug,使用 dev 分支或下个版本即可。
另外两个错误我也复现不出来
Bot detected the issue body's language is not English, translate it automatically.
error: attempt to index a number value (local 'opt')
For xmake body bugs, just use the dev branch or the next version.
I can't reproduce the other two errors either.
先尝试更新使用 dev xmake update -s dev
如果还有错,贴下 -vD
的完整logs 和 栈
Bot detected the issue body's language is not English, translate it automatically.
First try to update using dev
xmake update -s dev
If there are still errors, please post the complete logs and stack of -vD
Bot detected the issue body's language is not English, translate it automatically.
一样的报错,xmake dev 已经修复了
Bot detected the issue body's language is not English, translate it automatically.
Same error, xmake dev has fixed it
问题已解决。
之前尝试添加 xmake update -s dev
命令没有效果,实际仍然用的 2.9.4 版本,现在改 github-action-setup-xmake 的配置可正确指定版本。
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: branch@dev
Xmake 版本
2.9.4
操作系统版本和架构
Microsoft Windows Server 2022 10.0.20348
描述问题
在 GitHub Actions 的 windows 系统中安装 cairo 库会失败
期待的结果
cairo 依赖库安装成功
工程配置
https://github.com/lc-soft/test-xmake-install-cairo
附加信息和错误日志
详见:https://github.com/lc-soft/test-xmake-install-cairo/actions/runs/10815705008/job/30005218475