D: [iurt_root_command] chroot warning: line 13: It's not recommended to have unversioned Obsoletes: Obsoletes: bin86 warning: %patchN is deprecated (4 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/dev86-0.16.21-8.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hG1Z8S + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf dev86-0.16.21 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/Dev86src-0.16.21.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dev86-0.16.21 + rm -rf /home/pterjan/rpmbuild/BUILD/dev86-0.16.21-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/dev86-0.16.21-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (dev86-noelks.patch):' Patch #0 (dev86-noelks.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .noelks --fuzz=0 patching file makefile.in Hunk #1 succeeded at 92 (offset 3 lines). + echo 'Patch #1 (dev86-64bit.patch):' Patch #1 (dev86-64bit.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .64bit --fuzz=0 patching file bcc/bcc.c Hunk #1 succeeded at 233 (offset 7 lines). + echo 'Patch #2 (dev86-nostrip.patch):' Patch #2 (dev86-nostrip.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nostrip --fuzz=0 patching file makefile.in Hunk #1 succeeded at 81 (offset 3 lines). + echo 'Patch #4 (dev86-long.patch):' Patch #4 (dev86-long.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .long --fuzz=0 patching file ld/x86_aout.h + 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.hbLhZZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd dev86-0.16.21 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make bcc86 unproto copt as86 ld86 '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 -fno-strict-aliasing' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dev86-0.16.21' cc -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 -fno-strict-aliasing -DGNUMAKE -o ifdefg ifdef.c ./ifdefg -MU makefile.in >tmp.mak echo > tmp.sed [ "/usr/bin" != "//bin" ] || echo >> tmp.sed "s:%BINDIR%:/bin:" [ "/usr/lib/bcc" != "//lib/bcc" ] || echo >> tmp.sed "s:%LIBDIR%:/lib:" [ "/usr/lib/bcc" != "//lib/bcc" ] || echo >> tmp.sed "s:%INCLDIR%:/usr:" [ "/usr/bin" != "//bin" ] || echo >> tmp.sed "s:%ASLDDIR%:/bin:" [ "/usr/man" != "//man" ] || echo >> tmp.sed "s:%MANDIR%:/usr/man:" echo >> tmp.sed "s:%PREFIX%:/usr:" echo >> tmp.sed "s:%BINDIR%:/usr/bin:" echo >> tmp.sed "s:%INCLDIR%:/usr/lib/bcc:" echo >> tmp.sed "s:%LIBDIR%:/usr/lib/bcc:" echo >> tmp.sed "s:%ASLDDIR%:/usr/bin:" echo >> tmp.sed "s:%MANDIR%:/usr/man:" echo >> tmp.sed "s:%ELKSSRC%:/usr/src/elks:" echo >> tmp.sed "s:%CC%:cc:" echo >> tmp.sed "s:%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 -fno-strict-aliasing:" echo >> tmp.sed "s:%LDFLAGS%::" sed -f tmp.sed < tmp.mak > make.tmp mv -f make.tmp make.fil PATH="`pwd`/bin:$PATH" make -f make.fil VERSION=0.16.21 TOPDIR=`pwd` bcc86 make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dev86-0.16.21' echo '#define VERSION "'"0.16.21"'"' > bcc/version.h echo '#define VERSION "'"0.16.21"'"' > as/version.h echo '#define VERSION "'"0.16.21"'"' > bootblocks/version.h echo '#define VERSION "'"0.16.21"'"' > ld/version.h VER=0.16.21 ; \ echo "#define VER_MAJ ${VER%%.*}" >> bcc/version.h ; \ VER="${VER#*.}" ; \ echo "#define VER_MIN ${VER%.*}" >> bcc/version.h ; \ echo "#define VER_PAT ${VER#*.}" >> bcc/version.h make -C bcc CC='cc' 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 -fno-strict-aliasing' LDFLAGS='' PREFIX=/usr LIBDIR='/usr/lib/bcc' BINDIR='/usr/bin' ANSI='' BCCARCH='' bcc ncc bcc-cc1 make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dev86-0.16.21/bcc' cc -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 -fno-strict-aliasing -DLOCALPREFIX=/usr -DBINDIR=/usr/bin -DDEFARCH=0 bcc.c -o bcc bcc.c: In function 'command_reset': bcc.c:663:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 663 | fprintf(stderr, "PATH%d=%s\n", prefix-exec_prefixs, buf); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld bcc.c: In function 'run_unlink': bcc.c:767:27: warning: '%05d' directive writing between 5 and 11 bytes into a region of size between 4 and 10 [-Wformat-overflow=] 767 | sprintf(buf, "$$%04d%05d", i, getpid()); | ^~~~ In file included from /usr/include/stdio.h:980, from bcc.c:18: In function 'sprintf', inlined from 'run_unlink' at bcc.c:767:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 12 and 24 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc -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 -fno-strict-aliasing -DLOCALPREFIX= -DDEFARCH=0 bcc.c -o ncc bcc.c: In function 'command_reset': bcc.c:663:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=] 663 | fprintf(stderr, "PATH%d=%s\n", prefix-exec_prefixs, buf); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld bcc.c: In function 'run_unlink': bcc.c:767:27: warning: '%05d' directive writing between 5 and 11 bytes into a region of size between 4 and 10 [-Wformat-overflow=] 767 | sprintf(buf, "$$%04d%05d", i, getpid()); | ^~~~ In file included from /usr/include/stdio.h:980, from bcc.c:18: In function 'sprintf', inlined from 'run_unlink' at bcc.c:767:7: /usr/include/bits/stdio2.h:30:10: note: '__builtin___sprintf_chk' output between 12 and 24 bytes into a destination of size 16 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc -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 -fno-strict-aliasing -c bcc-cc1.c cc -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 -fno-strict-aliasing -c codefrag.c cc -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 -fno-strict-aliasing -c dbnode.c cc -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 -fno-strict-aliasing -c declare.c cc -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 -fno-strict-aliasing -c express.c cc -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 -fno-strict-aliasing -c exptree.c cc -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 -fno-strict-aliasing -c floatop.c cc -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 -fno-strict-aliasing -c function.c cc -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 -fno-strict-aliasing -c gencode.c cc -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 -fno-strict-aliasing -c genloads.c cc -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 -fno-strict-aliasing -c glogcode.c cc -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 -fno-strict-aliasing -c hardop.c cc -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 -fno-strict-aliasing -c input.c cc -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 -fno-strict-aliasing -c label.c cc -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 -fno-strict-aliasing -c loadexp.c cc -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 -fno-strict-aliasing -c longop.c cc -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 -fno-strict-aliasing -c output.c output.c: In function 'flushout': output.c:220:13: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 220 | write(2, "output file error\n", 18); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -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 -fno-strict-aliasing -c preproc.c cc -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 -fno-strict-aliasing -c preserve.c cc -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 -fno-strict-aliasing -c scan.c cc -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 -fno-strict-aliasing -c softop.c cc -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 -fno-strict-aliasing -c state.c cc -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 -fno-strict-aliasing -c table.c cc -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 -fno-strict-aliasing -c type.c cc -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 -fno-strict-aliasing -c assign.c cc -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 -fno-strict-aliasing -c hashcmd.c cc -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 -fno-strict-aliasing -c debug.c cc -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 -fno-strict-aliasing -c dbprintf.c dbprintf.c: In function 'dbprintf': dbprintf.c:24:9: error: implicit declaration of function 'vdbprintf'; did you mean 'dbprintf'? [-Wimplicit-function-declaration] 24 | rv = vdbprintf(fmt,ptr); | ^~~~~~~~~ | dbprintf dbprintf.c: In function 'putch': dbprintf.c:30:60: error: implicit declaration of function 'write' [-Wimplicit-function-declaration] 30 | static void putch(int ch) { static char buf[2]; *buf = ch; write(2,buf,1); } | ^~~~~ dbprintf.c: In function 'vdbprintf': dbprintf.c:110:20: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 110 | c = strlen(cp); | ^~~~~~ dbprintf.c:7:1: note: include '' or provide a declaration of 'strlen' 6 | #include +++ |+#include 7 | #define va_strt va_start dbprintf.c:110:20: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 110 | c = strlen(cp); | ^~~~~~ dbprintf.c:110:20: note: include '' or provide a declaration of 'strlen' make[3]: *** [Makefile:48: dbprintf.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dev86-0.16.21/bcc' make[2]: *** [make.fil:156: bcc86] Error 2 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dev86-0.16.21' make[1]: *** [Makefile:29: bcc86] Error 2 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dev86-0.16.21' make: *** [GNUmakefile:9: bcc86] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.hbLhZZ (%build) RPM build warnings: line 13: It's not recommended to have unversioned Obsoletes: Obsoletes: bin86 %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.hbLhZZ (%build) I: [iurt_root_command] ERROR: chroot