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
Can't get a custom SDK working with glib-2.0
#89
Comments
After some investigation and help from @weissi and @MaxDesiatov: The next problem is that the Setting Manually patching the |
Yes, I found the same. The giveaway was that it was picking up files in |
@t089 Could you please try your test with the latest
Testing the resulting binary:
|
I am trying to build a custom SDK that targets ubuntu on
x86_64
and contains the packageglib-2.0
. My host isarm64-apple-macosx14.0
,(swiftlang-5.10.0.13 clang-1500.3.9.4)
I created a
Dockerfile
which containsglib-2.0
:Then build the image using the target platform
Then build the SDK (using my fix/workaround from #88):
Then I use
swift experimental-sdk install
to install the SDK.Unfortunately, the build fails:
The example repo is up here: https://github.com/t089/swift-glib-test
The generated SDK seems to contain the required lib:
Am I doing something wrong? What could I try to debug this further?
Interestingly, if I run the build inside Docker using the same image as used for building the SDK from above, the build succeeds:
The text was updated successfully, but these errors were encountered: