* Package: sys-devel/dev86-0.16.21-r3:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking Dev86src-0.16.21.tar.gz to /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work >>> Source unpacked in /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work >>> Preparing source in /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21 ... * Applying dev86-pic.patch ... [ ok ] * Applying dev86-0.16.19-fortify.patch ... [ ok ] * Applying dev86-0.16.21-non-void-return-clang.patch ... [ ok ] * Applying dev86-0.16.21-make.patch ... [ ok ] * Applying dev86-0.16.21-void-return-check-msdos-clang-fix.patch ... [ ok ] * Not compiling elksemu on amd64 >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21 ... make -j4 -j1 CC=x86_64-pc-linux-gnu-gcc LIBDIR=/usr/lib64/bcc INCLDIR=/usr/lib64/bcc all make[1]: Entering directory '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21' x86_64-pc-linux-gnu-gcc -O -DGNUMAKE -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ifdefg ifdef.c ./ifdefg -MU makefile.in >tmp.mak echo > tmp.sed [ "/usr/bin" != "//bin" ] || echo >> tmp.sed "s:%BINDIR%:/bin:" [ "/usr/lib64/bcc" != "//lib/bcc" ] || echo >> tmp.sed "s:%LIBDIR%:/lib:" [ "/usr/lib64/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/lib64/bcc:" echo >> tmp.sed "s:%LIBDIR%:/usr/lib64/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%:x86_64-pc-linux-gnu-gcc:" echo >> tmp.sed "s:%CFLAGS%:-O:" echo >> tmp.sed "s:%LDFLAGS%:-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0:" 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` all make[2]: Entering directory '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/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='x86_64-pc-linux-gnu-gcc' CFLAGS=' -O2 -fno-strict-aliasing' LDFLAGS='' PREFIX=/usr LIBDIR='/usr/lib64/bcc' BINDIR='/usr/bin' ANSI='' BCCARCH='' bcc ncc bcc-cc1 make[3]: Entering directory '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/bcc' x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c glogcode.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c type.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c express.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c genloads.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c preproc.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c label.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c gencode.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c hashcmd.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c debug.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c exptree.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c hardop.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c function.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c codefrag.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c dbnode.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c loadexp.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c table.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c declare.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c input.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c assign.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c bcc-cc1.c x86_64-pc-linux-gnu-gcc -O2 -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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c preserve.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c state.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c scan.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c longop.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c floatop.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c softop.c x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -c dbprintf.c dbprintf.c: In function ‘dbprintf’: dbprintf.c:24:9: warning: 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: warning: 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: warning: 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’ x86_64-pc-linux-gnu-gcc bcc-cc1.o codefrag.o dbnode.o declare.o express.o exptree.o floatop.o function.o gencode.o genloads.o glogcode.o hardop.o input.o label.o loadexp.o longop.o output.o preproc.o preserve.o scan.o softop.o state.o table.o type.o assign.o hashcmd.o debug.o dbprintf.o -o bcc-cc1 x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -DLOCALPREFIX= -DDEFARCH=0 bcc.c -o ncc bcc.c: In function ‘command_reset’: bcc.c:668:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 668 | fprintf(stderr, "PATH%d=%s\n", prefix-exec_prefixs, buf); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -DLOCALPREFIX=/usr -DBINDIR=/usr/bin -DDEFARCH=0 bcc.c -o bcc bcc.c: In function ‘command_reset’: bcc.c:668:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] 668 | fprintf(stderr, "PATH%d=%s\n", prefix-exec_prefixs, buf); | ~^ ~~~~~~~~~~~~~~~~~~~ | | | | int long int | %ld make[3]: Leaving directory '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/bcc' cp -p bcc/bcc bin/Bcc cp -p bcc/ncc bin/ncc cp -p bcc/bcc-cc1 lib/bcc-cc1 make -C libc .config.dir make[3]: Entering directory '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/libc' sh Config_sh egrep: warning: egrep is obsolescent; using /bin/grep -E Using default configuration make[3]: Leaving directory '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/libc' make -C ld CC='x86_64-pc-linux-gnu-gcc' CFLAGS=' -O2 -fno-strict-aliasing' LDFLAGS='' PREFIX=/usr LIBDIR='/usr/lib64/bcc' BINDIR='/usr/bin' ANSI='' ld86 make[3]: Entering directory '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/ld' test -f ar.h || \ { rm -f ar.h ; ln -s ../libc/include/ar.h . ; } || \ ln ../libc/include/ar.h . x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -DREL_OUTPUT -c ld.c -o ld.o x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -DREL_OUTPUT -c writex86.c -o writex86.o writex86.c: In function ‘write_elks’: writex86.c:59:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 59 | #define offsetof(struc, mem) ((int) &((struc *) 0)->mem) | ^ writex86.c:448:33: note: in expansion of macro ‘offsetof’ 448 | seekout((unsigned long) offsetof(struct exec, a_syms)); | ^~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -DREL_OUTPUT -c linksyms.c -o linksyms.o x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -DREL_OUTPUT -c dumps.c -o dumps.o x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -DREL_OUTPUT -c mkar.c -o mkar.o x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -DREL_OUTPUT -c io.c -o io.o io.c: In function ‘flusherr’: io.c:142:8: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 142 | write(errfil, errbuf, (unsigned) (errbufptr - errbuf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -DREL_OUTPUT -c readobj.c -o readobj.o x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -DREL_OUTPUT -c table.c -o table.o x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -DREL_OUTPUT -c typeconv.c -o typeconv.o typeconv.c: In function ‘xxerr’: typeconv.c:14:27: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 14 | void xxerr(x) char * x; { write(2, x, strlen(x)); } | ^~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -DREL_OUTPUT -c writebin.c writebin.c: In function ‘writebin’: writebin.c:1062:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1062 | write(2, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -DREL_OUTPUT -c writeemu.c -o writeemu.o In file included from writeemu.c:20: writebin.c: In function ‘write_dosemu’: writebin.c:69:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 69 | #define offsetof(struc, mem) ((int) &((struc *) 0)->mem) | ^ writebin.c:560:33: note: in expansion of macro ‘offsetof’ 560 | seekout((unsigned long) offsetof(struct exec, a_syms)); | ^~~~~~~~ writebin.c:69:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 69 | #define offsetof(struc, mem) ((int) &((struc *) 0)->mem) | ^ writebin.c:565:33: note: in expansion of macro ‘offsetof’ 565 | if( FILEHEADERLENGTH >= offsetof(struct exec, a_trsize)+8) | ^~~~~~~~ writebin.c:69:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 69 | #define offsetof(struc, mem) ((int) &((struc *) 0)->mem) | ^ writebin.c:567:41: note: in expansion of macro ‘offsetof’ 567 | seekout((unsigned long) offsetof(struct exec, a_trsize)); | ^~~~~~~~ writebin.c:69:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 69 | #define offsetof(struc, mem) ((int) &((struc *) 0)->mem) | ^ writebin.c:571:41: note: in expansion of macro ‘offsetof’ 571 | seekout((unsigned long) offsetof(struct exec, a_drsize)); | ^~~~~~~~ x86_64-pc-linux-gnu-gcc dumps.o io.o ld.o readobj.o table.o typeconv.o linksyms.o mkar.o writex86.o writebin.o writeemu.o -o ld86 make[3]: Leaving directory '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/ld' cp -p ld/ld86 bin/ld86 make -C copt CC='x86_64-pc-linux-gnu-gcc' CFLAGS=' -O2 -fno-strict-aliasing' LDFLAGS='' PREFIX=/usr LIBDIR='/usr/lib64/bcc' BINDIR='/usr/bin' ANSI='' copt make[3]: Entering directory '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/copt' x86_64-pc-linux-gnu-gcc -O2 -fno-strict-aliasing -o copt copt.c make[3]: Leaving directory '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/copt' cp -p copt/copt lib/copt cp -p copt/rules.* lib/. cp -p copt/rules.start lib/i386/. cp -p copt/rules.386 lib/i386/. cp -p copt/rules.end lib/i386/. test -f bin/ncc make -C libbsd CC=ncc "CCFLAGS=-O" AR=ar86 ARFLAGS=r make[3]: Entering directory '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/libbsd' ncc -O -D__LIBBSD__ -c -o logwtmp.o logwtmp.c /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/sys/types.h:3.28 (from /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/stddef.h:10) (from /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/sys/types.h:2) (from logwtmp.c:38): error: cannot find include file linuxmt/types.h /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/sys/types.h:3.28 (from logwtmp.c:38): error: cannot find include file linuxmt/types.h /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/sys/types.h:3.28 (from /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/fcntl.h:5) (from /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/sys/file.h:5) (from logwtmp.c:39): error: cannot find include file linuxmt/types.h /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/fcntl.h:6.28 (from /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/sys/file.h:5) (from logwtmp.c:39): error: cannot find include file linuxmt/fcntl.h /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/sys/types.h:3.28 (from /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/time.h:5) (from logwtmp.c:40): error: cannot find include file linuxmt/types.h /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/time.h:50.18 (from logwtmp.c:40): error: need ';' /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/time.h:55.20 (from logwtmp.c:40): error: need ';' /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/time.h:59.22 (from logwtmp.c:40): error: need ';' /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/sys/types.h:3.28 (from /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/sys/stat.h:5) (from logwtmp.c:41): error: cannot find include file linuxmt/types.h /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/sys/stat.h:6.27 (from logwtmp.c:41): error: cannot find include file linuxmt/stat.h /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/sys/types.h:3.28 (from /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/unistd.h:3) (from logwtmp.c:42): error: cannot find include file linuxmt/types.h /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/unistd.h:13.18 (from logwtmp.c:42): error: need ';' /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/unistd.h:14.19 (from logwtmp.c:42): error: need ';' /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/unistd.h:15.18 (from logwtmp.c:42): error: need ';' /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/sys/types.h:3.28 (from /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/utmp.h:7) (from logwtmp.c:43): error: cannot find include file linuxmt/types.h /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/utmp.h:29.16 (from logwtmp.c:43): error: need ';' /var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/include/utmp.h:32.17 (from logwtmp.c:43): error: need ';' logwtmp.c:50.17: error: undefined structure logwtmp.c:52.12: error: need ';' logwtmp.c:53.5: error: bad expression logwtmp.c:55.37: error: O_WRONLY undeclared logwtmp.c:55.46: error: O_APPEND undeclared logwtmp.c:67.35: error: undefined structure element make[3]: *** [: logwtmp.o] Error 1 shuffle=2410425878 make[3]: Leaving directory '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21/libbsd' make[2]: *** [make.fil:274: lib-bsd] Error 2 shuffle=2410425878 make[2]: Leaving directory '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21' make[1]: *** [Makefile:26: all] Error 2 shuffle=2410425878 make[1]: Leaving directory '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21' make: *** [GNUmakefile:6: all] Error 2 shuffle=2410425878 * ERROR: sys-devel/dev86-0.16.21-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-devel/dev86-0.16.21-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-devel/dev86-0.16.21-r3::gentoo'`. * The complete build log is located at '/var/log/portage/sys-devel:dev86-0.16.21-r3:20221112-131553.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/temp/environment'. * Working directory: '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21' * S: '/var/tmp/portage/sys-devel/dev86-0.16.21-r3/work/dev86-0.16.21'