Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/opensm.spec'], chrootPath='/var/lib/mock/dist-oc9-build-43329-14591/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/opensm.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/opensm-3.3.24-3.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/opensm.spec'], chrootPath='/var/lib/mock/dist-oc9-build-43329-14591/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': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/opensm.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': 'C.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.fPN5iC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf opensm-3.3.24 + /usr/bin/gzip -dc /builddir/build/SOURCES/opensm-3.3.24.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd opensm-3.3.24 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wYsKAf + umask 022 + cd /builddir/build/BUILD + cd opensm-3.3.24 + ./autogen.sh libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config'. libtoolize: copying file 'config/libtool.m4' libtoolize: copying file 'config/ltoptions.m4' libtoolize: copying file 'config/ltsugar.m4' libtoolize: copying file 'config/ltversion.m4' libtoolize: copying file 'config/lt~obsolete.m4' configure.ac:41: installing 'config/compile' configure.ac:42: installing 'config/config.guess' configure.ac:42: installing 'config/config.sub' configure.ac:9: installing 'config/install-sh' configure.ac:9: installing 'config/missing' complib/Makefile.am: installing 'config/depcomp' configure.ac: installing 'config/ylwrap' configure.ac:16: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:16: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:16: the top level configure.ac:37: warning: The macro `AC_LANG_C' is obsolete. configure.ac:37: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... configure.ac:37: the top level configure.ac:42: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:42: You should run autoupdate. aclocal.m4:122: AC_PROG_LIBTOOL is expanded from... configure.ac:42: the top level configure.ac:47: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:716: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:709: AC_PROG_LEX is expanded from... configure.ac:47: the top level configure.ac:72: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:72: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:72: the top level configure.ac:78: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:78: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:78: the top level configure.ac:128: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:128: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:128: the top level configure.ac:153: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:153: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:153: the top level configure.ac:173: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:173: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:173: the top level configure.ac:193: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:193: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:193: the top level configure.ac:213: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:213: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:213: the top level configure.ac:237: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:237: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:237: the top level configure.ac:257: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:257: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:257: the top level configure.ac:277: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:277: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... config/osmvsel.m4:9: OPENIB_APP_OSMV_SEL is expanded from... configure.ac:277: the top level configure.ac:280: warning: AC_CHECK_HEADERS($osmv_headers): you should use literals ./lib/autoconf/headers.m4:217: AC_CHECK_HEADERS is expanded from... config/osmvsel.m4:158: OPENIB_APP_OSMV_CHECK_HEADER is expanded from... configure.ac:280: the top level configure.ac:284: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:284: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... config/metis.m4:8: METIS_SEL is expanded from... configure.ac:284: the top level configure.ac:293: warning: AC_OUTPUT should be used without arguments. configure.ac:293: You should run autoupdate. + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g ' + export FFLAGS + FCFLAGS='-O2 -g ' + export FCFLAGS + LDFLAGS= + export LDFLAGS + ./configure --host=x86_64-opencloudos-linux-gnu --build=x86_64-opencloudos-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-opensm-conf-sub-dir=rdma configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free 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 sets $(MAKE)... (cached) yes checking for x86_64-opencloudos-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-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 how to convert x86_64-opencloudos-linux-gnu file names to x86_64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert x86_64-opencloudos-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-opencloudos-linux-gnu-file... no checking for file... file checking for x86_64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for x86_64-opencloudos-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 a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for sys/time.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... yes 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 whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for bison... bison -y checking for flex... flex checking for lex output file root... lex.yy checking for lex library... none needed checking for library containing yywrap... no checking whether yytext is a pointer... yes checking for bison... bison checking for flex... flex checking for pthread_mutex_init in -lpthread... yes checking for dlopen in -ldl... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working volatile... yes checking if the compiler supports __builtin_expect... yes checking whether ld accepts --version-script... yes checking to enable console loopback... yes checking for request_init in -lwrap... no checking to enable console socket... configure: WARNING: libwrap is missing. setting console_loopback=no no checking to enable perf mgr... yes checking to enable perf mgr profiling... no checking for --with-opensm-conf-sub-dir... /etc/rdma checking for --with-opensm-conf-file ... opensm.conf checking for --with-node-name-map ... ib-node-name-map checking for --with-partitions-conf... partitions.conf checking for --with-qos-policy-conf... qos-policy.conf checking for --with-prefix-routes-conf... prefix-routes.conf checking for --with-per-module-logging-conf... per-module-logging.conf checking to enable default event plugin... no checking for infiniband/umad.h... yes checking for umad_init in -libumad... yes checking to enable metis support for nue routing... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating man/opensm.8 config.status: creating man/torus-2QoS.8 config.status: creating man/torus-2QoS.conf.5 config.status: creating scripts/opensm.init config.status: creating scripts/redhat-opensm.init config.status: creating scripts/sldd.sh config.status: creating include/opensm/osm_version.h config.status: creating Makefile config.status: creating include/Makefile config.status: creating complib/Makefile config.status: creating libopensm/Makefile config.status: creating libvendor/Makefile config.status: creating opensm/Makefile config.status: creating osmeventplugin/Makefile config.status: creating osmroutingplugin/Makefile config.status: creating osmtest/Makefile config.status: creating opensm.spec config.status: creating include/config.h config.status: creating include/opensm/osm_config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j32 V=1 VERBOSE=1 Making all in complib make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-ib_statustext.lo `test -f 'ib_statustext.c' || echo './'`ib_statustext.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c ib_statustext.c -fPIC -DPIC -o .libs/libosmcomp_la-ib_statustext.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c ib_statustext.c -o libosmcomp_la-ib_statustext.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_statustext.lo `test -f 'cl_statustext.c' || echo './'`cl_statustext.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_statustext.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_statustext.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_statustext.c -o libosmcomp_la-cl_statustext.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_spinlock.lo `test -f 'cl_spinlock.c' || echo './'`cl_spinlock.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_spinlock.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_spinlock.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_spinlock.c -o libosmcomp_la-cl_spinlock.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_log.lo `test -f 'cl_log.c' || echo './'`cl_log.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_log.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_log.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_log.c -o libosmcomp_la-cl_log.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_complib.lo `test -f 'cl_complib.c' || echo './'`cl_complib.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_complib.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_complib.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_complib.c -o libosmcomp_la-cl_complib.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_thread.lo `test -f 'cl_thread.c' || echo './'`cl_thread.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_thread.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_thread.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_thread.c -o libosmcomp_la-cl_thread.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_event.lo `test -f 'cl_event.c' || echo './'`cl_event.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_event.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_event.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_event.c -o libosmcomp_la-cl_event.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_threadpool.lo `test -f 'cl_threadpool.c' || echo './'`cl_threadpool.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_threadpool.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_threadpool.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_threadpool.c -o libosmcomp_la-cl_threadpool.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_ptr_vector.lo `test -f 'cl_ptr_vector.c' || echo './'`cl_ptr_vector.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_ptr_vector.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_ptr_vector.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_ptr_vector.c -o libosmcomp_la-cl_ptr_vector.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_nodenamemap.lo `test -f 'cl_nodenamemap.c' || echo './'`cl_nodenamemap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_nodenamemap.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_nodenamemap.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_nodenamemap.c -o libosmcomp_la-cl_nodenamemap.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_dispatcher.lo `test -f 'cl_dispatcher.c' || echo './'`cl_dispatcher.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_dispatcher.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_dispatcher.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_dispatcher.c -o libosmcomp_la-cl_dispatcher.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_timer.lo `test -f 'cl_timer.c' || echo './'`cl_timer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_timer.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_timer.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_timer.c -o libosmcomp_la-cl_timer.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_heap.lo `test -f 'cl_heap.c' || echo './'`cl_heap.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_heap.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_heap.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_heap.c -o libosmcomp_la-cl_heap.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_vector.lo `test -f 'cl_vector.c' || echo './'`cl_vector.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_vector.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_vector.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_vector.c -o libosmcomp_la-cl_vector.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_event_wheel.lo `test -f 'cl_event_wheel.c' || echo './'`cl_event_wheel.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_event_wheel.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_event_wheel.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_event_wheel.c -o libosmcomp_la-cl_event_wheel.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_pool.lo `test -f 'cl_pool.c' || echo './'`cl_pool.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_pool.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_pool.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_pool.c -o libosmcomp_la-cl_pool.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_list.lo `test -f 'cl_list.c' || echo './'`cl_list.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_list.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_list.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_list.c -o libosmcomp_la-cl_list.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c -o libosmcomp_la-cl_map.lo `test -f 'cl_map.c' || echo './'`cl_map.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_map.c -fPIC -DPIC -o .libs/libosmcomp_la-cl_map.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include/opensm -I./../include -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -c cl_map.c -o libosmcomp_la-cl_map.o >/dev/null 2>&1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' make[1]: Entering directory '/builddir/build/BUILD/opensm-3.3.24/complib' /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Wwrite-strings -g -D_XOPEN_SOURCE=600 -D_GNU_SOURCE=1 -O2 -g -version-info 5:1:0 -export-dynamic -Wl,--version-script=./libosmcomp.map -o libosmcomp.la -rpath /usr/lib64 libosmcomp_la-cl_complib.lo libosmcomp_la-cl_dispatcher.lo libosmcomp_la-cl_event.lo libosmcomp_la-cl_event_wheel.lo libosmcomp_la-cl_list.lo libosmcomp_la-cl_log.lo libosmcomp_la-cl_map.lo libosmcomp_la-cl_pool.lo libosmcomp_la-cl_ptr_vector.lo libosmcomp_la-cl_spinlock.lo libosmcomp_la-cl_statustext.lo libosmcomp_la-cl_thread.lo libosmcomp_la-cl_threadpool.lo libosmcomp_la-cl_timer.lo libosmcomp_la-cl_vector.lo libosmcomp_la-cl_heap.lo libosmcomp_la-ib_statustext.lo libosmcomp_la-cl_nodenamemap.lo -libumad -ldl -lpthread libtool: link: gcc -shared -fPIC -DPIC .libs/libosmcomp_la-cl_complib.o .libs/libosmcomp_la-cl_dispatcher.o .libs/libosmcomp_la-cl_event.o .libs/libosmcomp_la-cl_event_wheel.o .libs/libosmcomp_la-cl_list.o .libs/libosmcomp_la-cl_log.o .libs/libosmcomp_la-cl_map.o .libs/libosmcomp_la-cl_pool.o .libs/libosmcomp_la-cl_ptr_vector.o .libs/libosmcomp_la-cl_spinlock.o .libs/libosmcomp_la-cl_statustext.o .libs/libosmcomp_la-cl_thread.o .libs/libosmcomp_la-cl_threadpool.o .libs/libosmcomp_la-cl_timer.o .libs/libosmcomp_la-cl_vector.o .libs/libosmcomp_la-cl_heap.o .libs/libosmcomp_la-ib_statustext.o .libs/libosmcomp_la-cl_nodenamemap.o -libumad -ldl -lpthread -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -g -O2 -g -Wl,--version-script=./libosmcomp.map -Wl,-soname -Wl,libosmcomp.so.5 -o .libs/libosmcomp.so.5.0.1 make[1]: Leaving directory '/builddir/build/BUILD/opensm-3.3.24/complib' gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[1]: *** [Makefile:513: libosmcomp.la] Error 1 make: *** [Makefile:575: all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.wYsKAf (%build) Bad exit status from /var/tmp/rpm-tmp.wYsKAf (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/opensm.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/opensm.spec