build(linux): avoid network for appstream cli & add missing deps#5363
build(linux): avoid network for appstream cli & add missing deps#5363HurricanePootis wants to merge 1 commit into
Conversation
These are transient errors. I'd rather not disable network altogether. |
|
These "transient errors" cause |
|
We test it in CI on every PR run. It does fail sometimes, but not very often. |
|
I just enabled Cloudflare WARP on my system and was able to build this project without my commit: Thus, proving cloudflare is blocking certain networks from running appstream cli properly. Since this PKGBUILD is also hosted on the AUR and other places, I think it would be best just to disable the network all together. Or, at least have a way to check to see if cloudflare is blocking the site on someone's PC. |
|
Can you add the new argument when |
Done! |
|
Bundle ReportBundle size has no change ✅ |
|
Are we not using namcap correctly here? Sunshine/.github/workflows/ci-archlinux.yml Line 133 in 3437a0b |



Description
As of right now, the PKGBUILD fails to build on Arch Linux due to AppStream throwing warnings when validating a file. Therefore, I have created a pull request to add
--no-nettoappstreamcli validate. Furthermore, when checking the ensuing package withnamcap(a tool used by Arch maintainers), the package was missinggtk3,hicolor-icon-theme, andlibayatana-appindicator. This is with building sunshine against the latest pre-release (2026.619.155209).I believe appstream fails to validate due to these pages being behind Cloudflare, but that's just my guess.
Here is CLI output of the build failing without this commit:
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage