Mock Version: 1.1.38 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/libmlx4.spec'], False, '/srv/build/7/C/mock-root/c7-updates-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target x86_64 --nodeps builddir/build/SPECS/libmlx4.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: Could not canonicalize hostname: worker1.bsys.centos.org Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libmlx4-1.0.6-1.el7_0.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libmlx4.spec'], False, '/srv/build/7/C/mock-root/c7-updates-x86_64/root/', None, 21600, True, False, 501, 135, None, False, {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target x86_64 --nodeps builddir/build/SPECS/libmlx4.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XsHpcV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libmlx4-1.0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/libmlx4-1.0.6.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd libmlx4-1.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Add-ibv_query_port-caching-support.patch):' Patch #1 (0001-Add-ibv_query_port-caching-support.patch): + /usr/bin/cat /builddir/build/SOURCES/0001-Add-ibv_query_port-caching-support.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/mlx4.c patching file src/mlx4.h patching file src/verbs.c + echo 'Patch #2 (0002-Add-RoCE-IP-based-addressing-support-for-UD-QPs.patch):' Patch #2 (0002-Add-RoCE-IP-based-addressing-support-for-UD-QPs.patch): + /usr/bin/cat /builddir/build/SOURCES/0002-Add-RoCE-IP-based-addressing-support-for-UD-QPs.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/verbs.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.mpaasi + umask 022 + cd /builddir/build/BUILD + cd libmlx4-1.0.6 + 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 ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/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 --with-valgrind 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 whether make supports nested variables... (cached) yes checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for x86_64-redhat-linux-gnu-gcc... no 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 whether gcc understands -c and -o together... yes checking dependency style of gcc... none 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... 1966080 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E 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 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 x86_64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for ibv_get_device_list in -libverbs... yes checking infiniband/driver.h usability... yes checking infiniband/driver.h presence... yes checking for infiniband/driver.h... yes checking for ANSI C header files... (cached) yes checking valgrind/memcheck.h usability... yes checking valgrind/memcheck.h presence... yes checking for valgrind/memcheck.h... yes checking for an ANSI C-conforming const... yes checking size of long... 8 checking for verbs_register_driver... yes checking for IBV_QPT_RAW_PACKET... yes checking whether ld accepts --version-script... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libmlx4.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make '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 -fno-strict-aliasing' -j16 make all-am make[1]: Entering directory `/builddir/build/BUILD/libmlx4-1.0.6' CC src/buf.lo CC src/cq.lo CC src/dbrec.lo CC src/mlx4.lo CC src/qp.lo CC src/srq.lo CC src/verbs.lo src/qp.c: In function 'mlx4_post_send': src/qp.c:422:20: warning: 'size' may be used uninitialized in this function [-Wmaybe-uninitialized] align(size * 16, 64)); ^ src/qp.c:409:22: warning: 'ctrl' may be used uninitialized in this function [-Wmaybe-uninitialized] ctrl->owner_opcode |= htonl((qp->sq.head & 0xffff) << 8); ^ CCLD src/libmlx4.la make[1]: Leaving directory `/builddir/build/BUILD/libmlx4-1.0.6' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ndypNN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64 ++ dirname /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64 + cd libmlx4-1.0.6 + rm -rf /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64 + make DESTDIR=/builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64 install make[1]: Entering directory `/builddir/build/BUILD/libmlx4-1.0.6' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/lib64' /bin/sh ./libtool --mode=install /usr/bin/install -c src/libmlx4.la '/builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/lib64' libtool: install: /usr/bin/install -c src/.libs/libmlx4-rdmav2.so /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/lib64/libmlx4-rdmav2.so libtool: install: (cd /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/lib64 && { ln -s -f libmlx4-rdmav2.so libmlx4.so || { rm -f libmlx4.so && ln -s libmlx4-rdmav2.so libmlx4.so; }; }) libtool: install: /usr/bin/install -c src/.libs/libmlx4.lai /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/lib64/libmlx4.la libtool: install: /usr/bin/install -c src/.libs/libmlx4.a /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/lib64/libmlx4.a libtool: install: chmod 644 /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/lib64/libmlx4.a libtool: install: ranlib /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/lib64/libmlx4.a libtool: install: warning: remember to run `libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/etc/libibverbs.d' /usr/bin/install -c -m 644 mlx4.driver '/builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/etc/libibverbs.d' make[1]: Leaving directory `/builddir/build/BUILD/libmlx4-1.0.6' + install -D -m 644 /builddir/build/SOURCES/libmlx4-modprobe.conf /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/etc/modprobe.d/libmlx4.conf + install -D -m 644 /builddir/build/SOURCES/libmlx4-mlx4.conf /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/etc/rdma/mlx4.conf + install -D -m 755 /builddir/build/SOURCES/libmlx4-setup.sh /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/libexec/setup-mlx4.sh + install -D -m 755 /builddir/build/SOURCES/libmlx4-dracut-module-setup.sh /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/lib/dracut/modules.d/04mlx4/module-setup.sh + install -D -m 644 /builddir/build/SOURCES/libmlx4-modprobe-2.conf /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/etc/modprobe.d/mlx4.conf + rm -f /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/lib64/libmlx4.la /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/lib64/libmlx4.so + /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/libmlx4-1.0.6 extracting debug info from /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/lib64/libmlx4-rdmav2.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 190 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: libmlx4-1.0.6-1.el7_0.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NofbGj + umask 022 + cd /builddir/build/BUILD + cd libmlx4-1.0.6 + DOCDIR=/builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/share/doc/libmlx4-1.0.6 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/share/doc/libmlx4-1.0.6 + cp -pr AUTHORS /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/share/doc/libmlx4-1.0.6 + cp -pr COPYING /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/share/doc/libmlx4-1.0.6 + cp -pr README /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64/usr/share/doc/libmlx4-1.0.6 + exit 0 Provides: config(libmlx4) = 1.0.6-1.el7_0 libibverbs-driver.x86_64 libmlx4 = 1.0.6-1.el7_0 libmlx4(x86-64) = 1.0.6-1.el7_0 libmlx4-rdmav2.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/bash 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) libibverbs.so.1()(64bit) libibverbs.so.1(IBVERBS_1.0)(64bit) libibverbs.so.1(IBVERBS_1.1)(64bit) rtld(GNU_HASH) Processing files: libmlx4-static-1.0.6-1.el7_0.x86_64 Provides: libmlx4-static = 1.0.6-1.el7_0 libmlx4-static(x86-64) = 1.0.6-1.el7_0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libmlx4-debuginfo-1.0.6-1.el7_0.x86_64 Provides: libmlx4-debuginfo = 1.0.6-1.el7_0 libmlx4-debuginfo(x86-64) = 1.0.6-1.el7_0 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/libmlx4-1.0.6-1.el7_0.x86_64 warning: Could not canonicalize hostname: worker1.bsys.centos.org Wrote: /builddir/build/RPMS/libmlx4-1.0.6-1.el7_0.x86_64.rpm Wrote: /builddir/build/RPMS/libmlx4-static-1.0.6-1.el7_0.x86_64.rpm Wrote: /builddir/build/RPMS/libmlx4-debuginfo-1.0.6-1.el7_0.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.HL4cjo + umask 022 + cd /builddir/build/BUILD + cd libmlx4-1.0.6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libmlx4-1.0.6-1.el7_0.x86_64 + exit 0 Child return code was: 0 LEAVE do -->