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/non-ntk.spec'], chrootPath='/var/lib/mock/f31-build-48012-26972/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/non-ntk.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=1518048000 Wrote: /builddir/build/SRPMS/non-ntk-1.3.0-0.14.20130730gitd006352.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/non-ntk.spec'], chrootPath='/var/lib/mock/f31-build-48012-26972/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/non-ntk.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=1518048000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I2CArb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf non-ntk-20130730 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/non-ntk-20130730-gitd006352.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd non-ntk-20130730 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (non-ntk-1.3.0-fsf.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #1 (non-ntk-1.3.0-fsf.patch): patching file FL/Cairo_Theme.H patching file FL/Clean_Theme.H patching file FL/Crystal_Theme.H patching file FL/Enumerations.H patching file FL/filename.H patching file FL/Fl_Adjuster.H patching file FL/fl_ask.H patching file FL/Fl_Bitmap.H patching file FL/Fl_BMP_Image.H patching file FL/Fl_Box.H patching file FL/Fl_Browser_.H patching file FL/Fl_Browser.H patching file FL/Fl_Button.H patching file FL/Fl_Cairo.H patching file FL/Fl_Chart.H patching file FL/Fl_Check_Browser.H patching file FL/Fl_Check_Button.H patching file FL/Fl_Choice.H patching file FL/Fl_Color_Chooser.H patching file FL/Fl_Counter.H patching file FL/Fl_Device.H patching file FL/Fl_Dial_Base.H patching file FL/Fl_Dial.H patching file FL/Fl_Double_Window.H patching file FL/fl_draw.H patching file FL/Fl_Export.H patching file FL/Fl_File_Browser.H patching file FL/Fl_File_Chooser.H patching file FL/Fl_File_Icon.H patching file FL/Fl_File_Input.H patching file FL/Fl_Fill_Dial.H patching file FL/Fl_Fill_Slider.H patching file FL/Fl_Float_Input.H patching file FL/Fl_GIF_Image.H patching file FL/Fl_Gl_Window.H patching file FL/Fl_Group.H patching file FL/Fl.H patching file FL/Fl_Help_Dialog.H patching file FL/Fl_Help_View.H patching file FL/Fl_Hold_Browser.H patching file FL/Fl_Hor_Fill_Slider.H patching file FL/Fl_Hor_Nice_Slider.H patching file FL/Fl_Hor_Slider.H patching file FL/Fl_Hor_Value_Slider.H patching file FL/Fl_Image.H patching file FL/Fl_Input_Choice.H patching file FL/Fl_Input_.H patching file FL/Fl_Input.H patching file FL/Fl_Int_Input.H patching file FL/Fl_JPEG_Image.H patching file FL/Fl_Light_Button.H patching file FL/Fl_Line_Dial.H patching file FL/Fl_Menu_Bar.H patching file FL/Fl_Menu_Button.H patching file FL/Fl_Menu_.H patching file FL/Fl_Menu.H patching file FL/Fl_Menu_Item.H patching file FL/Fl_Menu_Window.H patching file FL/fl_message.H patching file FL/Fl_Multi_Browser.H patching file FL/Fl_Multi_Label.H patching file FL/Fl_Multiline_Input.H patching file FL/Fl_Multiline_Output.H patching file FL/Fl_Native_File_Chooser.H patching file FL/Fl_Nice_Slider.H patching file FL/Fl_Object.H patching file FL/Fl_Output.H patching file FL/Fl_Overlay_Window.H patching file FL/Fl_Pack.H patching file FL/Fl_Paged_Device.H patching file FL/Fl_Panzoomer.H patching file FL/Fl_Pixmap.H patching file FL/Fl_Plugin.H patching file FL/Fl_PNG_Image.H patching file FL/Fl_PNM_Image.H patching file FL/Fl_Positioner.H patching file FL/Fl_PostScript.H patching file FL/Fl_Preferences.H patching file FL/Fl_Printer.H patching file FL/Fl_Progress.H patching file FL/Fl_Radio_Button.H patching file FL/Fl_Radio_Light_Button.H patching file FL/Fl_Radio_Round_Button.H patching file FL/Fl_Repeat_Button.H patching file FL/Fl_Return_Button.H patching file FL/Fl_RGB_Image.H patching file FL/Fl_Roller.H patching file FL/Fl_Round_Button.H patching file FL/Fl_Scrollbar.H patching file FL/Fl_Scroll.H patching file FL/Fl_Secret_Input.H patching file FL/Fl_Select_Browser.H patching file FL/Fl_Shared_Image.H patching file FL/fl_show_colormap.H patching file FL/fl_show_input.H patching file FL/Fl_Simple_Counter.H patching file FL/Fl_Single_Window.H patching file FL/Fl_Slider.H patching file FL/Fl_Socket_Window.H patching file FL/Fl_Spinner.H patching file FL/Fl_Sys_Menu_Bar.H patching file FL/Fl_Table.H patching file FL/Fl_Table_Row.H patching file FL/Fl_Tabs.H patching file FL/Fl_Text_Buffer.H patching file FL/Fl_Text_Display.H patching file FL/Fl_Text_Editor.H patching file FL/Fl_Theme.H patching file FL/Fl_Tiled_Image.H patching file FL/Fl_Tile.H patching file FL/Fl_Toggle_Button.H patching file FL/Fl_Toggle_Light_Button.H patching file FL/Fl_Toggle_Round_Button.H patching file FL/Fl_Tooltip.H patching file FL/Fl_Tree.H patching file FL/Fl_Tree_Item_Array.H patching file FL/Fl_Tree_Item.H patching file FL/Fl_Tree_Prefs.H patching file FL/Fl_Valuator.H patching file FL/Fl_Value_Input.H patching file FL/Fl_Value_Output.H patching file FL/Fl_Value_Slider.H patching file FL/Fl_Widget.H patching file FL/Fl_Window.H patching file FL/Fl_Wizard.H patching file FL/Fl_XBM_Image.H patching file FL/Fl_XPM_Image.H patching file FL/gl_draw.H patching file FL/Gleam_Theme.H patching file FL/glut.H patching file FL/mac.H patching file FL/themes.H patching file FL/Vector_Theme.H patching file FL/win32.H patching file FL/x.H patching file fluid/about_panel.cxx patching file fluid/about_panel.h patching file fluid/alignment_panel.cxx patching file fluid/alignment_panel.h patching file fluid/align_widget.cxx patching file fluid/code.cxx patching file fluid/CodeEditor.cxx patching file fluid/CodeEditor.h patching file fluid/comments.h patching file fluid/factory.cxx patching file fluid/file.cxx patching file fluid/Fl_Function_Type.cxx patching file fluid/Fl_Group_Type.cxx patching file fluid/Fl_Menu_Type.cxx patching file fluid/Fl_Type.cxx patching file fluid/Fl_Type.h patching file fluid/fluid.cxx patching file fluid/Fluid_Image.cxx patching file fluid/Fluid_Image.h patching file fluid/Fl_Widget_Type.cxx patching file fluid/Fl_Widget_Type.h patching file fluid/Fl_Window_Type.cxx patching file fluid/function_panel.cxx patching file fluid/function_panel.h patching file fluid/print_panel.cxx patching file fluid/print_panel.h patching file fluid/Shortcut_Button.h patching file fluid/template_panel.cxx patching file fluid/template_panel.h patching file fluid/undo.cxx patching file fluid/undo.h patching file fluid/widget_panel.cxx patching file fluid/widget_panel.h patching file src/Cairo_Theme.cxx patching file src/Clean_Theme.cxx patching file src/cmap.cxx patching file src/Crystal_Theme.cxx patching file src/filename_absolute.cxx patching file src/filename_expand.cxx patching file src/filename_ext.cxx patching file src/filename_isdir.cxx patching file src/filename_list.cxx patching file src/filename_match.cxx patching file src/filename_setext.cxx patching file src/Fl_abort.cxx patching file src/Fl_add_idle.cxx patching file src/Fl_Adjuster.cxx patching file src/fl_arc.cxx patching file src/fl_arci.cxx patching file src/Fl_arg.cxx patching file src/fl_ask.cxx patching file src/Fl_Bitmap.cxx patching file src/Fl_BMP_Image.cxx patching file src/Fl_Box.cxx patching file src/fl_boxtype.cxx patching file src/Fl_Browser_.cxx patching file src/Fl_Browser.cxx patching file src/Fl_Browser_load.cxx patching file src/Fl_Button.cxx patching file src/Fl_Cairo.cxx patching file src/Fl_Cairo_Graphics_Driver.cxx patching file src/Fl_Chart.cxx patching file src/Fl_Check_Browser.cxx patching file src/Fl_Check_Button.cxx patching file src/Fl_Choice.cxx patching file src/Fl_Color_Chooser.cxx patching file src/fl_color.cxx patching file src/fl_color_mac.cxx patching file src/fl_color_win32.cxx patching file src/Fl_compose.cxx patching file src/Fl_Counter.cxx patching file src/fl_cursor.cxx patching file src/fl_curve.cxx patching file src/Fl.cxx patching file src/Fl_Device.cxx patching file src/Fl_Dial_Base.cxx patching file src/Fl_Dial.cxx patching file src/fl_diamond_box.cxx patching file src/Fl_display.cxx patching file src/fl_dnd.cxx patching file src/fl_dnd_win32.cxx patching file src/fl_dnd_x.cxx patching file src/Fl_Double_Window.cxx patching file src/fl_draw.cxx patching file src/fl_draw_image.cxx patching file src/fl_draw_image_mac.cxx patching file src/fl_draw_image_win32.cxx patching file src/fl_draw_pixmap.cxx patching file src/fl_encoding_latin1.cxx patching file src/fl_encoding_mac_roman.cxx patching file src/fl_engraved_label.cxx patching file src/Fl_File_Browser.cxx patching file src/Fl_File_Chooser2.cxx patching file src/Fl_File_Chooser.cxx patching file src/fl_file_dir.cxx patching file src/Fl_File_Icon2.cxx patching file src/Fl_File_Icon.cxx patching file src/Fl_File_Input.cxx patching file src/fl_font.cxx patching file src/Fl_Font.H patching file src/fl_font_mac.cxx patching file src/fl_font_win32.cxx patching file src/fl_font_x.cxx patching file src/fl_font_xft.cxx patching file src/Fl_GDI_Printer.cxx patching file src/Fl_get_key.cxx patching file src/Fl_get_key_mac.cxx patching file src/Fl_get_key_win32.cxx patching file src/Fl_get_system_colors.cxx BUILDSTDERR: patching file src/Fl_GIF_Image.c+ echo 'Patch #2 (non-ntk-unused-shlib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 xx patching file src/Fl_Gl_Choice.cxx patching file src/Fl_Gl_Choice.H patching file src/Fl_Gl_Device_Plugin.cxx patching file src/Fl_grab.cxx patching file src/Fl_Group.cxx patching file src/Fl_Help_Dialog.cxx patching file src/Fl_Help_Dialog_Dox.cxx patching file src/Fl_Help_View.cxx patching file src/Fl_Image.cxx patching file src/fl_images_core.cxx patching file src/Fl_Input_.cxx patching file src/Fl_Input.cxx patching file src/Fl_JPEG_Image.cxx patching file src/fl_labeltype.cxx patching file src/Fl_Light_Button.cxx patching file src/fl_line_style.cxx patching file src/Fl_lock.cxx patching file src/Fl_mac.cxx patching file src/Fl_Menu_add.cxx patching file src/Fl_Menu_Bar.cxx patching file src/Fl_Menu_Button.cxx patching file src/Fl_Menu_.cxx patching file src/Fl_Menu.cxx patching file src/Fl_Menu_global.cxx patching file src/Fl_Menu_Window.cxx patching file src/Fl_Multi_Label.cxx patching file src/Fl_Native_File_Chooser_common.cxx patching file src/Fl_Native_File_Chooser.cxx patching file src/Fl_Native_File_Chooser_FLTK.cxx patching file src/Fl_Native_File_Chooser_WIN32.cxx patching file src/fl_open_uri.cxx patching file src/fl_oval_box.cxx patching file src/fl_overlay.cxx patching file src/Fl_own_colormap.cxx patching file src/Fl_Pack.cxx patching file src/Fl_Paged_Device.cxx patching file src/Fl_Panzoomer.cxx patching file src/Fl_Pixmap.cxx patching file src/Fl_PNG_Image.cxx patching file src/Fl_PNM_Image.cxx patching file src/Fl_Positioner.cxx patching file src/Fl_PostScript.cxx patching file src/Fl_Preferences.cxx patching file src/Fl_Printer.cxx patching file src/Fl_Progress.cxx patching file src/fl_read_image.cxx patching file src/fl_read_image_mac.cxx patching file src/fl_read_image_win32.cxx patching file src/fl_rect.cxx patching file src/Fl_Repeat_Button.cxx patching file src/Fl_Return_Button.cxx patching file src/fl_round_box.cxx patching file src/Fl_Round_Button.cxx patching file src/fl_rounded_box.cxx patching file src/fl_scroll_area.cxx patching file src/Fl_Scrollbar.cxx patching file src/Fl_Scroll.cxx patching file src/fl_set_font.cxx patching file src/fl_set_fonts.cxx patching file src/fl_set_fonts_mac.cxx patching file src/fl_set_fonts_win32.cxx patching file src/fl_set_fonts_x.cxx patching file src/fl_set_fonts_xft.cxx patching file src/fl_shadow_box.cxx patching file src/Fl_Shared_Image.cxx patching file src/fl_shortcut.cxx patching file src/fl_show_colormap.cxx patching file src/Fl_Single_Window.cxx patching file src/Fl_Slider.cxx patching file src/fl_symbols.cxx patching file src/Fl_Sys_Menu_Bar.cxx patching file src/Fl_Table.cxx patching file src/Fl_Table_Row.cxx patching file src/Fl_Tabs.cxx patching file src/Fl_Text_Buffer.cxx patching file src/Fl_Text_Display.cxx patching file src/Fl_Text_Editor.cxx patching file src/Fl_Theme.cxx patching file src/Fl_Tile.cxx patching file src/Fl_Tiled_Image.cxx patching file src/Fl_Tooltip.cxx patching file src/Fl_Tree.cxx patching file src/Fl_Tree_Item_Array.cxx patching file src/Fl_Tree_Item.cxx patching file src/Fl_Tree_Prefs.cxx patching file src/fl_utf8.cxx patching file src/Fl_Valuator.cxx patching file src/Fl_Value_Input.cxx patching file src/Fl_Value_Output.cxx patching file src/Fl_Value_Slider.cxx patching file src/fl_vertex.cxx patching file src/Fl_visual.cxx patching file src/Fl_Widget.cxx patching file src/Fl_win32.cxx patching file src/Fl_Window.cxx patching file src/Fl_Window_fullscreen.cxx patching file src/Fl_Window_hotspot.cxx patching file src/Fl_Window_iconize.cxx patching file src/Fl_Wizard.cxx patching file src/Fl_XBM_Image.cxx patching file src/Fl_XColor.H patching file src/Fl_x.cxx patching file src/Fl_XPM_Image.cxx patching file src/gl_draw.cxx patching file src/Gleam_Theme.cxx patching file src/gl_start.cxx patching file src/glut_compatability.cxx patching file src/glut_font.cxx patching file src/ntk-chtheme.cxx patching file src/print_panel.cxx patching file src/ps_image.cxx patching file src/screen_xywh.cxx patching file src/themes.cxx patching file src/Vector_Theme.cxx Patch #2 (non-ntk-unused-shlib.patch): patching file wscript Hunk #2 succeeded at 217 (offset -1 lines). Hunk #3 succeeded at 407 (offset -1 lines). Hunk #4 succeeded at 512 (offset -1 lines). Patch #3 (non-ntk-scandir.patch): patching file src/filename_list.cxx Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.adfvSd + echo 'Patch #3 (non-ntk-scandir.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + sed -i -e 's|append_value('\''C\(.*\)FLAGS'\'', CFLAGS|append_value('\''C\1FLAGS'\'','\''-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'\''.split('\'' '\'')|' wscript + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 + umask 022 + cd /builddir/build/BUILD + cd non-ntk-20130730 + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + ./waf -v configure --prefix=/usr --libdir=/usr/lib64 --enable-gl RPM build errors: BUILDSTDERR: /usr/bin/env: 'python': No such file or directory BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.adfvSd (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.adfvSd (%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/non-ntk.spec