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/apvlv.spec'], chrootPath='/var/lib/mock/f31-build-53261-27806/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/apvlv.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=1555459200 Wrote: /builddir/build/SRPMS/apvlv-0.1.5-4.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/apvlv.spec'], chrootPath='/var/lib/mock/f31-build-53261-27806/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/apvlv.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=1555459200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Q6GM3I + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf apvlv-0.1.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/apvlv-0.1.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd apvlv-0.1.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/apvlv-0.1.5-cflags.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/apvlv-0.1.5-gcc6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/apvlv-0.1.5-gcc7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/fix-build-with-poppler-0.73.0.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.sviFwI + umask 022 + cd /builddir/build/BUILD + cd apvlv-0.1.5 + 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 . -DDOCDIR=/usr/share/doc/apvlv -DAPVLV_WITH_DJVU:BOOL=ON -DAPVLV_WITH_TXT:BOOL=ON BUILDSTDERR: CMake Warning: BUILDSTDERR: Manually-specified variables were not used by the project: BUILDSTDERR: BUILD_SHARED_LIBS 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 + /usr/bin/make -O -j4 V=1 VERBOSE=1 BUILDSTDERR: /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDir.cc: In member function 'virtual void apvlv::ApvlvDirStatus::active(bool)': BUILDSTDERR: /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDir.cc:824:68: warning: 'void gtk_widget_override_color(GtkWidget*, GtkStateFlags, const GdkRGBA*)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 824 | GTK_STATE_FLAG_INSENSITIVE, NULL); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtk.h:31, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvMenu.h:31, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvView.h:32, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDir.cc:29: BUILDSTDERR: /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here BUILDSTDERR: 1144 | void gtk_widget_override_color (GtkWidget *widget, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDir.cc:824:68: warning: 'void gtk_widget_override_color(GtkWidget*, GtkStateFlags, const GdkRGBA*)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 824 | GTK_STATE_FLAG_INSENSITIVE, NULL); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtk.h:31, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvMenu.h:31, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvView.h:32, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDir.cc:29: BUILDSTDERR: /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here BUILDSTDERR: 1144 | void gtk_widget_override_color (GtkWidget *widget, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ -- The C compiler identification is GNU 9.1.1 -- The CXX compiler identification is GNU 9.1.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 -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find Git (missing: GIT_EXECUTABLE) -- Found PkgConfig: /usr/bin/pkg-config (found version "1.5.4") -- Checking for module 'freetype2' -- Found freetype2, version 23.0.17 -- Checking for module 'gtk+-3.0' -- Found gtk+-3.0, version 3.24.10 -- Checking for module 'glib-2.0' -- Found glib-2.0, version 2.60.0 -- Checking for module 'gthread-2.0' -- Found gthread-2.0, version 2.60.0 -- Checking for module 'poppler-glib' -- Found poppler-glib, version 0.67.0 -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/apvlv-0.1.5 /usr/bin/cmake -S/builddir/build/BUILD/apvlv-0.1.5 -B/builddir/build/BUILD/apvlv-0.1.5 --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/apvlv-0.1.5/CMakeFiles /builddir/build/BUILD/apvlv-0.1.5/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f src/CMakeFiles/apvlv.dir/build.make src/CMakeFiles/apvlv.dir/depend make[2]: Entering directory '/builddir/build/BUILD/apvlv-0.1.5' cd /builddir/build/BUILD/apvlv-0.1.5 && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/apvlv-0.1.5 /builddir/build/BUILD/apvlv-0.1.5/src /builddir/build/BUILD/apvlv-0.1.5 /builddir/build/BUILD/apvlv-0.1.5/src /builddir/build/BUILD/apvlv-0.1.5/src/CMakeFiles/apvlv.dir/DependInfo.cmake --color= Dependee "/builddir/build/BUILD/apvlv-0.1.5/src/CMakeFiles/apvlv.dir/DependInfo.cmake" is newer than depender "/builddir/build/BUILD/apvlv-0.1.5/src/CMakeFiles/apvlv.dir/depend.internal". Dependee "/builddir/build/BUILD/apvlv-0.1.5/src/CMakeFiles/CMakeDirectoryInformation.cmake" is newer than depender "/builddir/build/BUILD/apvlv-0.1.5/src/CMakeFiles/apvlv.dir/depend.internal". Scanning dependencies of target apvlv make[2]: Leaving directory '/builddir/build/BUILD/apvlv-0.1.5' /usr/bin/make -f src/CMakeFiles/apvlv.dir/build.make src/CMakeFiles/apvlv.dir/build make[2]: Entering directory '/builddir/build/BUILD/apvlv-0.1.5' [ 5%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvCore.cc.o cd /builddir/build/BUILD/apvlv-0.1.5/src && /usr/bin/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR=\"/usr/share/doc/apvlv\" -DPACKAGE_BUGREPORT="\"Alf \"" -DPACKAGE_NAME=\"apvlv\" -DPACKAGE_VERSION=\"0.1.5\" -DRELEASE=\"rel\" -DSYSCONFDIR=\"/etc\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvCore.cc.o -c /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvCore.cc make[2]: Leaving directory '/builddir/build/BUILD/apvlv-0.1.5' make[2]: Entering directory '/builddir/build/BUILD/apvlv-0.1.5' BUILDSTDERR: [ 17%] Building CXX object src//builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDoc.cc: In static member function 'static void apvlv::ApvlvDoc::apvlv_doc_button_event(GtkEventBox*, GdkEventButton*, apvlv::ApvlvDoc*)': BUILDSTDERR: /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDoc.cc:1684:63: warning: 'void gtk_menu_popup(GtkMenu*, GtkWidget*, GtkWidget*, GtkMenuPositionFunc, gpointer, guint, guint32)' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] BUILDSTDERR: 1684 | gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, 0, 0); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtk.h:33, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvUtil.h:32, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDoc.cc:29: BUILDSTDERR: /usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here BUILDSTDERR: 138 | void gtk_menu_popup (GtkMenu *menu, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDoc.cc:1684:63: warning: 'void gtk_menu_popup(GtkMenu*, GtkWidget*, GtkWidget*, GtkMenuPositionFunc, gpointer, guint, guint32)' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] BUILDSTDERR: 1684 | gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, 0, 0); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtk.h:33, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvUtil.h:32, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDoc.cc:29: BUILDSTDERR: /usr/include/gtk-3.0/gtk/gtkmenu.h:138:9: note: declared here BUILDSTDERR: 138 | void gtk_menu_popup (GtkMenu *menu, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDoc.cc: In member function 'virtual void apvlv::ApvlvDocStatus::active(bool)': BUILDSTDERR: /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDoc.cc:2103:68: warning: 'void gtk_widget_override_color(GtkWidget*, GtkStateFlags, const GdkRGBA*)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 2103 | GTK_STATE_FLAG_INSENSITIVE, NULL); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtk.h:31, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvUtil.h:32, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDoc.cc:29: BUILDSTDERR: /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here BUILDSTDERR: 1144 | void gtk_widget_override_color (GtkWidget *widget, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDoc.cc:2103:68: warning: 'void gtk_widget_override_color(GtkWidget*, GtkStateFlags, const GdkRGBA*)' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 2103 | GTK_STATE_FLAG_INSENSITIVE, NULL); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtk.h:31, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvUtil.h:32, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDoc.cc:29: BUILDSTDERR: /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here BUILDSTDERR: 1144 | void gtk_widget_override_color (GtkWidget *widget, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ CMakeFiles/apvlv.dir/ApvlvDir.cc.o cd /builddir/build/BUILD/apvlv-0.1.5/src && /usr/bin/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR=\"/usr/share/doc/apvlv\" -DPACKAGE_BUGREPORT="\"Alf \"" -DPACKAGE_NAME=\"apvlv\" -DPACKAGE_VERSION=\"0.1.5\" -DRELEASE=\"rel\" -DSYSCONFDIR=\"/etc\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvDir.cc.o -c /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDir.cc make[2]: Leaving directory '/builddir/build/BUILD/apvlv-0.1.5' make[2]: Entering directory '/builddir/build/BUILD/apvlv-0.1.5' [ 11%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvCmds.cc.o cd /builddir/build/BUILD/apvlv-0.1.5/src && /usr/bin/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR=\"/usr/share/doc/apvlv\" -DPACKAGE_BUGREPORT="\"Alf \"" -DPACKAGE_NAME=\"apvlv\" -DPACKAGE_VERSION=\"0.1.5\" -DRELEASE=\"rel\" -DSYSCONFDIR=\"/etc\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvCmds.cc.o -c /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvCmds.cc make[2]: Leaving directory '/builddir/build/BUILD/apvlv-0.1.5' make[2]: Entering directory '/builddir/build/BUILD/apvlv-0.1.5' [ 23%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvDoc.cc.o BUILDSTDERR: cd /builddir/build/BUILD/apvlv-0.1.5/src && /usr/bin/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR=\"/usr/share/doc/apvlv\" -DPACKAGE_BUGREPORT="\"Alf \"" -DPACKAGE_NAME=\"apvlv\" -DPACKAGE_VERSION=\"0.1.5\" -DRELEASE=\"rel\" -DSYSCONFDIR=\"/etc\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvFile.cc: In static member function 'static apvlv::ApvlvFile* apvlv::ApvlvFile::newfile(const char*, bool)': BUILDSTDERR: /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvFile.cc:141:22: warning: catching polymorphic type 'class std::bad_alloc' by value [-Wcatch-value=] BUILDSTDERR: 141 | catch (bad_alloc e) BUILDSTDERR: | ^ BUILDSTDERR: In file included from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvPdf.cc:32: BUILDSTDERR: /usr/include/poppler/goo/gfile.h:196:7: error: using typedef-name 'GDir' after 'class' BUILDSTDERR: 196 | class GDir { BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/glib.h:45, BUILDSTDERR: from /usr/include/gtk-3.0/gdk/gdkconfig.h:13, BUILDSTDERR: from /usr/include/gtk-3.0/gdk/gdk.h:30, BUILDSTDERR: from /usr/include/gtk-3.0/gtk/gtk.h:30, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvMenu.h:31, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvView.h:32, BUILDSTDERR: from /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvPdf.cc:28: BUILDSTDERR: /usr/include/glib-2.0/glib/gdir.h:37:22: note: 'GDir' has a previous declaration here BUILDSTDERR: 37 | typedef struct _GDir GDir; BUILDSTDERR: | ^~~~ BUILDSTDERR: make[2]: *** [src/CMakeFiles/apvlv.dir/build.make:131: src/CMakeFiles/apvlv.dir/ApvlvPdf.cc.o] Error 1 BUILDSTDERR: make[2]: *** Waiting for unfinished jobs.... -Wall -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvDoc.cc.o -c /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvDoc.cc make[2]: Leaving directory '/builddir/build/BUILD/apvlv-0.1.5' make[2]: Entering directory '/builddir/build/BUILD/apvlv-0.1.5' [ 29%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvFile.cc.o cd /builddir/build/BUILD/apvlv-0.1.5/src && /usr/bin/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR=\"/usr/share/doc/apvlv\" -DPACKAGE_BUGREPORT="\"Alf \"" -DPACKAGE_NAME=\"apvlv\" -DPACKAGE_VERSION=\"0.1.5\" -DRELEASE=\"rel\" -DSYSCONFDIR=\"/etc\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvFile.cc.o -c /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvFile.cc make[2]: Leaving directory '/builddir/build/BUILD/apvlv-0.1.5' make[2]: Entering directory '/builddir/build/BUILD/apvlv-0.1.5' [ 35%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvPdf.cc.o cd /builddir/build/BUILD/apvlv-0.1.5/src && /usr/bin/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR=\"/usr/share/doc/apvlv\" -DPACKAGE_BUGREPORT="\"Alf \"" -DPACKAGE_NAME=\"apvlv\" -DPACKAGE_VERSION=\"0.1.5\" -DRELEASE=\"rel\" -DSYSCONFDIR=\"/etc\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvPdf.cc.o -c /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvPdf.cc make[2]: Leaving directory '/builddir/build/BUILD/apvlv-0.1.5' make[2]: Entering directory '/builddir/build/BUILD/apvlv-0.1.5' [ 41%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvInfo.cc.o BUILDSTDERR: cd /builddir/build/BUILD/apvlv-0.1.5/src && /usr/bin/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR=\"/usr/share/doc/apvlv\" -DPACKAGE_BUGREPORT="\"Alf \"" -DPACKAGE_NAME=\"apvlv\" -DPACKAGE_VERSION=\"0.1.5\" -DRELEASE=\"rel\" -DSYSCONFDIR=\"/etc\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -O2 -g -pipe -Wall -Wmake[1]: *** [CMakeFiles/Makefile2:94: src/CMakeFiles/apvlv.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:155: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.sviFwI (%build) error=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 -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvInfo.cc.o -c /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvInfo.cc make[2]: Leaving directory '/builddir/build/BUILD/apvlv-0.1.5' make[2]: Entering directory '/builddir/build/BUILD/apvlv-0.1.5' [ 47%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvMenu.cc.o cd /builddir/build/BUILD/apvlv-0.1.5/src && /usr/bin/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR=\"/usr/share/doc/apvlv\" -DPACKAGE_BUGREPORT="\"Alf \"" -DPACKAGE_NAME=\"apvlv\" -DPACKAGE_VERSION=\"0.1.5\" -DRELEASE=\"rel\" -DSYSCONFDIR=\"/etc\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvMenu.cc.o -c /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvMenu.cc make[2]: Leaving directory '/builddir/build/BUILD/apvlv-0.1.5' make[2]: Entering directory '/builddir/build/BUILD/apvlv-0.1.5' [ 52%] Building CXX object src/CMakeFiles/apvlv.dir/ApvlvParams.cc.o cd /builddir/build/BUILD/apvlv-0.1.5/src && /usr/bin/c++ -DAPVLV_WITH_DJVU -DAPVLV_WITH_TXT -DDOCDIR=\"/usr/share/doc/apvlv\" -DPACKAGE_BUGREPORT="\"Alf \"" -DPACKAGE_NAME=\"apvlv\" -DPACKAGE_VERSION=\"0.1.5\" -DRELEASE=\"rel\" -DSYSCONFDIR=\"/etc\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -I/usr/include/gio-unix-2.0 -I/usr/include/libdrm -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/poppler/glib -I/usr/include/poppler -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 -fno-strict-aliasing -o CMakeFiles/apvlv.dir/ApvlvParams.cc.o -c /builddir/build/BUILD/apvlv-0.1.5/src/ApvlvParams.cc make[2]: Leaving directory '/builddir/build/BUILD/apvlv-0.1.5' RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.sviFwI (%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/apvlv.spec