Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/a2jmidid.spec'], chrootPath='/var/lib/mock/f29-build-33702-18359/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/a2jmidid.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 Wrote: /builddir/build/SRPMS/a2jmidid-8-18.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/a2jmidid.spec'], chrootPath='/var/lib/mock/f29-build-33702-18359/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=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/a2jmidid.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.wx5nEw + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf a2jmidid-8 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/a2jmidid-8.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd a2jmidid-8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (a2jmidid-linking.patch):' Patch #0 (a2jmidid-linking.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dso.linking --fuzz=0 patching file wscript + echo 'Patch #1 (a2jmidid-man.patch):' Patch #1 (a2jmidid-man.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .man --fuzz=0 patching file man/a2jmidid.1 + echo 'Patch #2 (a2jmidid-aarch64.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .aarch64 --fuzz=0 Patch #2 (a2jmidid-aarch64.patch): patching file sigsegv.c + echo 'Patch #3 (a2jmidid-ppc64.patch):' Patch #3 (a2jmidid-ppc64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ppc64 --fuzz=0 patching file sigsegv.c + sed -i 's|/usr/bin/.*python$|/usr/bin/python2|' a2j_control waf wscript + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qFqZ9K + umask 022 + cd /builddir/build/BUILD + cd a2jmidid-8 + export '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' + 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 'LINKFLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + LINKFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + ./waf configure --prefix=/usr --enable-pkg-config-dbus-service-dir Checking for program gcc : ok /usr/bin/gcc WARNING could not determine the compiler version Checking for program cpp : ok /usr/bin/cpp Checking for program ar : ok /usr/bin/ar Checking for program ranlib : ok /usr/bin/ranlib Checking for compiler could create programs : ok Checking for compiler could create shared libs : ok Checking for compiler could create static libs : ok Checking for flags -O2 : ok Checking for flags -g -DDEBUG : ok Checking for flags -g3 -O0 -DDEBUG : ok Checking for flags -Wall : ok Checking for gcc : ok Checking for package alsa : ok Checking for package jack >= 0.109.0 : ok Checking for package dbus-1 : ok Checking for header getopt.h : ok ================== a2jmidid-8 exported from 7383d268c4bfe85df9f10df6351677659211d1ca Install prefix : /usr D-Bus support : yes D-Bus service install directory : /usr/share/dbus-1/services Configuration finished successfully; project is now ready to build. + ./waf -j4 -v [ 1/18] copy: org.gna.home.a2jmidid.service.in -> build/default/org.gna.home.a2jmidid.service [ 2/18] cc: a2jmidid.c -> build/default/a2jmidid_1.o /usr/bin/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 -Idefault -I.. -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I. ../a2jmidid.c -c -o default/a2jmidid_1.o [ 3/18] cc: log.c -> build/default/log_1.o /usr/bin/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 -Idefault -I.. -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I. ../log.c -c -o default/log_1.o [ 4/18] cc: port.c -> build/default/port_1.o /usr/bin/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 -Idefault -I.. -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I. ../port.c -c -o default/port_1.o [ 5/18] cc: port_thread.c -> build/default/port_thread_1.o /usr/bin/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 -Idefault -I.. -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I. ../port_thread.c -c -o default/port_thread_1.o [ 6/18] cc: port_hash.c -> build/default/port_hash_1.o /usr/bin/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 -Idefault -I.. -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I. ../port_hash.c -c -o default/port_hash_1.o [ 7/18] cc: paths.c -> build/default/paths_1.o /usr/bin/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 -Idefault -I.. -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I. ../paths.c -c -o default/paths_1.o [ 8/18] cc: jack.c -> build/default/jack_1.o /usr/bin/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 -Idefault -I.. -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I. ../jack.c -c -o default/jack_1.o [ 9/18] cc: list.c -> build/default/list_1.o /usr/bin/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 -Idefault -I.. -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I. ../list.c -c -o default/list_1.o [10/18] cc: dbus.c -> build/default/dbus_1.o /usr/bin/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 -Idefault -I.. -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I. ../dbus.c -c -o default/dbus_1.o [11/18] cc: dbus_iface_introspectable.c -> build/default/dbus_iface_introspectable_1.o /usr/bin/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 -Idefault -I.. -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I. ../dbus_iface_introspectable.c -c -o default/dbus_iface_introspectable_1.o BUILDSTDERR: ../jack.c: In function 'a2j_process_incoming': BUILDSTDERR: ../jack.c:64:18: warning: variable 'now' set but not used [-Wunused-but-set-variable] BUILDSTDERR: jack_nframes_t now; BUILDSTDERR: ^~~ BUILDSTDERR: ../jack.c: In function 'a2j_alsa_output_thread': BUILDSTDERR: ../jack.c:326:7: warning: variable 'err' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int err; BUILDSTDERR: ^~~ [12/18] cc: dbus_iface_control.c -> build/default/dbus_iface_control_1.o /usr/bin/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 -Idefault -I.. -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I. ../dbus_iface_control.c -c -o default/dbus_iface_control_1.o [13/18] cc: sigsegv.c -> build/default/sigsegv_1.o /usr/bin/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 -Idefault -I.. -I/usr/include/alsa -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I. ../sigsegv.c -c -o default/sigsegv_1.o [14/18] cc: a2jmidi_bridge.c -> build/default/a2jmidi_bridge_2.o /usr/bin/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 -I/usr/include/alsa -I. -Idefault -I.. ../a2jmidi_bridge.c -c -o default/a2jmidi_bridge_2.o BUILDSTDERR: In file included from ../sigsegv.c:39: BUILDSTDERR: ../sigsegv.c: In function 'signal_segv': BUILDSTDERR: ../sigsegv.c:104:39: error: 'mcontext_t' {aka 'struct mcontext_t'} has no member named 'gregs'; did you mean '__gregs'? BUILDSTDERR: ucontext->uc_mcontext.gregs[i] BUILDSTDERR: ^~~~~ BUILDSTDERR: ../log.h:47:134: note: in definition of macro 'a2j_error' BUILDSTDERR: #define a2j_error(format, args...) a2j_log(A2J_LOG_LEVEL_ERROR, ANSI_COLOR_RED "ERROR: " ANSI_RESET "%s: " format "\n", __func__, ## args) BUILDSTDERR: ^~~~ TODO - computing the signature failed Build failed -> task failed (err #129): [bld:///builddir/build/BUILD/a2jmidid-8/sigsegv_1.o] (error raised in module Scripting) BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.qFqZ9K (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.qFqZ9K (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 636, in do 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/a2jmidid.spec