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/graphlcd-base.spec'], chrootPath='/var/lib/mock/f30-build-39798-22660/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=995gid=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 Wrote: /builddir/build/SRPMS/graphlcd-base-1.0.2-3.fc30.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/f30-build-39798-22660/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=995gid=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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Db5MCk + 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,,' ./glcdgraphics/Makefile ./Makefile ./glcdskin/Makefile ./glcddrivers/Makefile ./tools/Makefile ./tools/lcdtestpattern/Makefile ./tools/crtfont/Makefile ./tools/showtext/Makefile ./tools/showpic/Makefile ./tools/skintest/Makefile ./tools/genfont/Makefile ./tools/convpic/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 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iSClM2 + umask 022 + cd /builddir/build/BUILD + cd graphlcd-base-1.0.2 + /usr/bin/make -O -j4 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' 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 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 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: #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 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 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 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.iSClM2 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.iSClM2 (%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/graphlcd-base.spec