Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/graphlcd-base.spec'], chrootPath='/var/lib/mock/f31-build-113809-34408/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=986gid=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=1564617600 Wrote: /builddir/build/SRPMS/graphlcd-base-1.0.2-6.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/graphlcd-base.spec'], chrootPath='/var/lib/mock/f31-build-113809-34408/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=986gid=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=1564617600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.56WZwj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf graphlcd-base-1.0.2 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/graphlcd-base-1.0.2.tar.bz2 + /usr/bin/tar -xof - + 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 BUILDSTDERR: ++ find -name Makefile + perl -pi -e 's,-o root -g root -s,,' ./Makefile ./glcdgraphics/Makefile ./glcdskin/Makefile ./tools/skintest/Makefile ./tools/Makefile ./tools/crtfont/Makefile ./tools/convpic/Makefile ./tools/lcdtestpattern/Makefile ./tools/showtext/Makefile ./tools/genfont/Makefile ./tools/showpic/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 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.4axeZf + umask 022 + cd /builddir/build/BUILD + cd graphlcd-base-1.0.2 + /usr/bin/make -O -j8 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 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 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 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 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 -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 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 -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' BUILDSTDERR: /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 port.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' BUILDSTDERR: port.c:21:10: fatal error: sys/io.h: No such file or directory BUILDSTDERR: 21 | #include BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[1]: *** [Makefile:69: port.o] Error 1 BUILDSTDERR: 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 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 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 framebuffer.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 gu140x32f.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 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 config.c make[1]: Leaving directory '/builddir/build/BUILD/graphlcd-base-1.0.2/glcddrivers' BUILDSTDERR: make: *** [Makefile:19: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.4axeZf (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.4axeZf (%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 700, 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/graphlcd-base.spec