Mock Version: 1.2.12 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/librouteros.spec'], chrootPath='/var/lib/mock/epel-6-i386-mockbuilder-10769/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 i686 --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-565036216.novalocal Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/librouteros-1.1.2-5.el6.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/librouteros.spec '], chrootPath='/var/lib/mock/epel-6-i386-mockbuilder-10769/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 i686 --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: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rUijDn + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf librouteros-1.1.2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/librouteros-1.1.2.tar.bz2 + /bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd librouteros-1.1.2 + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (disable_werror.patch):' Patch #0 (disable_werror.patch): + /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.KDzyMC + umask 022 + cd /builddir/build/BUILD + cd librouteros-1.1.2 + LANG=C + export LANG + unset DISPLAY + ./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... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /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 for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok 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) 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 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' | /bin/sed 's/.* //' | sort | uniq > .libs/librouteros.exp libtool: link: /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 .libs/main.o .libs/ros_parse.o .libs/registration_table.o .libs/interface.o .libs/system_resource.o -lgcrypt -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 /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' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.n21Vl7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386 ++ dirname /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386 + cd librouteros-1.1.2 + LANG=C + export LANG + unset DISPLAY + make DESTDIR=/builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386 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' test -z "/usr/lib64" || /bin/mkdir -p "/builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/lib64" /bin/sh ../libtool --mode=install /usr/bin/install -c librouteros.la '/builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/lib64' libtool: install: /usr/bin/install -c .libs/librouteros.so.0.2.2 /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/lib64/librouteros.so.0.2.2 libtool: install: (cd /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/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.el6.i386/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.el6.i386/usr/lib64/librouteros.la libtool: install: /usr/bin/install -c .libs/librouteros.a /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/lib64/librouteros.a libtool: install: chmod 644 /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/lib64/librouteros.a libtool: install: ranlib /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/lib64/librouteros.a libtool: install: warning: remember to run `libtool --finish /usr/lib64' test -z "/usr/bin" || /bin/mkdir -p "/builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/bin" /bin/sh ../libtool --mode=install /usr/bin/install -c ros '/builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/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.el6.i386/usr/bin/ros test -z "/usr/include" || /bin/mkdir -p "/builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/include" /usr/bin/install -c -m 644 routeros_api.h routeros_version.h '/builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/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'. test -z "/usr/share/man/man1" || /bin/mkdir -p "/builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/share/man/man1" /usr/bin/install -c -m 644 ros.1 '/builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/share/man/man1' test -z "/usr/share/man/man3" || /bin/mkdir -p "/builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/share/man/man3" /usr/bin/install -c -m 644 librouteros.3 '/builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/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 /builddir/build/BUILD/librouteros-1.1.2 extracting debug info from /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/bin/ros extracting debug info from /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/lib64/librouteros.so.0.2.2 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 106 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/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: librouteros-1.1.2-5.el6.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.8fJjgD + umask 022 + cd /builddir/build/BUILD + cd librouteros-1.1.2 + DOCDIR=/builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/share/doc/librouteros-1.1.2 + export DOCDIR + rm -rf /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/share/doc/librouteros-1.1.2 + /bin/mkdir -p /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/share/doc/librouteros-1.1.2 + cp -pr README ChangeLog NEWS /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386/usr/share/doc/librouteros-1.1.2 + exit 0 Provides: librouteros.so.0 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 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libgcrypt.so.11 libgcrypt.so.11(GCRYPT_1.2) librouteros.so.0 rtld(GNU_HASH) Processing files: librouteros-devel-1.1.2-5.el6.i686 Provides: 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 rpmlib(VersionedDependencies) <= 3.0.3-1 Obsoletes: routeros-devel < 1.1.2 Processing files: librouteros-debuginfo-1.1.2-5.el6.i686 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386 warning: Could not canonicalize hostname: copr-builder-565036216.novalocal Wrote: /builddir/build/RPMS/librouteros-1.1.2-5.el6.i686.rpm Wrote: /builddir/build/RPMS/librouteros-devel-1.1.2-5.el6.i686.rpm Wrote: /builddir/build/RPMS/librouteros-debuginfo-1.1.2-5.el6.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.w9NqWJ + umask 022 + cd /builddir/build/BUILD + cd librouteros-1.1.2 + /bin/rm -rf /builddir/build/BUILDROOT/librouteros-1.1.2-5.el6.i386 + exit 0 Child return code was: 0 LEAVE do -->