D: [iurt_root_command] chroot warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/yencode-0.46-22.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Wz3PZR + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf yencode-0.46 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/yencode-0.46.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd yencode-0.46 + rm -rf /home/pterjan/rpmbuild/BUILD/yencode-0.46-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/yencode-0.46-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (yencode-0.46-fix-str-fmt.patch):' Patch #0 (yencode-0.46-fix-str-fmt.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file src/ypost/sock.c + 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.C89xmw + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd yencode-0.46 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + 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 checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for mawk... (cached) gawk 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 for style of include used by make... fgrep: warning: fgrep is obsolescent; using grep -F GNU checking dependency style of gcc... none checking for a BSD compatible install... /usr/bin/install -c checking whether ln -s works... yes checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib 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 for ANSI C header files... egrep: warning: egrep is obsolescent; using grep -E no checking for errno.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for getopt.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for libintl.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for memory.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for stdarg.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... egrep: warning: egrep is obsolescent; using grep -E yes checking for string.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for strings.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for termios.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for time.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for sys/time.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for unistd.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for arpa/inet.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for netdb.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for netinet/in.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for pwd.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for signal.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for sys/socket.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for sys/utsname.h... egrep: warning: egrep is obsolescent; using grep -E yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for stdlib.h... (cached) yes checking for working malloc... yes checking return type of signal handlers... void checking for gettimeofday... yes checking for memset... yes checking for setlocale... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strstr... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for strerror in -lcposix... no checking for inline... inline checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... (cached) 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... (cached) 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... (cached) yes checking for stpcpy... yes checking for strchr... (cached) yes checking for strcasecmp... yes checking for strdup... (cached) 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 for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); 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 libintl.h... (cached) yes checking for GNU gettext in libc... yes checking for dcgettext... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for bison... no configure: creating ./config.status config.status: creating Makefile config.status: creating intl/Makefile config.status: creating po/Makefile.in config.status: creating lib/Makefile config.status: creating src/Makefile config.status: creating src/ypost/Makefile config.status: creating doc/Makefile config.status: creating config.h egrep: warning: egrep is obsolescent; using grep -E config.status: creating po/POTFILES config.status: creating po/Makefile yencode version 0.46 configured for x86_64-pc-linux-gnu ---------------------------------------------------------------------------- Type `make' to build the package. Type `make install' to install the package. + /usr/bin/make -O -j48 V=1 VERBOSE=1 cd . \ && CONFIG_FILES= CONFIG_HEADERS=config.h \ /bin/sh ./config.status config.status: creating config.h egrep: warning: egrep is obsolescent; using grep -E config.status: config.h is unchanged /usr/bin/make all-recursive Making all in intl make[2]: Nothing to be done for 'all'. Making all in po make[2]: Nothing to be done for 'all'. Making all in lib make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -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 `test -f alloca.c || echo './'`alloca.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -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 `test -f xmalloc.c || echo './'`xmalloc.c xmalloc.c: In function 'xmalloc': xmalloc.c:48:24: warning: 'malloc' argument 1 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 48 | void *temp = malloc (bytes); | ^~~~~ xmalloc.c:32:14: note: built-in 'malloc' declared here 32 | extern void *malloc (), *realloc (); | ^~~~~~ xmalloc.c: In function 'xrealloc': xmalloc.c:63:20: warning: 'malloc' argument 1 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 63 | temp = malloc (bytes); | ^~~~~ xmalloc.c:32:14: note: built-in 'malloc' declared here 32 | extern void *malloc (), *realloc (); | ^~~~~~ xmalloc.c:65:30: warning: 'realloc' argument 2 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 65 | temp = realloc (pointer, bytes); | ^~~~~ xmalloc.c:32:26: note: built-in 'realloc' declared here 32 | extern void *malloc (), *realloc (); | ^~~~~~~ xmalloc.c: In function 'memory_error_and_abort': xmalloc.c:78:3: error: implicit declaration of function 'abort' [-Wimplicit-function-declaration] 78 | abort (); | ^~~~~ xmalloc.c:31:1: note: include '' or provide a declaration of 'abort' 30 | #include +++ |+#include 31 | xmalloc.c:78:3: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] 78 | abort (); | ^~~~~ xmalloc.c:78:3: note: include '' or provide a declaration of 'abort' make[2]: *** [Makefile:195: xmalloc.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46/lib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -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 `test -f xstrdup.c || echo './'`xstrdup.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -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 `test -f getopt1.c || echo './'`getopt1.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -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 `test -f getopt.c || echo './'`getopt.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46/lib' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../intl -Wall -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 `test -f getoptstr.c || echo './'`getoptstr.c In file included from getoptstr.c:21: misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46/lib' make[1]: *** [Makefile:171: all-recursive] Error 1 make: *** [Makefile:117: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.C89xmw (%build) RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.C89xmw (%build) I: [iurt_root_command] ERROR: chroot