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/babeltrace.spec'], chrootPath='/var/lib/mock/dist-oc9-build-40701-14589/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/babeltrace.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/babeltrace-1.5.8-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/babeltrace.spec'], chrootPath='/var/lib/mock/dist-oc9-build-40701-14589/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/babeltrace.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.Wh39tZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf babeltrace-1.5.8 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/babeltrace-1.5.8.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd babeltrace-1.5.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/python39.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3JmRyy + umask 022 + cd /builddir/build/BUILD + cd babeltrace-1.5.8 + autoreconf -vif autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. libtoolize: copying file 'config/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' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:24: warning: The macro `AC_PROG_CC_STDC' is obsolete. configure.ac:24: You should run autoupdate. ./lib/autoconf/c.m4:1666: AC_PROG_CC_STDC is expanded from... configure.ac:24: the top level configure.ac:30: 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:30: the top level configure.ac:234: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:234: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:234: the top level configure.ac:274: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:274: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.ac:274: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:21: installing 'config/compile' configure.ac:12: installing 'config/missing' compat/Makefile.am: installing 'config/depcomp' autoreconf: 'config/config.guess' is updated autoreconf: Leaving directory '.' + export PYTHON=/usr/bin/python3 + PYTHON=/usr/bin/python3 + export PYTHON_CONFIG=/usr/bin/python3-config + PYTHON_CONFIG=/usr/bin/python3-config + 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 --enable-python-bindings configure: loading site script /usr/share/config.site checking build system type... x86_64-opencloudos-linux-gnu checking host system type... x86_64-opencloudos-linux-gnu checking target system type... x86_64-opencloudos-linux-gnu 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 UID '991' is supported by ustar format... yes checking whether GID '135' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... yes checking whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) 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 dependency style of gcc... none 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 wchar.h... yes checking for minix/config.h... no checking for vfork.h... no checking for sys/time.h... yes checking for sys/param.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for x86_64-opencloudos-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether make sets $(MAKE)... (cached) yes 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 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... no 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 whether ln -s works... yes checking for __attribute__... yes checking if compiler needs -Werror to reject unknown flags... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes checking whether the linker accepts -Wl,--no-as-needed... yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for fcntl.h... yes checking for float.h... yes checking for libintl.h... yes checking for limits.h... yes checking for malloc.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stddef.h... yes checking for sys/socket.h... yes checking for x86_64-opencloudos-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.16... yes checking for GLIB... yes checking for GLIB - version >= 2.22.0... yes (version 2.72.1) checking for library containing gethostbyname... none required checking for library containing socket... none required checking for inline... inline checking for pid_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for fork... yes checking for vfork... yes checking for alarm... yes checking for getpagesize... yes checking for working fork... yes checking for working vfork... (cached) yes checking for GNU libc compatible malloc... yes checking for working mktime... yes checking for working mmap... yes checking for GNU libc compatible realloc... yes checking for atexit... yes checking for dirfd... yes checking for dup2... yes checking for ftruncate... yes checking for gethostbyname... yes checking for gethostname... yes checking for gettimeofday... yes checking for localtime_r... yes checking for memchr... yes checking for memset... yes checking for mkdir... yes checking for mkdtemp... yes checking for munmap... yes checking for rmdir... yes checking for setenv... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strndup... yes checking for strnlen... yes checking for strrchr... yes checking for strtoul... yes checking for strtoull... yes checking for tzset... yes checking for uname... yes checking for library containing gethostbyname... (cached) none required checking for library containing socket... (cached) none required checking for uuid_generate... no checking for UUID... yes checking for fmemopen in -lc... yes checking for open_memstream in -lc... yes checking for posix_fallocate in -lc... yes checking for faccessat in -lc... yes checking for poptGetContext in -lpopt... yes checking for swig... /usr/bin/swig checking SWIG version... 4.1.1 checking for SWIG library... /usr/share/swig/4.1.1 checking whether /usr/bin/python3 version is >= 3.0... yes checking for /usr/bin/python3 version... 3.10 checking for /usr/bin/python3 platform... linux checking for GNU default /usr/bin/python3 prefix... ${prefix} checking for GNU default /usr/bin/python3 exec_prefix... ${exec_prefix} checking for /usr/bin/python3 script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.10/site-packages checking for /usr/bin/python3 extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib64/python3.10/site-packages checking python include flags... -I/usr/include/python3.10 -I/usr/include/python3.10 checking for elf_version in -lelf... yes checking for dwarf_begin in -ldw... yes checking for elfutils version >= 0.154... yes checking for GMODULE... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating types/Makefile config.status: creating compat/Makefile config.status: creating formats/Makefile config.status: creating formats/ctf/Makefile config.status: creating formats/ctf/types/Makefile config.status: creating formats/ctf-text/Makefile config.status: creating formats/ctf-text/types/Makefile config.status: creating formats/ctf-metadata/Makefile config.status: creating formats/bt-dummy/Makefile config.status: creating formats/lttng-live/Makefile config.status: creating formats/ctf/metadata/Makefile config.status: creating formats/ctf/writer/Makefile config.status: creating formats/ctf/ir/Makefile config.status: creating converter/Makefile config.status: creating doc/Makefile config.status: creating lib/Makefile config.status: creating lib/prio_heap/Makefile config.status: creating include/Makefile config.status: creating bindings/Makefile config.status: creating bindings/python/Makefile config.status: creating bindings/python/setup.py config.status: creating bindings/python/babeltrace/Makefile config.status: creating bindings/python/babeltrace/__init__.py config.status: creating tests/Makefile config.status: creating tests/bin/Makefile config.status: creating tests/bin/intersection/Makefile config.status: creating tests/lib/Makefile config.status: creating tests/utils/Makefile config.status: creating tests/utils/tap/Makefile config.status: creating extras/Makefile config.status: creating extras/valgrind/Makefile config.status: creating babeltrace.pc config.status: creating babeltrace-ctf.pc config.status: creating tests/lib/test_ctf_writer_complete config.status: creating tests/lib/test_seek_big_trace config.status: creating tests/lib/test_seek_empty_packet config.status: creating tests/lib/test_dwarf_complete config.status: creating tests/lib/test_bin_info_complete config.status: creating tests/bin/test_trace_read config.status: creating tests/bin/intersection/test_intersection config.status: creating tests/bin/intersection/bt_python_helper.py config.status: creating tests/bin/test_packet_seq_num config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands checking for tput... /usr/bin/tput Babeltrace 1.5.8 Features Target architecture: x86_64 Python bindings: yes Python bindings doc: no Debug information output: yes Install directories Binaries: /usr/bin Libraries: /usr/lib64 + /usr/bin/make -O -j32 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in include make[2]: Nothing to be done for 'all'. Making all in types make[2]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/types' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o string.lo string.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c string.c -fPIC -DPIC -o .libs/string.o make[2]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/types' make[2]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/types' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o float.lo float.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c float.c -fPIC -DPIC -o .libs/float.o make[2]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/types' make[2]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/types' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o integer.lo integer.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c integer.c -fPIC -DPIC -o .libs/integer.o make[2]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/types' make[2]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/types' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o array.lo array.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c array.c -fPIC -DPIC -o .libs/array.o make[2]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/types' make[2]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/types' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o struct.lo struct.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c struct.c -fPIC -DPIC -o .libs/struct.o make[2]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/types' make[2]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/types' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o sequence.lo sequence.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c sequence.c -fPIC -DPIC -o .libs/sequence.o make[2]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/types' make[2]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/types' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o variant.lo variant.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c variant.c -fPIC -DPIC -o .libs/variant.o make[2]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/types' make[2]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/types' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o enum.lo enum.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c enum.c -fPIC -DPIC -o .libs/enum.o make[2]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/types' make[2]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/types' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o types.lo types.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c types.c -fPIC -DPIC -o .libs/types.o make[2]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/types' make[2]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/types' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -o libbabeltrace_types.la array.lo enum.lo float.lo integer.lo sequence.lo string.lo struct.lo variant.lo types.lo -ldw -lelf -lpopt -luuid -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 libtool: link: ar cr .libs/libbabeltrace_types.a .libs/array.o .libs/enum.o .libs/float.o .libs/integer.o .libs/sequence.o .libs/string.o .libs/struct.o .libs/variant.o .libs/types.o libtool: link: ranlib .libs/libbabeltrace_types.a libtool: link: ( cd ".libs" && rm -f "libbabeltrace_types.la" && ln -s "../libbabeltrace_types.la" "libbabeltrace_types.la" ) make[2]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/types' Making all in compat make[2]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/compat' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o dummy.lo dummy.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c dummy.c -fPIC -DPIC -o .libs/dummy.o make[2]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/compat' make[2]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/compat' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -Wl,--no-as-needed -o libcompat.la dummy.lo -ldw -lelf -lpopt -luuid -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 libtool: link: ar cr .libs/libcompat.a .libs/dummy.o libtool: link: ranlib .libs/libcompat.a libtool: link: ( cd ".libs" && rm -f "libcompat.la" && ln -s "../libcompat.la" "libcompat.la" ) make[2]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/compat' Making all in lib Making all in prio_heap make[3]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/lib/prio_heap' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I../.. -I../.. -I../../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../../include -O2 -g -I/usr/include/uuid -c -o prio_heap.lo prio_heap.c libtool: compile: gcc -DHAVE_CONFIG_H -I../.. -I../.. -I../../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../../include -O2 -g -I/usr/include/uuid -c prio_heap.c -fPIC -DPIC -o .libs/prio_heap.o make[3]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/lib/prio_heap' make[3]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/lib/prio_heap' /bin/sh ../../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../../include -O2 -g -I/usr/include/uuid -o libprio_heap.la prio_heap.lo -ldw -lelf -lpopt -luuid -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 libtool: link: ar cr .libs/libprio_heap.a .libs/prio_heap.o libtool: link: ranlib .libs/libprio_heap.a libtool: link: ( cd ".libs" && rm -f "libprio_heap.la" && ln -s "../libprio_heap.la" "libprio_heap.la" ) make[3]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/lib/prio_heap' Making all in . make[3]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o error.lo error.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c error.c -fPIC -DPIC -o .libs/error.o make[3]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' make[3]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o utils.lo utils.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c utils.c -fPIC -DPIC -o .libs/utils.o make[3]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' make[3]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o crc32.lo crc32.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c crc32.c -fPIC -DPIC -o .libs/crc32.o make[3]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' make[3]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o trace-handle.lo trace-handle.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c trace-handle.c -fPIC -DPIC -o .libs/trace-handle.o make[3]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' make[3]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o babeltrace.lo babeltrace.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c babeltrace.c -fPIC -DPIC -o .libs/babeltrace.o make[3]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' make[3]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o registry.lo registry.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c registry.c -fPIC -DPIC -o .libs/registry.o make[3]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' make[3]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o context.lo context.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c context.c -fPIC -DPIC -o .libs/context.o make[3]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' make[3]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o dwarf.lo dwarf.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c dwarf.c -fPIC -DPIC -o .libs/dwarf.o make[3]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' make[3]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o trace-collection.lo trace-collection.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c trace-collection.c -fPIC -DPIC -o .libs/trace-collection.o make[3]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' make[3]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o debug-info.lo debug-info.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c debug-info.c -fPIC -DPIC -o .libs/debug-info.o make[3]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' make[3]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o iterator.lo iterator.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c iterator.c -fPIC -DPIC -o .libs/iterator.o make[3]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' make[3]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c -o bin-info.lo bin-info.c libtool: compile: gcc -DHAVE_CONFIG_H -I.. -I.. -I../include -include config.h -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -c bin-info.c -fPIC -DPIC -o .libs/bin-info.o make[3]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' make[3]: Entering directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -Wall -Wformat -I../include -O2 -g -I/usr/include/uuid -version-info 1:0:0 -o libbabeltrace.la -rpath /usr/lib64 babeltrace.lo iterator.lo context.lo trace-handle.lo trace-collection.lo registry.lo error.lo prio_heap/libprio_heap.la ../types/libbabeltrace_types.la ../compat/libcompat.la -ldw -lelf -lpopt -luuid -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0 libtool: link: gcc -shared -fPIC -DPIC .libs/babeltrace.o .libs/iterator.o .libs/context.o .libs/trace-handle.o .libs/trace-collection.o .libs/registry.o .libs/error.o -Wl,--whole-archive prio_heap/.libs/libprio_heap.a ../types/.libs/libbabeltrace_types.a ../compat/.libs/libcompat.a -Wl,--no-whole-archive -ldw -lelf -lpopt -luuid -lgmodule-2.0 -lglib-2.0 -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -O2 -g -Wl,--export-dynamic -pthread -Wl,-soname -Wl,libbabeltrace.so.1 -o .libs/libbabeltrace.so.1.0.0 make[3]: Leaving directory '/builddir/build/BUILD/babeltrace-1.5.8/lib' gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[3]: *** [Makefile:565: libbabeltrace.la] Error 1 make[2]: *** [Makefile:629: all-recursive] Error 1 make[1]: *** [Makefile:557: all-recursive] Error 1 make: *** [Makefile:443: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.3JmRyy (%build) Bad exit status from /var/tmp/rpm-tmp.3JmRyy (%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/babeltrace.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/babeltrace.spec