Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/glui.spec'], chrootPath='/var/lib/mock/f33-build-292102-54802/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/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 setting SOURCE_DATE_EPOCH=1596240000 Wrote: /builddir/build/SRPMS/glui-2.36-19.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/glui.spec'], chrootPath='/var/lib/mock/f33-build-292102-54802/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/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 setting SOURCE_DATE_EPOCH=1596240000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6gDtXl + 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' + find -type f -name '*.h' + xargs chmod -x + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ywa39m + umask 022 + cd /builddir/build/BUILD + cd glui-2.36 ~/build/BUILD/glui-2.36/src ~/build/BUILD/glui-2.36 + pushd src + /usr/bin/make 'CPPFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC' -j4 mkdir -p bin g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_add_controls.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_string.cpp mkdir -p lib g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_bitmaps.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_button.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_edittext.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_commandline.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] 936 | char *breaks = " :-.,"; | ^~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_checkbox.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_node.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_radio.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_statictext.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_panel.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_separator.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_spinner.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_control.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_column.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_translation.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_rotation.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_listbox.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_rollout.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_window.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c arcball.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c algebra3.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c quaternion.cpp quaternion.cpp: In function 'quat operator*(const quat&, const quat&)': quaternion.cpp:117:55: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses] 117 | return quat( a.s*b.s - a.v*b.v, a.s*b.v + b.s*a.v + a.v^b.v ); | ~~~~~~~~~~~~~~~~~~^~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c viewmodel.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_treepanel.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_tree.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_textbox.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_scrollbar.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_list.cpp g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I./ -I./include -fPIC -c glui_filebrowser.cpp glui_textbox.cpp: In member function 'virtual int GLUI_TextBox::mouse_down_handler(int, int)': glui_textbox.cpp:100:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 100 | if ( debug ) dump( stdout, "-> MOUSE DOWN" ); | ^~~~~~~~~~~~~~~ glui_textbox.cpp:118:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 118 | 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:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 141 | if ( debug ) dump( stdout, "-> HELD DOWN" ); | ^~~~~~~~~~~~~~ glui_textbox.cpp:160:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 160 | dump( stdout, "<- HELD DOWN" ); | ^~~~~~~~~~~~~~ glui_textbox.cpp: In member function 'virtual int GLUI_TextBox::key_handler(unsigned char, int)': glui_textbox.cpp:176:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 176 | dump( stdout, "-> KEY HANDLER" ); | ^~~~~~~~~~~~~~~~ glui_textbox.cpp:314:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 314 | dump( stdout, "<- KEY HANDLER" ); | ^~~~~~~~~~~~~~~~ glui_textbox.cpp: In member function 'virtual void GLUI_TextBox::activate(int)': glui_textbox.cpp:340:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 340 | dump( stdout, "-> ACTIVATE" ); | ^~~~~~~~~~~~~ glui_textbox.cpp:352:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 352 | dump( stdout, "<- ACTIVATE" ); | ^~~~~~~~~~~~~ glui_textbox.cpp: In member function 'virtual void GLUI_TextBox::deactivate()': glui_textbox.cpp:366:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 366 | dump( stdout, "-> DISACTIVATE" ); | ^~~~~~~~~~~~~~~~ glui_textbox.cpp:388:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 388 | dump( stdout, "<- DISACTIVATE" ); | ^~~~~~~~~~~~~~~~ glui_textbox.cpp: In member function 'int GLUI_TextBox::update_substring_bounds()': glui_textbox.cpp:513:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 513 | if ( debug ) dump( stdout, "-> UPDATE SS" ); | ^~~~~~~~~~~~~~ glui_textbox.cpp:551:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 551 | if ( debug ) dump( stdout, "<- UPDATE SS" ); | ^~~~~~~~~~~~~~ glui_textbox.cpp: In member function 'void GLUI_TextBox::draw_text(int, int)': glui_textbox.cpp:575:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 575 | if ( debug ) dump( stdout, "-> DRAW_TEXT" ); | ^~~~~~~~~~~~~~ glui_textbox.cpp:659:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 659 | if ( debug ) dump( stdout, "<- DRAW_TEXT" ); | ^~~~~~~~~~~~~~ glui_textbox.cpp: In member function 'void GLUI_TextBox::draw_insertion_pt()': glui_textbox.cpp:779:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 779 | if ( debug ) dump( stdout, "-> DRAW_INS_PT" ); | ^~~~~~~~~~~~~~~~ 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] 832 | if (insertion_pt == text.length() && text[text.length()-1] == '\n' | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ glui_textbox.cpp:832:37: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 832 | if (insertion_pt == text.length() && text[text.length()-1] == '\n' | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ glui_textbox.cpp:853:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 853 | if ( debug ) dump( stdout, "-> DRAW_INS_PT" ); | ^~~~~~~~~~~~~~~~ In file included from glui_internal_control.h:29, 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 of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wsign-compare] 84 | #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' 963 | CLAMP( insertion_pt, 0, text.length()); /* Make sure insertion_pt | ^~~~~ 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] 84 | #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' 965 | CLAMP( sel_start, 0, text.length()); /* Make sure insertion_pt | ^~~~~ 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] 84 | #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' 967 | 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:1073:77: warning: format '%d' expects argument of type 'int', but argument 11 has type 'std::__cxx11::basic_string::size_type' {aka 'long unsigned int'} [-Wformat=] 1073 | "%s (edittext@%p): line:%d ins_pt:%d subs:%d/%d sel:%d/%d len:%d\n", | ~^ | | | int | %ld ...... 1076 | text.length()); | ~~~~~~~~~~~~~ | | | std::__cxx11::basic_string::size_type {aka long unsigned int} 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] 639 | float incr, modifier_factor; | ^~~~ glui_list.cpp: In member function 'virtual int GLUI_List::mouse_down_handler(int, int)': glui_list.cpp:104:14: warning: 'int ftime(timeb*)' is deprecated [-Wdeprecated-declarations] 104 | ftime(&time); | ^ In file included from glui_list.cpp:33: /usr/include/sys/timeb.h:39:12: note: declared here 39 | extern int ftime (struct timeb *__timebuf) | ^~~~~ glui_list.cpp:119:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 119 | 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] 202 | int box_width; | ^~~~~~~~~ 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] 84 | chdir(selected+1); | ~~~~~^~~~~~~~~~~~ g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 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] 49 | 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] 55 | 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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 example/example5.cpp:40:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | char *string_list[] = { "Hello World!", "Foo", "Testing...", "Bounding box: on" }; | ^~~~~~~~~~~~~~ example/example5.cpp:40:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | char *string_list[] = { "Hello World!", "Foo", "Testing...", "Bounding box: on" }; | ^~~~~ example/example5.cpp:40:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | char *string_list[] = { "Hello World!", "Foo", "Testing...", "Bounding box: on" }; | ^~~~~~~~~~~~ example/example5.cpp:40:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 40 | char *string_list[] = { "Hello World!", "Foo", "Testing...", "Bounding box: on" }; | ^~~~~~~~~~~~~~~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kSLIFn + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64 + cd glui-2.36 + mkdir -p /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64/usr/include/GL + install -p -m 644 src/include/GL/glui.h /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64/usr/include/GL/ + mkdir -p /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64/usr/lib64 + install -p -m 755 src/libglui.so.0.0 /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64/usr/lib64/ + ln -s /usr/lib64/libglui.so.0.0 /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64/usr/lib64/libglui.so.0 + ln -s /usr/lib64/libglui.so.0 /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64/usr/lib64/libglui.so + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.36-19.fc33 --unique-debug-suffix -2.36-19.fc33.riscv64 --unique-debug-src-base glui-2.36-19.fc33.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-19.fc33.riscv64/usr/lib64/libglui.so.0.0 extracting debug info from /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64/usr/lib64/libglui.so.0.0 original debug info size: 4668kB, size after compression: 3976kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1085 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: glui-2.36-19.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.x0FTDn + umask 022 + cd /builddir/build/BUILD + cd glui-2.36 + DOCDIR=/builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64/usr/share/doc/glui + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64/usr/share/doc/glui + cp -pr src/LICENSE.txt /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64/usr/share/doc/glui + RPM_EC=0 ++ jobs -p + exit 0 warning: absolute symlink: /usr/lib64/libglui.so.0 -> /usr/lib64/libglui.so.0.0 Provides: glui = 2.36-19.fc33 glui(riscv-64) = 2.36-19.fc33 libglui.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 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) libgcc_s.so.1(GCC_3.3.1)(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-19.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JPVM9l + umask 022 + cd /builddir/build/BUILD + cd glui-2.36 + DOCDIR=/builddir/build/BUILDROOT/glui-2.36-19.fc33.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-19.fc33.riscv64/usr/share/doc/glui-devel + cp -pr src/doc/ /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64/usr/share/doc/glui-devel + cp -pr src/example/ /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64/usr/share/doc/glui-devel + cp -pr www/ /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64/usr/share/doc/glui-devel + RPM_EC=0 ++ jobs -p + exit 0 warning: File listed twice: /usr/include/GL/glui.h warning: absolute symlink: /usr/lib64/libglui.so -> /usr/lib64/libglui.so.0 Provides: glui-devel = 2.36-19.fc33 glui-devel(riscv-64) = 2.36-19.fc33 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-19.fc33.riscv64 Provides: glui-debugsource = 2.36-19.fc33 glui-debugsource(riscv-64) = 2.36-19.fc33 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-19.fc33.riscv64 Provides: debuginfo(build-id) = 6676c5c57b0d48538f3e829c6fafb159b85df1f1 glui-debuginfo = 2.36-19.fc33 glui-debuginfo(riscv-64) = 2.36-19.fc33 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-19.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64 Wrote: /builddir/build/RPMS/glui-2.36-19.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/glui-debugsource-2.36-19.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/glui-devel-2.36-19.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/glui-debuginfo-2.36-19.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.zz1PZp + umask 022 + cd /builddir/build/BUILD + cd glui-2.36 + /usr/bin/rm -rf /builddir/build/BUILDROOT/glui-2.36-19.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0