Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Instructions #7

Open
mpovel opened this issue Jan 19, 2025 · 3 comments
Open

Build Instructions #7

mpovel opened this issue Jan 19, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@mpovel
Copy link

mpovel commented Jan 19, 2025

Hello,
I am not that used to swift application, maybe you could add a paragraph how to build the application ?
I installed swift 6.0.3 and added it to my PATH and I can execute swift. So I executed the ./Building/Scripts/build-ubuntu-static in the root of BlinkTool checkout and failed with:
SPMBuildScripts/GenerateBundleVersionDotSwift: line 14: SPMBuildScripts/../GHAScripts/BundleVersionFromGit: No such file or directory

So I guess, I did something wrong ;-(

Thanks

Michael

@mpovel
Copy link
Author

mpovel commented Jan 25, 2025

I am running on a Raspberry 5 latest raspbian, unpacked swift-6.0.3-RELEASE-debian12-aarch64.tar.gz
I made some progress and used the script:

#!/usr/bin/env bash
git clone [email protected]:grigorye/BlinkTool.git
cd BlinkTool/Submodules; git clone [email protected]:grigorye/ReusableWorkflows.git;cd ..
PATH=$PATH:~/blink/swift-6.0.3-RELEASE-debian12-aarch64/usr/bin;Building/Scripts/build-ubuntu-static

But it failed while linking
error: link command failed with exit code 1 (use -v to see invocation)
/usr/bin/ld.gold: error: cannot find -lCFURLSessionInterface

@mpovel
Copy link
Author

mpovel commented Jan 25, 2025

The linker failure was fixed by removing the line
-Xlinker -lCFURLSessionInterface
from the
Building/Scripts/build-ubuntu-static

@grigorye
Copy link
Owner

Good, I'll take a look - I didn't build it for Linux for quite some time. I recall doing some tweaks for Swift 5 - probably they're no longer necessary with Swift 6.

@grigorye grigorye added the bug Something isn't working label Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants