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/zita-rev1.spec'], chrootPath='/var/lib/mock/f30-build-35870-20112/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/zita-rev1.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/zita-rev1-0.2.1-19.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/zita-rev1.spec'], chrootPath='/var/lib/mock/f30-build-35870-20112/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/zita-rev1.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.vYgnho + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zita-rev1-0.2.1 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/zita-rev1-0.2.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd zita-rev1-0.2.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (zita-rev1-0.2.1-fsf-address.patch):' Patch #0 (zita-rev1-0.2.1-fsf-address.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file COPYING patching file source/global.h patching file source/guiclass.cc patching file source/guiclass.h patching file source/jclient.cc patching file source/jclient.h patching file source/mainwin.cc patching file source/mainwin.h patching file source/pareq.cc patching file source/pareq.h patching file source/png2img.cc patching file source/png2img.h patching file source/reverb.cc patching file source/reverb.h patching file source/rotary.cc patching file source/rotary.h patching file source/styles.cc patching file source/styles.h patching file source/zita-rev1.cc + sed -e 's|-march=native|-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 source/Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3quyOy + umask 022 + cd /builddir/build/BUILD + cd zita-rev1-0.2.1 + cd source + make PREFIX=/usr 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread' -j4 g++ -O2 -ffast-math -Wall -MMD -MP -DVERSION=\"0.2.1\" -DSHARED=\"/usr/share/zita-rev1\" -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/X11R6/include `freetype-config --cflags` -c -o zita-rev1.o zita-rev1.cc g++ -O2 -ffast-math -Wall -MMD -MP -DVERSION=\"0.2.1\" -DSHARED=\"/usr/share/zita-rev1\" -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/X11R6/include `freetype-config --cflags` -c -o styles.o styles.cc g++ -O2 -ffast-math -Wall -MMD -MP -DVERSION=\"0.2.1\" -DSHARED=\"/usr/share/zita-rev1\" -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/X11R6/include `freetype-config --cflags` -c -o jclient.o jclient.cc g++ -O2 -ffast-math -Wall -MMD -MP -DVERSION=\"0.2.1\" -DSHARED=\"/usr/share/zita-rev1\" -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/X11R6/include `freetype-config --cflags` -c -o mainwin.o mainwin.cc g++ -O2 -ffast-math -Wall -MMD -MP -DVERSION=\"0.2.1\" -DSHARED=\"/usr/share/zita-rev1\" -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/X11R6/include `freetype-config --cflags` -c -o png2img.o png2img.cc g++ -O2 -ffast-math -Wall -MMD -MP -DVERSION=\"0.2.1\" -DSHARED=\"/usr/share/zita-rev1\" -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/X11R6/include `freetype-config --cflags` -c -o guiclass.o guiclass.cc g++ -O2 -ffast-math -Wall -MMD -MP -DVERSION=\"0.2.1\" -DSHARED=\"/usr/share/zita-rev1\" -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/X11R6/include `freetype-config --cflags` -c -o rotary.o rotary.cc g++ -O2 -ffast-math -Wall -MMD -MP -DVERSION=\"0.2.1\" -DSHARED=\"/usr/share/zita-rev1\" -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/X11R6/include `freetype-config --cflags` -c -o reverb.o reverb.cc BUILDSTDERR: png2img.cc: In function 'XImage* png2img(const char*, X_display*, XftColor*)': BUILDSTDERR: png2img.cc:44:11: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread (hdr, 1, 8, F); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~ g++ -O2 -ffast-math -Wall -MMD -MP -DVERSION=\"0.2.1\" -DSHARED=\"/usr/share/zita-rev1\" -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/X11R6/include `freetype-config --cflags` -c -o pareq.o pareq.cc g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -lpthread -o zita-rev1 zita-rev1.o styles.o jclient.o mainwin.o png2img.o guiclass.o rotary.o reverb.o pareq.o -lcairo -lclxclient -lclthreads -ljack -lpng -lXft -lX11 -lrt BUILDSTDERR: /usr/bin/ld: zita-rev1.o: undefined reference to symbol 'pthread_mutex_trylock@@GLIBC_2.27' BUILDSTDERR: /usr/bin/ld: /lib64/lp64d/../lib64/lp64d/libpthread.so: error adding symbols: DSO missing from command line BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make: *** [Makefile:40: zita-rev1] Error 1 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.3quyOy (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.3quyOy (%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/zita-rev1.spec