Mock Version: 1.2.12 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/librouteros.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6346/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/librouteros.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-403284537.novalocal Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/librouteros-1.1.2-5.el7.centos.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/librouteros.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-6346/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/librouteros.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WZlubn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf librouteros-1.1.2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/librouteros-1.1.2.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd librouteros-1.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (disable_werror.patch): + echo 'Patch #0 (disable_werror.patch):' + /usr/bin/cat /builddir/build/SOURCES/disable_werror.patch + /usr/bin/patch -p0 --fuzz=0 patching file src/Makefile.am + autoreconf -fi libtoolize: putting auxiliary files in `.'. libtoolize: copying file `./ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qH6PcN + umask 022 + cd /builddir/build/BUILD + cd librouteros-1.1.2 + ./configure --prefix=/usr --libdir=/usr/lib64 --mandir=/usr/share/man checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... no checking if : is a manifest tool... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking gcrypt.h usability... yes checking gcrypt.h presence... yes checking for gcrypt.h... yes checking for socket... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating src/routeros_version.h config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands + make Making all in src make[1]: Entering directory `/builddir/build/BUILD/librouteros-1.1.2/src' make all-am make[2]: Entering directory `/builddir/build/BUILD/librouteros-1.1.2/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c -o main.lo main.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c main.c -fPIC -DPIC -o .libs/main.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c main.c -o main.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c -o ros_parse.lo ros_parse.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c ros_parse.c -fPIC -DPIC -o .libs/ros_parse.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c ros_parse.c -o ros_parse.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c -o registration_table.lo registration_table.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c registration_table.c -fPIC -DPIC -o .libs/registration_table.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c registration_table.c -o registration_table.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c -o interface.lo interface.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c interface.c -fPIC -DPIC -o .libs/interface.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c interface.c -o interface.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c -o system_resource.lo system_resource.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c system_resource.c -fPIC -DPIC -o .libs/system_resource.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c system_resource.c -o system_resource.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -g -O2 -version-info 2:2:2 -export-symbols-regex "^ros_" -o librouteros.la -rpath /usr/lib64 main.lo ros_parse.lo registration_table.lo interface.lo system_resource.lo -lgcrypt libtool: link: /usr/bin/nm -B .libs/main.o .libs/ros_parse.o .libs/registration_table.o .libs/interface.o .libs/system_resource.o | sed -n -e 's/^.*[ ]\([ABCDGIRSTW][ABCDGIRSTW]*\)[ ][ ]*\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/librouteros.exp libtool: link: /usr/bin/grep -E -e "^ros_" ".libs/librouteros.exp" > ".libs/librouteros.expT" libtool: link: mv -f ".libs/librouteros.expT" ".libs/librouteros.exp" libtool: link: echo "{ global:" > .libs/librouteros.ver libtool: link: cat .libs/librouteros.exp | sed -e "s/\(.*\)/\1;/" >> .libs/librouteros.ver libtool: link: echo "local: *; };" >> .libs/librouteros.ver libtool: link: gcc -shared -fPIC -DPIC .libs/main.o .libs/ros_parse.o .libs/registration_table.o .libs/interface.o .libs/system_resource.o -lgcrypt -O2 -Wl,-soname -Wl,librouteros.so.0 -Wl,-version-script -Wl,.libs/librouteros.ver -o .libs/librouteros.so.0.2.2 libtool: link: (cd ".libs" && rm -f "librouteros.so.0" && ln -s "librouteros.so.0.2.2" "librouteros.so.0") libtool: link: (cd ".libs" && rm -f "librouteros.so" && ln -s "librouteros.so.0.2.2" "librouteros.so") libtool: link: ar cru .libs/librouteros.a main.o ros_parse.o registration_table.o interface.o system_resource.o libtool: link: ranlib .libs/librouteros.a libtool: link: ( cd ".libs" && rm -f "librouteros.la" && ln -s "../librouteros.la" "librouteros.la" ) gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -c ros.c ros.c: In function 'main': ros.c:296:14: warning: variable 'host' set but not used [-Wunused-but-set-variable] const char *host; ^ /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -g -O2 -o ros ros.o librouteros.la libtool: link: gcc -Wall -g -O2 -o .libs/ros ros.o ./.libs/librouteros.so -lgcrypt make[2]: Leaving directory `/builddir/build/BUILD/librouteros-1.1.2/src' make[1]: Leaving directory `/builddir/build/BUILD/librouteros-1.1.2/src' Making all in doc make[1]: Entering directory `/builddir/build/BUILD/librouteros-1.1.2/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/librouteros-1.1.2/doc' make[1]: Entering directory `/builddir/build/BUILD/librouteros-1.1.2' make[1]: Nothing to be done for `all-am'. make[1]: Leaving directory `/builddir/build/BUILD/librouteros-1.1.2' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cOIxuo + exit 0 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64 + cd librouteros-1.1.2 + make DESTDIR=/builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64 install Making install in src make[1]: Entering directory `/builddir/build/BUILD/librouteros-1.1.2/src' make[2]: Entering directory `/builddir/build/BUILD/librouteros-1.1.2/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c librouteros.la '/builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/lib64' libtool: install: /usr/bin/install -c .libs/librouteros.so.0.2.2 /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/lib64/librouteros.so.0.2.2 libtool: install: (cd /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/lib64 && { ln -s -f librouteros.so.0.2.2 librouteros.so.0 || { rm -f librouteros.so.0 && ln -s librouteros.so.0.2.2 librouteros.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/lib64 && { ln -s -f librouteros.so.0.2.2 librouteros.so || { rm -f librouteros.so && ln -s librouteros.so.0.2.2 librouteros.so; }; }) libtool: install: /usr/bin/install -c .libs/librouteros.lai /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/lib64/librouteros.la libtool: install: /usr/bin/install -c .libs/librouteros.a /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/lib64/librouteros.a libtool: install: chmod 644 /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/lib64/librouteros.a libtool: install: ranlib /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/lib64/librouteros.a libtool: install: warning: remember to run `libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/bin' /bin/sh ../libtool --mode=install /usr/bin/install -c ros '/builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/bin' libtool: install: warning: `librouteros.la' has not been installed in `/usr/lib64' libtool: install: /usr/bin/install -c .libs/ros /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/bin/ros /usr/bin/mkdir -p '/builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/include' /usr/bin/install -c -m 644 routeros_api.h routeros_version.h '/builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/include' make[2]: Leaving directory `/builddir/build/BUILD/librouteros-1.1.2/src' make[1]: Leaving directory `/builddir/build/BUILD/librouteros-1.1.2/src' Making install in doc make[1]: Entering directory `/builddir/build/BUILD/librouteros-1.1.2/doc' make[2]: Entering directory `/builddir/build/BUILD/librouteros-1.1.2/doc' make[2]: Nothing to be done for `install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/share/man/man1' /usr/bin/install -c -m 644 ros.1 '/builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/share/man/man1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/share/man/man3' /usr/bin/install -c -m 644 librouteros.3 '/builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/share/man/man3' make[2]: Leaving directory `/builddir/build/BUILD/librouteros-1.1.2/doc' make[1]: Leaving directory `/builddir/build/BUILD/librouteros-1.1.2/doc' make[1]: Entering directory `/builddir/build/BUILD/librouteros-1.1.2' make[2]: Entering directory `/builddir/build/BUILD/librouteros-1.1.2' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/librouteros-1.1.2' make[1]: Leaving directory `/builddir/build/BUILD/librouteros-1.1.2' + /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/librouteros-1.1.2 extracting debug info from /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/bin/ros extracting debug info from /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/lib64/librouteros.so.0.2.2 /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib64/librouteros.so.0.2.2.debug to /usr/lib/debug/usr/lib64/librouteros.so.debug symlinked /usr/lib/debug/usr/lib64/librouteros.so.0.2.2.debug to /usr/lib/debug/usr/lib64/librouteros.so.0.debug 111 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: librouteros-1.1.2-5.el7.centos.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.aJU8V0 + umask 022 + cd /builddir/build/BUILD + cd librouteros-1.1.2 + DOCDIR=/builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/share/doc/librouteros-1.1.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/share/doc/librouteros-1.1.2 + cp -pr README /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/share/doc/librouteros-1.1.2 + cp -pr ChangeLog /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/share/doc/librouteros-1.1.2 + cp -pr NEWS /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64/usr/share/doc/librouteros-1.1.2 + exit 0 Provides: librouteros = 1.1.2-5.el7.centos librouteros(x86-64) = 1.1.2-5.el7.centos librouteros.so.0()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libgcrypt.so.11()(64bit) libgcrypt.so.11(GCRYPT_1.2)(64bit) librouteros.so.0()(64bit) rtld(GNU_HASH) Processing files: librouteros-devel-1.1.2-5.el7.centos.x86_64 Provides: librouteros-devel = 1.1.2-5.el7.centos librouteros-devel(x86-64) = 1.1.2-5.el7.centos libtool(/usr/lib64/librouteros.la) routeros-devel = 1.1.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: routeros-devel < 1.1.2 Processing files: librouteros-debuginfo-1.1.2-5.el7.centos.x86_64 Provides: librouteros-debuginfo = 1.1.2-5.el7.centos librouteros-debuginfo(x86-64) = 1.1.2-5.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/librouteros-1.1.2-5.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-403284537.novalocal Wrote: /builddir/build/RPMS/librouteros-1.1.2-5.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/librouteros-devel-1.1.2-5.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/librouteros-debuginfo-1.1.2-5.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WtqnIx + umask 022 + cd /builddir/build/BUILD + cd librouteros-1.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/librouteros-1.1.2-5.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->