Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gamerzillagobj.spec'], chrootPath='/var/lib/mock/f40-build-765599-123530/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/gamerzillagobj.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1694649600 Wrote: /builddir/build/SRPMS/gamerzillagobj-0.1.2-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gamerzillagobj.spec'], chrootPath='/var/lib/mock/f40-build-765599-123530/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/gamerzillagobj.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1694649600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.U51Scn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gamerzillagobj-0.1.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/gamerzillagobj-0.1.2.tgz + STATUS=0 + '[' 0 -ne 0 ']' + cd gamerzillagobj-0.1.2 + rm -rf /builddir/build/BUILD/gamerzillagobj-0.1.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/gamerzillagobj-0.1.2-SPECPARTS + /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.qxal0H + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd gamerzillagobj-0.1.2 + /usr/bin/make -O -j4 V=1 VERBOSE=1 libtool compile gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gamerzilla -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c gamerzillagobj.c -o gamerzillagobj.lo libtool: compile: gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gamerzilla -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -c gamerzillagobj.c -fPIC -DPIC -o .libs/gamerzillagobj.o gamerzillagobj.c: In function 'gamerzilla_gamerzillagobj_init': gamerzillagobj.c:52:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 52 | GamerzillaGamerzillaGobjPrivate *priv = GAMERZILLA_GAMERZILLAGOBJ_GET_PRIVATE (object); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gamerzillagobj.c:52:38: warning: unused variable 'priv' [-Wunused-variable] 52 | GamerzillaGamerzillaGobjPrivate *priv = GAMERZILLA_GAMERZILLAGOBJ_GET_PRIVATE (object); | ^~~~ gamerzillagobj.c: In function 'gamerzilla_gamerzillagobj_finalize': gamerzillagobj.c:58:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 58 | GamerzillaGamerzillaGobjPrivate *priv = GAMERZILLA_GAMERZILLAGOBJ_GET_PRIVATE (object); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gamerzillagobj.c: In function 'gamerzilla_gamerzillagobj_set_property': gamerzillagobj.c:72:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 72 | GamerzillaGamerzillaGobjPrivate *priv = GAMERZILLA_GAMERZILLAGOBJ_GET_PRIVATE (object); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gamerzillagobj.c: In function 'gamerzilla_gamerzillagobj_get_property': gamerzillagobj.c:99:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 99 | GamerzillaGamerzillaGobjPrivate *priv = GAMERZILLA_GAMERZILLAGOBJ_GET_PRIVATE (object); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gamerzillagobj.c: In function 'gamerzilla_gamerzillagobj_class_init': gamerzillagobj.c:167:5: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 167 | g_type_class_add_private (object_class, sizeof (GamerzillaGamerzillaGobjPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from gamerzillagobj.h:11, from gamerzillagobj.c:10: /usr/include/glib-2.0/gobject/gtype.h:1495:10: note: declared here 1495 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ gamerzillagobj.c: In function 'gamerzilla_gamerzillagobj_serverstart': gamerzillagobj.c:202:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 202 | priv = GAMERZILLA_GAMERZILLAGOBJ_GET_PRIVATE (gamerzillagobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gamerzillagobj.c: In function 'gamerzilla_gamerzillagobj_serverstop': gamerzillagobj.c:226:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 226 | priv = GAMERZILLA_GAMERZILLAGOBJ_GET_PRIVATE (gamerzillagobj); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gamerzillagobj.c:230:22: warning: passing argument 2 of 'pthread_join' from incompatible pointer type [-Wincompatible-pointer-types] 230 | pthread_join(id, &ptr); | ^~~~ | | | int ** In file included from gamerzillagobj.c:8: /usr/include/pthread.h:219:49: note: expected 'void **' but argument is of type 'int **' 219 | extern int pthread_join (pthread_t __th, void **__thread_return); | ~~~~~~~^~~~~~~~~~~~~~~ gamerzillagobj.c:223:38: warning: variable 'priv' set but not used [-Wunused-but-set-variable] 223 | GamerzillaGamerzillaGobjPrivate *priv; | ^~~~ gamerzillagobj.c: In function 'trimend': gamerzillagobj.c:236:28: error: implicit declaration of function 'isspace' [-Werror=implicit-function-declaration] 236 | for (; (i > 0) && (isspace(s[i - 1])); i--) | ^~~~~~~ gamerzillagobj.c:11:1: note: include '' or provide a declaration of 'isspace' 10 | #include "gamerzillagobj.h" +++ |+#include 11 | gamerzillagobj.c: In function 'run_server': gamerzillagobj.c:263:43: error: implicit declaration of function 'mkdir'; did you mean 'seekdir'? [-Werror=implicit-function-declaration] 263 | int err = mkdir(savedir, 0700); | ^~~~~ | seekdir gamerzillagobj.c:282:30: warning: passing argument 1 of 'pthread_exit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] 282 | pthread_exit(&stop); | ^~~~~ /usr/include/pthread.h:211:33: note: expected 'void *' but argument is of type 'volatile int *' 211 | extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); | ~~~~~~^~~~~~~~ gamerzillagobj.c:304:22: warning: passing argument 1 of 'pthread_exit' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] 304 | pthread_exit(&stop); | ^~~~~ /usr/include/pthread.h:211:33: note: expected 'void *' but argument is of type 'volatile int *' 211 | extern void pthread_exit (void *__retval) __attribute__ ((__noreturn__)); | ~~~~~~^~~~~~~~ cc1: some warnings being treated as errors make: *** [Makefile:47: gamerzillagobj.lo] Error 1 make: *** Waiting for unfinished jobs.... libtool exec g-ir-scanner gamerzillagobj.c gamerzillagobj.h --library=gamerzillagobj -I/usr/include/gamerzilla -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread --include=GObject-2.0 --namespace=Gamerzilla --nsversion=0.1 --output=Gamerzilla-0.1.gir g-ir-scanner: link: libtool --mode=link --tag=CC gcc -o /builddir/build/BUILD/gamerzillagobj-0.1.2/tmp-introspectd4e9j6l7/Gamerzilla-0.1 -export-dynamic -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gamerzilla -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread /builddir/build/BUILD/gamerzillagobj-0.1.2/tmp-introspectd4e9j6l7/Gamerzilla-0.1.o -L. -lgamerzillagobj -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -pthread -Wl,--export-dynamic -lglib-2.0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes libtool: link: gcc -o /builddir/build/BUILD/gamerzillagobj-0.1.2/tmp-introspectd4e9j6l7/Gamerzilla-0.1 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/include/gamerzilla -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 /builddir/build/BUILD/gamerzillagobj-0.1.2/tmp-introspectd4e9j6l7/Gamerzilla-0.1.o -Wl,--export-dynamic -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--export-dynamic -L. -lgamerzillagobj -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -pthread /usr/bin/ld: cannot find -lgamerzillagobj: No such file or directory collect2: error: ld returned 1 exit status linking of temporary binary failed: Command '['libtool', '--mode=link', '--tag=CC', 'gcc', '-o', '/builddir/build/BUILD/gamerzillagobj-0.1.2/tmp-introspectd4e9j6l7/Gamerzilla-0.1', '-export-dynamic', '-O2', '-fexceptions', '-g', '-grecord-gcc-switches', '-pipe', '-Wall', '-Werror=format-security', '-Werror=implicit-function-declaration', '-Werror=implicit-int', '-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3', '-Wp,-D_GLIBCXX_ASSERTIONS', '-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1', '-fstack-protector-strong', '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1', '-fasynchronous-unwind-tables', '-fno-omit-frame-pointer', '-I/usr/include/gamerzilla', '-I/usr/include/glib-2.0', '-I/usr/lib64/glib-2.0/include', '-I/usr/include/sysprof-6', '-pthread', '/builddir/build/BUILD/gamerzillagobj-0.1.2/tmp-introspectd4e9j6l7/Gamerzilla-0.1.o', '-L.', '-lgamerzillagobj', '-lgio-2.0', '-lgobject-2.0', '-lgmodule-2.0', '-pthread', '-Wl,--export-dynamic', '-lglib-2.0', '-Wl,-z,relro', '-Wl,--as-needed', '-Wl,-z,now', '-specs=/usr/lib/rpm/redhat/redhat-hardened-ld', '-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1', '-Wl,--build-id=sha1', '-specs=/usr/lib/rpm/redhat/redhat-package-notes']' returned non-zero exit status 1. make: *** [Makefile:44: Gamerzilla-0.1.gir] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.qxal0H (%build) Bad exit status from /var/tmp/rpm-tmp.qxal0H (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/gamerzillagobj.spec