+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/glui.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.M7v9PZ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf glui-2.36 + /usr/bin/gzip -dc /builddir/build/SOURCES/glui-2.36.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd glui-2.36 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (glui-2.36-solib.patch):' Patch #0 (glui-2.36-solib.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .solib --fuzz=0 patching file src/makefile + xargs chmod -x + find -type f -name '*.cpp' + xargs chmod -x + find -type f -name '*.h' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.grBuy0 + umask 022 + cd /builddir/build/BUILD + cd glui-2.36 + pushd src ~/build/BUILD/glui-2.36/src ~/build/BUILD/glui-2.36 + /usr/bin/make 'CPPFLAGS=-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 -I./ -I./include -fPIC' -j4 mkdir -p bin g++ -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 -I./ -I./include -fPIC -c glui_add_controls.cpp g++ -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 -I./ -I./include -fPIC -c glui_string.cpp g++ -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 -I./ -I./include -fPIC -c glui.cpp mkdir -p lib g++ -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 -I./ -I./include -fPIC -c glui_bitmap_img_data.cpp g++ -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 -I./ -I./include -fPIC -c glui_bitmaps.cpp g++ -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 -I./ -I./include -fPIC -c glui_button.cpp g++ -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 -I./ -I./include -fPIC -c glui_edittext.cpp g++ -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 -I./ -I./include -fPIC -c glui_commandline.cpp g++ -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 -I./ -I./include -fPIC -c glui_checkbox.cpp glui_edittext.cpp: In member function 'int GLUI_EditText::find_word_break(int, int)': glui_edittext.cpp:936:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *breaks = " :-.,"; ^~~~~~~ g++ -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 -I./ -I./include -fPIC -c glui_node.cpp g++ -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 -I./ -I./include -fPIC -c glui_radio.cpp g++ -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 -I./ -I./include -fPIC -c glui_statictext.cpp g++ -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 -I./ -I./include -fPIC -c glui_panel.cpp g++ -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 -I./ -I./include -fPIC -c glui_separator.cpp g++ -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 -I./ -I./include -fPIC -c glui_spinner.cpp g++ -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 -I./ -I./include -fPIC -c glui_control.cpp g++ -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 -I./ -I./include -fPIC -c glui_column.cpp g++ -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 -I./ -I./include -fPIC -c glui_translation.cpp g++ -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 -I./ -I./include -fPIC -c glui_rotation.cpp g++ -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 -I./ -I./include -fPIC -c glui_mouse_iaction.cpp g++ -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 -I./ -I./include -fPIC -c glui_listbox.cpp g++ -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 -I./ -I./include -fPIC -c glui_rollout.cpp g++ -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 -I./ -I./include -fPIC -c glui_window.cpp g++ -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 -I./ -I./include -fPIC -c arcball.cpp g++ -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 -I./ -I./include -fPIC -c algebra3.cpp g++ -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 -I./ -I./include -fPIC -c quaternion.cpp g++ -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 -I./ -I./include -fPIC -c viewmodel.cpp quaternion.cpp: In function 'quat operator*(const quat&, const quat&)': quaternion.cpp:117:55: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] return quat( a.s*b.s - a.v*b.v, a.s*b.v + b.s*a.v + a.v^b.v ); ~~~~~~~~~~~~~~~~~~^~~~~ g++ -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 -I./ -I./include -fPIC -c glui_treepanel.cpp g++ -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 -I./ -I./include -fPIC -c glui_tree.cpp g++ -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 -I./ -I./include -fPIC -c glui_textbox.cpp g++ -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 -I./ -I./include -fPIC -c glui_scrollbar.cpp g++ -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 -I./ -I./include -fPIC -c glui_list.cpp glui_textbox.cpp: In member function 'virtual int GLUI_TextBox::mouse_down_handler(int, int)': glui_textbox.cpp:100:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( debug ) dump( stdout, "-> MOUSE DOWN" ); ^ glui_textbox.cpp:118:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( debug ) dump( stdout, "<- MOUSE UP" ); ^ glui_textbox.cpp: In member function 'virtual int GLUI_TextBox::mouse_held_down_handler(int, int, bool)': glui_textbox.cpp:141:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( debug ) dump( stdout, "-> HELD DOWN" ); ^ glui_textbox.cpp:160:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dump( stdout, "<- HELD DOWN" ); ^ glui_textbox.cpp: In member function 'virtual int GLUI_TextBox::key_handler(unsigned char, int)': glui_textbox.cpp:176:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dump( stdout, "-> KEY HANDLER" ); ^ glui_textbox.cpp:314:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dump( stdout, "<- KEY HANDLER" ); ^ glui_textbox.cpp: In member function 'virtual void GLUI_TextBox::activate(int)': glui_textbox.cpp:340:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dump( stdout, "-> ACTIVATE" ); ^ glui_textbox.cpp:352:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dump( stdout, "<- ACTIVATE" ); ^ glui_textbox.cpp: In member function 'virtual void GLUI_TextBox::deactivate()': glui_textbox.cpp:366:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dump( stdout, "-> DISACTIVATE" ); ^ glui_textbox.cpp:388:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] dump( stdout, "<- DISACTIVATE" ); ^ glui_textbox.cpp: In member function 'int GLUI_TextBox::update_substring_bounds()': glui_textbox.cpp:513:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( debug ) dump( stdout, "-> UPDATE SS" ); ^ glui_textbox.cpp:551:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( debug ) dump( stdout, "<- UPDATE SS" ); ^ glui_textbox.cpp: In member function 'void GLUI_TextBox::draw_text(int, int)': glui_textbox.cpp:575:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( debug ) dump( stdout, "-> DRAW_TEXT" ); ^ glui_textbox.cpp:659:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( debug ) dump( stdout, "<- DRAW_TEXT" ); ^ g++ -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 -I./ -I./include -fPIC -c glui_filebrowser.cpp glui_textbox.cpp: In member function 'void GLUI_TextBox::draw_insertion_pt()': glui_textbox.cpp:779:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( debug ) dump( stdout, "-> DRAW_INS_PT" ); ^ glui_textbox.cpp:832:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (insertion_pt == text.length() && text[text.length()-1] == '\n' ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ glui_textbox.cpp:832:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (insertion_pt == text.length() && text[text.length()-1] == '\n' ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glui_textbox.cpp:853:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if ( debug ) dump( stdout, "-> DRAW_INS_PT" ); ^ In file included from glui_internal_control.h:29:0, from glui_textbox.cpp:34: glui_textbox.cpp: In member function 'virtual int GLUI_TextBox::special_handler(int, int)': glui_internal.h:84:66: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define CLAMP(x,lo,hi) {if ((x) < (lo)) {(x)=(lo);} else if((x) > (hi)) {(x)=(hi);}} ~~~~^~~~~~ glui_textbox.cpp:963:3: note: in expansion of macro 'CLAMP' CLAMP( insertion_pt, 0, text.length()); /* Make sure insertion_pt ^~~~~ glui_internal.h:84:66: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define CLAMP(x,lo,hi) {if ((x) < (lo)) {(x)=(lo);} else if((x) > (hi)) {(x)=(hi);}} ~~~~^~~~~~ glui_textbox.cpp:965:3: note: in expansion of macro 'CLAMP' CLAMP( sel_start, 0, text.length()); /* Make sure insertion_pt ^~~~~ glui_internal.h:84:66: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] #define CLAMP(x,lo,hi) {if ((x) < (lo)) {(x)=(lo);} else if((x) > (hi)) {(x)=(hi);}} ~~~~^~~~~~ glui_textbox.cpp:967:3: note: in expansion of macro 'CLAMP' CLAMP( sel_end, 0, text.length()); /* Make sure insertion_pt ^~~~~ glui_textbox.cpp: In member function 'void GLUI_TextBox::dump(FILE*, char*)': glui_textbox.cpp:1076:21: warning: format '%d' expects argument of type 'int', but argument 11 has type 'std::__cxx11::basic_string::size_type {aka long unsigned int}' [-Wformat=] text.length()); ~~~~~~~~~~~~~^ glui_scrollbar.cpp: In member function 'void GLUI_Scrollbar::do_drag(int, int)': glui_scrollbar.cpp:639:9: warning: variable 'incr' set but not used [-Wunused-but-set-variable] float incr, modifier_factor; ^~~~ glui_list.cpp: In member function 'virtual int GLUI_List::mouse_down_handler(int, int)': glui_list.cpp:119:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (associated_object != NULL) ^ glui_list.cpp: In member function 'virtual void GLUI_List::draw(int, int)': glui_list.cpp:202:7: warning: variable 'box_width' set but not used [-Wunused-but-set-variable] int box_width; ^~~~~~~~~ g++ -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 -I./ -I./include -fPIC -o bin/ppm2array tools/ppm2array.cpp tools/ppm.cpp glui_filebrowser.cpp: In static member function 'static void GLUI_FileBrowser::dir_list_callback(GLUI_Control*)': glui_filebrowser.cpp:84:14: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] chdir(selected+1); ~~~~~^~~~~~~~~~~~ tools/ppm.cpp: In function 'void LoadPPM(const char*, unsigned char*&, int&, int&)': tools/ppm.cpp:49:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d %d\n255\n", &Width, &Height); ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tools/ppm.cpp:55:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(Color,NumComponents,1,fp); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ ar -r lib/libglui.a glui_add_controls.o glui_string.o glui.o glui_bitmap_img_data.o glui_bitmaps.o glui_button.o glui_edittext.o glui_commandline.o glui_checkbox.o glui_node.o glui_radio.o glui_statictext.o glui_panel.o glui_separator.o glui_spinner.o glui_control.o glui_column.o glui_translation.o glui_rotation.o glui_mouse_iaction.o glui_listbox.o glui_rollout.o glui_window.o arcball.o algebra3.o quaternion.o viewmodel.o glui_treepanel.o glui_tree.o glui_textbox.o glui_scrollbar.o glui_list.o glui_filebrowser.o g++ -shared -Wl,-soname,libglui.so.0 -o libglui.so.0.0 glui_add_controls.o glui_string.o glui.o glui_bitmap_img_data.o glui_bitmaps.o glui_button.o glui_edittext.o glui_commandline.o glui_checkbox.o glui_node.o glui_radio.o glui_statictext.o glui_panel.o glui_separator.o glui_spinner.o glui_control.o glui_column.o glui_translation.o glui_rotation.o glui_mouse_iaction.o glui_listbox.o glui_rollout.o glui_window.o arcball.o algebra3.o quaternion.o viewmodel.o glui_treepanel.o glui_tree.o glui_textbox.o glui_scrollbar.o glui_list.o glui_filebrowser.o -lc ar: creating lib/libglui.a g++ -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 -I./ -I./include -fPIC -o bin/example1 example/example1.cpp -L./lib -lglui -L/usr/X11R6/lib -lglut -lGLU -lGL -lXmu -lXext -lX11 -lXi -lm g++ -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 -I./ -I./include -fPIC -o bin/example2 example/example2.cpp -L./lib -lglui -L/usr/X11R6/lib -lglut -lGLU -lGL -lXmu -lXext -lX11 -lXi -lm g++ -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 -I./ -I./include -fPIC -o bin/example3 example/example3.cpp -L./lib -lglui -L/usr/X11R6/lib -lglut -lGLU -lGL -lXmu -lXext -lX11 -lXi -lm g++ -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 -I./ -I./include -fPIC -o bin/example4 example/example4.cpp -L./lib -lglui -L/usr/X11R6/lib -lglut -lGLU -lGL -lXmu -lXext -lX11 -lXi -lm g++ -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 -I./ -I./include -fPIC -o bin/example5 example/example5.cpp -L./lib -lglui -L/usr/X11R6/lib -lglut -lGLU -lGL -lXmu -lXext -lX11 -lXi -lm g++ -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 -I./ -I./include -fPIC -o bin/example6 example/example6.cpp -L./lib -lglui -L/usr/X11R6/lib -lglut -lGLU -lGL -lXmu -lXext -lX11 -lXi -lm example/example5.cpp:40:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *string_list[] = { "Hello World!", "Foo", "Testing...", "Bounding box: on" }; ^ example/example5.cpp:40:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] example/example5.cpp:40:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] example/example5.cpp:40:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ag47n2 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64 + cd glui-2.36 + mkdir -p /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64/usr/include/GL + install -p -m 644 src/include/GL/glui.h /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64/usr/include/GL/ + mkdir -p /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64/usr/lib64 + install -p -m 755 src/libglui.so.0.0 /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64/usr/lib64/ + ln -s /usr/lib64/libglui.so.0.0 /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64/usr/lib64/libglui.so.0 + ln -s /usr/lib64/libglui.so.0 /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64/usr/lib64/libglui.so + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: glui-2.36-12.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.9u2BQ7 + umask 022 + cd /builddir/build/BUILD + cd glui-2.36 + DOCDIR=/builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64/usr/share/doc/glui + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64/usr/share/doc/glui + cp -pr src/LICENSE.txt /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64/usr/share/doc/glui + exit 0 Provides: glui = 2.36-12.fc28 glui(riscv-64) = 2.36-12.fc28 libglui.so.0()(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) rtld(GNU_HASH) Processing files: glui-devel-2.36-12.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.a3Qdm1 + umask 022 + cd /builddir/build/BUILD + cd glui-2.36 + DOCDIR=/builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64/usr/share/doc/glui-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64/usr/share/doc/glui-devel + cp -pr src/doc/ /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64/usr/share/doc/glui-devel + cp -pr src/example/ /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64/usr/share/doc/glui-devel + cp -pr www/ /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64/usr/share/doc/glui-devel + exit 0 warning: File listed twice: /usr/include/GL/glui.h Provides: glui-devel = 2.36-12.fc28 glui-devel(riscv-64) = 2.36-12.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64 Wrote: /builddir/build/SRPMS/glui-2.36-12.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/glui-2.36-12.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/glui-devel-2.36-12.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.aYpfnt + umask 022 + cd /builddir/build/BUILD + cd glui-2.36 + /usr/bin/rm -rf /builddir/build/BUILDROOT/glui-2.36-12.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff