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/dbus-python.spec'], chrootPath='/var/lib/mock/dist-oc9-build-40964-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/dbus-python.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/dbus-python-1.2.18-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/dbus-python.spec'], chrootPath='/var/lib/mock/dist-oc9-build-40964-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/dbus-python.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.BkTSw5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dbus-python-1.2.18 + /usr/bin/gzip -dc /builddir/build/SOURCES/dbus-python-1.2.18.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dbus-python-1.2.18 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Move-python-modules-to-architecture-specific-directo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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, 'build-aux'. libtoolize: copying file 'build-aux/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:59: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:59: You should run autoupdate. m4/libtool.m4:100: AC_PROG_LIBTOOL is expanded from... configure.ac:59: the top level configure.ac:92: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:92: 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:92: the top level configure.ac:101: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:101: 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:101: the top level configure.ac:154: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:154: 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:154: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:35: installing 'build-aux/compile' configure.ac:37: installing 'build-aux/missing' Makefile.am: installing 'build-aux/depcomp' autoreconf: 'build-aux/config.guess' is updated autoreconf: Leaving directory '.' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.29Olyr + umask 022 + cd /builddir/build/BUILD + cd dbus-python-1.2.18 + CFLAGS='-O2 -g' + export CFLAGS + CXXFLAGS='-O2 -g' + export CXXFLAGS + FFLAGS='-O2 -g ' + export FFLAGS + FCFLAGS='-O2 -g ' + export FCFLAGS + LDFLAGS= + export LDFLAGS + CFLAGS='-O2 -g' + LDFLAGS= + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build creating /builddir/build/BUILD/dbus-python-1.2.18/build creating /builddir/build/BUILD/dbus-python-1.2.18/build/temp.linux-x86_64-cpython-310 checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... 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 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 whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no 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 the include directive... yes (GNU style) 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 dependency style of gcc... gcc3 checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for native Windows host... no 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-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip 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 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 inline... inline checking for gawk... (cached) gawk checking for python... /usr/bin/python3 checking for a version of Python >= '2.1.0'... yes checking for a version of Python >= '2.7'... yes checking for the distutils Python package... yes checking for Python include path... -I/usr/include/python3.10 checking for Python library path... -L/usr/lib64 -lpython3.10 checking for Python site-packages path... /usr/lib/python3.10/site-packages checking python extra libraries... -lcrypt -ldl -lm -lm checking python extra linking flags... -Xlinker -export-dynamic checking consistency of all components of python development environment... yes checking for python version... 3.10 checking for python platform... linux checking for GNU default python prefix... ${prefix} checking for GNU default python exec_prefix... ${exec_prefix} checking for python script directory (pythondir)... ${PYTHON_PREFIX}/lib/python3.10/site-packages checking for python extension module directory (pyexecdir)... ${PYTHON_EXEC_PREFIX}/lib64/python3.10/site-packages checking python3 module: sphinx... no checking python3 module: sphinx_rtd_theme... no checking for dbus-run-session... /usr/bin/dbus-run-session checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for dbus-1 >= 1.8... yes checking for glib-2.0 >= 2.40... yes checking whether C compiler accepts -Werror=unknown-warning-option... no checking whether C compiler accepts -Wno-suggest-attribute=format... yes checking whether C compiler accepts -fno-strict-aliasing... yes checking whether C compiler accepts -Wdeprecated-declarations... yes checking whether C compiler accepts -Wno-declaration-after-statement... yes checking whether C compiler accepts -Wno-duplicated-branches... yes checking whether C compiler accepts -Wno-inline... yes checking whether C compiler accepts -Wno-redundant-decls... yes checking whether C compiler accepts -Wno-switch-default... yes checking whether C compiler accepts -Wno-write-strings... yes checking whether C compiler accepts -Wnested-externs... yes checking whether C compiler accepts -Wmissing-prototypes... yes checking whether C compiler accepts -Wstrict-prototypes... yes checking whether C compiler accepts -Wdeclaration-after-statement... yes checking whether C compiler accepts -Wimplicit-function-declaration... yes checking whether C compiler accepts -Wold-style-definition... yes checking whether C compiler accepts -Wjump-misses-init... yes checking whether C compiler accepts -Wall... yes checking whether C compiler accepts -Wextra... yes checking whether C compiler accepts -Wundef... yes checking whether C compiler accepts -Wwrite-strings... yes checking whether C compiler accepts -Wpointer-arith... yes checking whether C compiler accepts -Wmissing-declarations... yes checking whether C compiler accepts -Wredundant-decls... yes checking whether C compiler accepts -Wno-unused-parameter... yes checking whether C compiler accepts -Wno-missing-field-initializers... yes checking whether C compiler accepts -Wformat=2... yes checking whether C compiler accepts -Wcast-align... yes checking whether C compiler accepts -Wformat-nonliteral... yes checking whether C compiler accepts -Wformat-security... yes checking whether C compiler accepts -Wsign-compare... yes checking whether C compiler accepts -Wstrict-aliasing... yes checking whether C compiler accepts -Wshadow... yes checking whether C compiler accepts -Winline... yes checking whether C compiler accepts -Wpacked... yes checking whether C compiler accepts -Wmissing-format-attribute... yes checking whether C compiler accepts -Wmissing-noreturn... yes checking whether C compiler accepts -Winit-self... yes checking whether C compiler accepts -Wredundant-decls... (cached) yes checking whether C compiler accepts -Wmissing-include-dirs... yes checking whether C compiler accepts -Wunused-but-set-variable... yes checking whether C compiler accepts -Warray-bounds... yes checking whether C compiler accepts -Wreturn-type... yes checking whether C compiler accepts -Wswitch-enum... yes checking whether C compiler accepts -Wswitch-default... yes checking whether C compiler accepts -Wduplicated-cond... yes checking whether C compiler accepts -Wduplicated-branches... yes checking whether C compiler accepts -Wlogical-op... yes checking whether C compiler accepts -Wrestrict... yes checking whether C compiler accepts -Wnull-dereference... yes checking whether C compiler accepts -Wdouble-promotion... yes checking whether C compiler accepts -Wno-error=declaration-after-statement... yes checking whether C compiler accepts -Wno-error=duplicated-branches... yes checking whether C compiler accepts -Wno-error=inline... yes checking whether C compiler accepts -Wno-error=redundant-decls... yes checking whether C compiler accepts -Wno-error=switch-default... yes checking whether C compiler accepts -Wno-error=write-strings... yes checking whether C compiler accepts -Wno-error=unused-parameter... yes checking whether C compiler accepts -Wno-error=missing-field-initializers... yes checking whether C compiler accepts -Werror=unknown-warning-option... (cached) no checking whether the linker accepts -Wl,--as-needed... yes checking whether the linker accepts -Wl,--as-needed... yes checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,relro... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -Wl,-z,now... yes checking whether the linker accepts -Wl,-z,noexecstack... yes checking whether the linker accepts -Wl,-z,noexecstack... yes checking whether the linker accepts -Wl,--no-as-needed... yes checking whether the linker accepts -Wl,--fatal-warnings... yes checking whether the linker accepts -Wl,-fatal_warnings... no checking whether the linker accepts -Wl,--no-as-needed... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating dbus-gmain/Makefile config.status: creating dbus-python.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make: Entering directory '/builddir/build/BUILD/dbus-python-1.2.18/build/temp.linux-x86_64-cpython-310' make all-recursive make[1]: Entering directory '/builddir/build/BUILD/dbus-python-1.2.18/build/temp.linux-x86_64-cpython-310' Making all in dbus-gmain make[2]: Entering directory '/builddir/build/BUILD/dbus-python-1.2.18/build/temp.linux-x86_64-cpython-310/dbus-gmain' depbase=`echo tests/30574.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I/builddir/build/BUILD/dbus-python-1.2.18/dbus-gmain -I.. -I/builddir/build/BUILD/dbus-python-1.2.18 -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -g -MT tests/30574.o -MD -MP -MF $depbase.Tpo -c -o tests/30574.o /builddir/build/BUILD/dbus-python-1.2.18/dbus-gmain/tests/30574.c &&\ mv -f $depbase.Tpo $depbase.Po depbase=`echo dbus-gmain.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/builddir/build/BUILD/dbus-python-1.2.18/dbus-gmain -I.. -I/builddir/build/BUILD/dbus-python-1.2.18 -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -g -MT dbus-gmain.lo -MD -MP -MF $depbase.Tpo -c -o dbus-gmain.lo /builddir/build/BUILD/dbus-python-1.2.18/dbus-gmain/dbus-gmain.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/builddir/build/BUILD/dbus-python-1.2.18/dbus-gmain -I.. -I/builddir/build/BUILD/dbus-python-1.2.18 -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -g -MT dbus-gmain.lo -MD -MP -MF .deps/dbus-gmain.Tpo -c /builddir/build/BUILD/dbus-python-1.2.18/dbus-gmain/dbus-gmain.c -fPIC -DPIC -o .libs/dbus-gmain.o /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -no-undefined -o libdbus-gmain.la dbus-gmain.lo -ldbus-1 -lglib-2.0 libtool: link: ar cr .libs/libdbus-gmain.a .libs/dbus-gmain.o libtool: link: ranlib .libs/libdbus-gmain.a libtool: link: ( cd ".libs" && rm -f "libdbus-gmain.la" && ln -s "../libdbus-gmain.la" "libdbus-gmain.la" ) depbase=`echo tests/util.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/builddir/build/BUILD/dbus-python-1.2.18/dbus-gmain -I.. -I/builddir/build/BUILD/dbus-python-1.2.18 -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -g -MT tests/util.lo -MD -MP -MF $depbase.Tpo -c -o tests/util.lo /builddir/build/BUILD/dbus-python-1.2.18/dbus-gmain/tests/util.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/builddir/build/BUILD/dbus-python-1.2.18/dbus-gmain -I.. -I/builddir/build/BUILD/dbus-python-1.2.18 -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -g -MT tests/util.lo -MD -MP -MF tests/.deps/util.Tpo -c /builddir/build/BUILD/dbus-python-1.2.18/dbus-gmain/tests/util.c -fPIC -DPIC -o tests/.libs/util.o /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -no-undefined -o tests/libtest.la tests/util.lo -ldbus-1 -lglib-2.0 libtool: link: ar cr tests/.libs/libtest.a tests/.libs/util.o libtool: link: ranlib tests/.libs/libtest.a libtool: link: ( cd "tests/.libs" && rm -f "libtest.la" && ln -s "../libtest.la" "libtest.la" ) /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o tests/test-30574 tests/30574.o libdbus-gmain.la tests/libtest.la -lglib-2.0 -ldbus-1 libtool: link: gcc -O2 -g -o tests/test-30574 tests/30574.o ./.libs/libdbus-gmain.a tests/.libs/libtest.a -lglib-2.0 -ldbus-1 depbase=`echo tests/test-thread-server.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I/builddir/build/BUILD/dbus-python-1.2.18/dbus-gmain -I.. -I/builddir/build/BUILD/dbus-python-1.2.18 -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -g -MT tests/test-thread-server.o -MD -MP -MF $depbase.Tpo -c -o tests/test-thread-server.o /builddir/build/BUILD/dbus-python-1.2.18/dbus-gmain/tests/test-thread-server.c &&\ mv -f $depbase.Tpo $depbase.Po /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o tests/test-thread-server tests/test-thread-server.o libdbus-gmain.la tests/libtest.la -lglib-2.0 -ldbus-1 libtool: link: gcc -O2 -g -o tests/test-thread-server tests/test-thread-server.o ./.libs/libdbus-gmain.a tests/.libs/libtest.a -lglib-2.0 -ldbus-1 depbase=`echo tests/test-thread-client.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DHAVE_CONFIG_H -I. -I/builddir/build/BUILD/dbus-python-1.2.18/dbus-gmain -I.. -I/builddir/build/BUILD/dbus-python-1.2.18 -I.. -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -g -MT tests/test-thread-client.o -MD -MP -MF $depbase.Tpo -c -o tests/test-thread-client.o /builddir/build/BUILD/dbus-python-1.2.18/dbus-gmain/tests/test-thread-client.c &&\ mv -f $depbase.Tpo $depbase.Po /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -g -o tests/test-thread-client tests/test-thread-client.o libdbus-gmain.la tests/libtest.la -lglib-2.0 -ldbus-1 libtool: link: gcc -O2 -g -o tests/test-thread-client tests/test-thread-client.o ./.libs/libdbus-gmain.a tests/.libs/libtest.a -lglib-2.0 -ldbus-1 make[2]: Leaving directory '/builddir/build/BUILD/dbus-python-1.2.18/build/temp.linux-x86_64-cpython-310/dbus-gmain' Making all in . make[2]: Entering directory '/builddir/build/BUILD/dbus-python-1.2.18/build/temp.linux-x86_64-cpython-310' gcc -DHAVE_CONFIG_H -I. -I/builddir/build/BUILD/dbus-python-1.2.18 -I/usr/include/python3.10 -fno-strict-aliasing -Wdeprecated-declarations -Wno-declaration-after-statement -Wno-duplicated-branches -Wno-inline -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wpointer-arith -Wmissing-declarations -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wduplicated-cond -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wno-error=declaration-after-statement -Wno-error=duplicated-branches -Wno-error=inline -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -g -MT test/test_import_repeatedly-import-repeatedly.o -MD -MP -MF test/.deps/test_import_repeatedly-import-repeatedly.Tpo -c -o test/test_import_repeatedly-import-repeatedly.o `test -f 'test/import-repeatedly.c' || echo '/builddir/build/BUILD/dbus-python-1.2.18/'`test/import-repeatedly.c mv -f test/.deps/test_import_repeatedly-import-repeatedly.Tpo test/.deps/test_import_repeatedly-import-repeatedly.Po /bin/sh ./libtool --tag=CC --mode=link gcc -fno-strict-aliasing -Wdeprecated-declarations -Wno-declaration-after-statement -Wno-duplicated-branches -Wno-inline -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wpointer-arith -Wmissing-declarations -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wduplicated-cond -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wno-error=declaration-after-statement -Wno-error=duplicated-branches -Wno-error=inline -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -g -Xlinker -export-dynamic -o test/test-import-repeatedly test/test_import_repeatedly-import-repeatedly.o -L/usr/lib64 -lpython3.10 -lcrypt -ldl -lm -lm libtool: link: gcc -fno-strict-aliasing -Wdeprecated-declarations -Wno-declaration-after-statement -Wno-duplicated-branches -Wno-inline -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wpointer-arith -Wmissing-declarations -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wduplicated-cond -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wno-error=declaration-after-statement -Wno-error=duplicated-branches -Wno-error=inline -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -g -Wl,-export-dynamic -o test/test-import-repeatedly test/test_import_repeatedly-import-repeatedly.o -L/usr/lib64 -lpython3.10 -lcrypt -ldl -lm depbase=`echo test/dbus_py_test.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I/builddir/build/BUILD/dbus-python-1.2.18 -include config.h -I/builddir/build/BUILD/dbus-python-1.2.18/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/python3.10 -fno-strict-aliasing -Wdeprecated-declarations -Wno-declaration-after-statement -Wno-duplicated-branches -Wno-inline -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wpointer-arith -Wmissing-declarations -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wduplicated-cond -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wno-error=declaration-after-statement -Wno-error=duplicated-branches -Wno-error=inline -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -g -MT test/dbus_py_test.lo -MD -MP -MF $depbase.Tpo -c -o test/dbus_py_test.lo /builddir/build/BUILD/dbus-python-1.2.18/test/dbus_py_test.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I/builddir/build/BUILD/dbus-python-1.2.18 -include config.h -I/builddir/build/BUILD/dbus-python-1.2.18/include -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -pthread -I/usr/include/python3.10 -fno-strict-aliasing -Wdeprecated-declarations -Wno-declaration-after-statement -Wno-duplicated-branches -Wno-inline -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wpointer-arith -Wmissing-declarations -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wduplicated-cond -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wno-error=declaration-after-statement -Wno-error=duplicated-branches -Wno-error=inline -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -g -MT test/dbus_py_test.lo -MD -MP -MF test/.deps/dbus_py_test.Tpo -c /builddir/build/BUILD/dbus-python-1.2.18/test/dbus_py_test.c -fPIC -DPIC -o test/.libs/dbus_py_test.o /bin/sh ./libtool --tag=CC --mode=link gcc -fno-strict-aliasing -Wdeprecated-declarations -Wno-declaration-after-statement -Wno-duplicated-branches -Wno-inline -Wno-redundant-decls -Wno-switch-default -Wno-write-strings -Wnested-externs -Wmissing-prototypes -Wstrict-prototypes -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wpointer-arith -Wmissing-declarations -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wduplicated-cond -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -Wno-error=declaration-after-statement -Wno-error=duplicated-branches -Wno-error=inline -Wno-error=redundant-decls -Wno-error=switch-default -Wno-error=write-strings -Wno-error=unused-parameter -Wno-error=missing-field-initializers -O2 -g -module -avoid-version -Wl,--no-as-needed -rpath /builddir/build/BUILD/dbus-python-1.2.18/build/temp.linux-x86_64-cpython-310/prefix/libexec/installed-tests/dbus-python -o test/dbus_py_test.la test/dbus_py_test.lo -ldbus-1 libtool: link: gcc -shared -fPIC -DPIC test/.libs/dbus_py_test.o -ldbus-1 -Wl,-z,now -specs=/usr/lib/rpm/TencentOS/TencentOS-hardened-ld -O2 -g -Wl,--no-as-needed -Wl,-soname -Wl,dbus_py_test.so -o test/.libs/dbus_py_test.so gcc: fatal error: cannot read spec file '/usr/lib/rpm/TencentOS/TencentOS-hardened-ld': No such file or directory compilation terminated. make[2]: *** [Makefile:1304: test/dbus_py_test.la] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/dbus-python-1.2.18/build/temp.linux-x86_64-cpython-310' make[1]: *** [Makefile:1606: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/dbus-python-1.2.18/build/temp.linux-x86_64-cpython-310' make: Leaving directory '/builddir/build/BUILD/dbus-python-1.2.18/build/temp.linux-x86_64-cpython-310' make: *** [Makefile:1020: all] Error 2 Traceback (most recent call last): File "/builddir/build/BUILD/dbus-python-1.2.18/setup.py", line 85, in setup( File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup return distutils.core.setup(**attrs) File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 148, in setup return run_commands(dist) File "/usr/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 163, in run_commands dist.run_commands() File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands self.run_command(cmd) File "/usr/lib/python3.10/site-packages/setuptools/dist.py", line 1229, in run_command super().run_command(command) File "/usr/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command cmd_obj.run() File "/builddir/build/BUILD/dbus-python-1.2.18/setup.py", line 69, in run subprocess.check_call(['make', '-C', builddir] + make_args) File "/usr/lib64/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['make', '-C', '/builddir/build/BUILD/dbus-python-1.2.18/build/temp.linux-x86_64-cpython-310', 'pythondir=/builddir/build/BUILD/dbus-python-1.2.18/build/lib.linux-x86_64-cpython-310', 'pyexecdir=/builddir/build/BUILD/dbus-python-1.2.18/build/lib.linux-x86_64-cpython-310']' returned non-zero exit status 2. RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.29Olyr (%build) Bad exit status from /var/tmp/rpm-tmp.29Olyr (%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/dbus-python.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/dbus-python.spec