Mock Version: 1.4.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/kafkacat.spec'], chrootPath='/var/lib/mock/645765-epel-7-x86_64-1508519683/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/kafkacat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False warning: Could not canonicalize hostname: copr-builder-415945413.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/kafkacat-1.3.1-1.el7.centos.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/kafkacat.spec'], chrootPath='/var/lib/mock/645765-epel-7-x86_64-1508519683/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=[]printOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/kafkacat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.46BhCu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf kafkacat-1.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/kafkacat-1.3.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd kafkacat-1.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for OS or distribution... ok (Linux) checking for C compiler from CC env... failed checking for gcc (by command)... 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 rdkafka (by pkg-config)... ok checking for librdkafka metadata API... ok checking for librdkafka KafkaConsumer support... ok checking for yajl (by pkg-config)... ok Generated Makefile.config Generated config.h Configuration summary: prefix /usr ARCH x86_64 CPU generic BUILD x86_64-redhat-linux-gnu HOST x86_64-redhat-linux-gnu PROGRAM_PREFIX DISABL_DEP_TRACK y exec_prefix /usr bindir /usr/bin sbindir /usr/sbin sysconfdir /etc datadir /usr/share includedir /usr/include libdir /usr/lib64 libexecdir /usr/libexec localstatedir /var sharedstatedir /var/lib mandir /usr/share/man infodir /usr/share/info MKL_APP_NAME MKL_APP_DESC_ONELINE LDFLAGS -Wl,-z,relro -L/usr/lib64 CPPFLAGS -I/usr/include -g -O2 -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith MKL_DISTRO Linux CC gcc LD ld NM nm OBJDUMP objdump STRIP strip CFLAGS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic CXXFLAGS -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic PKG_CONFIG pkg-config INSTALL install KAFKACAT_VERSION 1.3.1 LIBS -lrdkafka -lyajl ENABLE_KAFKACONSUMER y ENABLE_JSON y Generated config.cache Now type 'make' to build + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QqMsoS + umask 022 + cd /builddir/build/BUILD + cd kafkacat-1.3.1 + make gcc -MD -MP -I/usr/include -g -O2 -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c kafkacat.c -o kafkacat.o kafkacat.c: In function 'produce': kafkacat.c:168:17: warning: 'rd_kafka_errno2err' is deprecated (declared at /usr/include/librdkafka/rdkafka.h:551) [-Wdeprecated-declarations] err = rd_kafka_errno2err(errno); ^ kafkacat.c: In function 'producer_run': kafkacat.c:286:17: warning: 'rd_kafka_errno2err' is deprecated (declared at /usr/include/librdkafka/rdkafka.h:551) [-Wdeprecated-declarations] FATAL("Failed to create topic %s: %s", conf.topic, ^ kafkacat.c: In function 'consumer_run': kafkacat.c:632:17: warning: 'rd_kafka_errno2err' is deprecated (declared at /usr/include/librdkafka/rdkafka.h:551) [-Wdeprecated-declarations] FATAL("Failed to create topic %s: %s", conf.topic, ^ kafkacat.c:685:25: warning: 'rd_kafka_errno2err' is deprecated (declared at /usr/include/librdkafka/rdkafka.h:551) [-Wdeprecated-declarations] FATAL("Failed to start consuming " ^ kafkacat.c: In function 'metadata_list': kafkacat.c:821:17: warning: 'rd_kafka_errno2err' is deprecated (declared at /usr/include/librdkafka/rdkafka.h:551) [-Wdeprecated-declarations] FATAL("Failed to create topic %s: %s", conf.topic, ^ gcc -MD -MP -I/usr/include -g -O2 -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c format.c -o format.o gcc -MD -MP -I/usr/include -g -O2 -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c tools.c -o tools.o gcc -MD -MP -I/usr/include -g -O2 -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c json.c -o json.o Creating program kafkacat gcc -I/usr/include -g -O2 -Wall -Wsign-compare -Wfloat-equal -Wpointer-arith -Wl,-z,relro -L/usr/lib64 kafkacat.o format.o tools.o json.o -o kafkacat -lrdkafka -lyajl + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BevFCh + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64 + cd kafkacat-1.3.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64 Install kafkacat to /builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64/usr install -d $DESTDIR/usr/bin && \ install kafkacat $DESTDIR/usr/bin echo install -d $DESTDIR/usr/share/man/man1 && \ echo install kafkacat.1 $DESTDIR/usr/share/man/man1 install -d /builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64/usr/share/man/man1 install kafkacat.1 /builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64/usr/share/man/man1 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/kafkacat-1.3.1 extracting debug info from /builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64/usr/bin/kafkacat dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 159 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: kafkacat-1.3.1-1.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.AbDcfH + umask 022 + cd /builddir/build/BUILD + cd kafkacat-1.3.1 + DOCDIR=/builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64/usr/share/doc/kafkacat-1.3.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64/usr/share/doc/kafkacat-1.3.1 + cp -pr README.md /builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64/usr/share/doc/kafkacat-1.3.1 + cp -pr LICENSE /builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64/usr/share/doc/kafkacat-1.3.1 + exit 0 warning: %defattr doesn't define directory mode so file mode defined in %defattr is used for directory: /builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64/usr/share/doc/kafkacat-1.3.1 Provides: kafkacat = 1.3.1-1.el7.centos kafkacat(x86-64) = 1.3.1-1.el7.centos Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) librdkafka.so.1()(64bit) libyajl.so.2()(64bit) rtld(GNU_HASH) Processing files: kafkacat-debuginfo-1.3.1-1.el7.centos.x86_64 Provides: kafkacat-debuginfo = 1.3.1-1.el7.centos kafkacat-debuginfo(x86-64) = 1.3.1-1.el7.centos Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-415945413.novalocal Wrote: /builddir/build/RPMS/kafkacat-1.3.1-1.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/kafkacat-debuginfo-1.3.1-1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fC1bzX + umask 022 + cd /builddir/build/BUILD + cd kafkacat-1.3.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/kafkacat-1.3.1-1.el7.centos.x86_64 + exit 0 Child return code was: 0