+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/librdkafka-1.3.0/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/librdkafka-1.3.0/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for librdkafka-1.3.0.tar.gz => Checksum SHA512 OK for librdkafka-1.3.0.tar.gz ===> Installing dependencies for librdkafka-1.3.0 ========================================================================== The following variables will affect the build process of this package, librdkafka-1.3.0. Their current value is shown below: * PYTHON_VERSION_DEFAULT = 310 * SSLBASE (defined) * SSLCERTBUNDLE (not defined) * SSLCERTS = /usr/pkg/etc/openssl/certs * SSLDIR = /usr/pkg/etc/openssl * SSLKEYS = /usr/pkg/etc/openssl/private Based on these variables, the following variables have been set: * PYPACKAGE = python310 You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/usr/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency nbpatch-[0-9]*: found nbpatch-20151107 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.9.5 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency python310>=3.10.0: found python310-3.10.12 => Full dependency lz4>=1.7.3<100: found lz4-1.9.4 => Full dependency zstd>=1.3.6: found zstd-1.5.5 => Full dependency zlib>=1.2.3: found zlib-1.2.13 => Full dependency openssl>=1.1.1pnb1: found openssl-1.1.1u ===> Overriding tools for librdkafka-1.3.0 ===> Extracting for librdkafka-1.3.0 ===> Patching for librdkafka-1.3.0 => Applying pkgsrc patches for librdkafka-1.3.0 => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/librdkafka/patches/patch-Makefile => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/librdkafka/patches/patch-Makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-Makefile,v 1.1 2017/04/24 12:20:37 fhajny Exp $ | |Do not test as part of build. | |--- Makefile.orig 2017-04-12 08:36:34.000000000 +0000 |+++ Makefile -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 16 (offset 4 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/librdkafka/patches/patch-src_rdendian.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/librdkafka/patches/patch-src_rdendian.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_rdendian.h,v 1.2 2017/12/09 16:57:04 fhajny Exp $ | |Add NetBSD support. | |--- src/rdendian.h.orig 2017-12-04 09:29:22.000000000 +0000 |+++ src/rdendian.h -------------------------- Patching file src/rdendian.h using Plan A... Hunk #1 succeeded at 40 (offset 1 line). done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/librdkafka/patches/patch-src_rd.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/librdkafka/patches/patch-src_rd.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_rd.h,v 1.1 2017/04/24 12:20:37 fhajny Exp $ | |Unlock IOV_MAX on NetBSD and other guards. | |--- src/rd.h.orig 2017-04-12 08:36:34.000000000 +0000 |+++ src/rd.h -------------------------- Patching file src/rd.h using Plan A... Hunk #1 succeeded at 45 (offset 5 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/librdkafka/patches/patch-src_rdposix.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/librdkafka/patches/patch-src_rdposix.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_rdposix.h,v 1.1 2017/04/24 12:20:37 fhajny Exp $ | |Add NetBSD support. | |--- src/rdposix.h.orig 2017-04-12 08:36:34.000000000 +0000 |+++ src/rdposix.h -------------------------- Patching file src/rdposix.h using Plan A... Hunk #1 succeeded at 65 (offset 2 lines). done => Verifying /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/librdkafka/patches/patch-src_snappy__compat.h => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/librdkafka/patches/patch-src_snappy__compat.h Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_snappy__compat.h,v 1.2 2019/07/10 01:31:21 minskim Exp $ | |Add NetBSD support. | |--- src/snappy_compat.h.orig 2019-05-28 15:56:28.000000000 +0000 |+++ src/snappy_compat.h -------------------------- Patching file src/snappy_compat.h using Plan A... Hunk #1 succeeded at 33 (offset 30 lines). done ===> Creating toolchain wrappers for librdkafka-1.3.0 ===> Configuring for librdkafka-1.3.0 => Adding run-time search paths to pkg-config files. INFO: [subst.mk:_pkgconfig] Ignoring nonexistent file "src-cpp/rdkafka++-static.pc". INFO: [subst.mk:_pkgconfig] Ignoring nonexistent file "src-cpp/rdkafka++.pc". INFO: [subst.mk:_pkgconfig] Ignoring nonexistent file "src/rdkafka-static.pc". INFO: [subst.mk:_pkgconfig] Ignoring nonexistent file "src/rdkafka.pc". => Checking for portability problems in extracted files checking for OS or distribution... ok (centos) checking for C compiler from CC env... ok checking for C++ compiler from CXX env... ok checking executable ld... ok checking executable nm... ok checking executable objdump... ok checking executable strip... ok checking for pkgconfig (by command)... ok checking for install (by command)... ok checking for PIC (by compile)... ok checking for GNU-compatible linker options... ok checking for GNU linker-script ld flag... ok checking for __atomic_32 (by compile)... failed checking for __atomic_32_lib (by compile)... failed checking for __sync_32 (by compile)... failed (disable) checking for __atomic_64 (by compile)... failed checking for __atomic_64_lib (by compile)... failed checking for __sync_64 (by compile)... failed (disable) checking for socket (by compile)... failed checking for socket_nsl (by compile)... failed (fail) parsing version '0x010300ff'... ok (1.3.0) checking for librt (by pkg-config)... failed checking for librt (by compile)... ok checking for libpthread (by pkg-config)... failed checking for libpthread (by compile)... failed (fail) checking for c11threads (by pkg-config)... failed checking for c11threads (by compile)... failed (disable) checking for libdl (by pkg-config)... failed checking for libdl (by compile)... failed (disable) checking for zlib (by pkg-config)... failed checking for zlib (by compile)... failed (disable) checking for libcrypto (by pkg-config)... failed checking for libcrypto (by compile)... failed (disable) checking for libzstd (by pkg-config)... failed checking for libzstd (by compile)... failed (disable) checking for libm (by pkg-config)... failed checking for libm (by compile)... failed (disable) checking for liblz4 (by pkg-config)... ok checking for rapidjson (by compile)... failed (disable) checking for crc32chw (by compile)... failed (disable) checking for regex (by compile)... failed (disable) checking for strndup (by compile)... failed (disable) checking for strlcpy (by compile)... failed (disable) checking for strerror_r (by compile)... failed (disable) checking for pthread_setname_gnu (by compile)... failed (disable) checking for pthread_setname_darwin (by compile)... failed (disable) checking for nm (by env NM)... ok (cached) checking for python (by command)... ok checking for getrusage (by compile)... failed (disable) ########################################################### ### Configure failed ### ########################################################### ### Accumulated failures: ### ########################################################### socket_nsl () module: socket action: fail reason: compile check failed: CC: CC flags: cc -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.10 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.10 -g -O0 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wall -Werror _mkltmpZScJr2.c -o _mkltmpZScJr2.c.o -lsocket -lnsl -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 : In file included from /usr/include/sys/types.h:25:0, from _mkltmpZScJr2.c:2: /usr/include/features.h:330:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ cc1: all warnings being treated as errors source: #include <sys/types.h> #include <sys/socket.h> #include <unistd.h> void foo (void) { int s = socket(0, 0, 0); close(s); } libpthread () module: self action: fail reason: compile check failed: CC: CC flags: -lpthread cc -pipe -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.10 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/python3.10 -g -O0 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wcast-align -Wall -Werror _mkltmppMWw1K.c -o _mkltmppMWw1K.c.o -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 -lpthread: In file included from /usr/include/pthread.h:21:0, from _mkltmppMWw1K.c:1: /usr/include/features.h:330:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] # warning _FORTIFY_SOURCE requires compiling with optimization (-O) ^ cc1: all warnings being treated as errors source: #include <pthread.h> *** Error code 1 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/librdkafka *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/devel/librdkafka