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/ucblogo.spec'], chrootPath='/var/lib/mock/f29-build-12458-5674/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/ucblogo.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/ucblogo-6.0-21.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ucblogo.spec'], chrootPath='/var/lib/mock/f29-build-12458-5674/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/ucblogo.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.cTFIpg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ucblogo-6.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/ucblogo-6.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd ucblogo-6.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd /builddir/build/BUILD + rm -rf ucblogo-6.0 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/ucblogo-6.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ucblogo-6.0 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/logo-mode.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (ucblogo-5.5-ospeed.patch): + echo 'Patch #0 (ucblogo-5.5-ospeed.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ospeed --fuzz=0 patching file term.c Hunk #1 succeeded at 71 (offset 7 lines). Patch #1 (ucblogo-6.0-wx.patch): + echo 'Patch #1 (ucblogo-6.0-wx.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .wx --fuzz=0 patching file wxTerminal.cpp patching file wxTurtleGraphics.cpp + echo 'Patch #2 (ucblogo-6.0-texi.patch):' Patch #2 (ucblogo-6.0-texi.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .texiFix --fuzz=0 patching file docs/usermanual.texi + echo 'Patch #3 (ucblogo-6.0-inc.patch):' Patch #3 (ucblogo-6.0-inc.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .inc --fuzz=0 patching file coms.c patching file graphics.c + sed -i 's|everything|all|g' makefile makefile.cygwin makefile.in + sed -i 's|\.logo|dot.logo|g' emacs/dot.LOOPS emacs/dot.emacs1 emacs/dot.emacs2 emacs/dot.logo + sed -i 's|/\.logo|/dot.logo|g' emacs/makefile + sed -i 's|\.LOOPS|dot.LOOPS|g' emacs/dot.LOOPS emacs/dot.emacs1 emacs/dot.emacs2 emacs/dot.logo + sed -i 's|/\.LOOPS|/dot.LOOPS|g' emacs/makefile + sed -i 's|/local/lib/logo|/share/logo|g' emacs/README emacs/check.lg emacs/comint-logo.el emacs/dot.LOOPS emacs/dot.emacs1 emacs/dot.emacs2 emacs/dot.logo emacs/edfunc.el emacs/letrec.el emacs/logo.el emacs/makefile emacs/tutor1.lg emacs/tutorial.lg + sed -i 's|/local/lib/logo|/share/logo|g' coms.c error.c eval.c files.c graphics.c init.c intern.c lists.c logodata.c macterm.c main.c makehelp.c math.c mem.c nographics.c obj.c paren.c parse.c print.c svn.c term.c win32trm.c wrksp.c wxterm.c xgraphics.c ztcterm.c README + sed -i 's|/lib/logo|/share/logo|g' emacs/README emacs/check.lg emacs/comint-logo.el emacs/dot.LOOPS emacs/dot.emacs1 emacs/dot.emacs2 emacs/dot.logo emacs/edfunc.el emacs/letrec.el emacs/logo.el emacs/makefile emacs/tutor1.lg emacs/tutorial.lg + sed -i 's|/lib/logo|/share/logo|g' coms.c error.c eval.c files.c graphics.c init.c intern.c lists.c logodata.c macterm.c main.c makehelp.c math.c mem.c nographics.c obj.c paren.c parse.c print.c svn.c term.c win32trm.c wrksp.c wxterm.c xgraphics.c ztcterm.c makefile makefile.cygwin makefile.in + sed -i 's|/usr/local/bin/logo|/usr/bin/logo|g' docs/html/usermanual_1.html + sed -i 's|/usr/local/bin/logo|/usr/bin/logo|g' docs/ucblogo.info + sed -i 's|/usr/local/bin/logo|/usr/bin/logo|g' docs/usermanual.texi + sed -i 's|/usr/local/bin/logo|/usr/bin/logo|g' README + sed -i 's|/usr/local/info|/usr/share/info|g' emacs/logo.el emacs/README + sed -i 's|/usr/local/info|/usr/share/info|g' README + sed -i 's|$\(prefix\)/info|/usr/share/info|' emacs/makefile + sed -i 's|.*mv .*||' docs/makefile + sed -i 's|.*rmdir .*||' docs/makefile + find -name CVS + xargs rm -rf + find -name .svn + xargs rm -rf + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.PWFlXp + umask 022 + cd /builddir/build/BUILD + cd ucblogo-6.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include --x-libraries=/usr/lib64 --with-x --wx-enable --wx-config_path=/usr/bin/wx-config loading cache ./config.cache checking for gcc... (cached) gcc checking whether we are using GNU C... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for POSIXized ISC... no checking for X... libraries /usr/lib64, headers /usr/include checking for -lICE... (cached) no checking for -ldnet... (cached) no checking for -ldnet_stub... (cached) no checking for -lnsl... (cached) no checking for -lsocket... (cached) no checking for -lm... (cached) yes checking for -lBSD... (cached) no checking for -lbsd... (cached) yes checking for -ltermcap... (cached) yes checking whether cross-compiling... (cached) no checking for ANSI C header files... (cached) yes checking for sgtty.h... (cached) yes checking for termio.h... (cached) yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking for size_t... (cached) yes checking return type of signal handlers... void checking if signal handlers take argument... yes checking for usleep... (cached) yes checking for srandom... (cached) yes checking for sigvec... (cached) yes checking for sigsetmask... (cached) yes checking for matherr... (cached) yes checking for drem... (cached) yes checking for irint... (cached) no checking for bcopy... (cached) yes checking for memcpy... (cached) yes checking whether gcc needs -traditional... (cached) no updating cache ./config.cache creating ./config.status creating makefile creating config.h config.h is unchanged + make -j4 logo gcc -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 -DHAVE_WX -I/usr/include -O0 -DUSE_OLD_TTY -c -o coms.o coms.c gcc -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 -DHAVE_WX -I/usr/include -O0 -DUSE_OLD_TTY -c -o error.o error.c gcc -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 -DHAVE_WX -I/usr/include -O0 -DUSE_OLD_TTY -c -o eval.o eval.c gcc -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 -DHAVE_WX -I/usr/include -O0 -DUSE_OLD_TTY -c -o files.o files.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/math.h:27, BUILDSTDERR: from coms.c:28: BUILDSTDERR: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] BUILDSTDERR: # warning _FORTIFY_SOURCE requires compiling with optimization (-O) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from logo.h:80, BUILDSTDERR: from error.c:23: BUILDSTDERR: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] BUILDSTDERR: # warning _FORTIFY_SOURCE requires compiling with optimization (-O) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from logo.h:80, BUILDSTDERR: from eval.c:23: BUILDSTDERR: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] BUILDSTDERR: # warning _FORTIFY_SOURCE requires compiling with optimization (-O) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from logo.h:80, BUILDSTDERR: from files.c:26: BUILDSTDERR: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] BUILDSTDERR: # warning _FORTIFY_SOURCE requires compiling with optimization (-O) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: eval.c: In function 'evaluator': BUILDSTDERR: eval.c:635:5: warning: implicit declaration of function 'check_wx_stop'; did you mean 'check_X11_stop'? [-Wimplicit-function-declaration] BUILDSTDERR: check_wx_stop(); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: check_X11_stop BUILDSTDERR: coms.c: In function 'lwait': BUILDSTDERR: coms.c:445:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (seconds = n / 60) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: coms.c:448:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: if (microseconds = (n % 60) * 16667) BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: files.c: In function 'lkeyp': BUILDSTDERR: files.c:692:10: warning: unused variable 'nc' [-Wunused-variable] BUILDSTDERR: long nc; BUILDSTDERR: ^~ gcc -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 -DHAVE_WX -I/usr/include -O0 -DUSE_OLD_TTY -c -o graphics.o graphics.c gcc -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 -DHAVE_WX -I/usr/include -O0 -DUSE_OLD_TTY -c -o init.o init.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/math.h:27, BUILDSTDERR: from graphics.c:27: BUILDSTDERR: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] BUILDSTDERR: # warning _FORTIFY_SOURCE requires compiling with optimization (-O) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from logo.h:80, BUILDSTDERR: from init.c:27: BUILDSTDERR: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] BUILDSTDERR: # warning _FORTIFY_SOURCE requires compiling with optimization (-O) BUILDSTDERR: ^~~~~~~ gcc -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 -DHAVE_WX -I/usr/include -O0 -DUSE_OLD_TTY -c -o intern.o intern.c BUILDSTDERR: graphics.c: In function 'draw_turtle': BUILDSTDERR: graphics.c:153:28: warning: unused variable 'b' [-Wunused-variable] BUILDSTDERR: unsigned int r=0, g=0, b=0; BUILDSTDERR: ^ BUILDSTDERR: graphics.c:153:23: warning: unused variable 'g' [-Wunused-variable] BUILDSTDERR: unsigned int r=0, g=0, b=0; BUILDSTDERR: ^ BUILDSTDERR: graphics.c:153:18: warning: unused variable 'r' [-Wunused-variable] BUILDSTDERR: unsigned int r=0, g=0, b=0; BUILDSTDERR: ^ BUILDSTDERR: In file included from graphics.c:32: BUILDSTDERR: graphics.c: In function 'draw_turtle_helper': BUILDSTDERR: wxGraphics.h:33:34: warning: implicit declaration of function 'wxPrepare' [-Wimplicit-function-declaration] BUILDSTDERR: #define prepare_to_draw wxPrepare() BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: graphics.c:234:5: note: in expansion of macro 'prepare_to_draw' BUILDSTDERR: prepare_to_draw; BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: wxGraphics.h:96:34: warning: implicit declaration of function 'wxSetPenWidth' [-Wimplicit-function-declaration] BUILDSTDERR: #define set_pen_width(w) wxSetPenWidth(w); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: graphics.c:239:5: note: in expansion of macro 'set_pen_width' BUILDSTDERR: set_pen_width(1); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from logo.h:80, BUILDSTDERR: from intern.c:22: BUILDSTDERR: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] BUILDSTDERR: # warning _FORTIFY_SOURCE requires compiling with optimization (-O) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: wxGraphics.h:73:34: warning: implicit declaration of function 'wxDrawLine'; did you mean 'lreadrawline'? [-Wimplicit-function-declaration] BUILDSTDERR: #define line_to(a,b) wxDrawLine(xgr_pen->xpos, \ BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: graphics.c:261:5: note: in expansion of macro 'line_to' BUILDSTDERR: line_to(screen_x_center + left_x, screen_y_center - left_y); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from graphics.c:28: BUILDSTDERR: graphics.c: In function 'forward_helper': BUILDSTDERR: logo.h:99:25: warning: implicit declaration of function 'check_wx_stop'; did you mean 'check_X11_stop'? [-Wimplicit-function-declaration] BUILDSTDERR: #define check_throwing (check_wx_stop(0) || stopping_flag == THROWING) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: graphics.c:367:28: note: in expansion of macro 'check_throwing' BUILDSTDERR: if (!drawing_turtle && check_throwing) return; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: init.c: In function 'init': BUILDSTDERR: init.c:534:2: warning: implicit declaration of function 'chdir'; did you mean 'cdr'? [-Wimplicit-function-declaration] BUILDSTDERR: chdir(getenv("SUGAR_ACTIVITY_ROOT")); BUILDSTDERR: ^~~~~ BUILDSTDERR: cdr BUILDSTDERR: init.c:664:9: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: newlib = wxMacGetLibloc(); BUILDSTDERR: ^ BUILDSTDERR: In file included from graphics.c:32: BUILDSTDERR: graphics.c: In function 'cs_helper': BUILDSTDERR: wxGraphics.h:69:24: warning: implicit declaration of function 'wx_clear'; did you mean 'lclean'? [-Wimplicit-function-declaration] BUILDSTDERR: #define clear_screen wx_clear(); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: graphics.c:738:5: note: in expansion of macro 'clear_screen' BUILDSTDERR: clear_screen; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: init.c:668:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: newcsls = wxMacGetCslsloc(); BUILDSTDERR: ^ BUILDSTDERR: init.c:671:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: newhelp = wxMacGetHelploc(); BUILDSTDERR: ^ BUILDSTDERR: intern.c: In function 'hash': BUILDSTDERR: intern.c:46:15: warning: left shift count >= width of type [-Wshift-count-overflow] BUILDSTDERR: g = h & (0xf << (WORDSIZE-4)); BUILDSTDERR: ^~ BUILDSTDERR: graphics.c: In function 'llabel': BUILDSTDERR: wxGraphics.h:145:34: warning: implicit declaration of function 'wxLabel'; did you mean 'llabel'? [-Wimplicit-function-declaration] BUILDSTDERR: #define label(s) wxLabel(s) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: graphics.c:973:2: note: in expansion of macro 'label' BUILDSTDERR: label(textbuf); BUILDSTDERR: ^~~~~ BUILDSTDERR: graphics.c: In function 'ltextscreen': BUILDSTDERR: wxGraphics.h:138:34: warning: implicit declaration of function 'wxTextScreen'; did you mean 'ltextscreen'? [-Wimplicit-function-declaration] BUILDSTDERR: #define text_screen wxTextScreen() BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: graphics.c:982:5: note: in expansion of macro 'text_screen' BUILDSTDERR: text_screen; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: graphics.c: In function 'lsplitscreen': BUILDSTDERR: wxGraphics.h:137:34: warning: implicit declaration of function 'wxSplitScreen'; did you mean 'lsplitscreen'? [-Wimplicit-function-declaration] BUILDSTDERR: #define split_screen wxSplitScreen() BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: graphics.c:992:5: note: in expansion of macro 'split_screen' BUILDSTDERR: split_screen; BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: graphics.c: In function 'lfullscreen': BUILDSTDERR: wxGraphics.h:136:34: warning: implicit declaration of function 'wxFullScreen'; did you mean 'lfullscreen'? [-Wimplicit-function-declaration] BUILDSTDERR: #define full_screen wxFullScreen() BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: graphics.c:1002:5: note: in expansion of macro 'full_screen' BUILDSTDERR: full_screen; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: graphics.c: In function 'lsetbackground': BUILDSTDERR: wxGraphics.h:93:34: warning: implicit declaration of function 'wxSetInfo'; did you mean 'wxGetInfo'? [-Wimplicit-function-declaration] BUILDSTDERR: #define set_back_ground(c) wxSetInfo(BACK_GROUND,c%NUMCOLORS);\ BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: graphics.c:1116:2: note: in expansion of macro 'set_back_ground' BUILDSTDERR: set_back_ground(getint(val)); BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: graphics.c: In function 'lmousepos': BUILDSTDERR: wxGraphics.h:131:34: warning: implicit declaration of function 'wxGetMouseX' [-Wimplicit-function-declaration] BUILDSTDERR: #define mouse_x wxGetMouseX() BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: graphics.c:1267:32: note: in expansion of macro 'mouse_x' BUILDSTDERR: return(cons(make_floatnode(mouse_x/x_scale), BUILDSTDERR: ^~~~~~~ BUILDSTDERR: wxGraphics.h:132:34: warning: implicit declaration of function 'wxGetMouseY' [-Wimplicit-function-declaration] BUILDSTDERR: #define mouse_y wxGetMouseY() BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: graphics.c:1268:23: note: in expansion of macro 'mouse_y' BUILDSTDERR: cons(make_floatnode(mouse_y/y_scale), NIL))); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: graphics.c: In function 'lclickpos': BUILDSTDERR: wxGraphics.h:133:34: warning: implicit declaration of function 'wxGetClickX' [-Wimplicit-function-declaration] BUILDSTDERR: #define click_x wxGetClickX() BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: graphics.c:1274:32: note: in expansion of macro 'click_x' BUILDSTDERR: return(cons(make_floatnode(click_x/x_scale), BUILDSTDERR: ^~~~~~~ BUILDSTDERR: wxGraphics.h:134:34: warning: implicit declaration of function 'wxGetClickY' [-Wimplicit-function-declaration] BUILDSTDERR: #define click_y wxGetClickY() BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: graphics.c:1275:23: note: in expansion of macro 'click_y' BUILDSTDERR: cons(make_floatnode(click_y/y_scale), NIL))); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: graphics.c: In function 'lbuttonp': BUILDSTDERR: wxGraphics.h:129:34: warning: implicit declaration of function 'wxGetButton'; did you mean 'wxGetInfo'? [-Wimplicit-function-declaration] BUILDSTDERR: #define button wxGetButton() BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: graphics.c:1282:9: note: in expansion of macro 'button' BUILDSTDERR: if (button) BUILDSTDERR: ^~~~~~ BUILDSTDERR: graphics.c: In function 'lbutton': BUILDSTDERR: wxGraphics.h:130:22: warning: implicit declaration of function 'wxGetLastButton'; did you mean 'lastbutton'? [-Wimplicit-function-declaration] BUILDSTDERR: #define lastbutton wxGetLastButton() BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: graphics.c:1289:25: note: in expansion of macro 'lastbutton' BUILDSTDERR: return(make_intnode(lastbutton)); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: graphics.c: In function 'ltone': BUILDSTDERR: graphics.c:1297:19: warning: variable 'duration' set but not used [-Wunused-but-set-variable] BUILDSTDERR: FIXNUM pitch, duration; BUILDSTDERR: ^~~~~~~~ echo 'char *libloc="'/usr/share/logo'/logolib";' > libloc.c BUILDSTDERR: graphics.c: In function 'lfilled': BUILDSTDERR: graphics.c:1514:8: warning: implicit declaration of function 'evaluator' [-Wimplicit-function-declaration] BUILDSTDERR: (void)evaluator(arg, begin_line); BUILDSTDERR: ^~~~~~~~~ echo 'char *helploc="'/usr/share/logo'/helpfiles";' >> libloc.c BUILDSTDERR: graphics.c:1620:2: warning: implicit declaration of function 'doFilled'; did you mean 'lfilled'? [-Wimplicit-function-declaration] BUILDSTDERR: doFilled(color, count+1, points); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: lfilled echo 'char *cslsloc="'/usr/share/logo'/csls";' >> libloc.c BUILDSTDERR: graphics.c: In function 'redraw_graphics': BUILDSTDERR: graphics.c:1827:22: warning: unused variable 'b' [-Wunused-variable] BUILDSTDERR: unsigned int r,g,b; BUILDSTDERR: ^ BUILDSTDERR: graphics.c:1827:20: warning: unused variable 'g' [-Wunused-variable] BUILDSTDERR: unsigned int r,g,b; BUILDSTDERR: ^ BUILDSTDERR: graphics.c:1827:18: warning: unused variable 'r' [-Wunused-variable] BUILDSTDERR: unsigned int r,g,b; BUILDSTDERR: ^ BUILDSTDERR: graphics.c:1826:32: warning: unused variable 'color' [-Wunused-variable] BUILDSTDERR: int start_idx, idx, count, color; BUILDSTDERR: ^~~~~ BUILDSTDERR: graphics.c:1826:25: warning: unused variable 'count' [-Wunused-variable] BUILDSTDERR: int start_idx, idx, count, color; BUILDSTDERR: ^~~~~ BUILDSTDERR: graphics.c:1826:20: warning: unused variable 'idx' [-Wunused-variable] BUILDSTDERR: int start_idx, idx, count, color; BUILDSTDERR: ^~~ BUILDSTDERR: graphics.c:1825:19: warning: unused variable 'ptr' [-Wunused-variable] BUILDSTDERR: char *start, *ptr; BUILDSTDERR: ^~~ echo 'char *temploc="/tmp";' >> libloc.c echo 'char *separator="/";' >> libloc.c gcc -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 -DHAVE_WX -I/usr/include -O0 -DUSE_OLD_TTY -c -o lists.o lists.c gcc -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 -DHAVE_WX -I/usr/include -O0 -DUSE_OLD_TTY -c -o logodata.o logodata.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from logo.h:80, BUILDSTDERR: from lists.c:21: BUILDSTDERR: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] BUILDSTDERR: # warning _FORTIFY_SOURCE requires compiling with optimization (-O) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from logo.h:80, BUILDSTDERR: from logodata.c:23: BUILDSTDERR: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] BUILDSTDERR: # warning _FORTIFY_SOURCE requires compiling with optimization (-O) BUILDSTDERR: ^~~~~~~ gcc -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 -DHAVE_WX -I/usr/include -O0 -DUSE_OLD_TTY -c -o main.o main.c BUILDSTDERR: In file included from lists.c:21: BUILDSTDERR: lists.c: In function 'lbutlast': BUILDSTDERR: logo.h:99:25: warning: implicit declaration of function 'check_wx_stop'; did you mean 'check_X11_stop'? [-Wimplicit-function-declaration] BUILDSTDERR: #define check_throwing (check_wx_stop(0) || stopping_flag == THROWING) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: lists.c:87:7: note: in expansion of macro 'check_throwing' BUILDSTDERR: if (check_throwing) break; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: lists.c: In function 'memberp_help': BUILDSTDERR: lists.c:421:25: warning: variable 'val' set but not used [-Wunused-but-set-variable] BUILDSTDERR: NODE *obj1, *obj2, *val; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from logo.h:80, BUILDSTDERR: from main.c:27: BUILDSTDERR: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] BUILDSTDERR: # warning _FORTIFY_SOURCE requires compiling with optimization (-O) BUILDSTDERR: ^~~~~~~ gcc -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 -DHAVE_WX -I/usr/include -O0 -DUSE_OLD_TTY -c -o math.o math.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from logo.h:80, BUILDSTDERR: from math.c:22: BUILDSTDERR: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] BUILDSTDERR: # warning _FORTIFY_SOURCE requires compiling with optimization (-O) BUILDSTDERR: ^~~~~~~ gcc -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 -DHAVE_WX -I/usr/include -O0 -DUSE_OLD_TTY -O0 -c mem.c BUILDSTDERR: In file included from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/stdio.h:27, BUILDSTDERR: from logo.h:80, BUILDSTDERR: from mem.c:22: BUILDSTDERR: /usr/include/features.h:381:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] BUILDSTDERR: # warning _FORTIFY_SOURCE requires compiling with optimization (-O) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: math.c:140:20: warning: 'struct exception' declared inside parameter list will not be visible outside of this definition or declaration BUILDSTDERR: int matherr(struct exception *x) { BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: math.c: In function 'matherr': BUILDSTDERR: math.c:141:10: error: dereferencing pointer to incomplete type 'struct exception' BUILDSTDERR: if (x->type == UNDERFLOW) return(1); BUILDSTDERR: ^~ BUILDSTDERR: math.c:141:20: error: 'UNDERFLOW' undeclared (first use in this function) BUILDSTDERR: if (x->type == UNDERFLOW) return(1); BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: math.c:141:20: note: each undeclared identifier is reported only once for each function it appears in BUILDSTDERR: math.c: In function 'binary': BUILDSTDERR: math.c:320:3: warning: this 'else' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: else BUILDSTDERR: ^~~~ BUILDSTDERR: math.c:327:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' BUILDSTDERR: break; BUILDSTDERR: ^~~~~ BUILDSTDERR: mem.c:104:23: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define GC_DEBUG 1 /* */ BUILDSTDERR: BUILDSTDERR: In file included from math.c:22: BUILDSTDERR: math.c: In function 'equalp_help': BUILDSTDERR: logo.h:99:25: warning: implicit declaration of function 'check_wx_stop'; did you mean 'check_X11_stop'? [-Wimplicit-function-declaration] BUILDSTDERR: #define check_throwing (check_wx_stop(0) || stopping_flag == THROWING) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: math.c:712:10: note: in expansion of macro 'check_throwing' BUILDSTDERR: if (check_throwing) break; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: mem.c:105:25: warning: "/*" within comment [-Wcomment] BUILDSTDERR: /* #define GC_TWOBYTE 1 /* Use 2-byte stack offset in mark phase */ BUILDSTDERR: BUILDSTDERR: mem.c: In function 'do_gc': BUILDSTDERR: mem.c:220:34: warning: unused variable 'ee' [-Wunused-variable] BUILDSTDERR: register int aa, bb, cc, dd, ee; BUILDSTDERR: ^~ BUILDSTDERR: mem.c:220:30: warning: unused variable 'dd' [-Wunused-variable] BUILDSTDERR: register int aa, bb, cc, dd, ee; BUILDSTDERR: ^~ BUILDSTDERR: mem.c:220:26: warning: unused variable 'cc' [-Wunused-variable] BUILDSTDERR: register int aa, bb, cc, dd, ee; BUILDSTDERR: ^~ BUILDSTDERR: mem.c:220:22: warning: unused variable 'bb' [-Wunused-variable] BUILDSTDERR: register int aa, bb, cc, dd, ee; BUILDSTDERR: ^~ BUILDSTDERR: mem.c:220:18: warning: unused variable 'aa' [-Wunused-variable] BUILDSTDERR: register int aa, bb, cc, dd, ee; BUILDSTDERR: ^~ BUILDSTDERR: mem.c:219:40: warning: unused variable 'pe' [-Wunused-variable] BUILDSTDERR: register NODE *pa, *pb, *pc, *pd, *pe; /* get registers onto stack */ BUILDSTDERR: ^~ BUILDSTDERR: mem.c:219:35: warning: unused variable 'pd' [-Wunused-variable] BUILDSTDERR: register NODE *pa, *pb, *pc, *pd, *pe; /* get registers onto stack */ BUILDSTDERR: ^~ BUILDSTDERR: mem.c:219:30: warning: unused variable 'pc' [-Wunused-variable] BUILDSTDERR: register NODE *pa, *pb, *pc, *pd, *pe; /* get registers onto stack */ BUILDSTDERR: ^~ BUILDSTDERR: mem.c:219:25: warning: unused variable 'pb' [-Wunused-variable] BUILDSTDERR: register NODE *pa, *pb, *pc, *pd, *pe; /* get registers onto stack */ BUILDSTDERR: ^~ BUILDSTDERR: mem.c:219:20: warning: unused variable 'pa' [-Wunused-variable] BUILDSTDERR: register NODE *pa, *pb, *pc, *pd, *pe; /* get registers onto stack */ BUILDSTDERR: ^~ BUILDSTDERR: In file included from mem.c:22: BUILDSTDERR: mem.c: In function 'gc': BUILDSTDERR: logo.h:99:25: warning: implicit declaration of function 'check_wx_stop'; did you mean 'check_X11_stop'? [-Wimplicit-function-declaration] BUILDSTDERR: #define check_throwing (check_wx_stop(0) || stopping_flag == THROWING) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: mem.c:484:5: note: in expansion of macro 'check_throwing' BUILDSTDERR: check_throwing; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: make: *** [: math.o] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: logo.h:99:59: warning: value computed is not used [-Wunused-value] BUILDSTDERR: #define check_throwing (check_wx_stop(0) || stopping_flag == THROWING) BUILDSTDERR: ~~~~~~~~~~~~~~^~~~~~~~~~~ BUILDSTDERR: mem.c:484:5: note: in expansion of macro 'check_throwing' BUILDSTDERR: check_throwing; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: mem.c:757:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (getstrhead(nd) != NULL && BUILDSTDERR: ^~ BUILDSTDERR: mem.c:760:8: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: break; BUILDSTDERR: ^~~~~ BUILDSTDERR: mem.c:465:14: warning: variable 'freed_sofar' set but not used [-Wunused-but-set-variable] BUILDSTDERR: long int freed_sofar = 0; BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.PWFlXp (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.PWFlXp (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ucblogo.spec