Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rats.spec'], chrootPath='/var/lib/mock/f30-build-37960-21876/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rats.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/rats-2.4-12.fc30.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rats.spec'], chrootPath='/var/lib/mock/f30-build-37960-21876/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rats.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CEPgn0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf rats-2.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/rats-2.4.tgz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd rats-2.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0002-Fix-engine-output-and-php-extension.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-Fix-report-layout.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/rats-2.4-gtk-vuln.patch + /usr/bin/cat /builddir/build/SOURCES/rats-2.4-hash.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -e 's/$(BINDIR)/$(DESTDIR)$(BINDIR)/g' -e 's/ $(LIBDIR)/ $(DESTDIR)$(LIBDIR)/g' -e 's/$(MANDIR)/$(DESTDIR)$(MANDIR)/g' -e 's/ $(SHAREDIR)/ $(DESTDIR)$(SHAREDIR)/g' -i Makefile.in + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.i7VdZr + umask 022 + cd /builddir/build/BUILD + cd rats-2.4 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share/rats checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output... 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 ANSI C... none needed checking for flex... flex checking for yywrap in -lfl... no checking for yywrap in -ll... no checking lex output file root... lex.yy checking whether yytext is a pointer... no checking for a BSD-compatible install... /usr/bin/install -c checking for XML_ParserCreate in -lexpat... yes checking how to run the C preprocessor... gcc -E 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 expat.h usability... yes checking expat.h presence... yes checking for expat.h... yes checking xmlparse.h usability... no checking xmlparse.h presence... no checking for xmlparse.h... no configure: creating ./config.status config.status: creating Makefile + /usr/bin/make -O -j4 lex flex -F -8 -Pyyc c-lex.l flex -F -8 -Pyyp python-lex.l flex -F -8 -Pyyperl perl-lex.l flex -F -8 -Pyyphp php-lex.l flex -F -8 -Pyyruby ruby-lex.l + /usr/bin/make -O -j4 gcc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=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_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o engine.o -c engine.c BUILDSTDERR: engine.c: In function 'analyze_identifier': BUILDSTDERR: engine.c:794:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (!analyzed) BUILDSTDERR: ^~ BUILDSTDERR: engine.c:797:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (process) BUILDSTDERR: ^~ BUILDSTDERR: engine.c: In function 'analyze_comment': BUILDSTDERR: engine.c:1177:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: if (yyclength < 5) BUILDSTDERR: ^~ BUILDSTDERR: engine.c:1179:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' BUILDSTDERR: if (*ratslexer.yycomment == NULL) BUILDSTDERR: ^~ gcc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=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_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o lex.yyc.o -c lex.yyc.c gcc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=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_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o lex.yyperl.o -c lex.yyperl.c BUILDSTDERR: lex.yyperl.c:4132:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: BUILDSTDERR: ^ gcc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=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_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o hash.o -c hash.c gcc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=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_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o lex.yyp.o -c lex.yyp.c BUILDSTDERR: lex.yyp.c:5350:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: BUILDSTDERR: ^ gcc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=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_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o main.o -c main.c BUILDSTDERR: main.c: In function 'output_header': BUILDSTDERR: main.c:181:8: warning: assignment to 'char **' from incompatible pointer type 'const char **' [-Wincompatible-pointer-types] BUILDSTDERR: keys = HashKeys(database); BUILDSTDERR: ^ BUILDSTDERR: main.c: In function 'output_xmlheader': BUILDSTDERR: main.c:209:8: warning: assignment to 'char **' from incompatible pointer type 'const char **' [-Wincompatible-pointer-types] BUILDSTDERR: keys = HashKeys(database); BUILDSTDERR: ^ BUILDSTDERR: main.c: In function 'output_htmlheader': BUILDSTDERR: main.c:240:8: warning: assignment to 'char **' from incompatible pointer type 'const char **' [-Wincompatible-pointer-types] BUILDSTDERR: keys = HashKeys(database); BUILDSTDERR: ^ BUILDSTDERR: main.c: In function 'load_database': BUILDSTDERR: main.c:104:5: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: fread(buf, st.st_size, 1, fd); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=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_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o kazhash.o -c kazhash.c gcc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=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_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o vuln_db.o -c vuln_db.c BUILDSTDERR: vuln_db.c: In function 'ParseVulnDb': BUILDSTDERR: vuln_db.c:415:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'XML_Size' {aka 'long unsigned int'} [-Wformat=] BUILDSTDERR: fprintf(stderr, "%s at line %d\n", BUILDSTDERR: ~^ BUILDSTDERR: %ld BUILDSTDERR: vuln_db.c:417:17: BUILDSTDERR: XML_GetCurrentLineNumber(parser)); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=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_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o lex.yyphp.o -c lex.yyphp.c BUILDSTDERR: lex.yyphp.c:11109:16: warning: 'yy_top_state' defined but not used [-Wunused-function] BUILDSTDERR: BUILDSTDERR: ^ BUILDSTDERR: lex.yyphp.c:11101:17: warning: 'yy_pop_state' defined but not used [-Wunused-function] BUILDSTDERR: BUILDSTDERR: ^ BUILDSTDERR: lex.yyphp.c:11076:17: warning: 'yy_push_state' defined but not used [-Wunused-function] BUILDSTDERR: BUILDSTDERR: ^ BUILDSTDERR: lex.yyphp.c:10614:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: BUILDSTDERR: ^ gcc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=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_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o getopt.o -c getopt.c gcc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=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_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o report.o -c report.c BUILDSTDERR: report.c: In function 'debug_vuln_dump': BUILDSTDERR: report.c:130:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: (unsigned int) ptr, BUILDSTDERR: ^ BUILDSTDERR: report.c:132:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: (unsigned int) ptr->data,ptr->type,ptr->severity, BUILDSTDERR: ^ BUILDSTDERR: report.c:133:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: (unsigned int) ptr->uses, (unsigned int) ptr->next, (unsigned int) ptr->prev); BUILDSTDERR: ^ BUILDSTDERR: report.c:133:50: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: (unsigned int) ptr->uses, (unsigned int) ptr->next, (unsigned int) ptr->prev); BUILDSTDERR: ^ BUILDSTDERR: report.c:133:76: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: (unsigned int) ptr->uses, (unsigned int) ptr->next, (unsigned int) ptr->prev); BUILDSTDERR: ^ gcc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/local/include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBEXPAT=1 -DSTDC_HEADERS=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_EXPAT_H=1 -DDATADIR=\"/usr/share/rats\" -o lex.yyruby.o -c lex.yyruby.c BUILDSTDERR: ruby-lex.l:240:6: warning: 'scan_yytext' defined but not used [-Wunused-function] BUILDSTDERR: void scan_yytext(void) BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: lex.yyruby.c:6494:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: BUILDSTDERR: ^ gcc -Wall -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/usr/local/lib -o rats engine.o lex.yyc.o lex.yyp.o lex.yyperl.o lex.yyphp.o lex.yyruby.o hash.o kazhash.o main.o report.o vuln_db.o getopt.o -lexpat + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ce4Qev + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64 + cd rats-2.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64 'INSTALL=/usr/bin/install -p' ./mkinstalldirs /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/bin /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/lib64 /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/man /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/rats mkdir /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr mkdir /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/lib64 mkdir /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share mkdir /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/rats /usr/bin/install -p rats /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/bin /usr/bin/install -p -m 644 rats-python.xml /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/rats /usr/bin/install -p -m 644 rats-c.xml /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/rats /usr/bin/install -p -m 644 rats-perl.xml /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/rats /usr/bin/install -p -m 644 rats-php.xml /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/rats /usr/bin/install -p -m 644 rats-ruby.xml /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/rats /usr/bin/install -p -m 644 rats-openssl.xml /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/rats /usr/bin/install -p -m 644 rats.1 /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/man/man1 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.4-12.fc30 --unique-debug-suffix -2.4-12.fc30.riscv64 --unique-debug-src-base rats-2.4-12.fc30.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rats-2.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/bin/rats extracting debug info from /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/bin/rats /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 4224 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: rats-2.4-12.fc30.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.MtwqWB + umask 022 + cd /builddir/build/BUILD + cd rats-2.4 + DOCDIR=/builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/doc/rats + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/doc/rats + cp -pr COPYING /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/doc/rats + cp -pr README /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64/usr/share/doc/rats + exit 0 Provides: rats = 2.4-12.fc30 rats(riscv-64) = 2.4-12.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libexpat.so.1()(64bit) rtld(GNU_HASH) Processing files: rats-debugsource-2.4-12.fc30.riscv64 Provides: rats-debugsource = 2.4-12.fc30 rats-debugsource(riscv-64) = 2.4-12.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: rats-debuginfo-2.4-12.fc30.riscv64 Provides: debuginfo(build-id) = 2df7227dd6952de98a09f61754afd7a781455d5e rats-debuginfo = 2.4-12.fc30 rats-debuginfo(riscv-64) = 2.4-12.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: rats-debugsource(riscv-64) = 2.4-12.fc30 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64 Wrote: /builddir/build/RPMS/rats-2.4-12.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/rats-debugsource-2.4-12.fc30.riscv64.rpm Wrote: /builddir/build/RPMS/rats-debuginfo-2.4-12.fc30.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.aINq4J + umask 022 + cd /builddir/build/BUILD + cd rats-2.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rats-2.4-12.fc30.riscv64 + exit 0 Child return code was: 0