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

Static SDK 404 errors #823

Open
marcprux opened this issue Oct 1, 2024 · 2 comments
Open

Static SDK 404 errors #823

marcprux opened this issue Oct 1, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@marcprux marcprux added the bug Something isn't working label Oct 1, 2024
@alexandersandberg
Copy link
Member

Thank you for reporting this! You can find the correct links at https://www.swift.org/install/ in the meantime.

@shahmishal are we ready to replace /download/ with /install/ (adding a redirect) yet? If not, what's left?

@finagolfin
Copy link
Contributor

You can find the correct links at https://www.swift.org/install/ in the meantime.

That link doesn't work either for the trunk static SDK.

@al45tair, I've been seeing issues cross-compiling for Android with the official trunk 6.1 toolchain- strangely only from a macOS host, not from a linux host using the same Android SDK and trunk snapshot tag- are you seeing the same with this latest trunk 6.1 static Musl SDK? It was working fine on macOS with the last snapshot tag before the Foundation rewrite was merged from mid-July, seems to have regressed in the last couple months.

Specifically, the mac OSS toolchain can't find the Android overlay module:

/Users/runner/work/swift-android-sdk/swift-android-sdk/sdk-config/swift-DEVELOPMENT-SNAPSHOT-2024-09-25-a/usr/bin/swift-frontend -frontend -c /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/ASN1.swift /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/BER.swift /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Any.swift /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1BitString.swift /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Boolean.swift /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Identifier.swift /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Integer.swift /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Null.swift /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1OctetString.swift /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Strings.swift /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ArraySliceBigint.swift /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/GeneralizedTime.swift /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ObjectIdentifier.swift /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/PEMDocument.swift -primary-file /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/TimeUtilities.swift -primary-file /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/UTCTime.swift -primary-file /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/DER.swift -primary-file /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/checkouts/swift-asn1/Sources/SwiftASN1/Errors.swift -supplementary-output-file-map /var/folders/73/klh957sj02nd7k78vl8ckkcm0000gn/T/TemporaryDirectory.GuPbjC/supplementaryOutputs-4 -target aarch64-unknown-linux-android24 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /Users/runner/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -I /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/aarch64-unknown-linux-android24/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/aarch64-unknown-linux-android24/debug/ModuleCache -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -empty-abi-descriptor -Xcc -working-directory -Xcc /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto -resource-dir /Users/runner/work/swift-android-sdk/swift-android-sdk/sdk-config/swift-trunk-android-aarch64-2024-09-25-24-sdk/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto -Xcc --sysroot -Xcc /Users/runner/Library/Android/sdk/ndk/27.1.12297006/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name SwiftASN1 -in-process-plugin-server-path /Users/runner/work/swift-android-sdk/swift-android-sdk/sdk-config/swift-DEVELOPMENT-SNAPSHOT-2024-09-25-a/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Users/runner/work/swift-android-sdk/swift-android-sdk/sdk-config/swift-DEVELOPMENT-SNAPSHOT-2024-09-25-a/usr/lib/swift/host/plugins -plugin-path /Users/runner/work/swift-android-sdk/swift-android-sdk/sdk-config/swift-DEVELOPMENT-SNAPSHOT-2024-09-25-a/usr/local/lib/swift/host/plugins -sysroot /Users/runner/Library/Android/sdk/ndk/26.3.11579264/toolchains/llvm/prebuilt/darwin-x86_64/sysroot -parse-as-library -o /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/aarch64-unknown-linux-android24/debug/SwiftASN1.build/TimeUtilities.swift.o -o /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/aarch64-unknown-linux-android24/debug/SwiftASN1.build/UTCTime.swift.o -o /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/aarch64-unknown-linux-android24/debug/SwiftASN1.build/DER.swift.o -o /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/aarch64-unknown-linux-android24/debug/SwiftASN1.build/Errors.swift.o -index-store-path /Users/runner/work/swift-android-sdk/swift-android-sdk/swift-crypto/.build/aarch64-unknown-linux-android24/debug/index/store -index-system-modules
<unknown>:0: error: missing required module 'SwiftAndroid'

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

4 participants