Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/thunarx-python.spec'], chrootPath='/var/lib/mock/f33-build-213723-48417/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/thunarx-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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1566518400 Wrote: /builddir/build/SRPMS/thunarx-python-0.5.1-24.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/thunarx-python.spec'], chrootPath='/var/lib/mock/f33-build-213723-48417/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/thunarx-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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1566518400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.HK24iC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf thunarx-python-0.5.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/thunarx-python-0.5.1.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd thunarx-python-0.5.1 + /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.W92gXC + umask 022 + cd /builddir/build/BUILD + cd thunarx-python-0.5.1 + export PYTHON=/usr/bin/python3.8 + PYTHON=/usr/bin/python3.8 + export PYTHON_LIBS=-lpython3.8 + PYTHON_LIBS=-lpython3.8 + export PKG_CONFIG_PATH=/usr/lib64/pkgconfig + PKG_CONFIG_PATH=/usr/lib64/pkgconfig + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-gtk-doc --with-python3 configure: WARNING: unrecognized options: --with-python3 checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking target system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether UID '987' 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... no checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking how to print strings... printf 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 riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-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... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking whether to build gtk-doc documentation... yes checking for gtkdoc-check... /usr/bin/gtkdoc-check checking for python version... 3.8 checking for python platform... linux checking for python script directory... ${prefix}/lib/python3.8/site-packages checking for python extension module directory... ${exec_prefix}/lib64/python3.8/site-packages checking for headers required to compile python extensions... ./configure: line 10233: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory ./configure: line 10233: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory found checking for libraries required to embed python... yes checking for riscv64-redhat-linux-gnu-pkg-config... (cached) /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for thunarx-3 >= 1.6.0... 1.8.14 checking THUNARX_CFLAGS... -I/usr/include/thunarx-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread checking THUNARX_LIBS... -lthunarx-3 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 checking for riscv64-redhat-linux-gnu-pkg-config... (cached) /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for gtk+-3.0 >= 3.20.0... 3.24.20 checking GTK_CFLAGS... -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread checking GTK_LIBS... -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 checking for riscv64-redhat-linux-gnu-pkg-config... (cached) /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for glib-2.0 >= 2.30.0... 2.64.2 checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking GLIB_LIBS... -lglib-2.0 checking for riscv64-redhat-linux-gnu-pkg-config... (cached) /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for pygobject-3.0 >= 3.20.0... 3.36.1 checking PYGOBJECT_CFLAGS... -I/usr/include/pygobject-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include checking PYGOBJECT_LIBS... -lgobject-2.0 -lglib-2.0 checking for gtkdoc-mkhtml... /usr/bin/gtkdoc-mkhtml checking whether to build with debugging support... minimum checking whether /usr/bin/ld accepts --as-needed... yes checking whether /usr/bin/ld accepts -O1... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating examples/Makefile config.status: creating docs/Makefile config.status: creating docs/reference/entities.docbook config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --with-python3 Build Configuration: Prefix: /usr Documentation: yes Python Version: python3.8 + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/thunarx-python-0.5.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DDATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"thunarx-python\" -DEXO_API_SUBJECT_TO_CHANGE -DLIBEXECDIR=\"/usr/libexec\" -DPY_LIB_LOC=\"/usr/lib\" -DPYTHON_LIB_NAME=\"python3.8\" -DTHUNARX_API_VERSION=3 -DGI_TYPELIB_PATH=\"/usr/lib64/girepository-1.0\" -DNDEBUG -I/usr/include/thunarx-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/python3.8 -I/usr/include/python3.8 -I/usr/include/pygobject-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o thunarx_python_la-thunarx-python.lo `test -f 'thunarx-python.c' || echo './'`thunarx-python.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DDATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"thunarx-python\" -DEXO_API_SUBJECT_TO_CHANGE -DLIBEXECDIR=\"/usr/libexec\" -DPY_LIB_LOC=\"/usr/lib\" -DPYTHON_LIB_NAME=\"python3.8\" -DTHUNARX_API_VERSION=3 -DGI_TYPELIB_PATH=\"/usr/lib64/girepository-1.0\" -DNDEBUG -I/usr/include/thunarx-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/python3.8 -I/usr/include/python3.8 -I/usr/include/pygobject-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c thunarx-python.c -fPIC -DPIC -o .libs/thunarx_python_la-thunarx-python.o make[2]: Leaving directory '/builddir/build/BUILD/thunarx-python-0.5.1/src' thunarx-python.c: In function 'thunarx_python_check_all_directories': thunarx-python.c:236:12: warning: unused variable 'extensions_dir' [-Wunused-variable] 236 | gchar *extensions_dir = NULL; | ^~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/thunarx-python-0.5.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DDATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"thunarx-python\" -DEXO_API_SUBJECT_TO_CHANGE -DLIBEXECDIR=\"/usr/libexec\" -DPY_LIB_LOC=\"/usr/lib\" -DPYTHON_LIB_NAME=\"python3.8\" -DTHUNARX_API_VERSION=3 -DGI_TYPELIB_PATH=\"/usr/lib64/girepository-1.0\" -DNDEBUG -I/usr/include/thunarx-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/python3.8 -I/usr/include/python3.8 -I/usr/include/pygobject-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o thunarx_python_la-thunarx-python-object.lo `test -f 'thunarx-python-object.c' || echo './'`thunarx-python-object.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DDATADIR=\"/usr/share\" -DG_LOG_DOMAIN=\"thunarx-python\" -DEXO_API_SUBJECT_TO_CHANGE -DLIBEXECDIR=\"/usr/libexec\" -DPY_LIB_LOC=\"/usr/lib\" -DPYTHON_LIB_NAME=\"python3.8\" -DTHUNARX_API_VERSION=3 -DGI_TYPELIB_PATH=\"/usr/lib64/girepository-1.0\" -DNDEBUG -I/usr/include/thunarx-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/python3.8 -I/usr/include/python3.8 -I/usr/include/pygobject-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c thunarx-python-object.c -fPIC -DPIC -o .libs/thunarx_python_la-thunarx-python-object.o make[2]: Leaving directory '/builddir/build/BUILD/thunarx-python-0.5.1/src' thunarx-python-object.c: In function '__PyString_AsString': thunarx-python-object.c:79:12: warning: return discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 79 | return PyUnicode_AsUTF8(obj); | ^~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/thunarx-python-0.5.1/src' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/thunarx-3 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -pthread -I/usr/include/python3.8 -I/usr/include/python3.8 -I/usr/include/pygobject-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -avoid-version -module -I/usr/include/pygobject-3.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--as-needed -Wl,-O1 -o thunarx-python.la -rpath /usr/lib64/thunarx-3 thunarx_python_la-thunarx-python.lo thunarx_python_la-thunarx-python-object.lo -lthunarx-3 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lpython3.8 -lgobject-2.0 -lglib-2.0 libtool: link: gcc -shared -fPIC -DPIC .libs/thunarx_python_la-thunarx-python.o .libs/thunarx_python_la-thunarx-python-object.o -lthunarx-3 -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpython3.8 -lgobject-2.0 -lglib-2.0 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -pthread -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -Wl,--as-needed -Wl,-O1 -pthread -Wl,-soname -Wl,thunarx-python.so -o .libs/thunarx-python.so make[2]: Leaving directory '/builddir/build/BUILD/thunarx-python-0.5.1/src' /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/usr/include/pygobject-3.0/pygobject.h:230: multiple definition of `_PyGObject_API'; .libs/thunarx_python_la-thunarx-python.o:/usr/include/pygobject-3.0/pygobject.h:230: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:64: multiple definition of `_PyThunarxPropertyPage_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:64: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:52: multiple definition of `_PyThunarxMenuItem_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:52: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:73: multiple definition of `_PyThunarxRenamer_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:73: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:67: multiple definition of `_PyThunarxPropertyPageProvider_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:67: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:58: multiple definition of `_PyThunarxMenuProvider_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:58: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:76: multiple definition of `_PyThunarxRenamerProvider_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:76: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:61: multiple definition of `_PyThunarxPreferencesProvider_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:61: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:70: multiple definition of `_PyThunarxProviderPlugin_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:70: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:55: multiple definition of `_PyThunarxMenu_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:55: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:49: multiple definition of `_PyThunarxFileInfo_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:49: first defined here /usr/bin/ld: .libs/thunarx_python_la-thunarx-python-object.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:46: multiple definition of `_PyGtkWidget_Type'; .libs/thunarx_python_la-thunarx-python.o:/builddir/build/BUILD/thunarx-python-0.5.1/src/thunarx-python.h:46: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:476: thunarx-python.la] Error 1 make[1]: *** [Makefile:441: all-recursive] Error 1 make: *** [Makefile:371: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.W92gXC (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.W92gXC (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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 --target riscv64 --nodeps /builddir/build/SPECS/thunarx-python.spec