Replies: 1 comment
Why this happens & How SPI handles system dependenciesThere are two main reasons for the build failure: 1.
|
Why this happens & How SPI handles system dependenciesThere are two main reasons for the build failure: 1.
|
Uh oh!
There was an error while loading. Please reload this page.
I'm the creator of the swift-udev library, and i published it recently to the Swift Package Index.
When SPI tried building the package, it didn't install the "libudev-dev" (Ubuntu) package on the container, resulting in build errors for every platform.
The
Package.swiftfile specifies it as a provider for theCUDevmoduleThe library is for linux-only, so at least the linux build should build properly
Here's the full build log:
https://swiftpackageindex.com/builds/A42A84C2-BA07-4F4C-A645-CFE74A11C183 (linux build)
I found some similar discussions about that same topic (adding system dependencies to the builder), but i didn't find a solution on them
All reactions