SwiftGtk: Does not build on Arch Linux
On Arch Linux, trying to run ./build.sh yields the following error:
'CGLib' glib-2.0 gio-unix-2.0.pc: warning: couldn't find pc file
'CCairo' cairo glib-2.0 gio-unix-2.0.pc: warning: couldn't find pc file
fish: “./build.sh” terminated by signal SIGSEGV (Address boundary error)
I believe I have all required packages installed, but what’s puzzling is the address boundary error. 🤔
About this issue
- Original URL
- State: open
- Created 3 years ago
- Comments: 43 (20 by maintainers)
Build the latest SPM from https://github.com/apple/swift-package-manager and use it to build. This is a bug in SPM that I fixed in
mainOK. I suspect you have modified Package.swift for SPM (package swift-package-manager) already. If so, could you share it with me, please?
Edit: nwm - I have just replaced the swift-tools-support-core in the swift-package-manager .build/checkout directory.
Edit 2: When I installed the Manjaro today, I created non-resizable 15GB VM drive… well… now I struggle with lack of space 🤦 … I hate myself 🤣
Try to install https://github.com/Dadoum/swift-tools-support-core (you will need to clone swift-package-manager from Apple, change the url in Package.swift, and copy everything from
./.build/x86_64-unknown-linux-gnu/debug/to /usr/lib/swift/bin/./clean.shthen install swift version 5.3 development (just modify link and name of folder in PKGBUILD)Here is the result of
./build.sh -v:I’m currently trying to build your fork; I’ll let you know the results when it’s done.