Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/cvechecker.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-222227-13719/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': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658275200 Wrote: /builddir/build/SRPMS/cvechecker-4.0-6.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cvechecker.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-222227-13719/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': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658275200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wqBcDs + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf cvechecker-cvechecker-4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/cvechecker-4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cvechecker-cvechecker-4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.JxQBVi + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd cvechecker-cvechecker-4.0 + autoreconf --force --install configure.ac:27: warning: The macro `AC_GNU_SOURCE' is obsolete. configure.ac:27: You should run autoupdate. ./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from... configure.ac:27: the top level configure.ac:26: installing './compile' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-02-01 14:28:13.346964369 -0500 +++ ./configure 2023-02-01 14:28:40.166963726 -0500 @@ -1661,7 +1661,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-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 race-free 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-koji-linux-gnu-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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for argp.h... yes checking for string.h... (cached) yes checking for riscv64-koji-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... 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 strlcpy... no checking for BSD... yes checking for size_t... yes configure: WARNING: Please make sure pkg-config is installed and autoreconf run checking for BSD... 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 + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/cvechecker-cvechecker-4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_USE_SQLITE3 -D_USE_MYSQL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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-cvechecker-4.0/src' make[2]: Entering directory '/builddir/build/BUILD/cvechecker-cvechecker-4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_USE_SQLITE3 -D_USE_MYSQL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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-cvechecker-4.0/src' make[2]: Entering directory '/builddir/build/BUILD/cvechecker-cvechecker-4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_USE_SQLITE3 -D_USE_MYSQL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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-cvechecker-4.0/src' mysql/mysql_impl.c: In function 'mysql_dbimpl_add_cpe_to_database': mysql/mysql_impl.c:114:8: warning: implicit declaration of function 'add_to_mysql_database' [-Wimplicit-function-declaration] 114 | rc = add_to_mysql_database(ws, cpe); | ^~~~~~~~~~~~~~~~~~~~~ mysql/mysql_impl.c:115:3: warning: implicit declaration of function 'update_binmatch_files' [-Wimplicit-function-declaration] 115 | update_binmatch_files(ws, rc); | ^~~~~~~~~~~~~~~~~~~~~ mysql/mysql_impl.c: In function 'add_to_mysql_database': mysql/mysql_impl.c:232:5: warning: implicit declaration of function 'copy_cpe_bare' [-Wimplicit-function-declaration] 232 | copy_cpe_bare(&parentcpe, &cpe); | ^~~~~~~~~~~~~ mysql/mysql_impl.c: In function 'mysql_dbimpl_process_binary': mysql/mysql_impl.c:276:7: warning: variable 'num_fields' set but not used [-Wunused-but-set-variable] 276 | int num_fields; | ^~~~~~~~~~ mysql/mysql_impl.c: In function 'mysql_dbimpl_verify_installed_versus_cve': mysql/mysql_impl.c:348:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 348 | while (row = mysql_fetch_row(result)) { | ^~~ mysql/mysql_impl.c:378:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 378 | while (row = mysql_fetch_row(result)) { | ^~~ mysql/mysql_impl.c:634:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 634 | while (row = mysql_fetch_row(result)) { | ^~~ mysql/mysql_impl.c: In function 'update_binmatch_files': mysql/mysql_impl.c:263:1: warning: control reaches end of non-void function [-Wreturn-type] 263 | }; | ^ mysql/mysql_impl.c: In function 'mysql_dbimpl_process_binary': mysql/mysql_impl.c:337:1: warning: control reaches end of non-void function [-Wreturn-type] 337 | }; | ^ mysql/mysql_impl.c: In function 'mysql_dbimpl_verify_installed_versus_cve': mysql/mysql_impl.c:661:1: warning: control reaches end of non-void function [-Wreturn-type] 661 | }; | ^ mysql/mysql_impl.c: In function 'mysql_dbimpl_initialize_databases': mysql/mysql_impl.c:748:1: warning: control reaches end of non-void function [-Wreturn-type] 748 | }; | ^ mysql/mysql_impl.c: In function 'mysql_dbimpl_verify_installed_versus_cve': mysql/mysql_impl.c:646:7: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 646 | strncpy(cpedata.vendor, row[6], FIELDSIZE); | ^ mysql/mysql_impl.c:647:7: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 647 | strncpy(cpedata.product, row[7], FIELDSIZE); | ^ mysql/mysql_impl.c:648:7: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 648 | strncpy(cpedata.version, row[8], FIELDSIZE); | ^ mysql/mysql_impl.c:649:7: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 649 | strncpy(cpedata.update, row[9], FIELDSIZE); | ^ mysql/mysql_impl.c:650:7: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 650 | strncpy(cpedata.edition, row[10], FIELDSIZE); | ^ mysql/mysql_impl.c:651:7: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 651 | strncpy(cpedata.language, row[11], FIELDSIZE); | ^ mysql/mysql_impl.c:652:7: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 652 | strncpy(cpedata.swedition, row[12], FIELDSIZE); | ^ mysql/mysql_impl.c:653:7: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 653 | strncpy(cpedata.targetsw, row[13], FIELDSIZE); | ^ mysql/mysql_impl.c:654:7: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 654 | strncpy(cpedata.targethw, row[14], FIELDSIZE); | ^ mysql/mysql_impl.c:655:7: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 655 | strncpy(cpedata.other, row[15], FIELDSIZE); | ^ mysql/mysql_impl.c:390:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 390 | strncpy(cpedata.vendor, row[6], FIELDSIZE); | ^ mysql/mysql_impl.c:391:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 391 | strncpy(cpedata.product, row[7], FIELDSIZE); | ^ mysql/mysql_impl.c:392:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 392 | strncpy(cpedata.version, row[8], FIELDSIZE); | ^ mysql/mysql_impl.c:393:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 393 | strncpy(cpedata.update, row[9], FIELDSIZE); | ^ mysql/mysql_impl.c:394:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 394 | strncpy(cpedata.edition, row[10], FIELDSIZE); | ^ mysql/mysql_impl.c:395:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 395 | strncpy(cpedata.language, row[11], FIELDSIZE); | ^ mysql/mysql_impl.c:396:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 396 | strncpy(cpedata.swedition, row[12], FIELDSIZE); | ^ mysql/mysql_impl.c:397:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 397 | strncpy(cpedata.targetsw, row[13], FIELDSIZE); | ^ mysql/mysql_impl.c:398:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 398 | strncpy(cpedata.targethw, row[14], FIELDSIZE); | ^ mysql/mysql_impl.c:399:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 399 | strncpy(cpedata.other, row[15], FIELDSIZE); | ^ mysql/mysql_impl.c:360:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 360 | strncpy(cpedata.vendor, row[6], FIELDSIZE); | ^ mysql/mysql_impl.c:361:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 361 | strncpy(cpedata.product, row[7], FIELDSIZE); | ^ mysql/mysql_impl.c:362:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 362 | strncpy(cpedata.version, row[8], FIELDSIZE); | ^ mysql/mysql_impl.c:363:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 363 | strncpy(cpedata.update, row[9], FIELDSIZE); | ^ mysql/mysql_impl.c:364:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 364 | strncpy(cpedata.edition, row[10], FIELDSIZE); | ^ mysql/mysql_impl.c:365:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 365 | strncpy(cpedata.language, row[11], FIELDSIZE); | ^ mysql/mysql_impl.c:366:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 366 | strncpy(cpedata.swedition, row[12], FIELDSIZE); | ^ mysql/mysql_impl.c:367:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 367 | strncpy(cpedata.targetsw, row[13], FIELDSIZE); | ^ mysql/mysql_impl.c:368:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 368 | strncpy(cpedata.targethw, row[14], FIELDSIZE); | ^ mysql/mysql_impl.c:369:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 369 | strncpy(cpedata.other, row[15], FIELDSIZE); | ^ mysql/mysql_impl.c: In function 'mysql_dbimpl_report_installed': mysql/mysql_impl.c:768:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 768 | strncpy(cpedata.vendor, row[2], FIELDSIZE); | ^ mysql/mysql_impl.c:769:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 769 | strncpy(cpedata.product, row[3], FIELDSIZE); | ^ mysql/mysql_impl.c:770:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 770 | strncpy(cpedata.version, row[4], FIELDSIZE); | ^ mysql/mysql_impl.c:771:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 771 | strncpy(cpedata.update, row[5], FIELDSIZE); | ^ mysql/mysql_impl.c:772:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 772 | strncpy(cpedata.edition, row[6], FIELDSIZE); | ^ mysql/mysql_impl.c:773:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 773 | strncpy(cpedata.language, row[7], FIELDSIZE); | ^ mysql/mysql_impl.c:774:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 774 | strncpy(cpedata.swedition, row[8], FIELDSIZE); | ^ mysql/mysql_impl.c:775:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 775 | strncpy(cpedata.targetsw, row[9], FIELDSIZE); | ^ mysql/mysql_impl.c:776:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 776 | strncpy(cpedata.targethw, row[10], FIELDSIZE); | ^ mysql/mysql_impl.c:777:5: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 777 | strncpy(cpedata.other, row[11], FIELDSIZE); | ^ make[2]: Entering directory '/builddir/build/BUILD/cvechecker-cvechecker-4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_USE_SQLITE3 -D_USE_MYSQL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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-cvechecker-4.0/src' sqlite3/sqlite3_impl.c: In function 'feed_cpe_versions_table': sqlite3/sqlite3_impl.c:243:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 243 | for (d = 0; d < 15; d++) | ^~~ sqlite3/sqlite3_impl.c:247:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 247 | zero_string(stmt, SQLLINESIZE); | ^~~~~~~~~~~ sqlite3/sqlite3_impl.c: In function 'get_cpe_dataresult': sqlite3/sqlite3_impl.c:76:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 76 | strncpy(ws->cpebuffer.other, argv[i], FIELDSIZE); | ^ sqlite3/sqlite3_impl.c:72:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 72 | strncpy(ws->cpebuffer.targethw, argv[i], FIELDSIZE); | ^ sqlite3/sqlite3_impl.c:68:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 68 | strncpy(ws->cpebuffer.targetsw, argv[i], FIELDSIZE); | ^ sqlite3/sqlite3_impl.c:64:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 64 | strncpy(ws->cpebuffer.swedition, argv[i], FIELDSIZE); | ^ sqlite3/sqlite3_impl.c:60:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 60 | strncpy(ws->cpebuffer.language, argv[i], FIELDSIZE); | ^ sqlite3/sqlite3_impl.c:56:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 56 | strncpy(ws->cpebuffer.edition, argv[i], FIELDSIZE); | ^ sqlite3/sqlite3_impl.c:52:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 52 | strncpy(ws->cpebuffer.update, argv[i], FIELDSIZE); | ^ sqlite3/sqlite3_impl.c:48:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 48 | strncpy(ws->cpebuffer.version, argv[i], FIELDSIZE); | ^ sqlite3/sqlite3_impl.c:44:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 44 | strncpy(ws->cpebuffer.product, argv[i], FIELDSIZE); | ^ sqlite3/sqlite3_impl.c:40:25: warning: 'strncpy' specified bound 128 equals destination size [-Wstringop-truncation] 40 | strncpy(ws->cpebuffer.vendor, argv[i], FIELDSIZE); | ^ sqlite3/sqlite3_impl.c: In function 'get_filelist': sqlite3/sqlite3_impl.c:99:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 99 | strncpy(filename, argv[i], FILENAMESIZE); | ^ sqlite3/sqlite3_impl.c:95:25: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] 95 | strncpy(basedir, argv[i], FILENAMESIZE); | ^ sqlite3/sqlite3_impl.c: In function 'find_cpe_for_software': sqlite3/sqlite3_impl.c:1034:22: warning: '0)' directive writing 2 bytes into a region of size between 1 and 4096 [-Wformat-overflow=] 1034 | sprintf(inset2, "%s0)", inset1); | ^~ In file included from /usr/include/stdio.h:906, from sqlite3/../swstring.h:2, from sqlite3/sqlite3_impl.h:6, from sqlite3/sqlite3_impl.c:1: In function 'sprintf', inlined from 'find_cpe_for_software' at sqlite3/sqlite3_impl.c:1034:3: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 3 and 4098 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ sqlite3/sqlite3_impl.c: In function 'find_cpe_for_software': sqlite3/sqlite3_impl.c:1031:26: warning: ',' directive writing 1 byte into a region of size between 0 and 4095 [-Wformat-overflow=] 1031 | sprintf(inset2, "%s%d,", inset1, cpeid); | ^ In function 'sprintf', inlined from 'find_cpe_for_software' at sqlite3/sqlite3_impl.c:1031:5: /usr/include/bits/stdio2.h:30:10: note: '__sprintf_chk' output between 3 and 4108 bytes into a destination of size 4096 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/cvechecker-cvechecker-4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_USE_SQLITE3 -D_USE_MYSQL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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-cvechecker-4.0/src' make[2]: Entering directory '/builddir/build/BUILD/cvechecker-cvechecker-4.0/src' gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o cvechecker cvecheck.o swstring.o output/stringscmd.o sqlite3/sqlite3_impl.o mysql/mysql_impl.o -lconfig -lbsd -L/usr/lib64/ -lmariadb -lsqlite3 make[2]: Leaving directory '/builddir/build/BUILD/cvechecker-cvechecker-4.0/src' /usr/bin/ld: cannot find -lmd: No such file or directory collect2: error: ld returned 1 exit status make[2]: *** [Makefile:395: cvechecker] Error 1 make[1]: *** [Makefile:367: all-recursive] Error 1 make: *** [Makefile:308: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.JxQBVi (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.JxQBVi (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/cvechecker.spec