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/djview4.spec'], chrootPath='/var/lib/mock/f33-build-178761-45023/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/djview4.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=1580169600 Wrote: /builddir/build/SRPMS/djview4-4.10.6-13.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/djview4.spec'], chrootPath='/var/lib/mock/f33-build-178761-45023/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/djview4.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=1580169600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.12j8Q9 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf djview-4.10.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/djview-4.10.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd djview-4.10.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (djview-4.8-include.patch):' Patch #1 (djview-4.8-include.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file npdjvu/npdjvu.cpp + echo 'Patch #2 (djview4-aarch64.patch):' Patch #2 (djview4-aarch64.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file nsdejavu/npsdk/prcpucfg.h Hunk #1 succeeded at 746 (offset 51 lines). Patch #3 (djview-4.10.6-debug.patch): + echo 'Patch #3 (djview-4.10.6-debug.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .debug --fuzz=0 patching file configure Patch #4 (djview4-disable-workaround-qt55.patch): + echo 'Patch #4 (djview4-disable-workaround-qt55.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/qdjviewplugin.cpp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.76HM69 + umask 022 + cd /builddir/build/BUILD + cd djview-4.10.6 + 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 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + QTDIR= + install -m755 -D /builddir/build/SOURCES/qmake-qt5.sh bin/qmake-qt5 ++ pwd + PATH=/builddir/build/BUILD/djview-4.10.6/bin:/usr/lib64/qt5/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + export PATH + 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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub '/usr/lib/rpm/redhat/config.sub' -> './config/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess '/usr/lib/rpm/redhat/config.guess' -> './config/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./config/ltmain.sh ++ pwd + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-nsdejavu QMAKE=/builddir/build/BUILD/djview-4.10.6/bin/qmake-qt5 checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for riscv64-redhat-linux-gnu-ar... no checking for riscv64-redhat-linux-gnu-lib... no checking for riscv64-redhat-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for a sed that does not truncate output... /usr/bin/sed checking for rm... /usr/bin/rm checking for rmdir... /usr/bin/rmdir checking for touch... /usr/bin/touch checking for mkdir... /usr/bin/mkdir checking for awk... /usr/bin/awk checking for rm... (cached) /usr/bin/rm checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for riscv64-redhat-linux-gnu-gcc... no checking for riscv64-redhat-linux-gnu-objcc... no checking for riscv64-redhat-linux-gnu-objc... no checking for riscv64-redhat-linux-gnu-cc... no checking for riscv64-redhat-linux-gnu-CC... no checking for gcc... gcc checking whether we are using the GNU Objective C compiler... no checking whether gcc accepts -g... no checking dependency style of gcc... none checking if g++ accepts -Wall... yes checking if g++ accepts -O2... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for rsvg-convert... false checking for inkscape... false checking for convert... false checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for sigaction... yes checking for strerror... yes checking for waitpid... yes checking for wait3... yes checking for pkg-config... /usr/bin/pkg-config checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no conftest.d/conftest.sh: line 1: creating: command not found checking Qt version... qt5 (5.14.2) checking for moc-qt5... /../lib64/qt5/bin/moc-qt5 checking for uic-qt5... /../lib64/qt5/bin/uic-qt5 checking for rcc-qt5... /../lib64/qt5/bin/rcc-qt5 checking for lupdate-qt5... /../lib64/qt5/bin/lupdate-qt5 checking for lrelease-qt5... /../lib64/qt5/bin/lrelease-qt5 checking for ddjvuapi... found checking for the libtiff library... yes checking for X... libraries , headers checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) no checking for glib... found checking X11/Shell.h usability... no checking X11/Shell.h presence... no checking for X11/Shell.h... no checking X11/IntrinsicP.h usability... no checking X11/IntrinsicP.h presence... no checking for X11/IntrinsicP.h... no configure: WARNING: Xt not found. Compiling plugin with XEmbed only. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating nsdejavu/Makefile config.status: creating desktopfiles/Makefile config.status: creating npdjvu/Makefile config.status: creating mac/Makefile config.status: creating mac/mdimporter_src/Makefile config.status: creating mac/qlgenerator_src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands djview 4.10.6 Configuration Options Summary: OS...................: linux-gnu Qt version...........: qt5 (5.14.2) TIFF support.........: yes Desktop files........: yes Icon generation......: no Mac specific tools...: no NSDEJAVU plugin......: yes NPDJVU plugin........: no Compilation............: make (or gmake) Installation...........: make install (as root if needed, with 'su' or 'sudo') prefix...............: /usr ++ pwd + make -j4 V=1 QMAKE=/builddir/build/BUILD/djview-4.10.6/bin/qmake-qt5 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/djview-4.10.6' Making all in src make[2]: Entering directory '/builddir/build/BUILD/djview-4.10.6/src' /builddir/build/BUILD/djview-4.10.6/bin/qmake-qt5 CONFIG+=autoconf CONFIG+=release PACKAGE_VERSION=4.10.6\ QMAKE_UIC=/../lib64/qt5/bin/uic-qt5 \ QMAKE_MOC=/../lib64/qt5/bin/moc-qt5 \ QMAKE_RCC=/../lib64/qt5/bin/rcc-qt5 \ QMAKE_LFLAGS+='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' \ QMAKE_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 -pthread -I.. -I. -DDIR_DATADIR=\\\"/usr/share\\\"' \ QMAKE_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 -pthread -I.. -I. -DDIR_DATADIR=\\\"/usr/share\\\"' \ QMAKE_CPPFLAGS+=' -pthread -I.. -I. -DDIR_DATADIR=\\\"/usr/share\\\"' \ LIBS+='-ldjvulibre -ltiff ' \ VPATH='.' -o Makefile.qmake0 djview.pro Info: creating stash file /builddir/build/BUILD/djview-4.10.6/src/.qmake.stash /usr/bin/awk -f ../config/qmsilent.awk < Makefile.qmake0 > Makefile.qmake && /usr/bin/rm -f Makefile.qmake0 make -f Makefile.qmake make[3]: Entering directory '/builddir/build/BUILD/djview-4.10.6/src' /builddir/build/BUILD/djview-4.10.6/bin/qmake-qt5 -o Makefile.qmake0 djview.pro CONFIG+=autoconf CONFIG+=release PACKAGE_VERSION=4.10.6 QMAKE_UIC=/../lib64/qt5/bin/uic-qt5 QMAKE_MOC=/../lib64/qt5/bin/moc-qt5 QMAKE_RCC=/../lib64/qt5/bin/rcc-qt5 'QMAKE_LFLAGS+=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' 'QMAKE_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 -pthread -I.. -I. -DDIR_DATADIR=\\\"/usr/share\\\"' 'QMAKE_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 -pthread -I.. -I. -DDIR_DATADIR=\\\"/usr/share\\\"' 'QMAKE_CPPFLAGS+= -pthread -I.. -I. -DDIR_DATADIR=\\\"/usr/share\\\"' 'LIBS+=-ldjvulibre -ltiff ' VPATH=. 'QMAKE_CFLAGS_RELEASE=-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' 'QMAKE_CXXFLAGS_RELEASE=-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' 'QMAKE_LFLAGS_RELEASE=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' QMAKE_STRIP= /../lib64/qt5/bin/uic qdjviewerrordialog.ui -o ui_qdjviewerrordialog.h /../lib64/qt5/bin/uic qdjviewauthdialog.ui -o ui_qdjviewauthdialog.h /../lib64/qt5/bin/uic qdjviewinfodialog.ui -o ui_qdjviewinfodialog.h /../lib64/qt5/bin/uic qdjviewmetadialog.ui -o ui_qdjviewmetadialog.h /../lib64/qt5/bin/uic qdjviewsavedialog.ui -o ui_qdjviewsavedialog.h /../lib64/qt5/bin/uic qdjviewprintdialog.ui -o ui_qdjviewprintdialog.h /../lib64/qt5/bin/uic qdjviewexportdialog.ui -o ui_qdjviewexportdialog.h /../lib64/qt5/bin/uic qdjviewexportps1.ui -o ui_qdjviewexportps1.h /../lib64/qt5/bin/uic qdjviewexportps2.ui -o ui_qdjviewexportps2.h /../lib64/qt5/bin/uic qdjviewexportps3.ui -o ui_qdjviewexportps3.h /../lib64/qt5/bin/uic qdjviewexporttiff.ui -o ui_qdjviewexporttiff.h /../lib64/qt5/bin/uic qdjviewexportprn.ui -o ui_qdjviewexportprn.h /../lib64/qt5/bin/uic qdjviewprefsdialog.ui -o ui_qdjviewprefsdialog.h g++ -pipe -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 -pthread -I.. -I. -DDIR_DATADIR=\"/usr/share\" -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 -Wall -Wextra -D_REENTRANT -dM -E -o moc_predefs.h /../lib64/qt5/mkspecs/features/data/dummy.cpp g++ -c -pipe -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 -pthread -I.. -I. -DDIR_DATADIR=\"/usr/share\" -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 -Wall -Wextra -D_REENTRANT -fPIC -DAUTOCONF -DNDEBUG -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM -DWITH_DJVIEWPLUGIN -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/../include/qt5 -I/../include/qt5/QtOpenGL -I/../include/qt5/QtPrintSupport -I/../include/qt5/QtWidgets -I/../include/qt5/QtGui -I/../include/qt5/QtNetwork -I/../include/qt5/QtCore -I. -I. -I/../lib64/qt5/mkspecs/linux-g++ -o qdjviewdialogs.o qdjviewdialogs.cpp g++ -c -pipe -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 -pthread -I.. -I. -DDIR_DATADIR=\"/usr/share\" -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 -Wall -Wextra -D_REENTRANT -fPIC -DAUTOCONF -DNDEBUG -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM -DWITH_DJVIEWPLUGIN -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/../include/qt5 -I/../include/qt5/QtOpenGL -I/../include/qt5/QtPrintSupport -I/../include/qt5/QtWidgets -I/../include/qt5/QtGui -I/../include/qt5/QtNetwork -I/../include/qt5/QtCore -I. -I. -I/../lib64/qt5/mkspecs/linux-g++ -o qdjview.o qdjview.cpp g++ -c -pipe -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 -pthread -I.. -I. -DDIR_DATADIR=\"/usr/share\" -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 -Wall -Wextra -D_REENTRANT -fPIC -DAUTOCONF -DNDEBUG -DQT_NO_DEBUG -DQT_NO_DEBUG_STREAM -DWITH_DJVIEWPLUGIN -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/../include/qt5 -I/../include/qt5/QtOpenGL -I/../include/qt5/QtPrintSupport -I/../include/qt5/QtWidgets -I/../include/qt5/QtGui -I/../include/qt5/QtNetwork -I/../include/qt5/QtCore -I. -I. -I/../lib64/qt5/mkspecs/linux-g++ -o djview.o djview.cpp qdjviewdialogs.cpp:49:10: fatal error: QApplication: No such file or directory 49 | #include | ^~~~~~~~~~~~~~ compilation terminated. qdjview.cpp:39:10: fatal error: QAction: No such file or directory 39 | #include | ^~~~~~~~~ compilation terminated. make[3]: *** [Makefile.qmake:756: qdjviewdialogs.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: *** [Makefile.qmake:782: qdjview.o] Error 1 In file included from djview.cpp:27: qdjvu.h:42:10: fatal error: QObject: No such file or directory 42 | #include | ^~~~~~~~~ compilation terminated. make[3]: *** [Makefile.qmake:792: djview.o] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/djview-4.10.6/src' make[2]: *** [Makefile:658: djview] Error 2 make[2]: Leaving directory '/builddir/build/BUILD/djview-4.10.6/src' make[1]: *** [Makefile:442: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/djview-4.10.6' make: *** [Makefile:373: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.76HM69 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.76HM69 (%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/djview4.spec