Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target armv7hl --nodeps builddir/build/SPECS/dapl.spec'], False, '/var/lib/mock/c7-pass-1-armhfp-6e8da7ba77dc3e2219b9cc205162ea6592136643/root/', None, 0, True, False, 993, 135, None, False, {'LANG': 'en_US.UTF-8', '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 armv7hl --nodeps builddir/build/SPECS/dapl.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: bogus date in %changelog: Wed Dec 19 2013 Jay Fenlason - 2.0.39-1 Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/dapl-2.0.39-5.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target armv7hl --nodeps builddir/build/SPECS/dapl.spec'], False, '/var/lib/mock/c7-pass-1-armhfp-6e8da7ba77dc3e2219b9cc205162ea6592136643/root/', None, 0, True, False, 993, 135, None, False, {'LANG': 'en_US.UTF-8', '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 armv7hl --nodeps builddir/build/SPECS/dapl.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} warning: bogus date in %changelog: Wed Dec 19 2013 Jay Fenlason - 2.0.39-1 Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1Wrmnf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dapl-2.0.39 + /usr/bin/gzip -dc /builddir/build/SOURCES/dapl-2.0.39.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd dapl-2.0.39 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #3 (dapl-2.0.25-dat_ia_open_hang.patch): + echo 'Patch #3 (dapl-2.0.25-dat_ia_open_hang.patch):' + /usr/bin/cat /builddir/build/SOURCES/dapl-2.0.25-dat_ia_open_hang.patch + /usr/bin/patch -p1 -b --suffix .bz649360 --fuzz=0 patching file dapl/openib_cma/device.c Hunk #1 succeeded at 289 (offset 4 lines). Patch #4 (dapl-2.0.34-compile.patch): + echo 'Patch #4 (dapl-2.0.34-compile.patch):' + /usr/bin/cat /builddir/build/SOURCES/dapl-2.0.34-compile.patch + /usr/bin/patch -p1 -b --suffix .bz1029509 --fuzz=0 patching file dat/common/dat_strerror.c Hunk #1 succeeded at 711 (offset 110 lines). + aclocal -I config aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' + libtoolize --force --copy libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'. libtoolize: copying file `config/ltmain.sh' libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. + autoheader + automake --foreign --add-missing --copy automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:8: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' test/dapltest/Makefile.am:11: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') test/dtest/Makefile.am:15: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') + autoconf + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wPZ61R + umask 022 + cd /builddir/build/BUILD + cd dapl-2.0.39 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/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 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' arm == ppc64le ']' ++ 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=armv7hl-redhat-linux-gnu --host=armv7hl-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/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing' --enable-ext-type=ib --sysconfdir=/etc/rdma checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/dapl-2.0.39/config/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/dapl-2.0.39/config/missing --help' for more information configure: WARNING: 'missing' script is too old or missing 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 build system type... armv7hl-redhat-linux-gnu checking host system type... armv7hl-redhat-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for armv7hl-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 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... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert armv7hl-redhat-linux-gnu file names to armv7hl-redhat-linux-gnu format... func_convert_file_noop checking how to convert armv7hl-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 armv7hl-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for armv7hl-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for armv7hl-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for armv7hl-redhat-linux-gnu-strip... no checking for strip... strip checking for armv7hl-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 armv7hl-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) 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 armv7hl-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 dependency style of gcc... (cached) none checking for ibv_get_device_list in -libverbs... yes checking infiniband/verbs.h usability... yes checking infiniband/verbs.h presence... yes checking for infiniband/verbs.h... yes checking for struct ibv_port_attr.link_layer... yes checking whether ld accepts --version-script... yes checking Check for RHEL4 system... no checking Check for RHEL5 system... no checking Check for SUSE_11 system... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating test/dtest/Makefile config.status: creating test/dapltest/Makefile config.status: creating dapl.spec config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j4 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/dapl-2.0.39' Making all in . make[2]: Entering directory `/builddir/build/BUILD/dapl-2.0.39' /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -DDAT_CONF="\"/etc/rdma/dat.conf\"" -D_GNU_SOURCE -DOS_RELEASE=196627 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_cma -I./dapl/openib_cma/linux -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -c -o dapl_udapl_libdaplofa_la-dapl_init.lo `test -f 'dapl/udapl/dapl_init.c' || echo './'`dapl/udapl/dapl_init.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -DDAT_CONF="\"/etc/rdma/dat.conf\"" -D_GNU_SOURCE -DOS_RELEASE=196627 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_cma -I./dapl/openib_cma/linux -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -c -o dapl_udapl_libdaplofa_la-dapl_evd_create.lo `test -f 'dapl/udapl/dapl_evd_create.c' || echo './'`dapl/udapl/dapl_evd_create.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -DDAT_CONF="\"/etc/rdma/dat.conf\"" -D_GNU_SOURCE -DOS_RELEASE=196627 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_cma -I./dapl/openib_cma/linux -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -c -o dapl_udapl_libdaplofa_la-dapl_evd_query.lo `test -f 'dapl/udapl/dapl_evd_query.c' || echo './'`dapl/udapl/dapl_evd_query.c /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -DDAT_CONF="\"/etc/rdma/dat.conf\"" -D_GNU_SOURCE -DOS_RELEASE=196627 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_cma -I./dapl/openib_cma/linux -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -c -o dapl_udapl_libdaplofa_la-dapl_cno_create.lo `test -f 'dapl/udapl/dapl_cno_create.c' || echo './'`dapl/udapl/dapl_cno_create.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/rdma/dat.conf\" -D_GNU_SOURCE -DOS_RELEASE=196627 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_cma -I./dapl/openib_cma/linux -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -c dapl/udapl/dapl_init.c -fPIC -DPIC -o .libs/dapl_udapl_libdaplofa_la-dapl_init.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/rdma/dat.conf\" -D_GNU_SOURCE -DOS_RELEASE=196627 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_cma -I./dapl/openib_cma/linux -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -c dapl/udapl/dapl_evd_create.c -fPIC -DPIC -o .libs/dapl_udapl_libdaplofa_la-dapl_evd_create.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/rdma/dat.conf\" -D_GNU_SOURCE -DOS_RELEASE=196627 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_cma -I./dapl/openib_cma/linux -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -c dapl/udapl/dapl_evd_query.c -fPIC -DPIC -o .libs/dapl_udapl_libdaplofa_la-dapl_evd_query.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -g -Wall -D_GNU_SOURCE -DDAT_CONF=\"/etc/rdma/dat.conf\" -D_GNU_SOURCE -DOS_RELEASE=196627 -DDAT_EXTENSIONS -DDEFINE_ATTR_LINK_LAYER -DOPENIB -DCQ_WAIT_OBJECT -I./dat/include/ -I./dapl/include/ -I./dapl/common -I./dapl/udapl/linux -I./dapl/openib_common -I./dapl/openib_cma -I./dapl/openib_cma/linux -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fno-strict-aliasing -c dapl/udapl/dapl_cno_create.c -fPIC -DPIC -o .libs/dapl_udapl_libdaplofa_la-dapl_cno_create.o In file included from ./dapl/include/dapl.h:53:0, from dapl/udapl/dapl_init.c:39: ./dapl/udapl/linux/dapl_osd.h:53:2: error: #error UNDEFINED ARCH #error UNDEFINED ARCH ^ In file included from ./dapl/include/dapl.h:53:0, from dapl/udapl/dapl_evd_create.c:40: ./dapl/udapl/linux/dapl_osd.h:53:2: error: #error UNDEFINED ARCH #error UNDEFINED ARCH ^ In file included from ./dapl/include/dapl.h:53:0, from dapl/udapl/dapl_evd_query.c:39: ./dapl/udapl/linux/dapl_osd.h:53:2: error: #error UNDEFINED ARCH #error UNDEFINED ARCH ^ In file included from ./dapl/include/dapl.h:53:0, from dapl/udapl/dapl_cno_create.c:39: ./dapl/udapl/linux/dapl_osd.h:53:2: error: #error UNDEFINED ARCH #error UNDEFINED ARCH ^ make[2]: *** [dapl_udapl_libdaplofa_la-dapl_evd_create.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** [dapl_udapl_libdaplofa_la-dapl_init.lo] Error 1 make[2]: *** [dapl_udapl_libdaplofa_la-dapl_evd_query.lo] Error 1 make[2]: Leaving directory `/builddir/build/BUILD/dapl-2.0.39' make[2]: *** [dapl_udapl_libdaplofa_la-dapl_cno_create.lo] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/dapl-2.0.39' make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.wPZ61R (%build) bogus date in %changelog: Wed Dec 19 2013 Jay Fenlason - 2.0.39-1 Bad exit status from /var/tmp/rpm-tmp.wPZ61R (%build) Child return code was: 1 EXCEPTION: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target armv7hl --nodeps builddir/build/SPECS/dapl.spec'] Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 378, in do raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode) Error: Command failed. See logs for output. # ['bash', '--login', '-c', 'rpmbuild -bb --target armv7hl --nodeps builddir/build/SPECS/dapl.spec'] LEAVE do --> EXCEPTION RAISED