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/MagicPoint.spec'], chrootPath='/var/lib/mock/f29-build-6313-1542/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/MagicPoint.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/MagicPoint-1.13a-21.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/MagicPoint.spec'], chrootPath='/var/lib/mock/f29-build-6313-1542/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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/MagicPoint.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.m6cpeg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf magicpoint-1.13a + /usr/bin/gzip -dc /builddir/build/SOURCES/magicpoint-1.13a.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd magicpoint-1.13a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (magicpoint-1.11b-debian.patch):' Patch #0 (magicpoint-1.11b-debian.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file contrib/mgp2html.pl.in patching file contrib/mgpnet.in patching file README.lang patching file mgpembed.pl.in patching file parse.c Hunk #1 succeeded at 792 (offset 10 lines). Hunk #2 succeeded at 1109 (offset 14 lines). Hunk #3 succeeded at 1934 (offset 16 lines). Hunk #4 succeeded at 1970 (offset 16 lines). patching file sample/sample-fr.mgp patching file sample/sample-jp.mgp patching file sample/sample.mgp Patch #1 (magicpoint-1.11b-64bit.patch): + echo 'Patch #1 (magicpoint-1.11b-64bit.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file draw.c Hunk #1 succeeded at 5418 (offset 534 lines). Hunk #2 succeeded at 5471 (offset 537 lines). Hunk #3 succeeded at 5490 (offset 540 lines). + echo 'Patch #2 (magicpoint-1.11b-embed.patch):' Patch #2 (magicpoint-1.11b-embed.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file draw.c Hunk #1 succeeded at 4298 (offset 548 lines). + echo 'Patch #3 (magicpoint-1.13a-gcc-warnings.patch):' Patch #3 (magicpoint-1.13a-gcc-warnings.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ctlwords.c patching file draw.c patching file grammar.y patching file image/gif.c patching file image/path.c patching file image/pbm.c patching file image/png.c patching file image/window.c patching file image/zoom.c patching file mgp.c patching file mgp.h patching file parse.c patching file print.c patching file x11.c + echo 'Patch #4 (magicpoint-1.13a-xwintoppm.patch):' Patch #4 (magicpoint-1.13a-xwintoppm.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file contrib/xwintoppm/dsimple.c patching file contrib/xwintoppm/list.c patching file contrib/xwintoppm/multiVis.c patching file contrib/xwintoppm/xwintoppm.c Hunk #4 succeeded at 163 (offset -8 lines). Hunk #6 succeeded at 590 (offset -9 lines). Hunk #7 succeeded at 618 (offset -9 lines). Hunk #8 succeeded at 632 (offset -9 lines). Patch #5 (magicpoint-1.13a-m17n.patch): + echo 'Patch #5 (magicpoint-1.13a-m17n.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file configure + echo 'Patch #6 (magicpoint-1.13a-mng.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #6 (magicpoint-1.13a-mng.patch): patching file mng.c + echo 'Patch #7 (magicpoint-1.13a-honor-cflags-for-unimap.patch):' Patch #7 (magicpoint-1.13a-honor-cflags-for-unimap.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Imakefile.in Patch #8 (magicpoint-1.13a-giflib5.patch): + echo 'Patch #8 (magicpoint-1.13a-giflib5.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file image/gif.c + echo 'Patch #9 (magicpoint-1.13a-libpng.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 Patch #9 (magicpoint-1.13a-libpng.patch): patching file image/png.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.94tmJJ + umask 022 + cd /builddir/build/BUILD + cd magicpoint-1.13a + RPM_OPT_FLAGS='-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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE' + export '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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE' + 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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE' + 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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE' + 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 + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./contrib/xmindpath/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./contrib/xmindpath/config.sub BUILDSTDERR: ++ basename ./contrib/xmindpath/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./contrib/xmindpath/config.sub '/usr/lib/rpm/redhat/config.sub' -> './contrib/xmindpath/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./contrib/xmindpath/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./contrib/xmindpath/config.guess BUILDSTDERR: ++ basename ./contrib/xmindpath/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./contrib/xmindpath/config.guess '/usr/lib/rpm/redhat/config.guess' -> './contrib/xmindpath/config.guess' + '[' 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 --enable-locale --enable-xft2 --enable-gif --enable-imlib --with-m17n-lib checking whether make sets $(MAKE)... yes checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for gawk... gawk checking for bison... bison -y checking for flex... flex checking lex output file root... lex.yy checking lex library... none needed checking whether yytext is a pointer... no checking for perl5... no checking for perl... /usr/bin/perl checking for uuencode... /usr/bin/uuencode checking for gzip... /usr/bin/gzip checking for uudecode... /usr/bin/uudecode checking for gunzip... /usr/bin/gunzip checking if debugging is enabled... no checking if setlocale() should be used... yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for strings.h... (cached) yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for unistd.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for pid_t... yes checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for u_int... yes checking for u_char... yes checking for working memcmp... yes checking return type of signal handlers... void checking for poll... yes checking for strstr... yes checking for _setbufend... no checking for usleep... yes checking for strsep... yes checking for strdup... yes checking for mkstemp... yes checking for snprintf... yes checking for memcmp... yes checking for strlcpy... no checking for strlcat... no checking if freetype1 is used... yes checking for freetype1 library/header... no - not using freetype checking if vflib is used... yes checking for VFlib library/header... no - not using VFlib checking for X... libraries /usr/lib64, headers checking if Xft2 is used... yes checking for iconv..... checking for iconv_open... yes checking fontconfig/fontconfig.h usability... yes checking fontconfig/fontconfig.h presence... yes checking for fontconfig/fontconfig.h... yes checking if gif handling is enabled... yes checking for DGifOpenFileHandle in -lungif... no checking for DGifOpenFileHandle in -lgif... yes checking if imlib is used... yes checking for m17n-config... no configure: creating ./config.status config.status: creating Imakefile config.status: creating image/Imakefile config.status: creating sample/Imakefile config.status: creating contrib/mgp2html.pl config.status: creating contrib/mgp2latex.pl config.status: creating contrib/mgpnet config.status: creating mgpembed.pl be sure to generate Makefile from Imakefile, by xmkmf and make Makefiles + xmkmf -a imake -DUseInstalled -I/usr/share/X11/config make Makefiles making Makefiles in image... make[1]: Entering directory '/builddir/build/BUILD/magicpoint-1.13a' make[1]: Leaving directory '/builddir/build/BUILD/magicpoint-1.13a' make[1]: Entering directory '/builddir/build/BUILD/magicpoint-1.13a/image' make[1]: Nothing to be done for 'Makefiles'. make[1]: Leaving directory '/builddir/build/BUILD/magicpoint-1.13a/image' making Makefiles in sample... make[1]: Entering directory '/builddir/build/BUILD/magicpoint-1.13a' make[1]: Leaving directory '/builddir/build/BUILD/magicpoint-1.13a' make[1]: Entering directory '/builddir/build/BUILD/magicpoint-1.13a/sample' make[1]: Nothing to be done for 'Makefiles'. make[1]: Leaving directory '/builddir/build/BUILD/magicpoint-1.13a/sample' making Makefiles in contrib... make[1]: Entering directory '/builddir/build/BUILD/magicpoint-1.13a' make[1]: Leaving directory '/builddir/build/BUILD/magicpoint-1.13a' make[1]: Entering directory '/builddir/build/BUILD/magicpoint-1.13a/contrib' making Makefiles in contrib/xwintoppm... make[2]: Entering directory '/builddir/build/BUILD/magicpoint-1.13a/contrib' make[2]: Leaving directory '/builddir/build/BUILD/magicpoint-1.13a/contrib' make[2]: Entering directory '/builddir/build/BUILD/magicpoint-1.13a/contrib/xwintoppm' make[2]: Nothing to be done for 'Makefiles'. make[2]: Leaving directory '/builddir/build/BUILD/magicpoint-1.13a/contrib/xwintoppm' make[1]: Leaving directory '/builddir/build/BUILD/magicpoint-1.13a/contrib' make includes including in ./image... make[1]: Entering directory '/builddir/build/BUILD/magicpoint-1.13a/image' make[1]: Nothing to be done for 'includes'. make[1]: Leaving directory '/builddir/build/BUILD/magicpoint-1.13a/image' including in ./sample... make[1]: Entering directory '/builddir/build/BUILD/magicpoint-1.13a/sample' make[1]: Nothing to be done for 'includes'. make[1]: Leaving directory '/builddir/build/BUILD/magicpoint-1.13a/sample' including in ./contrib... make[1]: Entering directory '/builddir/build/BUILD/magicpoint-1.13a/contrib' including in contrib/xwintoppm... make[2]: Entering directory '/builddir/build/BUILD/magicpoint-1.13a/contrib/xwintoppm' make[2]: Nothing to be done for 'includes'. make[2]: Leaving directory '/builddir/build/BUILD/magicpoint-1.13a/contrib/xwintoppm' make[1]: Leaving directory '/builddir/build/BUILD/magicpoint-1.13a/contrib' make depend gccmakedep -- -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -- mgp.c draw.c parse.c plist.c print.c globals.c x11.c x11dummy.c font.c background.c scanner.c grammar.c postscript.c tfont.c embed.c unimap.c mng.c m17n.c BUILDSTDERR: gcc: error: scanner.c: No such file or directory BUILDSTDERR: gcc: error: grammar.c: No such file or directory + make 'CDEBUGFLAGS=-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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE' LIBDIR=/usr/share gcc -o ./ctlwords ./ctlwords.c BUILDSTDERR: ./ctlwords.c:29:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: main(int argc, char *argv[]) BUILDSTDERR: ^~~~ BUILDSTDERR: ./ctlwords.c: In function 'main': BUILDSTDERR: ./ctlwords.c:41:24: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] BUILDSTDERR: for (q = p; *q && (isalnum(*q) || *q=='_'); q++) BUILDSTDERR: ^~~~~~~ ./ctlwords < ./globals.c > ctlwords.h rm -f mgp.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include mgp.c rm -f draw.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include draw.c BUILDSTDERR: draw.c: In function 'search_child_window': BUILDSTDERR: draw.c:4227:29: warning: passing argument 3 to restrict-qualified parameter aliases with argument 4 [-Wrestrict] BUILDSTDERR: if (!select(fd+1, &fdset, &dumfdset, &dumfdset, &timeout)) BUILDSTDERR: ^~~~~~~~~ ~~~~~~~~~ BUILDSTDERR: draw.c: In function 'xft_setfont': BUILDSTDERR: draw.c:5492:44: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 0 and 99 [-Wformat-truncation=] BUILDSTDERR: snprintf(lastfont, sizeof(lastfont), "%s:%s", font, style); BUILDSTDERR: ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from mgp.h:32, BUILDSTDERR: from draw.c:32: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 200 bytes into a destination of size 100 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f parse.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include parse.c rm -f plist.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include plist.c rm -f globals.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include globals.c rm -f x11.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include x11.c rm -f font.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include font.c rm -f background.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include background.c flex -t ./scanner.l > scanner.c bison -y -d ./grammar.y BUILDSTDERR: ./grammar.y: warning: 1 nonterminal useless in grammar [-Wother] BUILDSTDERR: ./grammar.y: warning: 2 rules useless in grammar [-Wother] BUILDSTDERR: ./grammar.y:1083.1-13: warning: nonterminal useless in grammar: enbedded_file [-Wother] BUILDSTDERR: enbedded_file: BUILDSTDERR: ^^^^^^^^^^^^^ BUILDSTDERR: ./grammar.y:1083.14: warning: rule useless in grammar [-Wother] BUILDSTDERR: enbedded_file: BUILDSTDERR: ^ BUILDSTDERR: ./grammar.y:1084.10: warning: rule useless in grammar [-Wother] BUILDSTDERR: | BUILDSTDERR: ^ mv y.tab.c grammar.c mv y.tab.h tokdefs.h rm -f scanner.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include scanner.c rm -f grammar.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include grammar.c rm -f postscript.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include postscript.c rm -f tfont.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include tfont.c rm -f embed.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include embed.c BUILDSTDERR: embed.c: In function 'embed_file': BUILDSTDERR: embed.c:116:3: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: system(buf); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: embed.c: In function 'embed_fname': BUILDSTDERR: embed.c:69:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: sprintf(buf, "%s/%s", mgpwdirname, fname); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from mgp.h:32, BUILDSTDERR: from embed.c:32: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 8193) into a destination of size 8192 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: embed.c: In function 'embed_file': BUILDSTDERR: embed.c:98:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] BUILDSTDERR: sprintf(buf, "%s/%s", mgpwdirname, p->ctc_value); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from mgp.h:32, BUILDSTDERR: from embed.c:32: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 8193) into a destination of size 8192 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: embed.c:115:20: warning: '%s' directive writing up to 8191 bytes into a region of size 8176 [-Wformat-overflow=] BUILDSTDERR: sprintf(buf, "%s %s/%s", GUNZIP, mgpwdirname, p->ctc_value); BUILDSTDERR: ^~ ~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from mgp.h:32, BUILDSTDERR: from embed.c:32: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output 18 or more bytes (assuming 8209) into a destination of size 8192 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: embed.c: In function 'cleandir': BUILDSTDERR: embed.c:138:22: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 8191 [-Wformat-overflow=] BUILDSTDERR: sprintf(fname, "%s/%s", mgpwdirname, dep->d_name); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:861, BUILDSTDERR: from mgp.h:32, BUILDSTDERR: from embed.c:32: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 2 and 8448 bytes into a destination of size 8192 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); 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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -c -o unimap.o unimap.c rm -f mng.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include mng.c rm -f m17n.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include m17n.c gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include ./missing/strlcpy.c gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -I. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -DMGPLIBDIR=\"/usr/share/mgp\" -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include ./missing/strlcat.c making ./image/libmgpimage.a in ./image... make[1]: Entering directory '/builddir/build/BUILD/magicpoint-1.13a/image' rm -f imagetypes.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 imagetypes.c rm -f gif.o gcc -c -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 -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function -D_DEFAULT_SOURCE -I/usr/include -Dlinux -D__riscv -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DFUNCPROTO=15 -DNARROWPROTO -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_SELECT_H=1 -DHAVE_STDARG_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LOCALE_H=1 -DTIME_WITH_SYS_TIME=1 -DRETSIGTYPE=void -DHAVE_POLL=1 -DHAVE_STRSTR=1 -DHAVE_USLEEP=1 -DHAVE_STRSEP=1 -DHAVE_STRDUP=1 -DHAVE_MKSTEMP=1 -DHAVE_SNPRINTF=1 -DHAVE_MEMCMP=1 -DUSE_PNG=1 -DUSE_XFT2=1 -DHAVE_ICONV=1 -DHAVE_FONTCONFIG_FONTCONFIG_H=1 -DUSE_GIF=1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -DUUDECODE=\"/usr/bin/uudecode\" -DGUNZIP=\"/usr/bin/gunzip\" -DUSE_SETLOCALE -I/usr/include/libpng16 -I/usr/include gif.c BUILDSTDERR: gif.c: In function 'printGifError': BUILDSTDERR: gif.c:37:47: warning: implicit declaration of function 'GifErrorString' [-Wimplicit-function-declaration] BUILDSTDERR: const char* giflib_error_str = (const char*) GifErrorString(errorCode); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: gif.c:37:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: const char* giflib_error_str = (const char*) GifErrorString(errorCode); BUILDSTDERR: ^ BUILDSTDERR: gif.c: In function 'gifLoad': BUILDSTDERR: gif.c:61:12: error: too many arguments to function 'DGifOpenFileName' BUILDSTDERR: GifFile = DGifOpenFileName(fullname, NULL); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from gif.c:19: BUILDSTDERR: /usr/include/gif_lib.h:184:14: note: declared here BUILDSTDERR: GifFileType *DGifOpenFileName(const char *GifFileName); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: gif.c:66:6: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] BUILDSTDERR: malloc(GifFile->SHeight * sizeof(GifRowType *))) == NULL) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: gif.c:66:6: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: gif.c:66:6: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: gif.c:20:1: BUILDSTDERR: +#include BUILDSTDERR: BUILDSTDERR: gif.c:66:6: BUILDSTDERR: malloc(GifFile->SHeight * sizeof(GifRowType *))) == NULL) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: gif.c:68:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] BUILDSTDERR: exit(1); BUILDSTDERR: ^~~~ BUILDSTDERR: gif.c:68:3: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: gif.c:68:3: note: include '' or provide a declaration of 'exit' BUILDSTDERR: gif.c:74:38: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: if ((ScreenBuffer[0] = (GifRowType) malloc(Size)) == NULL) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: gif.c:74:38: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: gif.c:76:3: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit(1); BUILDSTDERR: ^~~~ BUILDSTDERR: gif.c:76:3: note: include '' or provide a declaration of 'exit' BUILDSTDERR: gif.c:87:39: warning: incompatible implicit declaration of built-in function 'malloc' BUILDSTDERR: if ((ScreenBuffer[i] = (GifRowType) malloc(Size)) == NULL) { BUILDSTDERR: ^~~~~~ BUILDSTDERR: gif.c:87:39: note: include '' or provide a declaration of 'malloc' BUILDSTDERR: gif.c:89:4: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit(1); BUILDSTDERR: ^~~~ BUILDSTDERR: gif.c:89:4: note: include '' or provide a declaration of 'exit' BUILDSTDERR: gif.c:98:25: error: 'GifFileType' {aka 'struct GifFileType'} has no member named 'Error' BUILDSTDERR: printGifError(GifFile->Error); BUILDSTDERR: ^~ BUILDSTDERR: gif.c:99:4: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit(-1); BUILDSTDERR: ^~~~ BUILDSTDERR: gif.c:99:4: note: include '' or provide a declaration of 'exit' BUILDSTDERR: gif.c:104:26: error: 'GifFileType' {aka 'struct GifFileType'} has no member named 'Error' BUILDSTDERR: printGifError(GifFile->Error); BUILDSTDERR: ^~ make[1]: Leaving directory '/builddir/build/BUILD/magicpoint-1.13a/image' BUILDSTDERR: gif.c:105:5: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit(-1); BUILDSTDERR: ^~~~ BUILDSTDERR: gif.c:105:5: note: include '' or provide a declaration of 'exit' BUILDSTDERR: gif.c:115:5: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit(-2); BUILDSTDERR: ^~~~ BUILDSTDERR: gif.c:115:5: note: include '' or provide a declaration of 'exit' BUILDSTDERR: gif.c:124:31: error: 'GifFileType' {aka 'struct GifFileType'} has no member named 'Error' BUILDSTDERR: printGifError(GifFile->Error); BUILDSTDERR: ^~ BUILDSTDERR: gif.c:125:10: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit(-1); BUILDSTDERR: ^~~~ BUILDSTDERR: gif.c:125:10: note: include '' or provide a declaration of 'exit' BUILDSTDERR: gif.c:133:28: error: 'GifFileType' {aka 'struct GifFileType'} has no member named 'Error' BUILDSTDERR: printGifError(GifFile->Error); BUILDSTDERR: ^~ BUILDSTDERR: gif.c:134:7: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit(-1); BUILDSTDERR: ^~~~ BUILDSTDERR: gif.c:134:7: note: include '' or provide a declaration of 'exit' BUILDSTDERR: gif.c:142:26: error: 'GifFileType' {aka 'struct GifFileType'} has no member named 'Error' BUILDSTDERR: printGifError(GifFile->Error); BUILDSTDERR: ^~ BUILDSTDERR: gif.c:143:5: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit(-1); BUILDSTDERR: ^~~~ BUILDSTDERR: gif.c:143:5: note: include '' or provide a declaration of 'exit' BUILDSTDERR: gif.c:152:27: error: 'GifFileType' {aka 'struct GifFileType'} has no member named 'Error' BUILDSTDERR: printGifError(GifFile->Error); BUILDSTDERR: ^~ BUILDSTDERR: gif.c:153:6: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit(-1); BUILDSTDERR: ^~~~ BUILDSTDERR: gif.c:153:6: note: include '' or provide a declaration of 'exit' BUILDSTDERR: gif.c:190:6: error: too many arguments to function 'DGifCloseFile' BUILDSTDERR: if (DGifCloseFile(GifFile, NULL) == GIF_ERROR) { BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from gif.c:19: BUILDSTDERR: /usr/include/gif_lib.h:203:5: note: declared here BUILDSTDERR: int DGifCloseFile(GifFileType * GifFile); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: gif.c:191:24: error: 'GifFileType' {aka 'struct GifFileType'} has no member named 'Error' BUILDSTDERR: printGifError(GifFile->Error); BUILDSTDERR: ^~ BUILDSTDERR: gif.c:192:3: warning: incompatible implicit declaration of built-in function 'exit' BUILDSTDERR: exit(-1); BUILDSTDERR: ^~~~ BUILDSTDERR: gif.c:192:3: note: include '' or provide a declaration of 'exit' BUILDSTDERR: gif.c: In function 'gifIdent': BUILDSTDERR: gif.c:207:9: error: too many arguments to function 'DGifOpenFileName' BUILDSTDERR: gifp = DGifOpenFileName(fullname, NULL); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from gif.c:19: BUILDSTDERR: /usr/include/gif_lib.h:184:14: note: declared here BUILDSTDERR: GifFileType *DGifOpenFileName(const char *GifFileName); BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: gif.c:212:3: error: too many arguments to function 'DGifCloseFile' BUILDSTDERR: DGifCloseFile(gifp, NULL); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: In file included from gif.c:19: BUILDSTDERR: /usr/include/gif_lib.h:203:5: note: declared here BUILDSTDERR: int DGifCloseFile(GifFileType * GifFile); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: make[1]: *** [Makefile:1051: gif.o] Error 1 BUILDSTDERR: make: *** [Makefile:1257: image/libmgpimage.a] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.94tmJJ (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.94tmJJ (%build) 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/MagicPoint.spec