Build Information
Failed to build swift-kafka-client, reference 1.0.0-alpha.9 (434af1
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 23:27:05 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-kafka-client.git
Reference: 1.0.0-alpha.9
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-server/swift-kafka-client
* tag 1.0.0-alpha.9 -> FETCH_HEAD
HEAD is now at 434af11 Use `openssl@3` when building on macOS (#193)
Submodule path 'Sources/Crdkafka/librdkafka': checked out 'b4c608570f796c18ff2211a7af876046d264d392'
Submodule 'Sources/Crdkafka/librdkafka' (https://github.com/confluentinc/librdkafka) registered for path 'Sources/Crdkafka/librdkafka'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka'...
Cloned https://github.com/swift-server/swift-kafka-client.git
Revision (git rev-parse @):
434af114fda74d87e344980917d196f957dab1ec
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-kafka-client.git at 1.0.0-alpha.9
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/swift-server/swift-kafka-client.git
https://github.com/swift-server/swift-kafka-client.git
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.55.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-service-lifecycle",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-service-lifecycle.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "2.4.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics"
},
{
"identity" : "zstd",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/facebook/zstd.git"
}
],
"manifest_display_name" : "swift-kafka-client",
"name" : "swift-kafka-client",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "16.0"
}
],
"products" : [
{
"name" : "Kafka",
"targets" : [
"Kafka"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "KafkaFoundationCompat",
"targets" : [
"KafkaFoundationCompat"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KafkaTests",
"module_type" : "SwiftTarget",
"name" : "KafkaTests",
"path" : "Tests/KafkaTests",
"product_dependencies" : [
"MetricsTestKit"
],
"sources" : [
"KafkaConsumerTests.swift",
"KafkaProducerTests.swift",
"Utilities.swift"
],
"target_dependencies" : [
"Kafka"
],
"type" : "test"
},
{
"c99name" : "KafkaFoundationCompat",
"module_type" : "SwiftTarget",
"name" : "KafkaFoundationCompat",
"path" : "Sources/KafkaFoundationCompat",
"product_memberships" : [
"KafkaFoundationCompat"
],
"sources" : [
"Data+KafkaContiguousBytes.swift"
],
"target_dependencies" : [
"Kafka"
],
"type" : "library"
},
{
"c99name" : "Kafka",
"module_type" : "SwiftTarget",
"name" : "Kafka",
"path" : "Sources/Kafka",
"product_dependencies" : [
"NIOCore",
"ServiceLifecycle",
"Logging",
"Metrics"
],
"product_memberships" : [
"Kafka",
"KafkaFoundationCompat"
],
"sources" : [
"Configuration/KafkaConfiguration+Metrics.swift",
"Configuration/KafkaConfiguration+Security.swift",
"Configuration/KafkaConfiguration.swift",
"Configuration/KafkaConsumerConfiguration.swift",
"Configuration/KafkaProducerConfiguration.swift",
"Configuration/KafkaTopicConfiguration.swift",
"Data/Array+KafkaContiguousBytes.swift",
"Data/ByteBuffer+KafkaContiguousBytes.swift",
"Data/KafkaContiguousBytes.swift",
"Data/Never+KafkaContiguousBytes.swift",
"Data/String+KafkaContiguousBytes.swift",
"ForTesting/RDKafkaClient+Topic.swift",
"ForTesting/TestMessages.swift",
"KafkaAcknowledgedMessage.swift",
"KafkaConsumer.swift",
"KafkaConsumerEvent.swift",
"KafkaConsumerMessage.swift",
"KafkaDeliveryReport.swift",
"KafkaError.swift",
"KafkaHeader.swift",
"KafkaOffset.swift",
"KafkaPartition.swift",
"KafkaProducer.swift",
"KafkaProducerEvent.swift",
"KafkaProducerMessage.swift",
"KafkaProducerMessageID.swift",
"RDKafka/RDKafkaClient.swift",
"RDKafka/RDKafkaConfig.swift",
"RDKafka/RDKafkaEvent.swift",
"RDKafka/RDKafkaStatistics.swift",
"RDKafka/RDKafkaTopicConfig.swift",
"RDKafka/RDKafkaTopicHandles.swift",
"RDKafka/RDKafkaTopicPartitionList.swift",
"Utilities/DispatchQueueTaskExecutor.swift",
"Utilities/Duration+Helpers.swift",
"Utilities/NIOAsyncSequenceBackPressureStrategies+NoBackPressure.swift",
"Utilities/SendableOpaquePointer.swift"
],
"target_dependencies" : [
"Crdkafka"
],
"type" : "library"
},
{
"c99name" : "IntegrationTests",
"module_type" : "SwiftTarget",
"name" : "IntegrationTests",
"path" : "Tests/IntegrationTests",
"sources" : [
"KafkaTests.swift",
"Utilities.swift"
],
"target_dependencies" : [
"Kafka"
],
"type" : "test"
},
{
"c99name" : "Crdkafka",
"module_type" : "ClangTarget",
"name" : "Crdkafka",
"path" : "Sources/Crdkafka",
"product_dependencies" : [
"libzstd"
],
"product_memberships" : [
"Kafka",
"KafkaFoundationCompat"
],
"sources" : [
"librdkafka/src/cJSON.c",
"librdkafka/src/crc32c.c",
"librdkafka/src/lz4.c",
"librdkafka/src/lz4frame.c",
"librdkafka/src/lz4hc.c",
"librdkafka/src/nanopb/pb_common.c",
"librdkafka/src/nanopb/pb_decode.c",
"librdkafka/src/nanopb/pb_encode.c",
"librdkafka/src/opentelemetry/common.pb.c",
"librdkafka/src/opentelemetry/metrics.pb.c",
"librdkafka/src/opentelemetry/resource.pb.c",
"librdkafka/src/rdaddr.c",
"librdkafka/src/rdavl.c",
"librdkafka/src/rdbase64.c",
"librdkafka/src/rdbuf.c",
"librdkafka/src/rdcrc32.c",
"librdkafka/src/rddl.c",
"librdkafka/src/rdfnv1a.c",
"librdkafka/src/rdgz.c",
"librdkafka/src/rdhdrhistogram.c",
"librdkafka/src/rdkafka.c",
"librdkafka/src/rdkafka_admin.c",
"librdkafka/src/rdkafka_assignment.c",
"librdkafka/src/rdkafka_assignor.c",
"librdkafka/src/rdkafka_aux.c",
"librdkafka/src/rdkafka_background.c",
"librdkafka/src/rdkafka_broker.c",
"librdkafka/src/rdkafka_buf.c",
"librdkafka/src/rdkafka_cert.c",
"librdkafka/src/rdkafka_cgrp.c",
"librdkafka/src/rdkafka_conf.c",
"librdkafka/src/rdkafka_coord.c",
"librdkafka/src/rdkafka_error.c",
"librdkafka/src/rdkafka_event.c",
"librdkafka/src/rdkafka_feature.c",
"librdkafka/src/rdkafka_fetcher.c",
"librdkafka/src/rdkafka_header.c",
"librdkafka/src/rdkafka_idempotence.c",
"librdkafka/src/rdkafka_interceptor.c",
"librdkafka/src/rdkafka_lz4.c",
"librdkafka/src/rdkafka_metadata.c",
"librdkafka/src/rdkafka_metadata_cache.c",
"librdkafka/src/rdkafka_mock.c",
"librdkafka/src/rdkafka_mock_cgrp.c",
"librdkafka/src/rdkafka_mock_handlers.c",
"librdkafka/src/rdkafka_msg.c",
"librdkafka/src/rdkafka_msgset_reader.c",
"librdkafka/src/rdkafka_msgset_writer.c",
"librdkafka/src/rdkafka_offset.c",
"librdkafka/src/rdkafka_op.c",
"librdkafka/src/rdkafka_partition.c",
"librdkafka/src/rdkafka_pattern.c",
"librdkafka/src/rdkafka_plugin.c",
"librdkafka/src/rdkafka_queue.c",
"librdkafka/src/rdkafka_range_assignor.c",
"librdkafka/src/rdkafka_request.c",
"librdkafka/src/rdkafka_roundrobin_assignor.c",
"librdkafka/src/rdkafka_sasl.c",
"librdkafka/src/rdkafka_sasl_cyrus.c",
"librdkafka/src/rdkafka_sasl_plain.c",
"librdkafka/src/rdkafka_sasl_scram.c",
"librdkafka/src/rdkafka_ssl.c",
"librdkafka/src/rdkafka_sticky_assignor.c",
"librdkafka/src/rdkafka_subscription.c",
"librdkafka/src/rdkafka_telemetry.c",
"librdkafka/src/rdkafka_telemetry_decode.c",
"librdkafka/src/rdkafka_telemetry_encode.c",
"librdkafka/src/rdkafka_timer.c",
"librdkafka/src/rdkafka_topic.c",
"librdkafka/src/rdkafka_transport.c",
"librdkafka/src/rdkafka_txnmgr.c",
"librdkafka/src/rdkafka_zstd.c",
"librdkafka/src/rdlist.c",
"librdkafka/src/rdlog.c",
"librdkafka/src/rdmap.c",
"librdkafka/src/rdmurmur2.c",
"librdkafka/src/rdports.c",
"librdkafka/src/rdrand.c",
"librdkafka/src/rdregex.c",
"librdkafka/src/rdstring.c",
"librdkafka/src/rdunittest.c",
"librdkafka/src/rdvarint.c",
"librdkafka/src/rdxxhash.c",
"librdkafka/src/regexp.c",
"librdkafka/src/snappy.c",
"librdkafka/src/tinycthread.c",
"librdkafka/src/tinycthread_extra.c"
],
"target_dependencies" : [
"COpenSSL"
],
"type" : "library"
},
{
"c99name" : "COpenSSL",
"module_type" : "SystemLibraryTarget",
"name" : "COpenSSL",
"path" : "Sources/COpenSSL",
"product_memberships" : [
"Kafka",
"KafkaFoundationCompat"
],
"sources" : [
],
"type" : "system-target"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/114] Compiling pb_common.c
[1/114] Compiling metrics.pb.c
[2/114] Write sources
[4/114] Compiling pb_encode.c
[5/114] Write sources
[16/114] Compiling pb_decode.c
[17/114] Compiling lz4frame.c
[18/114] Compiling lz4hc.c
[19/114] Compiling _AtomicsShims.c
[20/114] Write swift-version-2F0A5646E1D333AE.txt
[21/114] Compiling rdxxhash.c
[22/114] Compiling lz4.c
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdbase64.c:32:10: fatal error: 'openssl/ssl.h' file not found
32 | #include <openssl/ssl.h>
| ^~~~~~~~~~~~~~~
1 error generated.
[23/120] Compiling rdbase64.c
[23/120] Compiling regexp.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy.c:61:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy_compat.h:31:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:34:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
[23/120] Compiling snappy.c
[23/120] Compiling tinycthread.c
[23/120] Compiling rdbuf.c
[23/120] Compiling rdvarint.c
[23/120] Compiling tinycthread_extra.c
[23/120] Compiling rdcrc32.c
[24/120] Emitting module _NIOBase64
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/apple/swift-metrics from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-log.git from cache
[1/2394] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.95s)
[1/81714] Fetching zstd
Fetched https://github.com/facebook/zstd.git from cache (3.40s)
Fetched https://github.com/apple/swift-log.git from cache (3.40s)
Fetched https://github.com/apple/swift-nio.git from cache (3.41s)
Fetched https://github.com/apple/swift-metrics from cache (3.42s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (4.46s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.7.0 (0.49s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.7.0 (0.48s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/4965] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.92s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (1.47s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.38s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.46s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.1 (0.70s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.41s)
Fetched https://github.com/apple/swift-system.git from cache (0.64s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.15s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.47s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.7.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.7.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/facebook/zstd.git
Working copy of https://github.com/facebook/zstd.git resolved at 1.5.7
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install openssl using your system-packager:
brew install openssl@3
warning: you may be able to install openssl using your system-packager:
brew install openssl@3
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/91] Write sources
[2/92] Compiling CNIOWindows WSAStartup.c
[2/92] Compiling CNIOWindows shim.c
[4/92] Compiling tinycthread_extra.c
[5/92] Compiling tinycthread.c
[6/92] Compiling CNIOWASI CNIOWASI.c
[7/92] Compiling regexp.c
[8/92] Compiling rdvarint.c
[9/92] Compiling rdregex.c
[10/92] Compiling rdstring.c
[11/92] Compiling rdports.c
[12/92] Compiling rdrand.c
[13/92] Compiling rdmurmur2.c
[14/92] Compiling rdmap.c
[15/92] Write swift-version-2F0A5646E1D333AE.txt
[16/92] Compiling rdlist.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy.c:61:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy_compat.h:31:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:34:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy.c:61:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy_compat.h:31:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:56:10: fatal error: 'openssl/ssl.h' file not found
56 | #include <openssl/ssl.h>
| ^~~~~~~~~~~~~~~
1 warning and 1 error generated.
[17/92] Compiling snappy.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_transport.c:37:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:34:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_transport.c:37:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:56:10: fatal error: 'openssl/ssl.h' file not found
56 | #include <openssl/ssl.h>
| ^~~~~~~~~~~~~~~
[17/92] Compiling rdkafka_transport.c
[17/92] Compiling rdkafka_timer.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_txnmgr.c:37:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:34:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_txnmgr.c:37:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:56:10: fatal error: 'openssl/ssl.h' file not found
56 | #include <openssl/ssl.h>
| ^~~~~~~~~~~~~~~
[17/92] Compiling rdkafka_txnmgr.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_zstd.c:29:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:34:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_zstd.c:29:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:56:10: fatal error: 'openssl/ssl.h' file not found
56 | #include <openssl/ssl.h>
| ^~~~~~~~~~~~~~~
[17/92] Compiling rdkafka_zstd.c
[17/92] Compiling rdkafka_telemetry_encode.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdlog.c:29:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:34:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdlog.c:29:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:56:10: fatal error: 'openssl/ssl.h' file not found
56 | #include <openssl/ssl.h>
| ^~~~~~~~~~~~~~~
[17/92] Compiling rdlog.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdunittest.c:45:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:34:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdunittest.c:45:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:56:10: fatal error: 'openssl/ssl.h' file not found
56 | #include <openssl/ssl.h>
| ^~~~~~~~~~~~~~~
[17/92] Compiling rdunittest.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_topic.c:31:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:34:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
[17/92] Compiling rdkafka_topic.c
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install openssl using your system-packager:
brew install openssl@3
warning: you may be able to install openssl using your system-packager:
brew install openssl@3
BUILD FAILURE 6.1 macosSpm