D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/yencode-0.46-23.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.SIszq6 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ataXMM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/yencode-0.46-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 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/yencode-0.46-fix-str-fmt.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/yencode-missing-include.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i 's|egrep|grep -E|g' configure + 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.RcJDos + umask 022 + cd /home/pterjan/rpmbuild/BUILD/yencode-0.46-build + 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 + 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... gcc -E checking for ANSI C header files... no checking for errno.h... yes checking for getopt.h... yes checking for libintl.h... yes checking for memory.h... yes checking for stdarg.h... yes checking for stddef.h... yes checking for stdlib.h... yes checking for string.h... yes checking for strings.h... yes checking for termios.h... yes checking for time.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking for arpa/inet.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for pwd.h... yes checking for signal.h... yes checking for sys/socket.h... yes checking for sys/utsname.h... 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... int 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... yes checking for limits.h... yes checking for locale.h... yes checking for nl_types.h... yes checking for malloc.h... 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... 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 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 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-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 input.c || echo './'`input.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:195: input.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-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 path.c || echo './'`path.c gcc: fatal error: cannot execute '/usr/lib/gcc/x86_64-mageia-linux/15/cc1': posix_spawn: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:195: path.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-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 error.c || echo './'`error.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:195: error.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-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 timer.c || echo './'`timer.c gcc: fatal error: cannot execute 'as': posix_spawnp: Resource temporarily unavailable compilation terminated. make[2]: *** [Makefile:195: timer.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-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 getopt.c:41:12: warning: conflicting types for built-in function 'strncmp'; expected 'int(const char *, const char *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 41 | extern int strncmp(); | ^~~~~~~ getopt.c:31:1: note: 'strncmp' is declared in header '' 30 | #include +++ |+#include 31 | #endif make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-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-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-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 xstrdup.c: In function 'xstrdup': xstrdup.c:38:1: warning: old-style function definition [-Wold-style-definition] 38 | xstrdup (string) | ^~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-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-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-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:33:14: error: conflicting types for 'malloc'; have 'void *(void)' 33 | extern void *malloc (), *realloc (); | ^~~~~~ In file included from xmalloc.c:31: /usr/include/stdlib.h:672:14: note: previous declaration of 'malloc' with type 'void *(long unsigned int)' 672 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ | ^~~~~~ xmalloc.c:33:26: error: conflicting types for 'realloc'; have 'void *(void)' 33 | extern void *malloc (), *realloc (); | ^~~~~~~ /usr/include/stdlib.h:683:14: note: previous declaration of 'realloc' with type 'void *(void *, long unsigned int)' 683 | extern void *realloc (void *__ptr, size_t __size) | ^~~~~~~ xmalloc.c: In function 'xmalloc': xmalloc.c:46:1: warning: old-style function definition [-Wold-style-definition] 46 | xmalloc (bytes) | ^~~~~~~ xmalloc.c:49:16: error: too many arguments to function 'malloc'; expected 0, have 1 49 | void *temp = malloc (bytes); | ^~~~~~ ~~~~~ xmalloc.c:33:14: note: declared here 33 | extern void *malloc (), *realloc (); | ^~~~~~ xmalloc.c:52:5: error: too many arguments to function 'memory_error_and_abort'; expected 0, have 1 52 | memory_error_and_abort ("xmalloc"); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ xmalloc.c:34:13: note: declared here 34 | static void memory_error_and_abort (); | ^~~~~~~~~~~~~~~~~~~~~~ xmalloc.c: In function 'xrealloc': xmalloc.c:57:1: warning: old-style function definition [-Wold-style-definition] 57 | xrealloc (pointer, bytes) | ^~~~~~~~ xmalloc.c:64:12: error: too many arguments to function 'malloc'; expected 0, have 1 64 | temp = malloc (bytes); | ^~~~~~ ~~~~~ xmalloc.c:33:14: note: declared here 33 | extern void *malloc (), *realloc (); | ^~~~~~ xmalloc.c:66:12: error: too many arguments to function 'realloc'; expected 0, have 2 66 | temp = realloc (pointer, bytes); | ^~~~~~~ ~~~~~~~ xmalloc.c:33:26: note: declared here 33 | extern void *malloc (), *realloc (); | ^~~~~~~ xmalloc.c:69:5: error: too many arguments to function 'memory_error_and_abort'; expected 0, have 1 69 | memory_error_and_abort ("xrealloc"); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ xmalloc.c:34:13: note: declared here 34 | static void memory_error_and_abort (); | ^~~~~~~~~~~~~~~~~~~~~~ xmalloc.c: In function 'memory_error_and_abort': xmalloc.c:75:1: warning: old-style function definition [-Wold-style-definition] 75 | memory_error_and_abort (fname) | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:195: xmalloc.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-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:95:14: error: conflicting types for 'strerror'; have 'char *(void)' 95 | extern char *strerror (); | ^~~~~~~~ In file included from /usr/include/memory.h:29, from misc.h:70: /usr/include/string.h:419:14: note: previous declaration of 'strerror' with type 'char *(int)' 419 | extern char *strerror (int __errnum) __THROW; | ^~~~~~~~ misc.h:99:12: error: conflicting types for 'strcasecmp'; have 'int(void)' 99 | extern int strcasecmp (); | ^~~~~~~~~~ In file included from /usr/include/string.h:462: /usr/include/strings.h:116:12: note: previous declaration of 'strcasecmp' with type 'int(const char *, const char *)' 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ^~~~~~~~~~ misc.h:103:12: error: conflicting types for 'strncasecmp'; have 'int(void)' 103 | extern int strncasecmp (); | ^~~~~~~~~~~ /usr/include/strings.h:120:12: note: previous declaration of 'strncasecmp' with type 'int(const char *, const char *, long unsigned int)' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ^~~~~~~~~~~ misc.h:107:12: error: conflicting types for 'strcoll'; have 'int(void)' 107 | extern int strcoll (); | ^~~~~~~ /usr/include/string.h:163:12: note: previous declaration of 'strcoll' with type 'int(const char *, const char *)' 163 | extern int strcoll (const char *__s1, const char *__s2) | ^~~~~~~ getoptstr.c: In function 'getoptstr': getoptstr.c:40:26: error: too many arguments to function 'xmalloc'; expected 0, have 1 40 | optstr = (char *)xmalloc(((opts * 3) + 1) * sizeof(char)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.h:333:14: note: declared here 333 | extern void *xmalloc(), *xrealloc(); | ^~~~~~~ misc.h: At top level: misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[2]: *** [Makefile:195: getoptstr.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-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 screen.c || echo './'`screen.c In file included from screen.c:21: misc.h:95:14: error: conflicting types for 'strerror'; have 'char *(void)' 95 | extern char *strerror (); | ^~~~~~~~ In file included from /usr/include/memory.h:29, from misc.h:70: /usr/include/string.h:419:14: note: previous declaration of 'strerror' with type 'char *(int)' 419 | extern char *strerror (int __errnum) __THROW; | ^~~~~~~~ misc.h:99:12: error: conflicting types for 'strcasecmp'; have 'int(void)' 99 | extern int strcasecmp (); | ^~~~~~~~~~ In file included from /usr/include/string.h:462: /usr/include/strings.h:116:12: note: previous declaration of 'strcasecmp' with type 'int(const char *, const char *)' 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ^~~~~~~~~~ misc.h:103:12: error: conflicting types for 'strncasecmp'; have 'int(void)' 103 | extern int strncasecmp (); | ^~~~~~~~~~~ /usr/include/strings.h:120:12: note: previous declaration of 'strncasecmp' with type 'int(const char *, const char *, long unsigned int)' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ^~~~~~~~~~~ misc.h:107:12: error: conflicting types for 'strcoll'; have 'int(void)' 107 | extern int strcoll (); | ^~~~~~~ /usr/include/string.h:163:12: note: previous declaration of 'strcoll' with type 'int(const char *, const char *)' 163 | extern int strcoll (const char *__s1, const char *__s2) | ^~~~~~~ make[2]: *** [Makefile:195: screen.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-build/yencode-0.46/lib' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-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 string.c || echo './'`string.c /bin/sh: fork: retry: Resource temporarily unavailable In file included from string.c:21: misc.h:95:14: error: conflicting types for 'strerror'; have 'char *(void)' 95 | extern char *strerror (); | ^~~~~~~~ In file included from /usr/include/memory.h:29, from misc.h:70: /usr/include/string.h:419:14: note: previous declaration of 'strerror' with type 'char *(int)' 419 | extern char *strerror (int __errnum) __THROW; | ^~~~~~~~ misc.h:99:12: error: conflicting types for 'strcasecmp'; have 'int(void)' 99 | extern int strcasecmp (); | ^~~~~~~~~~ In file included from /usr/include/string.h:462: /usr/include/strings.h:116:12: note: previous declaration of 'strcasecmp' with type 'int(const char *, const char *)' 116 | extern int strcasecmp (const char *__s1, const char *__s2) | ^~~~~~~~~~ misc.h:103:12: error: conflicting types for 'strncasecmp'; have 'int(void)' 103 | extern int strncasecmp (); | ^~~~~~~~~~~ /usr/include/strings.h:120:12: note: previous declaration of 'strncasecmp' with type 'int(const char *, const char *, long unsigned int)' 120 | extern int strncasecmp (const char *__s1, const char *__s2, size_t __n) | ^~~~~~~~~~~ misc.h:107:12: error: conflicting types for 'strcoll'; have 'int(void)' 107 | extern int strcoll (); | ^~~~~~~ /usr/include/string.h:163:12: note: previous declaration of 'strcoll' with type 'int(const char *, const char *)' 163 | extern int strcoll (const char *__s1, const char *__s2) | ^~~~~~~ In file included from string.c:22: /usr/include/stdlib.h:773:14: error: conflicting types for 'getenv'; have 'char *(const char *)' 773 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur; | ^~~~~~ misc.h:61:14: note: previous declaration of 'getenv' with type 'char *(void)' 61 | extern char *getenv (); | ^~~~~~ string.c: In function 'bytestr': string.c:47:88: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 47 | snprintf(numbuf, sizeof(numbuf), "%lluT", number); | ~~~^ ~~~~~~ | | | | | u_int64_t {aka long unsigned int} | long long unsigned int | %lu string.c:48:83: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 48 | } else snprintf(numbuf, sizeof(numbuf), "%lluG", number); | ~~~^ ~~~~~~ | | | | | u_int64_t {aka long unsigned int} | long long unsigned int | %lu string.c:49:69: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 49 | } else snprintf(numbuf, sizeof(numbuf), "%lluM", number); | ~~~^ ~~~~~~ | | | | | u_int64_t {aka long unsigned int} | long long unsigned int | %lu string.c:50:61: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 50 | } else snprintf(numbuf, sizeof(numbuf), "%lluk", number); | ~~~^ ~~~~~~ | | | | | u_int64_t {aka long unsigned int} | long long unsigned int | %lu string.c:51:53: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 4 has type 'u_int64_t' {aka 'long unsigned int'} [-Wformat=] 51 | } else snprintf(numbuf, sizeof(numbuf), "%llu", number); | ~~~^ ~~~~~~ | | | | | u_int64_t {aka long unsigned int} | long long unsigned int | %lu string.c:52:17: error: too many arguments to function 'xstrdup'; expected 0, have 1 52 | return (xstrdup(numbuf)); | ^~~~~~~ ~~~~~~ misc.h:334:14: note: declared here 334 | extern char *xstrdup(); | ^~~~~~~ string.c: In function 'sdprintf': string.c:247:32: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 247 | destlen = (d) ? strlen(d) : 0; | ^ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ string.c:249:8: error: too many arguments to function 'xrealloc'; expected 0, have 2 249 | d = xrealloc(d, destlen + msglen + 1); | ^~~~~~~~ ~ misc.h:333:26: note: declared here 333 | extern void *xmalloc(), *xrealloc(); | ^~~~~~~~ misc.h: At top level: misc.h:338:20: warning: inline function 'charline' declared but never defined 338 | extern inline void charline(char c); | ^~~~~~~~ make[2]: *** [Makefile:195: string.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/yencode-0.46-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.RcJDos (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.RcJDos (%build) I: [iurt_root_command] ERROR: chroot