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/rats.spec'], chrootPath='/var/lib/mock/f31-build-49480-27276/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/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', '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 setting SOURCE_DATE_EPOCH=1549065600 Wrote: /builddir/build/SRPMS/rats-2.4-13.fc31.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/f31-build-49480-27276/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/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', '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 setting SOURCE_DATE_EPOCH=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mWtJ11 + 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/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-Fix-report-layout.patch + /usr/bin/cat /builddir/build/SOURCES/rats-2.4-gtk-vuln.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-hash.patch + 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 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IX8bY2 + 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-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 --datadir=/usr/share/rats + /usr/bin/make -O -j4 V=1 VERBOSE=1 lex + /usr/bin/make -O -j4 V=1 VERBOSE=1 BUILDSTDERR: engine.c: In function 'analyze_identifier': BUILDSTDERR: engine.c:794:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: 794 | 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: 797 | 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: 1177 | 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: 1179 | if (*ratslexer.yycomment == NULL) BUILDSTDERR: | ^~ BUILDSTDERR: lex.yyperl.c:4132:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: 4132 | BUILDSTDERR: | ^ checking for riscv64-redhat-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 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 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 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: 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_VERSlex.yyp.c:5350:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: 5350 | BUILDSTDERR: | ^ 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: 181 | 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: 209 | 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: 240 | 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: 104 | fread(buf, st.st_size, 1, fd); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from main.c:36: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'main' at main.c:399:4: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: main.c: In function 'main': BUILDSTDERR: main.c:399:4: note: length computed here BUILDSTDERR: 399 | strncpy(uservul->Name, optarg, strlen(optarg)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: lex.yyphp.c:11109:16: warning: 'yy_top_state' defined but not used [-Wunused-function] BUILDSTDERR: 11109 | BUILDSTDERR: | ^ BUILDSTDERR: lex.yyphp.c:11101:17: warning: 'yy_pop_state' defined but not used [-Wunused-function] BUILDSTDERR: 11101 | BUILDSTDERR: | ^ BUILDSTDERR: lex.yyphp.c:11076:17: warning: 'yy_push_state' defined but not used [-Wunused-function] BUILDSTDERR: 11076 | BUILDSTDERR: | ^ BUILDSTDERR: lex.yyphp.c:10614:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: 10614 | BUILDSTDERR: | ^ ION=\"\" -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 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 main.o -c main.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 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 lex.yyphp.o -c lex.yyphp.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 getopt.o -c getopt.c BUILDSTDERR: gcc -Wall -g -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protectovuln_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: 415 | fprintf(stderr, "%s at line %d\n", BUILDSTDERR: | ~^ BUILDSTDERR: | | BUILDSTDERR: | int BUILDSTDERR: | %ld BUILDSTDERR: 416 | XML_ErrorString(XML_GetErrorCode(parser)), BUILDSTDERR: 417 | XML_GetCurrentLineNumber(parser)); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | XML_Size {aka long unsigned int} BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from vuln_db.c:22: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'StartElement' at vuln_db.c:161:5, BUILDSTDERR: inlined from 'StartElement' at vuln_db.c:147:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vuln_db.c: In function 'StartElement': BUILDSTDERR: vuln_db.c:161:5: note: length computed here BUILDSTDERR: 161 | strncpy(mydata->fname[mydata->depth + 1], name, strlen(name)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from vuln_db.c:22: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'EndElement' at vuln_db.c:342:9, BUILDSTDERR: inlined from 'EndElement' at vuln_db.c:295:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vuln_db.c: In function 'EndElement': BUILDSTDERR: vuln_db.c:342:9: note: length computed here BUILDSTDERR: 342 | strncpy(mydata->vuln->Info->URL, mydata->databuf, strlen(mydata->databuf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from vuln_db.c:22: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'EndElement' at vuln_db.c:336:9, BUILDSTDERR: inlined from 'EndElement' at vuln_db.c:295:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vuln_db.c: In function 'EndElement': BUILDSTDERR: vuln_db.c:336:9: note: length computed here BUILDSTDERR: 336 | strncpy(mydata->vuln->Info->Description, mydata->databuf, strlen(mydata->databuf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from vuln_db.c:22: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'EndElement' at vuln_db.c:324:9, BUILDSTDERR: inlined from 'EndElement' at vuln_db.c:295:6: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: vuln_db.c: In function 'EndElement': BUILDSTDERR: vuln_db.c:324:9: note: length computed here BUILDSTDERR: 324 | strncpy(mydata->vuln->Name, mydata->databuf, strlen(mydata->databuf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: 130 | (unsigned int) ptr, BUILDSTDERR: | ^ BUILDSTDERR: report.c:132:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] BUILDSTDERR: 132 | (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: 133 | (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: 133 | (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: 133 | (unsigned int) ptr->uses, (unsigned int) ptr->next, (unsigned int) ptr->prev); BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from report.c:29: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'replace_cfname' at report.c:146:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: report.c: In function 'replace_cfname': BUILDSTDERR: report.c:146:3: note: length computed here BUILDSTDERR: 146 | strncpy(context_filename, filename, strlen(filename)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from report.c:29: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'getctx' at report.c:196:11: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: report.c: In function 'getctx': BUILDSTDERR: report.c:196:11: note: length computed here BUILDSTDERR: 196 | strncpy(ret, buf, strlen(buf)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ruby-lex.l:240:6: warning: 'scan_yytext' defined but not used [-Wunused-function] BUILDSTDERR: 240 | void scan_yytext(void) BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: lex.yyruby.c:6494:17: warning: 'yyunput' defined but not used [-Wunused-function] BUILDSTDERR: 6494 | BUILDSTDERR: | ^ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 r-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 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 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 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 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aVdLAZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64 + cd rats-2.4 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64 'INSTALL=/usr/bin/install -p' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.4-13.fc31 --unique-debug-suffix -2.4-13.fc31.riscv64 --unique-debug-src-base rats-2.4-13.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/rats-2.4 BUILDSTDERR: 4224 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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 ./mkinstalldirs /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/bin /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/lib64 /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/man /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/rats mkdir /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr mkdir /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/bin mkdir /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/lib64 mkdir /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share mkdir /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/man mkdir /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/man/man1 mkdir /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/rats /usr/bin/install -p rats /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/bin /usr/bin/install -p -m 644 rats-python.xml /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/rats /usr/bin/install -p -m 644 rats-c.xml /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/rats /usr/bin/install -p -m 644 rats-perl.xml /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/rats /usr/bin/install -p -m 644 rats-php.xml /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/rats /usr/bin/install -p -m 644 rats-ruby.xml /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/rats /usr/bin/install -p -m 644 rats-openssl.xml /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/rats /usr/bin/install -p -m 644 rats.1 /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/man/man1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/bin/rats extracting debug info from /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/bin/rats original debug info size: 476kB, size after compression: 440kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: rats-2.4-13.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gn7IW0 + umask 022 + cd /builddir/build/BUILD + cd rats-2.4 + DOCDIR=/builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/doc/rats + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/doc/rats + cp -pr COPYING /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/doc/rats + cp -pr README /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64/usr/share/doc/rats + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: rats = 2.4-13.fc31 rats(riscv-64) = 2.4-13.fc31 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-13.fc31.riscv64 Provides: rats-debugsource = 2.4-13.fc31 rats-debugsource(riscv-64) = 2.4-13.fc31 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-13.fc31.riscv64 Provides: debuginfo(build-id) = af61726b87c09edd884cfacf1820414792cfdb14 rats-debuginfo = 2.4-13.fc31 rats-debuginfo(riscv-64) = 2.4-13.fc31 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-13.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64 Wrote: /builddir/build/RPMS/rats-debuginfo-2.4-13.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rats-2.4-13.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/rats-debugsource-2.4-13.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.arh4V0 + umask 022 + cd /builddir/build/BUILD + cd rats-2.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rats-2.4-13.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0