The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftNpy with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/qoncept/swift-npy.git
Reference: master
Cloned https://github.com/qoncept/swift-npy.git into spi-builder-workspace
SUCCESS checkout https://github.com/qoncept/swift-npy.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/SwiftZip/SwiftZip.git
[1/782] Fetching swiftzip
Fetched https://github.com/SwiftZip/SwiftZip.git (0.27s)
Computing version for https://github.com/SwiftZip/SwiftZip.git
Computed https://github.com/SwiftZip/SwiftZip.git at 0.0.5 (1.59s)
Creating working copy for https://github.com/SwiftZip/SwiftZip.git
Working copy of https://github.com/SwiftZip/SwiftZip.git resolved at 0.0.5
Building for debugging...
[0/117] Compiling zip_err_str.c
[1/117] Compiling zip_add_entry.c
[2/117] Compiling zip_add.c
[3/117] Compiling zip_add_dir.c
[4/117] Compiling zip_buffer.c
[5/117] Compiling zip_algorithm_deflate.c
/host/spi-builder-workspace/.build/checkouts/SwiftZip/Sources/zip/libzip/lib/zip_algorithm_bzip2.c:36:10: fatal error: 'bzlib.h' file not found
#include <bzlib.h>
         ^~~~~~~~~
1 error generated.
[6/117] Compiling zip_algorithm_bzip2.c
[6/117] Compiling zip_string.c
[6/117] Compiling zip_unchange_archive.c
[6/117] Compiling zip_unchange.c
[6/117] Compiling zip_unchange_all.c
[6/117] Compiling zip_utf-8.c
[6/117] Compiling zip_unchange_data.c
[6/117] Compiling zip_winzip_aes.c
BUILD FAILURE 5.9 linux

Build Machine: Linux 1