+ exec
+ rm -rf /rpmbuild
+ mkdir -p /rpmbuild
+ su -c 'rpmbuild -ba /builddir/build/SPECS/mcpp.spec            --define "debug_package %{nil}"            --undefine _annotated_build            --define "_missing_doc_files_terminate_build %{nil}"            --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d"            --define "_emacs_sitelispdir /usr/share/emacs/site-lisp"            --nocheck   ' mockbuild
warning: bogus date in %changelog: Sun Mar 24 2008 Kiyoshi Matsui <kmatsui@t3.rim.or.jp> 2.7-2
warning: bogus date in %changelog: Thu May 19 2007 Kiyoshi Matsui <kmatsui@t3.rim.or.jp> 2.6.4-1
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.G64zdq
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf mcpp-2.7.2
+ /usr/bin/gzip -dc /builddir/build/SOURCES/mcpp-2.7.2.tar.gz
+ /usr/bin/tar -xof -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd mcpp-2.7.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (mcpp-manual.html.patch):'
Patch #0 (mcpp-manual.html.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix -z.euc-jp --fuzz=0
patching file doc-jp/mcpp-manual.html
+ echo 'Patch #1 (patch.mcpp.2.7.2):'
Patch #1 (patch.mcpp.2.7.2):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file noconfig/vc2010.dif
patching file src/internal.H
patching file src/main.c
patching file src/support.c
patching file src/system.c
+ echo 'Patch #2 (mcpp-man.patch):'
Patch #2 (mcpp-man.patch):
+ /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0
patching file mcpp.1
Hunk #2 succeeded at 43 (offset -2 lines).
patching file mcpp-gcc.1
patching file src/system.c
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KyWKZr
+ umask 022
+ cd /builddir/build/BUILD
+ cd mcpp-2.7.2
+ 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 '
+ 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 '
+ 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  -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  -I/usr/lib64/gfortran/modules'
+ export FCFLAGS
+ LDFLAGS='-Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config/config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config/config.sub
++ basename ./config/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config/config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config/config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config/config.guess
++ basename ./config/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config/config.guess'
+ '[' 1 = 1 ']'
+ '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']'
++ find . -name ltmain.sh
+ for i in $(find . -name ltmain.sh)
+ /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./config/ltmain.sh
+ ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-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-mcpplib --disable-static
checking build system type... riscv64-redhat-linux-gnu
checking host system type... riscv64-redhat-linux-gnu
checking target system type... riscv64-redhat-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for riscv64-redhat-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 a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking for ANSI C header files... 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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for riscv64-redhat-linux-gnu-g++... no
checking for riscv64-redhat-linux-gnu-c++... no
checking for riscv64-redhat-linux-gnu-gpp... no
checking for riscv64-redhat-linux-gnu-aCC... no
checking for riscv64-redhat-linux-gnu-CC... no
checking for riscv64-redhat-linux-gnu-cxx... no
checking for riscv64-redhat-linux-gnu-cc++... no
checking for riscv64-redhat-linux-gnu-cl.exe... no
checking for riscv64-redhat-linux-gnu-FCC... no
checking for riscv64-redhat-linux-gnu-KCC... no
checking for riscv64-redhat-linux-gnu-RCC... no
checking for riscv64-redhat-linux-gnu-xlC_r... no
checking for riscv64-redhat-linux-gnu-xlC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for riscv64-redhat-linux-gnu-g77... no
checking for riscv64-redhat-linux-gnu-xlf... no
checking for riscv64-redhat-linux-gnu-f77... no
checking for riscv64-redhat-linux-gnu-frt... no
checking for riscv64-redhat-linux-gnu-pgf77... no
checking for riscv64-redhat-linux-gnu-cf77... no
checking for riscv64-redhat-linux-gnu-fort77... no
checking for riscv64-redhat-linux-gnu-fl32... no
checking for riscv64-redhat-linux-gnu-af77... no
checking for riscv64-redhat-linux-gnu-xlf90... no
checking for riscv64-redhat-linux-gnu-f90... no
checking for riscv64-redhat-linux-gnu-pgf90... no
checking for riscv64-redhat-linux-gnu-pghpf... no
checking for riscv64-redhat-linux-gnu-epcf90... no
checking for riscv64-redhat-linux-gnu-gfortran... no
checking for riscv64-redhat-linux-gnu-g95... no
checking for riscv64-redhat-linux-gnu-xlf95... no
checking for riscv64-redhat-linux-gnu-f95... no
checking for riscv64-redhat-linux-gnu-fort... no
checking for riscv64-redhat-linux-gnu-ifort... no
checking for riscv64-redhat-linux-gnu-ifc... no
checking for riscv64-redhat-linux-gnu-efc... no
checking for riscv64-redhat-linux-gnu-pgf95... no
checking for riscv64-redhat-linux-gnu-lf95... no
checking for riscv64-redhat-linux-gnu-ftn... no
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for riscv64-redhat-linux-gnu-ar... no
checking for ar... ar
checking for riscv64-redhat-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for riscv64-redhat-linux-gnu-strip... no
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking whether the cpp is target preprocessor... yes
checking for target cpu... riscv64
checking unistd.h, usability... no
checking unistd.h, presence... no
checking for unistd.h,... no
checking stdint.h, usability... no
checking stdint.h, presence... no
checking for stdint.h,... no
checking for inttypes.h... (cached) yes
checking for intmax_t... yes
checking for long long... yes
checking for stpcpy... yes
checking if the cases of filename are folded... no
checking printf length modifier for the longest integer... j
checking printf length modifier for the longest integer... (cached) j
checking for value of __GNUC__... 7
checking for value of __GNUC_MINOR__... 3
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating src/config.h
+ make '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 '
Making all in src
make[1]: Entering directory '/builddir/build/BUILD/mcpp-2.7.2/src'
make  all-am
make[2]: Entering directory '/builddir/build/BUILD/mcpp-2.7.2/src'
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -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  -c -o main.lo main.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -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 -c main.c  -fPIC -DPIC -o .libs/main.o
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -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  -c -o directive.lo directive.c
 gcc -DHAVE_CONFIG_H -I. -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 -c directive.c  -fPIC -DPIC -o .libs/directive.o
