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/jack-keyboard.spec'], chrootPath='/var/lib/mock/f31-build-115938-34518/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/jack-keyboard.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=1564012800 Wrote: /builddir/build/SRPMS/jack-keyboard-2.7.1-17.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/jack-keyboard.spec'], chrootPath='/var/lib/mock/f31-build-115938-34518/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/jack-keyboard.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=1564012800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qJCVTD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jack-keyboard-2.7.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/jack-keyboard-2.7.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jack-keyboard-2.7.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (jack-keyboard-dso-linking.patch): + echo 'Patch #0 (jack-keyboard-dso-linking.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dso.linking --fuzz=0 patching file CMakeLists.txt Patch #1 (jack-keyboard-2.7.1-format-security.patch): + echo 'Patch #1 (jack-keyboard-2.7.1-format-security.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .format.security --fuzz=0 patching file src/jack-keyboard.c + echo 'Patch #2 (jack-keyboard-svnr28.patch):' Patch #2 (jack-keyboard-svnr28.patch): + /usr/bin/patch --no-backup-if-mismatch -p2 -b --suffix .keyboard --fuzz=0 patching file src/jack-keyboard.c patching file src/pianokeyboard.c patching file src/pianokeyboard.h Patch #3 (jack-keyboard-cproject.patch): + echo 'Patch #3 (jack-keyboard-cproject.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .cproject --fuzz=0 patching file CMakeLists.txt Hunk #1 succeeded at 35 (offset 1 line). + echo 'GenericName=Virtual MIDI Keyboard' + sed -i 's|man/man1|/usr/share/man/man1|' CMakeLists.txt + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NmZF2D + umask 022 + cd /builddir/build/BUILD + cd jack-keyboard-2.7.1 + mkdir -p riscv64-redhat-linux-gnu + pushd riscv64-redhat-linux-gnu ~/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu ~/build/BUILD/jack-keyboard-2.7.1 + 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 CFLAGS + CXXFLAGS='-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 CXXFLAGS + FFLAGS='-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/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + /usr/bin/cmake -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON .. -- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.3") -- The C compiler identification is GNU 9.2.1 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found GTK2_GTK: /usr/lib64/libgtk-x11-2.0.so -- Checking for module 'gthread-2.0' -- Found gthread-2.0, version 2.60.0 -- Found JACK: /usr/lib64/libjack.so -- Found LASH: /usr/lib64/liblash.so -- Found X11: /usr/include -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Configuring done -- Generating done BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: CMAKE_CXX_FLAGS_RELEASE BUILDSTDERR: CMAKE_C_FLAGS_RELEASE BUILDSTDERR: CMAKE_Fortran_FLAGS_RELEASE BUILDSTDERR: INCLUDE_INSTALL_DIR BUILDSTDERR: LIB_INSTALL_DIR BUILDSTDERR: LIB_SUFFIX BUILDSTDERR: SHARE_INSTALL_PREFIX BUILDSTDERR: SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu ~/build/BUILD/jack-keyboard-2.7.1 + popd + make -j8 -C riscv64-redhat-linux-gnu make: Entering directory '/builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu' /usr/bin/cmake -S/builddir/build/BUILD/jack-keyboard-2.7.1 -B/builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu/CMakeFiles /builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[1]: Entering directory '/builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu' make -f CMakeFiles/jack-keyboard.dir/build.make CMakeFiles/jack-keyboard.dir/depend make[2]: Entering directory '/builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu' cd /builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/jack-keyboard-2.7.1 /builddir/build/BUILD/jack-keyboard-2.7.1 /builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu /builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu /builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu/CMakeFiles/jack-keyboard.dir/DependInfo.cmake --color= Scanning dependencies of target jack-keyboard make[2]: Leaving directory '/builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu' make -f CMakeFiles/jack-keyboard.dir/build.make CMakeFiles/jack-keyboard.dir/build make[2]: Entering directory '/builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu' [ 33%] Building C object CMakeFiles/jack-keyboard.dir/src/pianokeyboard.c.o [ 66%] Building C object CMakeFiles/jack-keyboard.dir/src/jack-keyboard.c.o /usr/bin/cc -DHAVE_JACK=1 -DHAVE_LASH=1 -DHAVE_X11=1 -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/lash-1.0 -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 -o CMakeFiles/jack-keyboard.dir/src/pianokeyboard.c.o -c /builddir/build/BUILD/jack-keyboard-2.7.1/src/pianokeyboard.c /usr/bin/cc -DHAVE_JACK=1 -DHAVE_LASH=1 -DHAVE_X11=1 -I/usr/include/gtk-2.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/lash-1.0 -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 -o CMakeFiles/jack-keyboard.dir/src/jack-keyboard.c.o -c /builddir/build/BUILD/jack-keyboard-2.7.1/src/jack-keyboard.c BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango-font.h:25, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-attributes.h:25, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango.h:25, BUILDSTDERR: from /usr/include/gtk-2.0/gdk/gdktypes.h:37, BUILDSTDERR: from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, BUILDSTDERR: from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, BUILDSTDERR: from /usr/include/gtk-2.0/gdk/gdk.h:32, BUILDSTDERR: from /usr/include/gtk-2.0/gtk/gtk.h:32, BUILDSTDERR: from /builddir/build/BUILD/jack-keyboard-2.7.1/src/pianokeyboard.c:36: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-coverage.h:28:10: fatal error: hb.h: No such file or directory BUILDSTDERR: 28 | #include BUILDSTDERR: | ^~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[2]: *** [CMakeFiles/jack-keyboard.dir/build.make:79: CMakeFiles/jack-keyboard.dir/src/pianokeyboard.c.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango-font.h:25, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-attributes.h:25, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango.h:25, BUILDSTDERR: from /usr/include/gtk-2.0/gdk/gdktypes.h:37, BUILDSTDERR: from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, BUILDSTDERR: from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, BUILDSTDERR: from /usr/include/gtk-2.0/gdk/gdk.h:32, BUILDSTDERR: from /usr/include/gtk-2.0/gtk/gtk.h:32, BUILDSTDERR: from /builddir/build/BUILD/jack-keyboard-2.7.1/src/jack-keyboard.c:47: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-coverage.h:28:10: fatal error: hb.h: No such file or directory BUILDSTDERR: 28 | #include BUILDSTDERR: | ^~~~~~ BUILDSTDERR: compilation terminated. BUILDSTDERR: make[2]: *** [CMakeFiles/jack-keyboard.dir/build.make:66: CMakeFiles/jack-keyboard.dir/src/jack-keyboard.c.o] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu' make[1]: Leaving directory '/builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu' BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/jack-keyboard.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:133: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.NmZF2D (%build) make: Leaving directory '/builddir/build/BUILD/jack-keyboard-2.7.1/riscv64-redhat-linux-gnu' RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.NmZF2D (%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/jack-keyboard.spec