=> Bootstrap dependency digest>=20010302: found digest-20160304 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. => Checksum SHA1 OK for librdkafka-0.9.5.tar.gz => Checksum RMD160 OK for librdkafka-0.9.5.tar.gz => Checksum SHA512 OK for librdkafka-0.9.5.tar.gz ===> Installing dependencies for librdkafka-0.9.5 ========================================================================== The following variables will affect the build process of this package, librdkafka-0.9.5. Their current value is shown below: * SSLBASE = /usr * SSLCERTS = /etc/openssl/certs * SSLDIR = /etc/openssl * SSLKEYS = /etc/openssl/private You may want to abort the process now with CTRL-C and change their value before continuing. Be sure to run `/usr/bin/make clean' after the changes. ========================================================================== => Tool dependency bash-[0-9]*: found bash-4.4.012 => Tool dependency gmake>=3.81: found gmake-4.1nb3 => Tool dependency pkgconf-[0-9]*: found pkgconf-1.0.1 => Tool dependency checkperms>=1.1: found checkperms-1.11nb1 => Build dependency cwrappers>=20150314: found cwrappers-20170112 => Full dependency lz4>=1.7.3<100: found lz4-1.7.5 => Full dependency lz4>=1.7.3: found lz4-1.7.5 ===> Overriding tools for librdkafka-0.9.5 ===> Extracting for librdkafka-0.9.5 tar: Global extended headers posix ustar archive. Extracting as plain files. Following files might be in the wrong directory or have wrong attributes. ===> Patching for librdkafka-0.9.5 => Applying pkgsrc patches for librdkafka-0.9.5 => Verifying /data/pkgsrc/devel/librdkafka/patches/patch-src_rdkafka__broker.c => Applying pkgsrc patch /data/pkgsrc/devel/librdkafka/patches/patch-src_rdkafka__broker.c Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-src_rdkafka__broker.c,v 1.1 2017/04/20 08:01:19 fhajny Exp $ | |XPG6 is needed. | |--- src/rdkafka_broker.c.orig 2017-04-12 08:36:34.000000000 +0000 |+++ src/rdkafka_broker.c -------------------------- Patching file src/rdkafka_broker.c using Plan A... Hunk #1 succeeded at 31. done ===> Creating toolchain wrappers for librdkafka-0.9.5 ===> Configuring for librdkafka-0.9.5 => Checking for portability problems in extracted files ./configure: 4: Syntax error: Bad substitution *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/devel/librdkafka *** Error code 1 Stop. make: stopped in /data/pkgsrc/devel/librdkafka