directive.c: In function 'do_define':
directive.c:808:24: warning: 'def_end' may be used uninitialized in this function [-Wmaybe-uninitialized]
         e_line_col.col = def_end;
         ~~~~~~~~~~~~~~~^~~~~~~~~
directive.c:804:24: warning: 'def_start' may be used uninitialized in this function [-Wmaybe-uninitialized]
         s_line_col.col = def_start;
         ~~~~~~~~~~~~~~~^~~~~~~~~~~
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -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  -c -o eval.lo eval.c
 gcc -DHAVE_CONFIG_H -I. -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 -c eval.c  -fPIC -DPIC -o .libs/eval.o
eval.c: In function 'eval_if':
eval.c:361:44: warning: array subscript has type 'char' [-Wchar-subscripts]
                 , opname[ op], prec, opname[ opp->op], opp->prec, opp->skip);
                                            ^
eval.c:451:37: warning: array subscript has type 'char' [-Wchar-subscripts]
                             , opname[opp->op], 0L, NULL);
                                     ^
eval.c: In function 'dump_stack':
eval.c:1663:56: warning: array subscript has type 'char' [-Wchar-subscripts]
                 , opp->op, opp->prec, opp->skip, opname[ opp->op]);
                                                        ^
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -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  -c -o expand.lo expand.c
 gcc -DHAVE_CONFIG_H -I. -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 -c expand.c  -fPIC -DPIC -o .libs/expand.o
expand.c: In function 'chk_magic_balance':
expand.c:503:13: warning: variable 'mac_loc' set but not used [-Wunused-but-set-variable]
     char *  mac_loc[ MAX_NEST_MAGICS];
             ^~~~~~~
expand.c: In function 'replace':
expand.c:713:21: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
         m_inf->args = m_inf->loc_args = NULL;       /* Default args */
                     ^
expand.c: In function 'substitute':
expand.c:1753:13: warning: variable 'gvar_arg' set but not used [-Wunused-but-set-variable]
     int     gvar_arg;   /* gvar_arg'th argument is GCC variable argument    */
             ^~~~~~~~
