D: [iurt_root_command] chroot sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/cvechecker-4.0-2.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XTxEFh + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf cvechecker-cvechecker-4.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/cvechecker-4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd cvechecker-cvechecker-4.0 + rm -rf /home/pterjan/rpmbuild/BUILD/cvechecker-cvechecker-4.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/cvechecker-cvechecker-4.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2pVUuY + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd cvechecker-cvechecker-4.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:27: warning: The macro 'AC_GNU_SOURCE' is obsolete. configure.ac:27: You should run autoupdate. ./lib/autoconf/specific.m4:489: AC_GNU_SOURCE is expanded from... configure.ac:27: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:26: installing './compile' autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-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 --localstatedir=/var/lib --enable-sqlite3 --enable-mysql checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... true checking filesystem timestamp resolution... 0.01 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 xargs -n works... yes checking Determining host operating system... Linux checking for x86_64-mageia-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 x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-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... yes checking for size_t... yes configure: WARNING: Please make sure pkg-config is installed and autoreconf run checking for libbsd... yes checking for libconfig >= 1.3... yes checking for sqlite3 >= 3.6.16... 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 + /usr/bin/make -O -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cvechecker-cvechecker-4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_USE_SQLITE3 -D_USE_MYSQL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o mysql/mysql_impl.o mysql/mysql_impl.c mysql/mysql_impl.c: In function 'mysql_dbimpl_add_cpe_to_database': mysql/mysql_impl.c:114:8: error: 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: error: 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: error: implicit declaration of function 'copy_cpe_bare' [-Wimplicit-function-declaration] 232 | copy_cpe_bare(&parentcpe, &cpe); | ^~~~~~~~~~~~~ make[2]: *** [Makefile:431: mysql/mysql_impl.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cvechecker-cvechecker-4.0/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cvechecker-cvechecker-4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_USE_SQLITE3 -D_USE_MYSQL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o swstring.o swstring.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cvechecker-cvechecker-4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cvechecker-cvechecker-4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_USE_SQLITE3 -D_USE_MYSQL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o output/stringscmd.o output/stringscmd.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cvechecker-cvechecker-4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cvechecker-cvechecker-4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_USE_SQLITE3 -D_USE_MYSQL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sqlite3/sqlite3_impl.o sqlite3/sqlite3_impl.c 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:980, 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: '__builtin___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: '__builtin___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]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cvechecker-cvechecker-4.0/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/cvechecker-cvechecker-4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -D_USE_SQLITE3 -D_USE_MYSQL -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o cvecheck.o cvecheck.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/cvechecker-cvechecker-4.0/src' make[1]: *** [Makefile:373: all-recursive] Error 1 make: *** [Makefile:314: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.2pVUuY (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.2pVUuY (%build) I: [iurt_root_command] ERROR: chroot