D: [iurt_root_command] chroot sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/lynx-2.8.9-0.rel1.5.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JywlEU + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf lynx2.8.9rel.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/lynx2.8.9rel.1.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd lynx2.8.9rel.1 + rm -rf /home/pterjan/rpmbuild/BUILD/lynx2.8.9rel.1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/lynx2.8.9rel.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/lynx-2.8.9-adapt-to-modern-file-localizations.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/lynx-2.8.9-default-config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/lynx2-8-6-fix-ugly-color.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/lynx2-8-7-tmp_dir.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/lynx2-8-6-don-t-accept-command-line-args-to-telnet.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/90_CVE-2021-38165.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + perl -pi -e 's,^#LOCALE_CHARSET:.*,LOCALE_CHARSET:TRUE,' lynx.cfg + 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.Pg9eAT + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd lynx2.8.9rel.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ cat + debian_options=' --enable-warnings --enable-8bit-toupper --enable-externs --enable-cgi-links --enable-persistent-cookies --enable-nls --enable-prettysrc --enable-source-cache --enable-charset-choice --enable-default-colors --enable-ipv6 --enable-nested-tables --enable-read-eta --with-zlib' ++ cat + redhat_options=' --with-screen=ncursesw --enable-internal-links --enable-libjs --enable-scrollbar --enable-file-upload --enable-locale-charset --with-ssl=/usr/lib64 --enable-addrlist-page --enable-justify-elts' ++ cat + other_options=' --enable-color-style --enable-nsl-fork --enable-debug --disable-rpath-hack' + 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 + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./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 --libdir=/usr/share/lynx --enable-warnings --enable-8bit-toupper --enable-externs --enable-cgi-links --enable-persistent-cookies --enable-nls --enable-prettysrc --enable-source-cache --enable-charset-choice --enable-default-colors --enable-ipv6 --enable-nested-tables --enable-read-eta --with-zlib --with-screen=ncursesw --enable-internal-links --enable-libjs --enable-scrollbar --enable-file-upload --enable-locale-charset --with-ssl=/usr/lib64 --enable-addrlist-page --enable-justify-elts --enable-color-style --enable-nsl-fork --enable-debug --disable-rpath-hack checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking target system type... x86_64-mageia-linux-gnu Configuring for linux-gnu checking for DESTDIR... checking for x86_64-mageia-linux-gnu-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 executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking version of gcc... 14.1.0 checking for gcc option to accept ANSI C... none needed checking $CC variable... ok checking how to run the C preprocessor... egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E gcc -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E checking if preprocessor -C option works... yes checking whether ln -s works... yes checking whether make sets ${MAKE}... yes checking for a BSD compatible install... /usr/bin/install -c checking for bison... no checking for byacc... no checking for lint... no checking for cppcheck... no checking for splint... no checking for makeflags variable... fgrep: warning: fgrep is obsolescent; using grep -F checking if filesystem supports mixed-case filenames... yes checking for exctags... no checking for ctags... ctags checking for exetags... no checking for etags... no checking for ctags... yes checking for etags... no checking for x86_64-mageia-linux-gnu-windres... no checking for windres... none checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for options to update archives... -curvU checking if you want to see long compiling messages... yes checking if you want to check memory-leaks... no checking if you want to enable debug-code... yes checking if you want to enable lynx trace code *recommended* ... yes checking if you want verbose trace code... no checking if you want to turn on gcc warnings... yes configure: checking for gcc __attribute__ directives... ... scanf ... printf ... unused ... noreturn checking if this is really Intel C compiler... no checking if this is really Clang C compiler... no configure: checking for gcc warning options... ... -W ... -Wall ... -Wbad-function-cast ... -Wcast-align ... -Wcast-qual ... -Wdeclaration-after-statement ... -Wextra ... -Winline ... -Wmissing-declarations ... -Wmissing-prototypes ... -Wnested-externs ... -Wpointer-arith ... -Wshadow ... -Wstrict-prototypes ... -Wundef ... -Wignored-qualifiers ... -Wlogical-op ... -Wvarargs checking if you want to use dbmalloc for testing... no checking if you want to use dmalloc for testing... no checking $CC variable... ok checking for gcc option to accept ANSI C... -DCC_HAS_PROTOS checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for _LARGEFILE_SOURCE value needed for large files... no checking for fseeko... yes checking whether to use struct dirent64... no checking for PATH separator... : checking for msginit... /usr/bin/msginit checking for x86_64-mageia-linux-gnu-ranlib... ranlib checking for ANSI C header files... egrep: warning: egrep is obsolescent; using grep -E yes checking for inline... inline 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 for off_t... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... yes checking for working mmap... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for argz.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for limits.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for locale.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for nl_types.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for malloc.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for stddef.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for feof_unlocked... yes checking for fgets_unlocked... yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for stpcpy... yes checking for strchr... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for __argz_count... yes checking for __argz_stringify... yes checking for __argz_next... yes checking for iconv... yes checking if the declaration of iconv() needs const.... no checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for libintl.h and gettext()... yes checking for dcgettext... yes checking for catalogs to be installed... ca cs da de eo et fi fr hu id it ja nl pt_BR ru sl sv tr uk vi zh_CN zh_TW en checking if we should use included message-library... yes checking for libintl.h... egrep: warning: egrep is obsolescent; using grep -E yes checking if you want full utility pathnames... yes checking for system mailer... unknown checking system mail flags... -t -oi checking if we must define _GNU_SOURCE... yes checking if we should also define _DEFAULT_SOURCE... yes checking if _XOPEN_SOURCE really is set... yes checking if SIGWINCH is defined... yes checking if you want NSS compatible SSL libraries... no checking if you want ssl library... /usr/lib64 checking if you want gnutls support... no checking if you want gnutls-openssl compat... no checking if you want socks library... no checking if you want socks5 library... no checking for network libraries... working... checking for gethostname... yes checking for main in -linet... no checking for socket... yes checking for gethostbyname... yes checking for inet_ntoa... yes checking for gethostbyname... (cached) yes checking for strcasecmp... (cached) yes checking for inet_aton function... yes checking if you want to use pkg-config... yes checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking for dlsym in -ldl... yes checking for X509 support... yes checking whether to enable ipv6... yes checking ipv6 stack type... linux-glibc checking for IPv6 library if required... none checking working getaddrinfo... yes checking for screen type... ncursesw checking for specific curses-directory... no checking for multibyte character support... no checking pkg-config for ncursesw... yes checking if the ncursesw package files work... no Looking for ncursesw-config checking for x86_64-mageia-linux-gnu-ncursesw-config... no checking for x86_64-mageia-linux-gnu-ncursesw6-config... no checking for x86_64-mageia-linux-gnu-ncursesw6-config... no checking for x86_64-mageia-linux-gnu-ncursesw5-config... no checking for ncursesw-config... no checking for ncursesw6-config... ncursesw6-config checking if we have identified curses headers... none configure: error: No curses header-files found error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Pg9eAT (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.Pg9eAT (%build) I: [iurt_root_command] ERROR: chroot