Skip to content

fix(linux-static-qt6.yml): Fix linux ci error#304

Closed
ZnPdCo wants to merge 3 commits into
Project-LemonLime:masterfrom
ZnPdCo:fix-linux-ci-error
Closed

fix(linux-static-qt6.yml): Fix linux ci error#304
ZnPdCo wants to merge 3 commits into
Project-LemonLime:masterfrom
ZnPdCo:fix-linux-ci-error

Conversation

@ZnPdCo
Copy link
Copy Markdown
Contributor

@ZnPdCo ZnPdCo commented May 13, 2026

2026-05-12 linux 构建 ci 引用的一个 PPA 更新了一个包:https://launchpad.net/~savoury1/+archive/ubuntu/build-tools/+packages?field.name_filter=freetype&field.status_filter=published&field.series_filter=focal

导致 ci 在下载依赖阶段出现错误。引入这个 PPA 的初衷是安装新的 cmake,所以我们改为手动下载较新的 cmake,而不是引入 PPA 的方式。

同时手动下载了 libbrotli-dev,防止 Qt6Network 找不到。

ZnPdCo added 3 commits May 13, 2026 17:00
The PPA recently added freetype 2.12.1 for focal, which conflicts
with Ubuntu 20.04's libfontconfig1-dev after .
Ubuntu 20.04 ships cmake 3.16.3 which satisfies the project requirement.
Qt 6.9 requires CMake 3.22+ but Ubuntu 20.04 only ships 3.16.3.
Download the official cmake binary to avoid third-party PPA issues.
Static Qt 6.9 was built with brotli support, which requires
libbrotli-dev at configure time. Previously pulled in indirectly
via PPA apt upgrade, now missing in clean Ubuntu 20.04.
@ZnPdCo
Copy link
Copy Markdown
Contributor Author

ZnPdCo commented May 13, 2026

我身边暂时没有 ubuntu 设备,能否帮忙测试一下是否可以正常运行?

@alphagocc
Copy link
Copy Markdown
Member

是这个问题吗?

@ZnPdCo
Copy link
Copy Markdown
Contributor Author

ZnPdCo commented May 13, 2026

是这个问题吗?

我可能不是很确定,但是似乎只有这个包在昨天改了。

@alphagocc alphagocc closed this May 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants