Description
Description
I'm writing an experimental package in which I would like to use SwiftLint. Given it's cross-platform, I figured I would use it via SwiftPM. SwiftLint has a binary dependency in its manifest for the case in which it is being run on a Mac, so it can use a pre-compiled version. Whether this is a good idea is a different question, but it puts me in a bad position. I can download the file manually, but SwiftPM hangs for a while and errors.
Expected behavior
My package gets its dependencies and builds.
Actual behavior
Steps to reproduce
- Create a package depending on SwiftLint.
- Attempt to build it on Linux.
Swift Package Manager version/commit hash
Swift Package Manager - Swift 5.10.0-dev
Swift & OS version (output of swift --version ; uname -a
)
Swift version 5.10-dev (LLVM e8e5be8d5b39f46, Swift 99e9db868aefd99)
Target: x86_64-unknown-linux-gnu
(This also occurs on 5.9.2. I switched to 5.10-dev to see if it was fixed.)
Linux J-failbox-AR 6.6.9-1-ck-generic-v3 #1 SMP PREEMPT_DYNAMIC Tue Jan 2 15:26:54 EST 2024 x86_64 GNU/Linux
My distro should be irrelevant to the problem at hand here. I can attempt to recreate on another distro if necessary.