Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cwiid.spec'], chrootPath='/var/lib/mock/f29-build-13786-6242/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd19d0a3504184b60b79bc0e99e0ed9e2', '-D', '/var/lib/mock/f29-build-13786-6242/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cwiid.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 BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/cwiid-0.6.00-29.20100505gitfadf11e.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cwiid.spec'], chrootPath='/var/lib/mock/f29-build-13786-6242/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=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fd367ccb78324da98a10178479807afe', '-D', '/var/lib/mock/f29-build-13786-6242/root', '-a', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cwiid.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Oxp0xy + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf abstrakraft-cwiid-fadf11e + /usr/bin/gzip -dc /builddir/build/SOURCES/abstrakraft-cwiid-fadf11e.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd abstrakraft-cwiid-fadf11e + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Fix-missing-library-from-wmdemo.patch):' Patch #0 (0001-Fix-missing-library-from-wmdemo.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file wmdemo/Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eQnxi1 + umask 022 + cd /builddir/build/BUILD + cd abstrakraft-cwiid-fadf11e + aclocal + autoconf + 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,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 'CC=gcc -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' --disable-static --docdir=/usr/share/doc/cwiid BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-static checking for riscv64-koji-linux-gnu-gcc... gcc -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 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 -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 accepts -g... yes checking for gcc -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 option to accept ISO C89... none needed checking for gawk... gawk checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for bison... bison -y checking for python... python BUILDSTDERR: DEPRECATION WARNING: python2 invoked with /usr/bin/python. BUILDSTDERR: Use /usr/bin/python3 or /usr/bin/python2 BUILDSTDERR: /usr/bin/python will be removed or switched to Python 3 in the future. BUILDSTDERR: If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out checking for pthread_create in -lpthread... yes checking for hci_devid in -lbluetooth... yes checking for dlopen in -ldl... yes checking how to run the C preprocessor... gcc -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 -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 for stdint.h... (cached) yes checking bluetooth/bluetooth.h usability... yes checking bluetooth/bluetooth.h presence... yes checking for bluetooth/bluetooth.h... yes checking for bluetooth/l2cap.h... yes checking for bluetooth/hci.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking for linux/uinput.h... yes checking for library containing strerror... none required checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTK... yes configure: creating ./config.status config.status: creating Makefile config.status: creating defs.mak config.status: creating common/include/lib.mak config.status: creating doc/Makefile config.status: creating man/Makefile config.status: creating libcwiid/Makefile config.status: creating libcwiid/cwiid.pc config.status: creating wmdemo/Makefile config.status: creating wmgui/Makefile config.status: creating wminput/Makefile config.status: creating wminput/plugins/Makefile config.status: creating wminput/plugins/ir_ptr/Makefile config.status: creating wminput/plugins/acc/Makefile config.status: creating wminput/plugins/nunchuk_acc/Makefile config.status: creating wminput/plugins/led/Makefile config.status: creating wminput/plugins/nunchuk_stick2btn/Makefile config.status: creating lswm/Makefile config.status: creating python/Makefile config.status: creating common/include/config.h BUILDSTDERR: configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-static + make -j4 make -C libcwiid make[1]: Entering directory '/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/libcwiid' gcc -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 -g -Wall -W -DHAVE_CONFIG_H -I/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/common/include -fpic -c -o bluetooth.o bluetooth.c gcc -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 -g -Wall -W -DHAVE_CONFIG_H -I/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/common/include -fpic -c -o command.o command.c gcc -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 -g -Wall -W -DHAVE_CONFIG_H -I/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/common/include -fpic -c -o connect.o connect.c gcc -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 -g -Wall -W -DHAVE_CONFIG_H -I/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/common/include -fpic -c -o interface.o interface.c gcc -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 -g -Wall -W -DHAVE_CONFIG_H -I/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/common/include -fpic -c -o process.o process.c gcc -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 -g -Wall -W -DHAVE_CONFIG_H -I/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/common/include -fpic -c -o state.o state.c gcc -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 -g -Wall -W -DHAVE_CONFIG_H -I/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/common/include -fpic -c -o thread.o thread.c gcc -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 -g -Wall -W -DHAVE_CONFIG_H -I/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/common/include -fpic -c -o util.o util.c BUILDSTDERR: process.c: In function 'process_status': BUILDSTDERR: process.c:43:39: warning: unused parameter 'ma' [-Wunused-parameter] BUILDSTDERR: struct mesg_array *ma) BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~^~ BUILDSTDERR: process.c: In function 'process_ext': BUILDSTDERR: process.c:175:31: warning: unused parameter 'len' [-Wunused-parameter] BUILDSTDERR: unsigned char len, struct mesg_array *ma) BUILDSTDERR: ~~~~~~~~~~~~~~^~~ BUILDSTDERR: util.c: In function 'cwiid_err_default': BUILDSTDERR: util.c:42:40: warning: unused parameter 'wiimote' [-Wunused-parameter] BUILDSTDERR: void cwiid_err_default(struct wiimote *wiimote, const char *str, va_list ap) BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~~~ ln -sf libcwiid.so.1.0 libcwiid.so.1 ln -sf libcwiid.so.1 libcwiid.so ar rcs libcwiid.a bluetooth.o command.o connect.o interface.o process.o state.o thread.o util.o gcc -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 -shared -Wl,-soname,libcwiid.so.1 -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libcwiid.so.1.0 \ bluetooth.o command.o connect.o interface.o process.o state.o thread.o util.o -lbluetooth -lpthread -lrt make[1]: Leaving directory '/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/libcwiid' make -C wmgui make[1]: Entering directory '/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/wmgui' gcc -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 -g -Wall -W -DHAVE_CONFIG_H -I/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/common/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I../libcwiid -c -o main.o main.c gcc -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 -g -Wall -W -DHAVE_CONFIG_H -I/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/common/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I../libcwiid -c -o interface.o interface.c gcc -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 -g -Wall -W -DHAVE_CONFIG_H -I/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/common/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I../libcwiid -c -o support.o support.c BUILDSTDERR: support.c: In function 'create_pixmap': BUILDSTDERR: support.c:77:58: warning: unused parameter 'widget' [-Wunused-parameter] BUILDSTDERR: create_pixmap (GtkWidget *widget, BUILDSTDERR: ~~~~~~~~~~~~~~~~~^~~~~~ BUILDSTDERR: main.c: In function 'main': BUILDSTDERR: main.c:191:3: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: g_thread_init(NULL); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/glib.h:108, BUILDSTDERR: from main.c:38: BUILDSTDERR: /usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here BUILDSTDERR: void g_thread_init (gpointer vtable); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: main.c: In function 'message': BUILDSTDERR: main.c:445:2: error: format not a string literal and no format arguments [-Werror=format-security] BUILDSTDERR: dialog = gtk_message_dialog_new(parent, 0, type, GTK_BUTTONS_OK, message); BUILDSTDERR: ^~~~~~ BUILDSTDERR: main.c: In function 'drawStick_expose_event': BUILDSTDERR: main.c:824:67: warning: unused parameter 'event' [-Wunused-parameter] BUILDSTDERR: void drawStick_expose_event(GtkWidget *drawStick, GdkEventExpose *event, BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: main.c: In function 'cwiid_callback': BUILDSTDERR: main.c:1051:4: warning: enumeration value 'CWIID_EXT_BALANCE' not handled in switch [-Wswitch] BUILDSTDERR: switch (mesg_array[i].status_mesg.ext_type) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: main.c:1036:69: warning: unused parameter 'timestamp' [-Wunused-parameter] BUILDSTDERR: union cwiid_mesg mesg_array[], struct timespec *timestamp) BUILDSTDERR: ~~~~~~~~~~~~~~~~~^~~~~~~~~ BUILDSTDERR: main.c:1076:4: warning: 'ext_str' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: gtk_statusbar_push(GTK_STATUSBAR(statExtension), 0, ext_str); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cc1: some warnings being treated as errors BUILDSTDERR: make[1]: *** [: main.o] Error 1 BUILDSTDERR: make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/builddir/build/BUILD/abstrakraft-cwiid-fadf11e/wmgui' BUILDSTDERR: make: *** [Makefile:33: wmgui] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.eQnxi1 (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.eQnxi1 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M fd367ccb78324da98a10178479807afe -D /var/lib/mock/f29-build-13786-6242/root -a --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin --setenv=PROMPT_COMMAND=printf "\033]0;\007" --setenv=PS1= \s-\v\$ --setenv=LANG=en_US.UTF-8 -u mockbuild bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cwiid.spec