The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ZeroMQ with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-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/Evolution-App/ZeroMQ.git
Reference: 1.1.1
Cloned https://github.com/Evolution-App/ZeroMQ.git into spi-builder-workspace
SUCCESS checkout https://github.com/Evolution-App/ZeroMQ.git at 1.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-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/unnamedd/CZeroMQ.git
Fetched https://github.com/unnamedd/CZeroMQ.git (0.21s)
Computing version for https://github.com/unnamedd/CZeroMQ.git
Computed https://github.com/unnamedd/CZeroMQ.git at 1.0.4 (0.32s)
Creating working copy for https://github.com/unnamedd/CZeroMQ.git
Working copy of https://github.com/unnamedd/CZeroMQ.git resolved at 1.0.4
warning: 'czeromq': ignoring declared target(s) 'CZeroMQ' in the system package
warning: 'spi-builder-workspace': dependency 'czeromq' is not used by any target
warning: you may be able to install libzmq using your system-packager:
    apt-get install libzmq3-dev
Building for debugging...
[1/8] Compiling ZeroMQKit Error.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "./zmqinclude.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
#import <zmq.h>
        ^
/host/spi-builder-workspace/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build C module 'CZeroMQ'
import CZeroMQ
       ^
[2/8] Compiling ZeroMQKit Message.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "./zmqinclude.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
#import <zmq.h>
        ^
/host/spi-builder-workspace/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build C module 'CZeroMQ'
import CZeroMQ
       ^
[3/8] Compiling ZeroMQKit Poller.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "./zmqinclude.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
#import <zmq.h>
        ^
/host/spi-builder-workspace/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build C module 'CZeroMQ'
import CZeroMQ
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] Emitting module ZeroMQKit
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "./zmqinclude.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
#import <zmq.h>
        ^
/host/spi-builder-workspace/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build C module 'CZeroMQ'
import CZeroMQ
       ^
[5/8] Compiling ZeroMQKit CURVE.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "./zmqinclude.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
#import <zmq.h>
        ^
/host/spi-builder-workspace/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build C module 'CZeroMQ'
import CZeroMQ
       ^
[6/8] Compiling ZeroMQKit Context.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "./zmqinclude.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
#import <zmq.h>
        ^
/host/spi-builder-workspace/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build C module 'CZeroMQ'
import CZeroMQ
       ^
[7/8] Compiling ZeroMQKit Proxy.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "./zmqinclude.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
#import <zmq.h>
        ^
/host/spi-builder-workspace/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build C module 'CZeroMQ'
import CZeroMQ
       ^
[8/8] Compiling ZeroMQKit Socket.swift
<module-includes>:1:10: note: in file included from <module-includes>:1:
#include "./zmqinclude.h"
         ^
/host/spi-builder-workspace/.build/checkouts/CZeroMQ/./zmqinclude.h:1:9: error: 'zmq.h' file not found
#import <zmq.h>
        ^
/host/spi-builder-workspace/Sources/ZeroMQKit/CURVE.swift:25:8: error: could not build C module 'CZeroMQ'
import CZeroMQ
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2