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/lksctp-tools.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42794-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/lksctp-tools.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/lksctp-tools-1.0.19-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/lksctp-tools.spec'], chrootPath='/var/lib/mock/dist-oc9-build-42794-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/lksctp-tools.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.4Lp7Jb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lksctp-tools-1.0.19 + /usr/bin/gzip -dc /builddir/build/SOURCES/lksctp-tools-1.0.19.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lksctp-tools-1.0.19 + /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.qkG22M + umask 022 + cd /builddir/build/BUILD + cd lksctp-tools-1.0.19 + '[' '!' -x ./configure ']' + sh bootstrap + libtoolize --force --copy libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'bin'. libtoolize: copying file 'bin/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' + aclocal + autoheader + automake --foreign --add-missing --copy configure.ac:38: installing 'bin/compile' configure.ac:45: installing 'bin/config.guess' configure.ac:45: installing 'bin/config.sub' configure.ac:29: installing 'bin/install-sh' configure.ac:29: installing 'bin/missing' src/apps/Makefile.am: installing 'bin/depcomp' + autoconf configure.ac:41: warning: The macro `AC_ISC_POSIX' is obsolete. configure.ac:41: You should run autoupdate. ./lib/autoconf/specific.m4:550: AC_ISC_POSIX is expanded from... configure.ac:41: the top level configure.ac:44: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete. configure.ac:44: You should run autoupdate. m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:44: the top level configure.ac:44: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you configure.ac:44: put the 'dlopen' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... m4/ltoptions.m4:113: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:44: the top level configure.ac:45: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:45: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:45: the top level configure.ac:49: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:49: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:49: the top level configure.ac:67: warning: The macro `AC_HEADER_TIME' is obsolete. configure.ac:67: You should run autoupdate. ./lib/autoconf/headers.m4:743: AC_HEADER_TIME is expanded from... configure.ac:67: the top level configure.ac:76: warning: The macro `AC_FUNC_SETVBUF_REVERSED' is obsolete. Remove it and all references to SETVBUF_REVERSED. ./lib/autoconf/functions.m4:1766: AC_FUNC_SETVBUF_REVERSED is expanded from... configure.ac:76: the top level + '[' '' = -a ']' + 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 --disable-static 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 supports nested variables... (cached) yes checking for gawk... (cached) gawk 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 whether ln -s works... yes checking for library containing strerror... none required 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 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 sys/select.h... yes checking for sys/socket.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 for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no 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... no checking for egrep... (cached) /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for arpa/inet.h... yes checking for fcntl.h... yes checking for malloc.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for sys/socket.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for linux/sctp.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline 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 for GNU libc compatible malloc... yes checking for working memcmp... yes checking for GNU libc compatible realloc... yes checking types of arguments for select... int,fd_set *,struct timeval * checking for vprintf... yes checking for bzero... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for select... yes checking for socket... yes checking for strchr... yes checking for strerror... yes checking for strtol... yes checking for strtoul... yes checking for struct sctp_event_subscribe.sctp_stream_reset_event... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether SCTP_RECONFIG_SUPPORTED is declared... yes checking for sctp_peeloff_flags_arg_t... yes checking for struct sctp_pdapi_event.pdapi_stream... yes checking for struct sctp_pdapi_event.pdapi_seq... yes checking for struct sctp_prinfo... yes checking whether SCTP_AUTH_NO_AUTH is declared... yes checking for struct sctp_paddrparams.spp_ipv6_flowlabel... yes checking for struct sctp_paddrparams.spp_dscp... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating lksctp-tools.spec config.status: creating Makefile config.status: creating bin/Makefile config.status: creating man/Makefile config.status: creating src/Makefile config.status: creating src/apps/Makefile config.status: creating src/func_tests/Makefile config.status: creating src/include/Makefile config.status: creating src/include/netinet/Makefile config.status: creating src/lib/Makefile config.status: creating src/testlib/Makefile config.status: creating src/withsctp/Makefile config.status: creating doc/Makefile config.status: creating libsctp.pc config.status: creating config.h config.status: creating src/include/netinet/sctp.h config.status: executing depfiles commands config.status: executing libtool commands + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in man make[2]: Nothing to be done for 'all'. Making all in bin make[2]: Nothing to be done for 'all'. Making all in src Making all in apps /usr/bin/make -C ../../src/testlib libsctputil.la /usr/bin/make -C ../../src/lib libsctp.la make[3]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I. -I../../src/include -I../../src/testlib -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Wimplicit-function-declaration -O2 -g -c -o bindx_test.o bindx_test.c make[3]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' make[4]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c -o opt_info.lo opt_info.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c opt_info.c -fPIC -DPIC -o .libs/opt_info.o make[4]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' make[4]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c -o peeloff.lo peeloff.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c peeloff.c -fPIC -DPIC -o .libs/peeloff.o make[4]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' make[4]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c -o bindx.lo bindx.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c bindx.c -fPIC -DPIC -o .libs/bindx.o make[4]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' make[4]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c -o addrs.lo addrs.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c addrs.c -fPIC -DPIC -o .libs/addrs.o make[4]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' make[4]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c -o recvmsg.lo recvmsg.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c recvmsg.c -fPIC -DPIC -o .libs/recvmsg.o make[4]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' make[4]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c -o connectx.lo connectx.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c connectx.c -fPIC -DPIC -o .libs/connectx.o make[4]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' connectx.c:92:12: warning: 'sctp_connectx_orig' alias between functions of incompatible types 'int(int)' and 'int(int, struct sockaddr *, int)' [-Wattribute-alias=] 92 | extern int sctp_connectx_orig (int) | ^~~~~~~~~~~~~~~~~~ connectx.c:80:5: note: aliased declaration here 80 | int __sctp_connectx(int fd, struct sockaddr *addrs, int addrcnt) | ^~~~~~~~~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I. -I../../src/include -I../../src/testlib -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Wimplicit-function-declaration -O2 -g -c -o myftp.o myftp.c make[3]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' make[4]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c -o sendmsg.lo sendmsg.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c sendmsg.c -fPIC -DPIC -o .libs/sendmsg.o make[4]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' make[3]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I. -I../../src/include -I../../src/testlib -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Wimplicit-function-declaration -O2 -g -c -o nagle_rcv.o nagle_rcv.c make[3]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' make[3]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I. -I../../src/include -I../../src/testlib -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Wimplicit-function-declaration -O2 -g -c -o nagle_snd.o nagle_snd.c make[3]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' make[3]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I. -I../../src/include -I../../src/testlib -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Wimplicit-function-declaration -O2 -g -c -o peel_client.o peel_client.c make[3]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' make[3]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I. -I../../src/include -I../../src/testlib -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Wimplicit-function-declaration -O2 -g -c -o peel_server.o peel_server.c make[3]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' make[3]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I. -I../../src/include -I../../src/testlib -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Wimplicit-function-declaration -O2 -g -c -o sctp_xconnect.o sctp_xconnect.c make[3]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' make[4]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -version-info 1:19:0 -Wl,--version-script=./Versions.map -o libsctp.la -rpath /usr/lib64 bindx.lo connectx.lo peeloff.lo opt_info.lo addrs.lo sendmsg.lo recvmsg.lo libtool: link: gcc -shared -fPIC -DPIC .libs/bindx.o .libs/connectx.o .libs/peeloff.o .libs/opt_info.o .libs/addrs.o .libs/sendmsg.o .libs/recvmsg.o -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -O2 -g -Wl,--version-script=./Versions.map -Wl,-soname -Wl,libsctp.so.1 -o .libs/libsctp.so.1.0.19 make[4]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/lib' gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[4]: *** [Makefile:478: libsctp.la] Error 1 make[3]: *** [Makefile:950: ../../src/lib/libsctp.la] Error 2 make[3]: *** Waiting for unfinished jobs.... make[4]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/testlib' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c -o sctputil.lo sctputil.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I../../src/include -O2 -g -c sctputil.c -fPIC -DPIC -o .libs/sctputil.o make[4]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/testlib' make[3]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I. -I../../src/include -I../../src/testlib -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Wimplicit-function-declaration -O2 -g -c -o sctp_status.o sctp_status.c make[3]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' make[4]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/testlib' /bin/sh ../../libtool --tag=CC --mode=link gcc -O2 -g -o libsctputil.la sctputil.lo libtool: link: ar cr .libs/libsctputil.a .libs/sctputil.o libtool: link: ranlib .libs/libsctputil.a libtool: link: ( cd ".libs" && rm -f "libsctputil.la" && ln -s "../libsctputil.la" "libsctputil.la" ) make[4]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/testlib' make[3]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I. -I../../src/include -I../../src/testlib -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Wimplicit-function-declaration -O2 -g -c -o sctp_test.o sctp_test.c make[3]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' make[3]: Entering directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/include/netinet -I. -I../../src/include -I../../src/testlib -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -Wimplicit-function-declaration -O2 -g -c -o sctp_darn.o sctp_darn.c make[3]: Leaving directory '/builddir/build/BUILD/lksctp-tools-1.0.19/src/apps' make[2]: *** [Makefile:382: all-recursive] Error 1 make[1]: *** [Makefile:495: all-recursive] Error 1 make: *** [Makefile:401: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.qkG22M (%build) Bad exit status from /var/tmp/rpm-tmp.qkG22M (%build) 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/lksctp-tools.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/lksctp-tools.spec