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/cvechecker.spec'], chrootPath='/var/lib/mock/f29-build-26734-13903/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/cvechecker.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/cvechecker-3.8-5.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cvechecker.spec'], chrootPath='/var/lib/mock/f29-build-26734-13903/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/cvechecker.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NKplDN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cvechecker-3.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/cvechecker-3.8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd cvechecker-3.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (0001-Fixed-a-segfault-in-case-of-an-invalid-line-in-the-w.patch):' Patch #1 (0001-Fixed-a-segfault-in-case-of-an-invalid-line-in-the-w.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/cvecheck.c + echo 'Patch #2 (0002-Fixed-missing-increment-in-line-number-in-case-of-a-.patch):' Patch #2 (0002-Fixed-missing-increment-in-line-number-in-case-of-a-.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/cvecheck.c + echo 'Patch #3 (0003-Last-addition-to-Changelog-now-use-git-commit-log.patch):' Patch #3 (0003-Last-addition-to-Changelog-now-use-git-commit-log.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file ChangeLog + echo 'Patch #4 (0004-skip-lines-with-invalid-cpe-types-in-pullcves.patch):' Patch #4 (0004-skip-lines-with-invalid-cpe-types-in-pullcves.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/cvecheck.c + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-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-sqlite3 --enable-mysql --localstatedir=/var/lib 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 whether make supports nested variables... yes checking Determining host operating system... Linux checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no 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 whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking argp.h usability... yes checking argp.h presence... yes checking for argp.h... yes checking for gethostname... yes checking for memset... yes checking for regcomp... yes checking for strchr... yes checking for strrchr... yes checking for strstr... yes checking for size_t... yes BUILDSTDERR: configure: WARNING: Please make sure pkg-config is installed and autoreconf run checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for CONFIG... yes checking for SQLITE3... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating data/Makefile config.status: creating conf/Makefile config.status: creating scripts/Makefile config.status: creating docs/Makefile config.status: creating config.h config.status: executing depfiles commands + sed -i 's/\/mysql/\/mariadb/g;s/-lmysqlclient/-lmariadb/g' Makefile + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.VIil2Q + umask 022 + cd /builddir/build/BUILD + cd cvechecker-3.8 + /usr/bin/make -O -j4 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_USE_SQLITE3 -D_USE_MYSQL -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 -c -o swstring.o swstring.c make[2]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/src' make[2]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_USE_SQLITE3 -D_USE_MYSQL -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 -c -o output/stringscmd.o output/stringscmd.c make[2]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/src' make[2]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_USE_SQLITE3 -D_USE_MYSQL -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 -c -o mysql/mysql_impl.o mysql/mysql_impl.c make[2]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/src' BUILDSTDERR: mysql/mysql_impl.c: In function 'mysql_dbimpl_add_cpe_to_database': BUILDSTDERR: mysql/mysql_impl.c:184:8: warning: implicit declaration of function 'add_to_mysql_database' [-Wimplicit-function-declaration] BUILDSTDERR: rc = add_to_mysql_database(ws, cpe); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mysql/mysql_impl.c:185:3: warning: implicit declaration of function 'update_binmatch_files' [-Wimplicit-function-declaration] BUILDSTDERR: update_binmatch_files(ws, rc); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: mysql/mysql_impl.c: In function 'add_to_mysql_database': BUILDSTDERR: mysql/mysql_impl.c:294:5: warning: implicit declaration of function 'copy_cpe' [-Wimplicit-function-declaration] BUILDSTDERR: copy_cpe(&parentcpe, &cpe); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: mysql/mysql_impl.c: In function 'mysql_dbimpl_process_binary': BUILDSTDERR: mysql/mysql_impl.c:338:7: warning: variable 'num_fields' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int num_fields; BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: mysql/mysql_impl.c: In function 'mysql_dbimpl_verify_installed_versus_cve': BUILDSTDERR: mysql/mysql_impl.c:410:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (row = mysql_fetch_row(result)) { BUILDSTDERR: ^~~ BUILDSTDERR: mysql/mysql_impl.c:436:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (row = mysql_fetch_row(result)) { BUILDSTDERR: ^~~ BUILDSTDERR: mysql/mysql_impl.c:660:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: while (row = mysql_fetch_row(result)) { BUILDSTDERR: ^~~ BUILDSTDERR: mysql/mysql_impl.c: In function 'update_binmatch_files': BUILDSTDERR: mysql/mysql_impl.c:325:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: }; BUILDSTDERR: ^ BUILDSTDERR: mysql/mysql_impl.c: In function 'mysql_dbimpl_process_binary': BUILDSTDERR: mysql/mysql_impl.c:399:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: }; BUILDSTDERR: ^ BUILDSTDERR: mysql/mysql_impl.c: In function 'mysql_dbimpl_verify_installed_versus_cve': BUILDSTDERR: mysql/mysql_impl.c:683:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: }; BUILDSTDERR: ^ BUILDSTDERR: mysql/mysql_impl.c: In function 'mysql_dbimpl_initialize_databases': BUILDSTDERR: mysql/mysql_impl.c:770:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: }; BUILDSTDERR: ^ make[2]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_USE_SQLITE3 -D_USE_MYSQL -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 -c -o cvecheck.o cvecheck.c make[2]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/src' BUILDSTDERR: cvecheck.c: In function 'load_cve': BUILDSTDERR: cvecheck.c:1451:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 128 [-Wformat-truncation=] BUILDSTDERR: snprintf(tmpCpeProduct, FIELDSIZE, "%s", field); BUILDSTDERR: ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from cvecheck.h:1, BUILDSTDERR: from cvecheck.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 256 bytes into a destination of size 128 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cvecheck.c:1449:41: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 128 [-Wformat-truncation=] BUILDSTDERR: snprintf(tmpCpeVendor, FIELDSIZE, "%s", field); BUILDSTDERR: ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from cvecheck.h:1, BUILDSTDERR: from cvecheck.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 256 bytes into a destination of size 128 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cvecheck.c:1453:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 128 [-Wformat-truncation=] BUILDSTDERR: snprintf(tmpCpeVersion, FIELDSIZE, "%s", field); BUILDSTDERR: ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from cvecheck.h:1, BUILDSTDERR: from cvecheck.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 256 bytes into a destination of size 128 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cvecheck.c:1455:41: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 128 [-Wformat-truncation=] BUILDSTDERR: snprintf(tmpCpeUpdate, FIELDSIZE, "%s", field); BUILDSTDERR: ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from cvecheck.h:1, BUILDSTDERR: from cvecheck.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 256 bytes into a destination of size 128 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cvecheck.c:1457:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 128 [-Wformat-truncation=] BUILDSTDERR: snprintf(tmpCpeEdition, FIELDSIZE, "%s", field); BUILDSTDERR: ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from cvecheck.h:1, BUILDSTDERR: from cvecheck.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 256 bytes into a destination of size 128 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cvecheck.c:1459:43: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 128 [-Wformat-truncation=] BUILDSTDERR: snprintf(tmpCpeLanguage, FIELDSIZE, "%s", field); BUILDSTDERR: ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from cvecheck.h:1, BUILDSTDERR: from cvecheck.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 256 bytes into a destination of size 128 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: cvecheck.c:1436:28: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 3 [-Wformat-truncation=] BUILDSTDERR: snprintf(tmpCpeId, 3, "%s", field); BUILDSTDERR: ^~ ~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from cvecheck.h:1, BUILDSTDERR: from cvecheck.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:67:10: note: '__builtin_snprintf' output between 1 and 256 bytes into a destination of size 3 BUILDSTDERR: return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_USE_SQLITE3 -D_USE_MYSQL -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 -c -o sqlite3/sqlite3_impl.o sqlite3/sqlite3_impl.c make[2]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/src' BUILDSTDERR: sqlite3/sqlite3_impl.c: In function 'feed_cpe_versions_table': BUILDSTDERR: sqlite3/sqlite3_impl.c:227:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] BUILDSTDERR: for (d = 0; d < 15; d++) BUILDSTDERR: ^~~ BUILDSTDERR: sqlite3/sqlite3_impl.c:231:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' BUILDSTDERR: zero_string(stmt, SQLLINESIZE); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: sqlite3/sqlite3_impl.c: In function 'sqlite_dbimpl_load_databases': BUILDSTDERR: sqlite3/sqlite3_impl.c:514:23: warning: 'main.db' directive writing 7 bytes into a region of size between 1 and 256 [-Wformat-overflow=] BUILDSTDERR: sprintf(buffer2, "%smain.db", buffer); BUILDSTDERR: ^~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from sqlite3/../swstring.h:2, BUILDSTDERR: from sqlite3/sqlite3_impl.h:6, BUILDSTDERR: from sqlite3/sqlite3_impl.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 8 and 263 bytes into a destination of size 256 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sqlite3/sqlite3_impl.c:536:29: warning: '%d' directive writing between 1 and 3 bytes into a region of size between 0 and 255 [-Wformat-overflow=] BUILDSTDERR: sprintf(buffer2, "%s%c%d.db", buffer, partchar[c], i); BUILDSTDERR: ^~ BUILDSTDERR: sqlite3/sqlite3_impl.c:536:24: note: directive argument in the range [1, 129] BUILDSTDERR: sprintf(buffer2, "%s%c%d.db", buffer, partchar[c], i); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from sqlite3/../swstring.h:2, BUILDSTDERR: from sqlite3/sqlite3_impl.h:6, BUILDSTDERR: from sqlite3/sqlite3_impl.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 6 and 263 bytes into a destination of size 256 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sqlite3/sqlite3_impl.c: In function 'find_cpe_for_software': BUILDSTDERR: sqlite3/sqlite3_impl.c:1157:22: warning: '0)' directive writing 2 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] BUILDSTDERR: sprintf(inset2, "%s0)", inset1); BUILDSTDERR: ^~ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from sqlite3/../swstring.h:2, BUILDSTDERR: from sqlite3/sqlite3_impl.h:6, BUILDSTDERR: from sqlite3/sqlite3_impl.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 4098 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: sqlite3/sqlite3_impl.c:1154:26: warning: ',' directive writing 1 byte into a region of size between 0 and 4095 [-Wformat-overflow=] BUILDSTDERR: sprintf(inset2, "%s%d,", inset1, cpeid); BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/stdio.h:873, BUILDSTDERR: from sqlite3/../swstring.h:2, BUILDSTDERR: from sqlite3/sqlite3_impl.h:6, BUILDSTDERR: from sqlite3/sqlite3_impl.c:1: BUILDSTDERR: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 3 and 4108 bytes into a destination of size 4096 BUILDSTDERR: return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: __bos (__s), __fmt, __va_arg_pack ()); BUILDSTDERR: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/src' gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o cvechecker cvecheck.o swstring.o output/stringscmd.o sqlite3/sqlite3_impl.o mysql/mysql_impl.o -lconfig -L/usr/lib64/ -lmariadb -lz -ldl -lm -lpthread -lssl -lcrypto -lsqlite3 make[2]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/src' Making all in data make[2]: Nothing to be done for 'all'. Making all in conf make[2]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/conf' rm -f cvechecker.conf cvechecker.conf.tmp srcdir=''; \ test -f ./cvechecker.conf.in || srcdir=./; \ sed -e 's|@localstatedir[@]|/var/lib|g' -e 's|@pkgdatadir[@]|/usr/share/cvechecker|g' ${srcdir}cvechecker.conf.in > cvechecker.conf.tmp chmod a-w cvechecker.conf.tmp mv cvechecker.conf.tmp cvechecker.conf make[2]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/conf' Making all in scripts make[2]: Nothing to be done for 'all'. Making all in docs make[2]: Nothing to be done for 'all'. + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nWbx06 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64 + cd cvechecker-3.8 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64 'INSTALL=/usr/bin/install -p' PREFIX=/usr CONFDIR=/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/etc Making install in src make[1]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/src' make[2]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/bin' /usr/bin/install -p cvechecker '/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/src' make[1]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/src' Making install in data make[1]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/data' make[2]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/cvechecker' /usr/bin/install -p -m 644 nvdcve2simple.xsl cvereport.xsl report.css csv2xml.awk mysql_cvechecker.sql '/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/cvechecker' /usr/bin/mkdir -p "/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/var/lib/cvechecker" \ "/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/var/lib/cvechecker/local" \ "/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/var/lib/cvechecker/cache" /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker' /usr/bin/install -p -m 644 acknowledgements.xml '/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker' make[2]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/data' make[1]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/data' Making install in conf make[1]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/conf' make[2]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/conf' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/etc' /usr/bin/install -p -m 644 cvechecker.conf '/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/etc' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/conf' make[1]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/conf' Making install in scripts make[1]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/scripts' make[2]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/scripts' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/bin' /usr/bin/install -p pullcves cvereport cvegenversdat cverules '/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/scripts' make[1]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/scripts' Making install in docs make[1]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/docs' make[2]: Entering directory '/builddir/build/BUILD/cvechecker-3.8/docs' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker' /usr/bin/install -p -m 644 userguide.xml '/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 cvechecker.1 pullcves.1 cvereport.1 cverules.1 cvegenversdat.1 '/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/docs' make[1]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8/docs' make[1]: Entering directory '/builddir/build/BUILD/cvechecker-3.8' make[2]: Entering directory '/builddir/build/BUILD/cvechecker-3.8' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8' make[1]: Leaving directory '/builddir/build/BUILD/cvechecker-3.8' + xmlto --skip-validation html-nochunks /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker/acknowledgements.xml + xmlto --skip-validation html-nochunks /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker/userguide.xml BUILDSTDERR: /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker/userguide.xml:92: namespace error : Namespace prefix xl for href on link is not defined BUILDSTDERR: xl:href="http://cvechecker.sourceforge.net">http://cvechecker.sourceforge. BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker/userguide.xml:94: namespace error : Namespace prefix xl for href on link is not defined BUILDSTDERR: xl:href="http://sourceforge.net/projects/cvechecker/files/">http://sourcef BUILDSTDERR: ^ BUILDSTDERR: /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker/userguide.xml:933: namespace error : Namespace prefix xl for href on link is not defined BUILDSTDERR: xl:href="http://cpe.mitre.org">http://cpe.mitre.org for more BUILDSTDERR: ^ BUILDSTDERR: Note: namesp. cut : stripped namespace before processing CVE Checker User Guide + install -Dm644 userguide.html /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker/userguide.html + install -Dm644 acknowledgements.html /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker/acknowledgements.html + rm -f /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker/acknowledgements.xml /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker/userguide.xml + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.8-5.fc29 --unique-debug-suffix -3.8-5.fc29.riscv64 --unique-debug-src-base cvechecker-3.8-5.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/cvechecker-3.8 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/bin/cvechecker extracting debug info from /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/bin/cvechecker /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 307 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/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 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/cvereport from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/pullcves from /bin/sh to #!/usr/bin/sh mangling shebang in /usr/bin/cverules from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/bin/cvegenversdat from /bin/sh to #!/usr/bin/sh Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.LeMiZe Processing files: cvechecker-3.8-5.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JBZ71l + umask 022 + cd /builddir/build/BUILD + cd cvechecker-3.8 + DOCDIR=/builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker + cp -pr README.md /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker + cp -pr ChangeLog /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64/usr/share/doc/cvechecker + exit 0 Provides: config(cvechecker) = 3.8-5.fc29 cvechecker = 3.8-5.fc29 cvechecker(riscv-64) = 3.8-5.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash /usr/bin/sh 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) libconfig.so.11()(64bit) libcrypto.so.1.1()(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libmariadb.so.3()(64bit) libmariadb.so.3(libmysqlclient_18)(64bit) libpthread.so.0()(64bit) libsqlite3.so.0()(64bit) libssl.so.1.1()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: cvechecker-debugsource-3.8-5.fc29.riscv64 Provides: cvechecker-debugsource = 3.8-5.fc29 cvechecker-debugsource(riscv-64) = 3.8-5.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: cvechecker-debuginfo-3.8-5.fc29.riscv64 Provides: cvechecker-debuginfo = 3.8-5.fc29 cvechecker-debuginfo(riscv-64) = 3.8-5.fc29 debuginfo(build-id) = 862f6dce8c7b2fa5bc77bfcfd23a276a843255b7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: cvechecker-debugsource(riscv-64) = 3.8-5.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64 Wrote: /builddir/build/RPMS/cvechecker-3.8-5.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/cvechecker-debugsource-3.8-5.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/cvechecker-debuginfo-3.8-5.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.XZVvkc + umask 022 + cd /builddir/build/BUILD + cd cvechecker-3.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/cvechecker-3.8-5.fc29.riscv64 + exit 0 Child return code was: 0