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/graphlcd-base.spec'], chrootPath='/var/lib/mock/f33-build-261629-51156/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/graphlcd-base.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=1580256000 Wrote: /builddir/build/SRPMS/graphlcd-base-1.0.2-7.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/graphlcd-base.spec'], chrootPath='/var/lib/mock/f33-build-261629-51156/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/graphlcd-base.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=1580256000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Cvf1aH + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf graphlcd-base-1.0.2 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/graphlcd-base-1.0.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd graphlcd-base-1.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/graphlcd-base-no-io.h.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch ++ find -name Makefile + perl -pi -e 's,-o root -g root -s,,' ./glcdskin/Makefile ./glcdgraphics/Makefile ./Makefile ./tools/showpic/Makefile ./tools/Makefile ./tools/genfont/Makefile ./tools/convpic/Makefile ./tools/skintest/Makefile ./tools/crtfont/Makefile ./tools/lcdtestpattern/Makefile ./tools/showtext/Makefile ./glcddrivers/Makefile + sed -i -e 's|PREFIX ?= /usr/local|PREFIX ?= /usr|' -e 's|LIBDIR ?= $(PREFIX)/lib|LIBDIR ?= /usr/lib64|' -e 's|UDEVRULESDIR ?= /etc/udev/rules.d|UDEVRULESDIR ?= /usr/lib/udev/rules.d|' Make.config + iconv -f iso-8859-1 -t utf-8 HISTORY + mv HISTORY.utf8 HISTORY + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.B3JKTK + umask 022 + cd /builddir/build/BUILD + cd graphlcd-base-1.0.2 + /usr/bin/make -O -j4 V=1 VERBOSE=1 make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' g++ -g -O2 -Wall -Woverloaded-virtual -MMD -MP -fPIC -c -D_GNU_SOURCE -DHAVE_FREETYPE2 -I/usr/include/freetype2 -I/usr/include/libpng16 common.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' g++ -g -O2 -Wall -Woverloaded-virtual -MMD -MP -fPIC -c -D_GNU_SOURCE -DHAVE_FREETYPE2 -I/usr/include/freetype2 -I/usr/include/libpng16 glcd.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' g++ -g -O2 -Wall -Woverloaded-virtual -MMD -MP -fPIC -c -D_GNU_SOURCE -DHAVE_FREETYPE2 -I/usr/include/freetype2 -I/usr/include/libpng16 bitmap.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' g++ -g -O2 -Wall -Woverloaded-virtual -MMD -MP -fPIC -c -D_GNU_SOURCE -DHAVE_FREETYPE2 -I/usr/include/freetype2 -I/usr/include/libpng16 font.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' g++ -g -O2 -Wall -Woverloaded-virtual -MMD -MP -fPIC -c -D_GNU_SOURCE -DHAVE_FREETYPE2 -I/usr/include/freetype2 -I/usr/include/libpng16 imagefile.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' g++ -g -O2 -Wall -Woverloaded-virtual -MMD -MP -fPIC -c -D_GNU_SOURCE -DHAVE_FREETYPE2 -I/usr/include/freetype2 -I/usr/include/libpng16 image.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' g++ -g -O2 -Wall -Woverloaded-virtual -MMD -MP -fPIC -c -D_GNU_SOURCE -DHAVE_FREETYPE2 -I/usr/include/freetype2 -I/usr/include/libpng16 extformats.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' g++ -g -O2 -Wall -Woverloaded-virtual -MMD -MP -fPIC -c -D_GNU_SOURCE -DHAVE_FREETYPE2 -I/usr/include/freetype2 -I/usr/include/libpng16 pbm.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' g++ -g -O2 -Wall -Woverloaded-virtual -MMD -MP -fPIC -shared bitmap.o common.o font.o glcd.o image.o imagefile.o pbm.o extformats.o -lfreetype -Wl,-soname="libglcdgraphics.so.2" -Wl,--no-undefined -o libglcdgraphics.so.2.1.0 ln -sf libglcdgraphics.so.2.1.0 libglcdgraphics.so make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcdgraphics' make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' /bin/sh: libvncserver-config: command not found make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' g++ -g -O2 -Wall -Woverloaded-virtual -MMD -MP -fPIC -c -D_GNU_SOURCE drivers.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' g++ -g -O2 -Wall -Woverloaded-virtual -MMD -MP -fPIC -c -D_GNU_SOURCE driver.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' g++ -g -O2 -Wall -Woverloaded-virtual -MMD -MP -fPIC -c -D_GNU_SOURCE port.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' port.c:21:10: fatal error: sys/io.h: No such file or directory 21 | #include | ^~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:69: port.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' g++ -g -O2 -Wall -Woverloaded-virtual -MMD -MP -fPIC -c -D_GNU_SOURCE common.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' g++ -g -O2 -Wall -Woverloaded-virtual -MMD -MP -fPIC -c -D_GNU_SOURCE simlcd.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' make[1]: Entering directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' g++ -g -O2 -Wall -Woverloaded-virtual -MMD -MP -fPIC -c -D_GNU_SOURCE config.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' make: *** [Makefile:19: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.B3JKTK (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.B3JKTK (%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/graphlcd-base.spec