Open marcprux opened 1 month ago
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?
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'
The following URLs linked to from https://www.swift.org/download/ all result in 404 errors:
https://download.swift.org/swift-6.0.1-release/staticsdk/swift-6.0.1-RELEASE/swift-6.0.1-RELEASE-staticsdk.tar.gz https://download.swift.org/swift-6.0.1-release/staticsdk/swift-6.0.1-RELEASE/swift-6.0.1-RELEASE-staticsdk.tar.gz.sig https://download.swift.org/swift-6.0.1-release/staticsdk-arm64/swift-6.0.1-RELEASE/swift-6.0.1-RELEASE-staticsdk-arm64.tar.gz https://download.swift.org/swift-6.0.1-release/staticsdk-arm64/swift-6.0.1-RELEASE/swift-6.0.1-RELEASE-staticsdk-arm64.tar.gz.sig
https://download.swift.org/swift-6.0-release/staticsdk/swift-6.0-RELEASE/swift-6.0-RELEASE-staticsdk.tar.gz https://download.swift.org/swift-6.0-release/staticsdk/swift-6.0-RELEASE/swift-6.0-RELEASE-staticsdk.tar.gz.sig https://download.swift.org/swift-6.0-release/staticsdk-arm64/swift-6.0-RELEASE/swift-6.0-RELEASE-staticsdk-arm64.tar.gz https://download.swift.org/swift-6.0-release/staticsdk-arm64/swift-6.0-RELEASE/swift-6.0-RELEASE-staticsdk-arm64.tar.gz.sig