expand.c:1751:21: warning: unused variable 'arg' [-Wunused-variable]
     const char *    arg;
                     ^~~
expand.c:1750:13: warning: unused variable 'out_start' [-Wunused-variable]
     char *  out_start = out;
             ^~~~~~~~~
expand.c: In function 'rescan':
expand.c:1975:41: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
                             mgc_cleared = remove_magics(
                                         ^
expand.c: In function 'remove_magics':
expand.c:1506:16: warning: 'len' may be used uninitialized in this function [-Wmaybe-uninitialized]
             tp += len;
                ^~
expand.c:1503:12: warning: 'rm' may be used uninitialized in this function [-Wmaybe-uninitialized]
         if (rm == FALSE) {                  /* Not to be removed    */
            ^
expand.c:1504:33: warning: 'num' may be used uninitialized in this function [-Wmaybe-uninitialized]
             memmove( tp, loc_tab[ num], len);
                                 ^
expand.c:1504:33: warning: 'loc_tab' may be used uninitialized in this function [-Wmaybe-uninitialized]
expand.c: In function 'collect_args':
expand.c:2564:32: warning: 'locs' may be used uninitialized in this function [-Wmaybe-uninitialized]
                 = (LOCATION *) xrealloc( (char *) locs
                                ^~~~~~~~~~~~~~~~~~~~~~~
                         , (loc - locs) * sizeof (LOCATION));
                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
expand.c: In function 'replace':
expand.c:734:25: warning: 'm_inf' may be used uninitialized in this function [-Wmaybe-uninitialized]
             m_inf->defp = defp;             /* Redefined dynamically*/
             ~~~~~~~~~~~~^~~~~~
expand.c: In function 'rescan':
expand.c:2025:25: warning: 'inner' may be used uninitialized in this function [-Wmaybe-uninitialized]
                         diag_macro( CWARN,
                         ^~~~~~~~~~~~~~~~~~
 "Replacement text \"%s\" of macro %.0ld\"%s\" involved subsequent text" /* _W1_ */
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                             , in, 0L, outer->name, outer, inner);
                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
expand.c: In function 'expand_std':
expand.c:448:20: warning: 'm_inf' may be used uninitialized in this function [-Wmaybe-uninitialized]
             *opp = print_macro_arg( *opp, m_inf, i, FALSE, FALSE);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
expand.c:404:21: note: 'm_inf' was declared here
     MACRO_INF *     m_inf;
                     ^~~~~
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -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  -c -o mbchar.lo mbchar.c
 gcc -DHAVE_CONFIG_H -I. -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 -c mbchar.c  -fPIC -DPIC -o .libs/mbchar.o
mbchar.c: In function 'mb_read_iso2022_jp':
mbchar.c:708:29: warning: array subscript has type 'char' [-Wchar-subscripts]
             if (! (char_type[ *out_p++ = (*in_p++ & UCHARMAX)] & IJP)) {
                             ^
mbchar.c: In function 'mb_read_utf8':
mbchar.c:744:28: warning: 'bytes' may be used uninitialized in this function [-Wmaybe-uninitialized]
         int             i, bytes;
                            ^~~~~
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -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  -c -o support.lo support.c
 gcc -DHAVE_CONFIG_H -I. -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 -c support.c  -fPIC -DPIC -o .libs/support.o
support.c: In function 'scan_ucn':
support.c:1159:13: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
             if (infile->fp)
             ^~
support.c:1162:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
                 *out = EOS;
                 ^
support.c: In function 'get_ch':
support.c:1590:15: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
         free( file->src_dir);
               ^~~~
In file included from configed.H:374:0,
                 from system.H:45,
                 from support.c:76:
/usr/include/stdlib.h:563:13: note: expected 'void *' but argument is of type 'const char *'
 extern void free (void *__ptr) __THROW;
             ^~~~
support.c:1596:15: warning: passing argument 1 of 'free' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
         free( file->src_dir);               /* Free src_dir         */
               ^~~~
In file included from configed.H:374:0,
                 from system.H:45,
                 from support.c:76:
/usr/include/stdlib.h:563:13: note: expected 'void *' but argument is of type 'const char *'
 extern void free (void *__ptr) __THROW;
             ^~~~
support.c:1599:22: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
         cur_fullname = infile->full_fname;
                      ^
support.c: In function 'parse_line':
support.c:1684:1: warning: label 'com_start' defined but not used [-Wunused-label]
 com_start:
 ^~~~~~~~~
support.c: In function 'get_file':
support.c:2303:17: warning: passing argument 1 of 'strcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
         strcpy( file->src_dir, src_dir);
                 ^~~~
In file included from /usr/include/features.h:428:0,
                 from /usr/include/bits/libc-header-start.h:33,
                 from /usr/include/limits.h:26,
                 from /usr/lib/gcc/riscv64-redhat-linux/7/include/limits.h:194,
                 from /usr/lib/gcc/riscv64-redhat-linux/7/include/syslimits.h:7,
                 from /usr/lib/gcc/riscv64-redhat-linux/7/include/limits.h:34,
                 from configed.H:305,
                 from system.H:45,
                 from support.c:76:
/usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'const char *'
 __NTH (strcpy (char *__restrict __dest, const char *__restrict __src))
 ^
support.c: In function 'parse_line':
support.c:1854:31: warning: 'com_size' may be used uninitialized in this function [-Wmaybe-uninitialized]
                 *sizp = *sizp + (sp - saved_sp);
                         ~~~~~~^~~~~~~~~~~~~~~~~
support.c:1654:17: note: 'com_size' was declared here
     size_t      com_size;
                 ^~~~~~~~
support.c:1854:37: warning: 'saved_sp' may be used uninitialized in this function [-Wmaybe-uninitialized]
                 *sizp = *sizp + (sp - saved_sp);
                                 ~~~~^~~~~~~~~~~
support.c:1820:17: note: 'saved_sp' was declared here
     char *      saved_sp;
                 ^~~~~~~~
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.     -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  -c -o system.lo system.c
 gcc -DHAVE_CONFIG_H -I. -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 -c system.c  -fPIC -DPIC -o .libs/system.o
system.c: In function 'do_options':
system.c:427:17: warning: unused variable 'defp' [-Wunused-variable]
     DEFBUF *    defp;
                 ^~~~
system.c: In function 'norm_path':
system.c:2529:20: warning: implicit declaration of function 'readlink'; did you mean 'unlink'? [-Wimplicit-function-declaration]
         if ((len = readlink( slbuf1, slbuf2, PATHMAX)) > 0) {
                    ^~~~~~~~
                    unlink
system.c: In function 'open_file':
system.c:3447:1: warning: label 'search' defined but not used [-Wunused-label]
 search:
 ^~~~~~
system.c: In function 'do_once':
system.c:4290:20: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
     once_end->name = fullname;
                    ^
system.c: In function 'do_old':
system.c:4435:33: warning: unused variable 'ext' [-Wunused-variable]
     static const char * const   ext
                                 ^~~
system.c: In function 'dump_path':
system.c:4799:21: warning: unused variable 'i' [-Wunused-variable]
     int             i;
                     ^
system.c: In function 'do_options':
system.c:452:5: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result]
     getcwd( cur_work_dir, PATHMAX);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
system.c:4435:33: warning: 'ext' defined but not used [-Wunused-const-variable=]
     static const char * const   ext
                                 ^~~
system.c: In function 'do_debug':
system.c:4766:31: warning: 'num' may be used uninitialized in this function [-Wmaybe-uninitialized]
                 mcpp_debug &= ~num;                     /* Disable  */
                               ^~~~
/bin/sh ../libtool --tag=CC   --mode=link 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  -no-undefined -version-info 3:0:3 -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libmcpp.la -rpath /usr/lib64 main.lo directive.lo eval.lo expand.lo mbchar.lo support.lo system.lo  
gcc -shared  .libs/main.o .libs/directive.o .libs/eval.o .libs/expand.o .libs/mbchar.o .libs/support.o .libs/system.o  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z -Wl,relro -Wl,-soname -Wl,libmcpp.so.0 -o .libs/libmcpp.so.0.3.0
(cd .libs && rm -f libmcpp.so.0 && ln -s libmcpp.so.0.3.0 libmcpp.so.0)
(cd .libs && rm -f libmcpp.so && ln -s libmcpp.so.0.3.0 libmcpp.so)
creating libmcpp.la
(cd .libs && rm -f libmcpp.la && ln -s ../libmcpp.la libmcpp.la)
gcc -DHAVE_CONFIG_H -I.     -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  -c -o mcpp-main_libmcpp.o `test -f 'main_libmcpp.c' || echo './'`main_libmcpp.c
/bin/sh ../libtool --tag=CC   --mode=link 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   -Wl,-z,relro  -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mcpp mcpp-main_libmcpp.o -lmcpp 
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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/mcpp mcpp-main_libmcpp.o  /builddir/build/BUILD/mcpp-2.7.2/src/.libs/libmcpp.so -Wl,--rpath -Wl,/usr/lib64
creating mcpp
make[2]: Leaving directory '/builddir/build/BUILD/mcpp-2.7.2/src'
make[1]: Leaving directory '/builddir/build/BUILD/mcpp-2.7.2/src'
make[1]: Entering directory '/builddir/build/BUILD/mcpp-2.7.2'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/builddir/build/BUILD/mcpp-2.7.2'
+ mv mcpp-gcc.1 mcpp.1
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.O0KXXU
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64
++ dirname /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64
+ cd mcpp-2.7.2
+ iconv -f euc-jp -t utf-8 doc-jp/mcpp-manual.html
+ rm -rf /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64
+ make DESTDIR=/builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64 install
Making install in src
make[1]: Entering directory '/builddir/build/BUILD/mcpp-2.7.2/src'
make[2]: Entering directory '/builddir/build/BUILD/mcpp-2.7.2/src'
test -z "/usr/lib64" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/lib64"
 /bin/sh ../libtool --mode=install /usr/bin/install -c  'libmcpp.la' '/builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/lib64/libmcpp.la'
/usr/bin/install -c .libs/libmcpp.so.0.3.0 /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/lib64/libmcpp.so.0.3.0
(cd /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/lib64 && { ln -s -f libmcpp.so.0.3.0 libmcpp.so.0 || { rm -f libmcpp.so.0 && ln -s libmcpp.so.0.3.0 libmcpp.so.0; }; })
(cd /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/lib64 && { ln -s -f libmcpp.so.0.3.0 libmcpp.so || { rm -f libmcpp.so && ln -s libmcpp.so.0.3.0 libmcpp.so; }; })
/usr/bin/install -c .libs/libmcpp.lai /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/lib64/libmcpp.la
libtool: install: warning: remember to run `libtool --finish /usr/lib64'
test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/bin"
  /bin/sh ../libtool --mode=install /usr/bin/install -c 'mcpp' '/builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/bin/mcpp'
libtool: install: warning: `/builddir/build/BUILD/mcpp-2.7.2/src/libmcpp.la' has not been installed in `/usr/lib64'
/usr/bin/install -c .libs/mcpp /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/bin/mcpp
make  install-exec-hook
make[3]: Entering directory '/builddir/build/BUILD/mcpp-2.7.2/src'
make[3]: Nothing to be done for 'install-exec-hook'.
make[3]: Leaving directory '/builddir/build/BUILD/mcpp-2.7.2/src'
test -z "" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64"
test -z "/usr/include" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/include"
 /usr/bin/install -c -m 644 'mcpp_lib.h' '/builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/include/mcpp_lib.h'
 /usr/bin/install -c -m 644 'mcpp_out.h' '/builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/include/mcpp_out.h'
make[2]: Leaving directory '/builddir/build/BUILD/mcpp-2.7.2/src'
make[1]: Leaving directory '/builddir/build/BUILD/mcpp-2.7.2/src'
make[1]: Entering directory '/builddir/build/BUILD/mcpp-2.7.2'
make[2]: Entering directory '/builddir/build/BUILD/mcpp-2.7.2'
make  install-exec-hook
make[3]: Entering directory '/builddir/build/BUILD/mcpp-2.7.2'
./config/install-sh -d "/builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp"
cp -pf ./LICENSE ./README ./NEWS \
            /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp
cp -pf ./doc/mcpp-manual.html   \
            /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp
cp -pf ./doc-jp/mcpp-manual.html   \
            /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp/mcpp-manual-jp.html
make[3]: Leaving directory '/builddir/build/BUILD/mcpp-2.7.2'
test -z "/usr/share/man/man1" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/man/man1"
 /usr/bin/install -c -m 644 './mcpp.1' '/builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/man/man1/mcpp.1'
make[2]: Leaving directory '/builddir/build/BUILD/mcpp-2.7.2'
make[1]: Leaving directory '/builddir/build/BUILD/mcpp-2.7.2'
+ rm -rf /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp
+ rm -f /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/lib64/libmcpp.la
+ /usr/lib/rpm/check-buildroot
+ /usr/lib/rpm/redhat/brp-ldconfig
/sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip /usr/bin/strip
+ /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1
+ /usr/lib/rpm/brp-python-hardlink
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
Processing files: mcpp-2.7.2-19.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.taPV4S
+ umask 022
+ cd /builddir/build/BUILD
+ cd mcpp-2.7.2
+ DOCDIR=/builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp
+ cp -pr ChangeLog /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp
+ cp -pr ChangeLog.old /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp
+ cp -pr NEWS /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp
+ cp -pr README /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp
+ exit 0
Provides: mcpp = 2.7.2-19.fc28 mcpp(riscv-64) = 2.7.2-19.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libmcpp.so.0()(64bit) rtld(GNU_HASH)
Processing files: libmcpp-2.7.2-19.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5kJk84
+ umask 022
+ cd /builddir/build/BUILD
+ cd mcpp-2.7.2
+ DOCDIR=/builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/libmcpp
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/libmcpp
+ cp -pr LICENSE /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/libmcpp
+ exit 0
Provides: libmcpp = 2.7.2-19.fc28 libmcpp(riscv-64) = 2.7.2-19.fc28 libmcpp.so.0()(64bit)
Requires(interp): /sbin/ldconfig /sbin/ldconfig
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) rtld(GNU_HASH)
Processing files: libmcpp-devel-2.7.2-19.fc28.riscv64
Provides: libmcpp-devel = 2.7.2-19.fc28 libmcpp-devel(riscv-64) = 2.7.2-19.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libmcpp.so.0()(64bit)
Processing files: mcpp-doc-2.7.2-19.fc28.riscv64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mkPnFx
+ umask 022
+ cd /builddir/build/BUILD
+ cd mcpp-2.7.2
+ DOCDIR=/builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp-doc
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp-doc
+ cp -pr LICENSE /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp-doc
+ cp -pr doc/mcpp-manual.html /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp-doc
+ cp -pr doc-jp/mcpp-manual-jp.html /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64/usr/share/doc/mcpp-doc
+ exit 0
Provides: mcpp-doc = 2.7.2-19.fc28 mcpp-doc(riscv-64) = 2.7.2-19.fc28
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64
Wrote: /builddir/build/SRPMS/mcpp-2.7.2-19.fc28.src.rpm
Wrote: /builddir/build/RPMS/riscv64/mcpp-2.7.2-19.fc28.riscv64.rpm
Wrote: /builddir/build/RPMS/riscv64/libmcpp-2.7.2-19.fc28.riscv64.rpm
Wrote: /builddir/build/RPMS/riscv64/libmcpp-devel-2.7.2-19.fc28.riscv64.rpm
Wrote: /builddir/build/RPMS/riscv64/mcpp-doc-2.7.2-19.fc28.riscv64.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.dYAfW8
+ umask 022
+ cd /builddir/build/BUILD
+ cd mcpp-2.7.2
+ rm -rf /builddir/build/BUILDROOT/mcpp-2.7.2-19.fc28.riscv64
+ exit 0
+ touch /buildok
+ cleanup
+ set +e
+ sync
+ sleep 5
+ sync
+ poweroff
Terminated
++ cleanup
++ set +e
++ sync
Terminated
+++ cleanup
+++ set +e
+++ sync
+++ sleep 5
+++ sync
+++ poweroff