Step 1 : FROM php:7.1.0-cli ---> 1130c01d10e1 Step 2 : ENV LIBRDKAFKA_VERSION v0.9.2 ---> Using cache ---> e324e80551d8 Step 3 : RUN apt-get clean && apt-get update && mkdir -p /usr/src/librdkafka && curl -L --silent https://github.com/edenhill/librdkafka/archive/debian/${LIBRDKAFKA_VERSION}.tar.gz | tar -xz --strip=1 -C /usr/src/librdkafka && apt-get -y install build-essential libc6-dev zlib1g-dev python-dev && cd /usr/src/librdkafka && ./configure && make && sudo make install ---> Running in 025c7b80bf37 Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB] Get:2 http://security.debian.org jessie/updates/main amd64 Packages [421 kB] Ign http://deb.debian.org jessie InRelease Get:3 http://deb.debian.org jessie-updates InRelease [145 kB] Get:4 http://deb.debian.org jessie Release.gpg [2373 B] Get:5 http://deb.debian.org jessie Release [148 kB] Get:6 http://deb.debian.org jessie-updates/main amd64 Packages [17.6 kB] Get:7 http://deb.debian.org jessie/main amd64 Packages [9064 kB] Fetched 9861 kB in 2s (3872 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... libc6-dev is already the newest version. The following extra packages will be installed: bzip2 dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libexpat1 libexpat1-dev libfakeroot libfile-fcntllock-perl libpython-dev libpython-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libtimedate-perl mime-support patch python python-minimal python2.7 python2.7-dev python2.7-minimal Suggested packages: bzip2-doc debian-keyring ed diffutils-doc python-doc python-tk python2.7-doc binfmt-support The following NEW packages will be installed: build-essential bzip2 dpkg-dev fakeroot libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libdpkg-perl libexpat1 libexpat1-dev libfakeroot libfile-fcntllock-perl libpython-dev libpython-stdlib libpython2.7 libpython2.7-dev libpython2.7-minimal libpython2.7-stdlib libtimedate-perl mime-support patch python python-dev python-minimal python2.7 python2.7-dev python2.7-minimal zlib1g-dev 0 upgraded, 28 newly installed, 0 to remove and 1 not upgraded. Need to get 27.6 MB of archives. After this operation, 58.2 MB of additional disk space will be used. Get:1 http://deb.debian.org/debian/ jessie/main libpython2.7-minimal amd64 2.7.9-2+deb8u1 [378 kB] Get:2 http://deb.debian.org/debian/ jessie/main python2.7-minimal amd64 2.7.9-2+deb8u1 [1401 kB] Get:3 http://deb.debian.org/debian/ jessie/main python-minimal amd64 2.7.9-1 [40.3 kB] Get:4 http://deb.debian.org/debian/ jessie/main mime-support all 3.58 [36.0 kB] Get:5 http://deb.debian.org/debian/ jessie/main libexpat1 amd64 2.1.0-6+deb8u3 [80.0 kB] Get:6 http://deb.debian.org/debian/ jessie/main libpython2.7-stdlib amd64 2.7.9-2+deb8u1 [1847 kB] Get:7 http://deb.debian.org/debian/ jessie/main python2.7 amd64 2.7.9-2+deb8u1 [252 kB] Get:8 http://deb.debian.org/debian/ jessie/main libpython-stdlib amd64 2.7.9-1 [19.5 kB] Get:9 http://deb.debian.org/debian/ jessie/main python amd64 2.7.9-1 [151 kB] Get:10 http://deb.debian.org/debian/ jessie/main libpython2.7 amd64 2.7.9-2+deb8u1 [1081 kB] Get:11 http://deb.debian.org/debian/ jessie/main libexpat1-dev amd64 2.1.0-6+deb8u3 [126 kB] Get:12 http://deb.debian.org/debian/ jessie/main libpython2.7-dev amd64 2.7.9-2+deb8u1 [18.6 MB] Get:13 http://deb.debian.org/debian/ jessie/main bzip2 amd64 1.0.6-7+b3 [46.9 kB] Get:14 http://deb.debian.org/debian/ jessie/main patch amd64 2.7.5-1 [109 kB] Get:15 http://deb.debian.org/debian/ jessie/main libtimedate-perl all 2.3000-2 [42.2 kB] Get:16 http://deb.debian.org/debian/ jessie/main libdpkg-perl all 1.17.27 [1075 kB] Get:17 http://deb.debian.org/debian/ jessie/main dpkg-dev all 1.17.27 [1548 kB] Get:18 http://deb.debian.org/debian/ jessie/main build-essential amd64 11.7 [7114 B] Get:19 http://deb.debian.org/debian/ jessie/main libfakeroot amd64 1.20.2-1 [44.7 kB] Get:20 http://deb.debian.org/debian/ jessie/main fakeroot amd64 1.20.2-1 [84.7 kB] Get:21 http://deb.debian.org/debian/ jessie/main libalgorithm-diff-perl all 1.19.02-3 [51.7 kB] Get:22 http://deb.debian.org/debian/ jessie/main libalgorithm-diff-xs-perl amd64 0.04-3+b1 [12.2 kB] Get:23 http://deb.debian.org/debian/ jessie/main libalgorithm-merge-perl all 0.08-2 [13.5 kB] Get:24 http://deb.debian.org/debian/ jessie/main libfile-fcntllock-perl amd64 0.22-1+b1 [36.4 kB] Get:25 http://deb.debian.org/debian/ jessie/main libpython-dev amd64 2.7.9-1 [19.6 kB] Get:26 http://deb.debian.org/debian/ jessie/main python2.7-dev amd64 2.7.9-2+deb8u1 [290 kB] Get:27 http://deb.debian.org/debian/ jessie/main python-dev amd64 2.7.9-1 [1182 B] Get:28 http://deb.debian.org/debian/ jessie/main zlib1g-dev amd64 1:1.2.8.dfsg-2+b1 [206 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 27.6 MB in 5s (5229 kB/s) Selecting previously unselected package libpython2.7-minimal:amd64. (Reading database ... 12241 files and directories currently installed.) Preparing to unpack .../libpython2.7-minimal_2.7.9-2+deb8u1_amd64.deb ... Unpacking libpython2.7-minimal:amd64 (2.7.9-2+deb8u1) ... Selecting previously unselected package python2.7-minimal. Preparing to unpack .../python2.7-minimal_2.7.9-2+deb8u1_amd64.deb ... Unpacking python2.7-minimal (2.7.9-2+deb8u1) ... Selecting previously unselected package python-minimal. Preparing to unpack .../python-minimal_2.7.9-1_amd64.deb ... Unpacking python-minimal (2.7.9-1) ... Selecting previously unselected package mime-support. Preparing to unpack .../mime-support_3.58_all.deb ... Unpacking mime-support (3.58) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../libexpat1_2.1.0-6+deb8u3_amd64.deb ... Unpacking libexpat1:amd64 (2.1.0-6+deb8u3) ... Selecting previously unselected package libpython2.7-stdlib:amd64. Preparing to unpack .../libpython2.7-stdlib_2.7.9-2+deb8u1_amd64.deb ... Unpacking libpython2.7-stdlib:amd64 (2.7.9-2+deb8u1) ... Selecting previously unselected package python2.7. Preparing to unpack .../python2.7_2.7.9-2+deb8u1_amd64.deb ... Unpacking python2.7 (2.7.9-2+deb8u1) ... Selecting previously unselected package libpython-stdlib:amd64. Preparing to unpack .../libpython-stdlib_2.7.9-1_amd64.deb ... Unpacking libpython-stdlib:amd64 (2.7.9-1) ... Setting up libpython2.7-minimal:amd64 (2.7.9-2+deb8u1) ... Setting up python2.7-minimal (2.7.9-2+deb8u1) ... Linking and byte-compiling packages for runtime python2.7... Setting up python-minimal (2.7.9-1) ... Selecting previously unselected package python. (Reading database ... 13023 files and directories currently installed.) Preparing to unpack .../python_2.7.9-1_amd64.deb ... Unpacking python (2.7.9-1) ... Selecting previously unselected package libpython2.7:amd64. Preparing to unpack .../libpython2.7_2.7.9-2+deb8u1_amd64.deb ... Unpacking libpython2.7:amd64 (2.7.9-2+deb8u1) ... Selecting previously unselected package libexpat1-dev:amd64. Preparing to unpack .../libexpat1-dev_2.1.0-6+deb8u3_amd64.deb ... Unpacking libexpat1-dev:amd64 (2.1.0-6+deb8u3) ... Selecting previously unselected package libpython2.7-dev:amd64. Preparing to unpack .../libpython2.7-dev_2.7.9-2+deb8u1_amd64.deb ... Unpacking libpython2.7-dev:amd64 (2.7.9-2+deb8u1) ... Selecting previously unselected package bzip2. Preparing to unpack .../bzip2_1.0.6-7+b3_amd64.deb ... Unpacking bzip2 (1.0.6-7+b3) ... Selecting previously unselected package patch. Preparing to unpack .../patch_2.7.5-1_amd64.deb ... Unpacking patch (2.7.5-1) ... Selecting previously unselected package libtimedate-perl. Preparing to unpack .../libtimedate-perl_2.3000-2_all.deb ... Unpacking libtimedate-perl (2.3000-2) ... Selecting previously unselected package libdpkg-perl. Preparing to unpack .../libdpkg-perl_1.17.27_all.deb ... Unpacking libdpkg-perl (1.17.27) ... Selecting previously unselected package dpkg-dev. Preparing to unpack .../dpkg-dev_1.17.27_all.deb ... Unpacking dpkg-dev (1.17.27) ... Selecting previously unselected package build-essential. Preparing to unpack .../build-essential_11.7_amd64.deb ... Unpacking build-essential (11.7) ... Selecting previously unselected package libfakeroot:amd64. Preparing to unpack .../libfakeroot_1.20.2-1_amd64.deb ... Unpacking libfakeroot:amd64 (1.20.2-1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.20.2-1_amd64.deb ... Unpacking fakeroot (1.20.2-1) ... Selecting previously unselected package libalgorithm-diff-perl. Preparing to unpack .../libalgorithm-diff-perl_1.19.02-3_all.deb ... Unpacking libalgorithm-diff-perl (1.19.02-3) ... Selecting previously unselected package libalgorithm-diff-xs-perl. Preparing to unpack .../libalgorithm-diff-xs-perl_0.04-3+b1_amd64.deb ... Unpacking libalgorithm-diff-xs-perl (0.04-3+b1) ... Selecting previously unselected package libalgorithm-merge-perl. Preparing to unpack .../libalgorithm-merge-perl_0.08-2_all.deb ... Unpacking libalgorithm-merge-perl (0.08-2) ... Selecting previously unselected package libfile-fcntllock-perl. Preparing to unpack .../libfile-fcntllock-perl_0.22-1+b1_amd64.deb ... Unpacking libfile-fcntllock-perl (0.22-1+b1) ... Selecting previously unselected package libpython-dev:amd64. Preparing to unpack .../libpython-dev_2.7.9-1_amd64.deb ... Unpacking libpython-dev:amd64 (2.7.9-1) ... Selecting previously unselected package python2.7-dev. Preparing to unpack .../python2.7-dev_2.7.9-2+deb8u1_amd64.deb ... Unpacking python2.7-dev (2.7.9-2+deb8u1) ... Selecting previously unselected package python-dev. Preparing to unpack .../python-dev_2.7.9-1_amd64.deb ... Unpacking python-dev (2.7.9-1) ... Selecting previously unselected package zlib1g-dev:amd64. Preparing to unpack .../zlib1g-dev_1%3a1.2.8.dfsg-2+b1_amd64.deb ... Unpacking zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ... Setting up mime-support (3.58) ... Setting up libexpat1:amd64 (2.1.0-6+deb8u3) ... Setting up libpython2.7-stdlib:amd64 (2.7.9-2+deb8u1) ... Setting up python2.7 (2.7.9-2+deb8u1) ... Setting up libpython-stdlib:amd64 (2.7.9-1) ... Setting up python (2.7.9-1) ... Setting up libpython2.7:amd64 (2.7.9-2+deb8u1) ... Setting up libexpat1-dev:amd64 (2.1.0-6+deb8u3) ... Setting up libpython2.7-dev:amd64 (2.7.9-2+deb8u1) ... Setting up bzip2 (1.0.6-7+b3) ... Setting up patch (2.7.5-1) ... Setting up libtimedate-perl (2.3000-2) ... Setting up libdpkg-perl (1.17.27) ... Setting up dpkg-dev (1.17.27) ... Setting up build-essential (11.7) ... Setting up libfakeroot:amd64 (1.20.2-1) ... Setting up fakeroot (1.20.2-1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Setting up libalgorithm-diff-perl (1.19.02-3) ... Setting up libalgorithm-diff-xs-perl (0.04-3+b1) ... Setting up libalgorithm-merge-perl (0.08-2) ... Setting up libfile-fcntllock-perl (0.22-1+b1) ... Setting up libpython-dev:amd64 (2.7.9-1) ... Setting up python2.7-dev (2.7.9-2+deb8u1) ... Setting up python-dev (2.7.9-1) ... Setting up zlib1g-dev:amd64 (1:1.2.8.dfsg-2+b1) ... Processing triggers for libc-bin (2.19-18+deb8u6) ... checking for OS or distribution... ok (Linux) checking for C compiler from CC env... failed checking for gcc (by command)... ok checking for C++ compiler from CXX env... failed checking for C++ compiler (g++)... 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)... ok checking for __atomic_64 (by compile)... ok checking for socket (by compile)... ok parsing version '0x000901ff'... ok (0.9.1) checking for libpthread (by pkg-config)... failed checking for libpthread (by compile)... ok checking for zlib (by pkg-config)... ok checking for libcrypto (by pkg-config)... failed checking for libcrypto (by compile)... failed (disable) checking for libssl (by pkg-config)... failed checking for libssl (by compile)... failed (disable) checking for libsasl2 (by pkg-config)... failed checking for libsasl2 (by compile)... failed (disable) checking for libsasl (by pkg-config)... failed checking for libsasl (by compile)... failed (disable) checking for regex (by compile)... ok checking for librt (by pkg-config)... failed checking for librt (by compile)... ok checking for strndup (by compile)... ok checking for nm (by env NM)... ok (cached) checking for python (by command)... ok Generated Makefile.config Generated config.h Configuration summary: prefix /usr/local ARCH x86_64 CPU generic GEN_PKG_CONFIG y ENABLE_DEVEL n ENABLE_VALGRIND n ENABLE_REFCNT_DEBUG n ENABLE_SHAREDPTR_DEBUG n ENABLE_SSL y ENABLE_SASL y MKL_APP_NAME librdkafka MKL_APP_DESC_ONELINE The Apache Kafka C/C++ library MKL_DISTRO Linux CC gcc CXX g++ LD ld NM nm OBJDUMP objdump STRIP strip CFLAGS -fstack-protector-strong -fpic -fpie -O2 CPPFLAGS -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith LDFLAGS -Wl,-O1 -Wl,--hash-style=both PKG_CONFIG pkg-config INSTALL install LIB_LDFLAGS -shared -Wl,-soname,$(LIBFILENAME) LDFLAG_LINKERSCRIPT -Wl,--version-script= RDKAFKA_VERSION_STR 0.9.1 MKL_APP_VERSION 0.9.1 LIBS -lpthread -L/usr/lib/x86_64-linux-gnu -lz -lrt CXXFLAGS -Wno-non-virtual-dtor SYMDUMPER $(NM) -D exec_prefix /usr/local bindir /usr/local/bin sbindir /usr/local/sbin libexecdir /usr/local/libexec datadir /usr/local/share sysconfdir /usr/local/etc sharedstatedir /usr/local/com localstatedir /usr/local/var libdir /usr/local/lib includedir /usr/local/include infodir /usr/local/info mandir /usr/local/man Generated config.cache Now type 'make' to build make[1]: Entering directory '/usr/src/librdkafka/src' gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka.c -o rdkafka.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_broker.c -o rdkafka_broker.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_msg.c -o rdkafka_msg.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_topic.c -o rdkafka_topic.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_conf.c -o rdkafka_conf.o rdkafka_conf.c:93:1: warning: 'rd_kafka_conf_validate_single' defined but not used [-Wunused-function] rd_kafka_conf_validate_single (const struct rd_kafka_property *prop, ^ gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_timer.c -o rdkafka_timer.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_offset.c -o rdkafka_offset.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_transport.c -o rdkafka_transport.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_buf.c -o rdkafka_buf.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_queue.c -o rdkafka_queue.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_op.c -o rdkafka_op.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_request.c -o rdkafka_request.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_cgrp.c -o rdkafka_cgrp.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_pattern.c -o rdkafka_pattern.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_partition.c -o rdkafka_partition.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_subscription.c -o rdkafka_subscription.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_assignor.c -o rdkafka_assignor.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_range_assignor.c -o rdkafka_range_assignor.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_roundrobin_assignor.c -o rdkafka_roundrobin_assignor.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdkafka_feature.c -o rdkafka_feature.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdcrc32.c -o rdcrc32.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdaddr.c -o rdaddr.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdrand.c -o rdrand.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdlist.c -o rdlist.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c tinycthread.c -o tinycthread.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdlog.c -o rdlog.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdstring.c -o rdstring.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c snappy.c -o snappy.o gcc -MD -MP -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -g -O2 -fPIC -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -fstack-protector-strong -fpic -fpie -O2 -c rdgz.c -o rdgz.o Generating linker script librdkafka.lds from rdkafka.h Creating shared library librdkafka.so.1 gcc -Wl,-O1 -Wl,--hash-style=both -Wl,-O1 -Wl,--hash-style=both -Wl,-O1 -Wl,--hash-style=both -shared -Wl,-soname,librdkafka.so.1 -Wl,--version-script=librdkafka.lds rdkafka.o rdkafka_broker.o rdkafka_msg.o rdkafka_topic.o rdkafka_conf.o rdkafka_timer.o rdkafka_offset.o rdkafka_transport.o rdkafka_buf.o rdkafka_queue.o rdkafka_op.o rdkafka_request.o rdkafka_cgrp.o rdkafka_pattern.o rdkafka_partition.o rdkafka_subscription.o rdkafka_assignor.o rdkafka_range_assignor.o rdkafka_roundrobin_assignor.o rdkafka_feature.o rdcrc32.o rdaddr.o rdrand.o rdlist.o tinycthread.o rdlog.o rdstring.o snappy.o rdgz.o -o librdkafka.so.1 -lpthread -L/usr/lib/x86_64-linux-gnu -lz -lrt /usr/bin/ld: rdkafka.o: relocation R_X86_64_TPOFF32 against `rd_kafka_last_error_code' can not be used when making a shared object; recompile with -fPIC rdkafka.o: error adding symbols: Bad value collect2: error: ld returned 1 exit status ../mklove/Makefile.base:86: recipe for target 'librdkafka.so.1' failed make[1]: *** [librdkafka.so.1] Error 1 make[1]: Leaving directory '/usr/src/librdkafka/src' Makefile:20: recipe for target 'libs' failed make: *** [libs] Error 2 The command '/bin/sh -c apt-get clean && apt-get update && mkdir -p /usr/src/librdkafka && curl -L --silent https://github.com/edenhill/librdkafka/archive/debian/${LIBRDKAFKA_VERSION}.tar.gz | tar -xz --strip=1 -C /usr/src/librdkafka && apt-get -y install build-essential libc6-dev zlib1g-dev python-dev && cd /usr/src/librdkafka && ./configure && make && sudo make install' returned a non-zero code: 2