Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/glui.spec'], chrootPath='/var/lib/mock/f29-build-26323-13643/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/glui.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 Wrote: /builddir/build/SRPMS/glui-2.36-14.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/glui.spec'], chrootPath='/var/lib/mock/f29-build-26323-13643/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=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/glui.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.xtWdL5 + 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 + find -type f -name '*.cpp' + xargs chmod -x + find -type f -name '*.h' + xargs chmod -x + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yn7bPb + umask 022 ~/build/BUILD/glui-2.36/src ~/build/BUILD/glui-2.36 + cd /builddir/build/BUILD + cd glui-2.36 + pushd src + /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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_add_controls.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_commandline.cpp BUILDSTDERR: glui_edittext.cpp: In member function 'int GLUI_EditText::find_word_break(int, int)': BUILDSTDERR: glui_edittext.cpp:936:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: char *breaks = " :-.,"; BUILDSTDERR: ^~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_checkbox.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c viewmodel.cpp BUILDSTDERR: quaternion.cpp: In function 'quat operator*(const quat&, const quat&)': BUILDSTDERR: quaternion.cpp:117:55: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] BUILDSTDERR: return quat( a.s*b.s - a.v*b.v, a.s*b.v + b.s*a.v + a.v^b.v ); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~^~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_list.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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_filebrowser.cpp BUILDSTDERR: glui_textbox.cpp: In member function 'virtual int GLUI_TextBox::mouse_down_handler(int, int)': BUILDSTDERR: glui_textbox.cpp:100:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: if ( debug ) dump( stdout, "-> MOUSE DOWN" ); BUILDSTDERR: ^ BUILDSTDERR: glui_textbox.cpp:118:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: if ( debug ) dump( stdout, "<- MOUSE UP" ); BUILDSTDERR: ^ BUILDSTDERR: glui_textbox.cpp: In member function 'virtual int GLUI_TextBox::mouse_held_down_handler(int, int, bool)': BUILDSTDERR: glui_textbox.cpp:141:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: if ( debug ) dump( stdout, "-> HELD DOWN" ); BUILDSTDERR: ^ BUILDSTDERR: glui_textbox.cpp:160:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: dump( stdout, "<- HELD DOWN" ); BUILDSTDERR: ^ BUILDSTDERR: glui_textbox.cpp: In member function 'virtual int GLUI_TextBox::key_handler(unsigned char, int)': BUILDSTDERR: glui_textbox.cpp:176:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: dump( stdout, "-> KEY HANDLER" ); BUILDSTDERR: ^ BUILDSTDERR: glui_textbox.cpp:314:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: dump( stdout, "<- KEY HANDLER" ); BUILDSTDERR: ^ BUILDSTDERR: glui_textbox.cpp: In member function 'virtual void GLUI_TextBox::activate(int)': BUILDSTDERR: glui_textbox.cpp:340:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: dump( stdout, "-> ACTIVATE" ); BUILDSTDERR: ^ BUILDSTDERR: glui_textbox.cpp:352:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: dump( stdout, "<- ACTIVATE" ); BUILDSTDERR: ^ BUILDSTDERR: glui_textbox.cpp: In member function 'virtual void GLUI_TextBox::deactivate()': BUILDSTDERR: glui_textbox.cpp:366:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: dump( stdout, "-> DISACTIVATE" ); BUILDSTDERR: ^ BUILDSTDERR: glui_textbox.cpp:388:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: dump( stdout, "<- DISACTIVATE" ); BUILDSTDERR: ^ BUILDSTDERR: glui_textbox.cpp: In member function 'int GLUI_TextBox::update_substring_bounds()': BUILDSTDERR: glui_textbox.cpp:513:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: if ( debug ) dump( stdout, "-> UPDATE SS" ); BUILDSTDERR: ^ BUILDSTDERR: glui_textbox.cpp:551:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: if ( debug ) dump( stdout, "<- UPDATE SS" ); BUILDSTDERR: ^ BUILDSTDERR: glui_textbox.cpp: In member function 'void GLUI_TextBox::draw_text(int, int)': BUILDSTDERR: glui_textbox.cpp:575:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: if ( debug ) dump( stdout, "-> DRAW_TEXT" ); BUILDSTDERR: ^ BUILDSTDERR: glui_textbox.cpp:659:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: if ( debug ) dump( stdout, "<- DRAW_TEXT" ); BUILDSTDERR: ^ BUILDSTDERR: glui_textbox.cpp: In member function 'void GLUI_TextBox::draw_insertion_pt()': BUILDSTDERR: glui_textbox.cpp:779:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: if ( debug ) dump( stdout, "-> DRAW_INS_PT" ); BUILDSTDERR: ^ BUILDSTDERR: glui_textbox.cpp:832:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: if (insertion_pt == text.length() && text[text.length()-1] == '\n' BUILDSTDERR: ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ BUILDSTDERR: glui_textbox.cpp:832:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] BUILDSTDERR: if (insertion_pt == text.length() && text[text.length()-1] == '\n' BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: glui_textbox.cpp:853:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: if ( debug ) dump( stdout, "-> DRAW_INS_PT" ); BUILDSTDERR: ^ BUILDSTDERR: In file included from glui_internal_control.h:29, BUILDSTDERR: from glui_textbox.cpp:34: BUILDSTDERR: glui_textbox.cpp: In member function 'virtual int GLUI_TextBox::special_handler(int, int)': BUILDSTDERR: glui_internal.h:84:66: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: #define CLAMP(x,lo,hi) {if ((x) < (lo)) {(x)=(lo);} else if((x) > (hi)) {(x)=(hi);}} BUILDSTDERR: ~~~~^~~~~~ BUILDSTDERR: glui_textbox.cpp:963:3: note: in expansion of macro 'CLAMP' BUILDSTDERR: CLAMP( insertion_pt, 0, text.length()); /* Make sure insertion_pt BUILDSTDERR: ^~~~~ BUILDSTDERR: glui_internal.h:84:66: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: #define CLAMP(x,lo,hi) {if ((x) < (lo)) {(x)=(lo);} else if((x) > (hi)) {(x)=(hi);}} BUILDSTDERR: ~~~~^~~~~~ BUILDSTDERR: glui_textbox.cpp:965:3: note: in expansion of macro 'CLAMP' BUILDSTDERR: CLAMP( sel_start, 0, text.length()); /* Make sure insertion_pt BUILDSTDERR: ^~~~~ BUILDSTDERR: glui_internal.h:84:66: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] BUILDSTDERR: #define CLAMP(x,lo,hi) {if ((x) < (lo)) {(x)=(lo);} else if((x) > (hi)) {(x)=(hi);}} BUILDSTDERR: ~~~~^~~~~~ BUILDSTDERR: glui_textbox.cpp:967:3: note: in expansion of macro 'CLAMP' BUILDSTDERR: CLAMP( sel_end, 0, text.length()); /* Make sure insertion_pt BUILDSTDERR: ^~~~~ BUILDSTDERR: glui_textbox.cpp: In member function 'void GLUI_TextBox::dump(FILE*, char*)': BUILDSTDERR: glui_textbox.cpp:1073:8: warning: format '%d' expects argument of type 'int', but argument 11 has type 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: "%s (edittext@%p): line:%d ins_pt:%d subs:%d/%d sel:%d/%d len:%d\n", BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: glui_textbox.cpp:1076:8: BUILDSTDERR: text.length()); BUILDSTDERR: ~~~~~~~~~~~~~ BUILDSTDERR: glui_scrollbar.cpp: In member function 'void GLUI_Scrollbar::do_drag(int, int)': BUILDSTDERR: glui_scrollbar.cpp:639:9: warning: variable 'incr' set but not used [-Wunused-but-set-variable] BUILDSTDERR: float incr, modifier_factor; BUILDSTDERR: ^~~~ BUILDSTDERR: glui_list.cpp: In member function 'virtual int GLUI_List::mouse_down_handler(int, int)': BUILDSTDERR: glui_list.cpp:119:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] BUILDSTDERR: if (associated_object != NULL) BUILDSTDERR: ^ BUILDSTDERR: glui_list.cpp: In member function 'virtual void GLUI_List::draw(int, int)': BUILDSTDERR: glui_list.cpp:202:7: warning: variable 'box_width' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int box_width; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: glui_filebrowser.cpp: In static member function 'static void GLUI_FileBrowser::dir_list_callback(GLUI_Control*)': BUILDSTDERR: glui_filebrowser.cpp:84:14: warning: ignoring return value of 'int chdir(const char*)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: chdir(selected+1); BUILDSTDERR: ~~~~~^~~~~~~~~~~~ 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -o bin/ppm2array tools/ppm2array.cpp tools/ppm.cpp BUILDSTDERR: tools/ppm.cpp: In function 'void LoadPPM(const char*, unsigned char*&, int&, int&)': BUILDSTDERR: tools/ppm.cpp:49:9: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fscanf(fp, "%d %d\n255\n", &Width, &Height); BUILDSTDERR: ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: 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] BUILDSTDERR: fread(Color,NumComponents,1,fp); BUILDSTDERR: ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ 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 BUILDSTDERR: 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -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 BUILDSTDERR: example/example5.cpp:40:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: char *string_list[] = { "Hello World!", "Foo", "Testing...", "Bounding box: on" }; BUILDSTDERR: ^ BUILDSTDERR: example/example5.cpp:40:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: example/example5.cpp:40:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] BUILDSTDERR: 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.w3pS3f + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64 + cd glui-2.36 + mkdir -p /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64/usr/include/GL + install -p -m 644 src/include/GL/glui.h /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64/usr/include/GL/ + mkdir -p /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64/usr/lib64 + install -p -m 755 src/libglui.so.0.0 /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64/usr/lib64/ + ln -s /usr/lib64/libglui.so.0.0 /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64/usr/lib64/libglui.so.0 + ln -s /usr/lib64/libglui.so.0 /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64/usr/lib64/libglui.so + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.36-14.fc29 --unique-debug-suffix -2.36-14.fc29.riscv64 --unique-debug-src-base glui-2.36-14.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/glui-2.36 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64/usr/lib64/libglui.so.0.0 extracting debug info from /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64/usr/lib64/libglui.so.0.0 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1085 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: glui-2.36-14.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UzJf7J + umask 022 + cd /builddir/build/BUILD + cd glui-2.36 + DOCDIR=/builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64/usr/share/doc/glui + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64/usr/share/doc/glui + cp -pr src/LICENSE.txt /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64/usr/share/doc/glui + exit 0 Provides: glui = 2.36-14.fc29 glui(riscv-64) = 2.36-14.fc29 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-14.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SS4Btm + umask 022 + cd /builddir/build/BUILD + cd glui-2.36 + DOCDIR=/builddir/build/BUILDROOT/glui-2.36-14.fc29.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-14.fc29.riscv64/usr/share/doc/glui-devel + cp -pr src/doc/ /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64/usr/share/doc/glui-devel + cp -pr src/example/ /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64/usr/share/doc/glui-devel + cp -pr www/ /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64/usr/share/doc/glui-devel + exit 0 BUILDSTDERR: warning: File listed twice: /usr/include/GL/glui.h Provides: glui-devel = 2.36-14.fc29 glui-devel(riscv-64) = 2.36-14.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: glui-debugsource-2.36-14.fc29.riscv64 Provides: glui-debugsource = 2.36-14.fc29 glui-debugsource(riscv-64) = 2.36-14.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: glui-debuginfo-2.36-14.fc29.riscv64 Provides: debuginfo(build-id) = b823f4cddabad8d19e4317f482a67dd2a317cbb7 glui-debuginfo = 2.36-14.fc29 glui-debuginfo(riscv-64) = 2.36-14.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: glui-debugsource(riscv-64) = 2.36-14.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64 Wrote: /builddir/build/RPMS/glui-2.36-14.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/glui-devel-2.36-14.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/glui-debugsource-2.36-14.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/glui-debuginfo-2.36-14.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Pjpex8 + umask 022 + cd /builddir/build/BUILD + cd glui-2.36 + /usr/bin/rm -rf /builddir/build/BUILDROOT/glui-2.36-14.fc29.riscv64 + exit 0 Child return code was: 0