* Package: sys-apps/heirloom-tools-070715-r4: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 heirloom-070715.tar.bz2 to /var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work >>> Source unpacked in /var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work >>> Preparing source in /var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715 ... * Applying heirloom-tools-070715-major.patch ... [ ok ] * Applying heirloom-tools-070715-makefile.patch ... [ ok ] * Applying heirloom-tools-070715-glibc-2.30.patch ... [ ok ] * Applying heirloom-tools-070715-glibc-2.31.patch ... [ ok ] * Applying heirloom-tools-070715-gcc-10.patch ... [ ok ] * Applying heirloom-tools-070715-clang.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715 ... make -j5 -j1 CC=x86_64-pc-linux-gnu-gcc AR=x86_64-pc-linux-gnu-ar RANLIB=x86_64-pc-linux-gnu-ranlib 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2' 'CFLAGS2=-pipe -march=native -fno-diagnostics-color -O2' 'CFLAGSS=-pipe -march=native -fno-diagnostics-color -O2' 'CFLAGSU=-pipe -march=native -fno-diagnostics-color -O2' 'CPPFLAGS= -D_GNU_SOURCE' 'LCURS=-lncurses -ltinfo ' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' DEFBIN=/usr/bin/heirloom-tools/5bin DEFSBIN=/usr/bin/heirloom-tools/5bin SV3BIN=/usr/bin/heirloom-tools/5bin S42BIN=/usr/bin/heirloom-tools/5bin/s42 SUSBIN=/usr/bin/heirloom-tools/5bin/posix UCBBIN=/usr/bin/heirloom-tools/ucb CCSBIN=/usr/bin/heirloom-tools/ccs/bin SU3BIN=/usr/bin/heirloom-tools/5bin/posix2001 DEFLIB=/usr/bin/heirloom-tools/5lib LIBZ=-lz cat build/mk.head build/mk.config nohup/Makefile.mk build/mk.tail >nohup/Makefile cat build/mk.head build/mk.config date/Makefile.mk build/mk.tail >date/Makefile cat build/mk.head build/mk.config su/Makefile.mk build/mk.tail >su/Makefile cat build/mk.head build/mk.config basename/Makefile.mk build/mk.tail >basename/Makefile cat build/mk.head build/mk.config nawk/Makefile.mk build/mk.tail >nawk/Makefile cat build/mk.head build/mk.config col/Makefile.mk build/mk.tail >col/Makefile cat build/mk.head build/mk.config tty/Makefile.mk build/mk.tail >tty/Makefile cat build/mk.head build/mk.config logins/Makefile.mk build/mk.tail >logins/Makefile cat build/mk.head build/mk.config printenv/Makefile.mk build/mk.tail >printenv/Makefile cat build/mk.head build/mk.config units/Makefile.mk build/mk.tail >units/Makefile cat build/mk.head build/mk.config mknod/Makefile.mk build/mk.tail >mknod/Makefile cat build/mk.head build/mk.config pwd/Makefile.mk build/mk.tail >pwd/Makefile cat build/mk.head build/mk.config dirname/Makefile.mk build/mk.tail >dirname/Makefile cat build/mk.head build/mk.config dircmp/Makefile.mk build/mk.tail >dircmp/Makefile cat build/mk.head build/mk.config id/Makefile.mk build/mk.tail >id/Makefile cat build/mk.head build/mk.config _install/Makefile.mk build/mk.tail >_install/Makefile cat build/mk.head build/mk.config split/Makefile.mk build/mk.tail >split/Makefile cat build/mk.head build/mk.config du/Makefile.mk build/mk.tail >du/Makefile cat build/mk.head build/mk.config calendar/Makefile.mk build/mk.tail >calendar/Makefile cat build/mk.head build/mk.config sdiff/Makefile.mk build/mk.tail >sdiff/Makefile cat build/mk.head build/mk.config file/Makefile.mk build/mk.tail >file/Makefile cat build/mk.head build/mk.config logname/Makefile.mk build/mk.tail >logname/Makefile cat build/mk.head build/mk.config news/Makefile.mk build/mk.tail >news/Makefile cat build/mk.head build/mk.config od/Makefile.mk build/mk.tail >od/Makefile cat build/mk.head build/mk.config groups/Makefile.mk build/mk.tail >groups/Makefile cat build/mk.head build/mk.config priocntl/Makefile.mk build/mk.tail >priocntl/Makefile cat build/mk.head build/mk.config pathchk/Makefile.mk build/mk.tail >pathchk/Makefile cat build/mk.head build/mk.config sum/Makefile.mk build/mk.tail >sum/Makefile cat build/mk.head build/mk.config fmtmsg/Makefile.mk build/mk.tail >fmtmsg/Makefile cat build/mk.head build/mk.config factor/Makefile.mk build/mk.tail >factor/Makefile cat build/mk.head build/mk.config tail/Makefile.mk build/mk.tail >tail/Makefile cat build/mk.head build/mk.config fmt/Makefile.mk build/mk.tail >fmt/Makefile cat build/mk.head build/mk.config Makefile.mk build/mk.tail >Makefile cat build/mk.head build/mk.config paste/Makefile.mk build/mk.tail >paste/Makefile cat build/mk.head build/mk.config ls/Makefile.mk build/mk.tail >ls/Makefile cat build/mk.head build/mk.config time/Makefile.mk build/mk.tail >time/Makefile cat build/mk.head build/mk.config ps/Makefile.mk build/mk.tail >ps/Makefile cat build/mk.head build/mk.config diff/Makefile.mk build/mk.tail >diff/Makefile cat build/mk.head build/mk.config nl/Makefile.mk build/mk.tail >nl/Makefile cat build/mk.head build/mk.config yes/Makefile.mk build/mk.tail >yes/Makefile cat build/mk.head build/mk.config random/Makefile.mk build/mk.tail >random/Makefile cat build/mk.head build/mk.config expr/Makefile.mk build/mk.tail >expr/Makefile cat build/mk.head build/mk.config mkfifo/Makefile.mk build/mk.tail >mkfifo/Makefile cat build/mk.head build/mk.config diff3/Makefile.mk build/mk.tail >diff3/Makefile cat build/mk.head build/mk.config rm/Makefile.mk build/mk.tail >rm/Makefile cat build/mk.head build/mk.config libwchar/Makefile.mk build/mk.tail >libwchar/Makefile cat build/mk.head build/mk.config test/Makefile.mk build/mk.tail >test/Makefile cat build/mk.head build/mk.config more/Makefile.mk build/mk.tail >more/Makefile cat build/mk.head build/mk.config tee/Makefile.mk build/mk.tail >tee/Makefile cat build/mk.head build/mk.config ed/Makefile.mk build/mk.tail >ed/Makefile cat build/mk.head build/mk.config listusers/Makefile.mk build/mk.tail >listusers/Makefile cat build/mk.head build/mk.config cut/Makefile.mk build/mk.tail >cut/Makefile cat build/mk.head build/mk.config sed/Makefile.mk build/mk.tail >sed/Makefile cat build/mk.head build/mk.config find/Makefile.mk build/mk.tail >find/Makefile cat build/mk.head build/mk.config pg/Makefile.mk build/mk.tail >pg/Makefile cat build/mk.head build/mk.config dc/Makefile.mk build/mk.tail >dc/Makefile cat build/mk.head build/mk.config libuxre/Makefile.mk build/mk.tail >libuxre/Makefile cat build/mk.head build/mk.config ln/Makefile.mk build/mk.tail >ln/Makefile cat build/mk.head build/mk.config hd/Makefile.mk build/mk.tail >hd/Makefile cat build/mk.head build/mk.config tabs/Makefile.mk build/mk.tail >tabs/Makefile cat build/mk.head build/mk.config cal/Makefile.mk build/mk.tail >cal/Makefile cat build/mk.head build/mk.config bfs/Makefile.mk build/mk.tail >bfs/Makefile cat build/mk.head build/mk.config getopt/Makefile.mk build/mk.tail >getopt/Makefile cat build/mk.head build/mk.config who/Makefile.mk build/mk.tail >who/Makefile cat build/mk.head build/mk.config head/Makefile.mk build/mk.tail >head/Makefile cat build/mk.head build/mk.config cp/Makefile.mk build/mk.tail >cp/Makefile cat build/mk.head build/mk.config expand/Makefile.mk build/mk.tail >expand/Makefile cat build/mk.head build/mk.config comm/Makefile.mk build/mk.tail >comm/Makefile cat build/mk.head build/mk.config sort/Makefile.mk build/mk.tail >sort/Makefile cat build/mk.head build/mk.config wc/Makefile.mk build/mk.tail >wc/Makefile cat build/mk.head build/mk.config renice/Makefile.mk build/mk.tail >renice/Makefile cat build/mk.head build/mk.config xargs/Makefile.mk build/mk.tail >xargs/Makefile cat build/mk.head build/mk.config getconf/Makefile.mk build/mk.tail >getconf/Makefile cat build/mk.head build/mk.config copy/Makefile.mk build/mk.tail >copy/Makefile cat build/mk.head build/mk.config sync/Makefile.mk build/mk.tail >sync/Makefile cat build/mk.head build/mk.config what/Makefile.mk build/mk.tail >what/Makefile cat build/mk.head build/mk.config csplit/Makefile.mk build/mk.tail >csplit/Makefile cat build/mk.head build/mk.config stty/Makefile.mk build/mk.tail >stty/Makefile cat build/mk.head build/mk.config pr/Makefile.mk build/mk.tail >pr/Makefile cat build/mk.head build/mk.config cmp/Makefile.mk build/mk.tail >cmp/Makefile cat build/mk.head build/mk.config tar/Makefile.mk build/mk.tail >tar/Makefile cat build/mk.head build/mk.config cksum/Makefile.mk build/mk.tail >cksum/Makefile cat build/mk.head build/mk.config deroff/Makefile.mk build/mk.tail >deroff/Makefile cat build/mk.head build/mk.config tcopy/Makefile.mk build/mk.tail >tcopy/Makefile cat build/mk.head build/mk.config sleep/Makefile.mk build/mk.tail >sleep/Makefile cat build/mk.head build/mk.config df/Makefile.mk build/mk.tail >df/Makefile cat build/mk.head build/mk.config libcommon/Makefile.mk build/mk.tail >libcommon/Makefile cat build/mk.head build/mk.config line/Makefile.mk build/mk.tail >line/Makefile cat build/mk.head build/mk.config chown/Makefile.mk build/mk.tail >chown/Makefile cat build/mk.head build/mk.config whodo/Makefile.mk build/mk.tail >whodo/Makefile cat build/mk.head build/mk.config printf/Makefile.mk build/mk.tail >printf/Makefile cat build/mk.head build/mk.config fold/Makefile.mk build/mk.tail >fold/Makefile cat build/mk.head build/mk.config true/Makefile.mk build/mk.tail >true/Makefile cat build/mk.head build/mk.config tr/Makefile.mk build/mk.tail >tr/Makefile cat build/mk.head build/mk.config cpio/Makefile.mk build/mk.tail >cpio/Makefile cat build/mk.head build/mk.config spell/Makefile.mk build/mk.tail >spell/Makefile cat build/mk.head build/mk.config users/Makefile.mk build/mk.tail >users/Makefile cat build/mk.head build/mk.config bc/Makefile.mk build/mk.tail >bc/Makefile cat build/mk.head build/mk.config echo/Makefile.mk build/mk.tail >echo/Makefile cat build/mk.head build/mk.config man/Makefile.mk build/mk.tail >man/Makefile cat build/mk.head build/mk.config setpgrp/Makefile.mk build/mk.tail >setpgrp/Makefile cat build/mk.head build/mk.config uniq/Makefile.mk build/mk.tail >uniq/Makefile cat build/mk.head build/mk.config tsort/Makefile.mk build/mk.tail >tsort/Makefile cat build/mk.head build/mk.config join/Makefile.mk build/mk.tail >join/Makefile cat build/mk.head build/mk.config rmdir/Makefile.mk build/mk.tail >rmdir/Makefile cat build/mk.head build/mk.config uname/Makefile.mk build/mk.tail >uname/Makefile cat build/mk.head build/mk.config touch/Makefile.mk build/mk.tail >touch/Makefile cat build/mk.head build/mk.config mvdir/Makefile.mk build/mk.tail >mvdir/Makefile cat build/mk.head build/mk.config psrinfo/Makefile.mk build/mk.tail >psrinfo/Makefile cat build/mk.head build/mk.config pgrep/Makefile.mk build/mk.tail >pgrep/Makefile cat build/mk.head build/mk.config dd/Makefile.mk build/mk.tail >dd/Makefile cat build/mk.head build/mk.config whoami/Makefile.mk build/mk.tail >whoami/Makefile cat build/mk.head build/mk.config tapecntl/Makefile.mk build/mk.tail >tapecntl/Makefile cat build/mk.head build/mk.config mail/Makefile.mk build/mk.tail >mail/Makefile cat build/mk.head build/mk.config kill/Makefile.mk build/mk.tail >kill/Makefile cat build/mk.head build/mk.config chmod/Makefile.mk build/mk.tail >chmod/Makefile cat build/mk.head build/mk.config mesg/Makefile.mk build/mk.tail >mesg/Makefile cat build/mk.head build/mk.config bdiff/Makefile.mk build/mk.tail >bdiff/Makefile cat build/mk.head build/mk.config oawk/Makefile.mk build/mk.tail >oawk/Makefile cat build/mk.head build/mk.config nice/Makefile.mk build/mk.tail >nice/Makefile cat build/mk.head build/mk.config cat/Makefile.mk build/mk.tail >cat/Makefile cat build/mk.head build/mk.config build/Makefile.mk build/mk.tail >build/Makefile cat build/mk.head build/mk.config env/Makefile.mk build/mk.tail >env/Makefile cat build/mk.head build/mk.config banner/Makefile.mk build/mk.tail >banner/Makefile cat build/mk.head build/mk.config shl/Makefile.mk build/mk.tail >shl/Makefile cat build/mk.head build/mk.config grep/Makefile.mk build/mk.tail >grep/Makefile cat build/mk.head build/mk.config hostname/Makefile.mk build/mk.tail >hostname/Makefile cat build/mk.head build/mk.config ul/Makefile.mk build/mk.tail >ul/Makefile cat build/mk.head build/mk.config mkdir/Makefile.mk build/mk.tail >mkdir/Makefile for i in build libwchar libcommon libuxre _install banner basename bc bdiff bfs cal calendar cat chmod chown cksum cmp col comm copy cp cpio csplit cut date dc dd deroff diff diff3 dircmp dirname df du echo ed env expand expr factor file find fmt fmtmsg fold getconf getopt grep groups hd head hostname id join kill line listusers ln logins logname ls mail man mesg mkdir mkfifo mknod more mvdir nawk news nice nl nohup oawk od paste pathchk pg pgrep pr printenv printf priocntl ps psrinfo pwd random renice rm rmdir sdiff sed setpgrp shl sleep sort spell split stty su sum sync tabs tail tapecntl tar tcopy tee test time touch tr true tsort tty ul uname uniq units users wc what who whoami whodo xargs yes ;\ do \ (cd "$i" && make all) || exit ; \ done make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/build' crossln sed 's,@LNS@,ln -s,g' chmod 755 crossln maninst sed ' s,@DEFLIB@,/usr/bin/heirloom-tools/5lib,g; s,@SPELLHIST@,/var/adm/spellhist,g; s,@MAGIC@,/usr/bin/heirloom-tools/5lib/magic,g; s,@DFLDIR@,/etc/default,g; s,@DEFBIN@,/usr/bin/heirloom-tools/5bin,g; s,@SV3BIN@,/usr/bin/heirloom-tools/5bin,g; s,@S42BIN@,/usr/bin/heirloom-tools/5bin/s42,g; s,@SUSBIN@,/usr/bin/heirloom-tools/5bin/posix,g; s,@SU3BIN@,/usr/bin/heirloom-tools/5bin/posix2001,g; s,@UCBBIN@,/usr/bin/heirloom-tools/ucb,g; s,@CCSBIN@,/usr/bin/heirloom-tools/ccs/bin,g' chmod 755 maninst cat genintro.sh >genintro chmod 755 genintro make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/build' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/libwchar' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -I. -c wctype.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -I. -c wctomb.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -I. -c wcsncmp.c if test "x" = x; \ then \ touch mbtowc.o wctomb.o wctype.o mbstowcs.o wcwidth.o wcslen.o wcsncmp.o mbrtowc.o wctfunc.o mblen.o; \ x86_64-pc-linux-gnu-ar r libwchar.a mbtowc.o wctomb.o wctype.o mbstowcs.o wcwidth.o wcslen.o wcsncmp.o mbrtowc.o wctfunc.o mblen.o; \ fi x86_64-pc-linux-gnu-ar: creating libwchar.a x86_64-pc-linux-gnu-ar -rv libwchar.a mbtowc.o wctomb.o wctype.o mbstowcs.o wcwidth.o wcslen.o wcsncmp.o mbrtowc.o wctfunc.o mblen.o r - mbtowc.o r - wctomb.o r - wctype.o r - mbstowcs.o r - wcwidth.o r - wcslen.o r - wcsncmp.o r - mbrtowc.o r - wctfunc.o r - mblen.o x86_64-pc-linux-gnu-ranlib libwchar.a make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/libwchar' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/libcommon' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c sighold.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c ib_getlin.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c asciitype.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c ib_getw.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c getopt.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c signal.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c utmpx.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c sigignore.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c sigrelse.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c sfile.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c oblok.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c getdir.c getdir.c: In function ‘getdir’: getdir.c:130:17: warning: ‘getdirentries’ is deprecated: Use getdents64 instead [-Wdeprecated-declarations] 130 | db->g_num = getdents(db->g_fd, | ^~ In file included from /usr/include/features.h:490, from /usr/include/sys/types.h:25, from getdir.c:33: /usr/include/dirent.h:363:18: note: declared here 363 | extern __ssize_t __REDIRECT_NTH (getdirentries, | ^~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c setuxlabel.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c ib_alloc.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c ib_free.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c ib_close.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c sigpause.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c regexpr.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c sigset.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c memalign.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c pfmt.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c setlabel.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c ib_open.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c pathconf.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c gmatch.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c sysv3.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c ib_seek.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c vpfmt.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c ib_read.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c ib_popen.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c pfmt_label.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -E CHECK.c >CHECK one() { \ rm -f "$1.h"; \ if grep "$1_h[ ]*=[ ]*[^0][ ]*;" CHECK >/dev/null; \ then \ ln -s "_$1.h" "$1.h"; \ fi; \ }; \ one alloca; \ one malloc; \ one utmpx x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I. -c strtol.c x86_64-pc-linux-gnu-ar -rv libcommon.a asciitype.o ib_alloc.o ib_close.o ib_free.o ib_getlin.o ib_getw.o ib_open.o ib_popen.o ib_read.o ib_seek.o oblok.o sfile.o strtol.o getdir.o regexpr.o gmatch.o utmpx.o memalign.o pathconf.o sigset.o signal.o sigrelse.o sighold.o sigignore.o sigpause.o getopt.o pfmt.o vpfmt.o setlabel.o setuxlabel.o pfmt_label.o sysv3.o x86_64-pc-linux-gnu-ar: creating libcommon.a a - asciitype.o a - ib_alloc.o a - ib_close.o a - ib_free.o a - ib_getlin.o a - ib_getw.o a - ib_open.o a - ib_popen.o a - ib_read.o a - ib_seek.o a - oblok.o a - sfile.o a - strtol.o a - getdir.o a - regexpr.o a - gmatch.o a - utmpx.o a - memalign.o a - pathconf.o a - sigset.o a - signal.o a - sigrelse.o a - sighold.o a - sigignore.o a - sigpause.o a - getopt.o a - pfmt.o a - vpfmt.o a - setlabel.o a - setuxlabel.o a - pfmt_label.o a - sysv3.o x86_64-pc-linux-gnu-ranlib libcommon.a make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/libcommon' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/libuxre' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I. -c regerror.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I. -c onefile.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I. -c regfree.c x86_64-pc-linux-gnu-ar -rv libuxre.a onefile.o regfree.o regerror.o x86_64-pc-linux-gnu-ar: creating libuxre.a a - onefile.o a - regfree.o a - regerror.o x86_64-pc-linux-gnu-ranlib libuxre.a make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/libuxre' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/_install' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -c install_ucb.c install_ucb.c: In function ‘srealloc’: install_ucb.c:72:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 72 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ install_ucb.c: In function ‘strip’: install_ucb.c:205:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 205 | system(cmd); | ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 install_ucb.o -L../libcommon -lcommon -o install_ucb make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/_install' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/banner' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -c banner.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 banner.o -L../libcommon -lcommon -o banner make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/banner' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/basename' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -DSUS -c basename.c -o basename_sus.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 basename_sus.o -L../libcommon -lcommon -o basename_sus x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -c basename.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 basename.o -L../libcommon -lcommon -o basename x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -DUCB -c basename.c -o basename_ucb.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 basename_ucb.o -L../libcommon -lcommon -o basename_ucb make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/basename' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/bc' yacc bc.y bc.y:90.1-5: warning: POSIX Yacc does not support %term [8;id=da89796e0005f5742209235700000000;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wyacc\-Wyacc8;;\] 90 | %term LETTER DIGIT SQRT LENGTH _IF FFF EQ | ^~~~~ bc.y:91.1-5: warning: POSIX Yacc does not support %term [8;id=da89796e0005f5742209235700000001;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wyacc\-Wyacc8;;\] 91 | %term _WHILE _FOR NE LE GE INCR DECR | ^~~~~ bc.y:92.1-5: warning: POSIX Yacc does not support %term [8;id=da89796e0005f5742209235700000002;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wyacc\-Wyacc8;;\] 92 | %term _RETURN _BREAK _DEFINE BASE OBASE SCALE | ^~~~~ bc.y:93.1-5: warning: POSIX Yacc does not support %term [8;id=da89796e0005f5742209235700000003;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wyacc\-Wyacc8;;\] 93 | %term EQPL EQMI EQMUL EQDIV EQREM EQEXP | ^~~~~ bc.y:94.1-5: warning: POSIX Yacc does not support %term [8;id=da89796e0005f5742209235700000004;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wyacc\-Wyacc8;;\] 94 | %term _AUTO DOT | ^~~~~ bc.y:95.1-5: warning: POSIX Yacc does not support %term [8;id=da89796e0005f5742209235700000005;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wyacc\-Wyacc8;;\] 95 | %term QSTR | ^~~~~ bc.y: warning: 12 shift/reduce conflicts [8;id=da89796e0005f5742209235700000006;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wconflicts-sr\-Wconflicts-sr8;;\] bc.y: warning: 30 reduce/reduce conflicts [8;id=da89796e0005f5742209235700000007;https://www.gnu.org/software/bison/manual/html_node/Diagnostics.html#Wconflicts-rr\-Wconflicts-rr8;;\] bc.y: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples sed -f yyval.sed bc.c rm y.tab.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -DDC='"/usr/bin/heirloom-tools/5bin/dc"' -DLIBB='"/usr/bin/heirloom-tools/5lib/lib.b"' -c bc.c bc.y: In function ‘routput’: bc.y:589:9: warning: format not a string literal and no format arguments [-Wformat-security] 589 | else printf( (char *)p ); /* character string */ | ^~~~ bc.y: In function ‘main’: bc.y:723:9: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 723 | pipe(p); | ^~~~~~~ bc.y:726:17: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 726 | dup(p[1]); | ^~~~~~~~~ bc.y:734:9: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 734 | dup(p[0]); | ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 bc.o -L../libcommon -lcommon -o bc make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/bc' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/bdiff' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DDIFF='"/usr/bin/heirloom-tools/5bin/diff"' -c bdiff.c bdiff.c: In function ‘setsig’: bdiff.c:518:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 518 | act = sigset(j, setsig1); | ^~~ In file included from bdiff.c:46: /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ bdiff.c:523:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 523 | sigset(j, act); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ bdiff.c: In function ‘main’: bdiff.c:292:25: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 292 | dup(pfd[1]); | ^~~~~~~~~~~ bdiff.c: In function ‘srealloc’: bdiff.c:593:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 593 | write(2, "Out of memory\n", 14); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 bdiff.o -L../libcommon -lcommon -o bdiff make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/bdiff' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/bfs' x86_64-pc-linux-gnu-gcc -c -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DSHELL='"/bin/sh"' bfs.c bfs.c: In function ‘main’: bfs.c:202:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 202 | sigset(SIGINT, reset); | ^~~~~~ In file included from bfs.c:46: /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ bfs.c: In function ‘reset’: bfs.c:216:9: warning: ‘sigrelse’ is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 216 | sigrelse(signo); | ^~~~~~~~ /usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ bfs.c: In function ‘excomd’: bfs.c:922:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 922 | sigset(SIGINT, SIG_DFL); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ bfs.c:935:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 935 | sigset(SIGINT, SIG_IGN); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ bfs.c:939:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 939 | sigset(SIGINT, reset); /* Restore signal to previous status */ | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ bfs.c: In function ‘bigread’: bfs.c:437:41: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 437 | write(2, "Line too long--" | ^~~~~~~~~~~~~~~~~~~~~~~~~~ 438 | "output truncated\n", 32); | ~~~~~~~~~~~~~~~~~~~~~~~~~ bfs.c: In function ‘xvcomd’: bfs.c:794:17: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 794 | dup(fildes[0]); | ^~~~~~~~~~~~~~ bfs.c:796:17: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 796 | dup(fildes[1]); | ^~~~~~~~~~~~~~ bfs.c:815:17: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 815 | dup(temp0); | ^~~~~~~~~~ bfs.c:817:17: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 817 | dup(temp1); | ^~~~~~~~~~ bfs.c: In function ‘excomd’: bfs.c:929:25: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 929 | dup(infildes); | ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 bfs.o -L../libcommon -lcommon -o bfs make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/bfs' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/cal' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -c cal.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 cal.o -L../libcommon -lcommon -o cal make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/cal' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/calendar' echo '#!/bin/sh' | cat - calendar.sh | sed ' s,@DEFBIN@,/usr/bin/heirloom-tools/5bin,g; s,@SV3BIN@,/usr/bin/heirloom-tools/5bin,g; s,@DEFLIB@,/usr/bin/heirloom-tools/5lib,g' >calendar chmod 755 calendar x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -c calprog.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 calprog.o -L../libcommon -lcommon -o calprog make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/calendar' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/cat' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c cat.c cat.c: In function ‘srealloc’: cat.c:71:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 71 | write(2, "No storage\n", 11); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 cat.o -L../libcommon -lcommon -o cat make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/cat' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/chmod' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -c chmod.c chmod.c: In function ‘srealloc’: chmod.c:394:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 394 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 chmod.o -L../libcommon -lcommon -o chmod x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -DSUS -c chmod.c -o chmod_sus.o chmod.c: In function ‘srealloc’: chmod.c:394:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 394 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 chmod_sus.o -L../libcommon -lcommon -o chmod_sus make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/chmod' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/chown' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -c chown.c chown.c: In function ‘srealloc’: chown.c:84:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 84 | write(2, "Out of memory\n", 14); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 chown.o -L../libcommon -lcommon -o chown x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -DUCB -c chown.c -o chown_ucb.o chown.c: In function ‘srealloc’: chown.c:84:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 84 | write(2, "Out of memory\n", 14); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 chown_ucb.o -L../libcommon -lcommon -o chown_ucb make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/chown' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/cksum' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -c cksum.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 cksum.o -L../libcommon -lcommon -o cksum make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/cksum' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/cmp' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c cmp.c cmp.c: In function ‘openfile’: cmp.c:270:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 270 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 cmp.o -L../libcommon -lcommon -o cmp make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/cmp' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/col' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -D_FILE_OFFSET_BITS=64L -c col.c col.c: In function ‘growsbuff’: col.c:513:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 513 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 col.o -L../libcommon -lcommon -o col make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/col' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/comm' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c comm.c comm.c: In function ‘srealloc’: comm.c:270:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 270 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 comm.o -L../libcommon -lcommon -o comm make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/comm' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/copy' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c copy.c copy.c: In function ‘nomem’: copy.c:566:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 566 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 copy.o -L../libcommon -lcommon -o copy make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/copy' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/cp' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -D_FILE_OFFSET_BITS=64L -DS42 -c cp.c -o cp_s42.o cp.c: In function ‘nomem’: cp.c:139:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 139 | write(2, progname, strlen(progname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cp.c:140:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 140 | write(2, ": Insufficient memory space.\n", 29); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 cp_s42.o -L../libcommon -lcommon -o cp_s42 rm -f ln_s42 ln -s cp_s42 ln_s42 x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -D_FILE_OFFSET_BITS=64L -DSUS -c cp.c -o cp_sus.o cp.c: In function ‘nomem’: cp.c:139:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 139 | write(2, progname, strlen(progname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cp.c:140:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 140 | write(2, ": Insufficient memory space.\n", 29); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 cp_sus.o -L../libcommon -lcommon -o cp_sus rm -f ln_sus ln -s cp_sus ln_sus x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -D_FILE_OFFSET_BITS=64L -c cp.c cp.c: In function ‘nomem’: cp.c:139:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 139 | write(2, progname, strlen(progname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cp.c:140:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 140 | write(2, ": Insufficient memory space.\n", 29); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 cp.o -L../libcommon -lcommon -o cp rm -f ln ln -s cp ln rm -f mv ln -s cp mv rm -f mv_s42 ln -s cp_s42 mv_s42 rm -f mv_sus ln -s cp_sus mv_sus make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/cp' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/cpio' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -I../libuxre -DUXRE -c pax.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c inflate.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c flags.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c explode.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c blast.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c nonpax.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c unshrink.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DUSE_ZLIB=1 -DUSE_BZLIB=0 -c cpio.c cpio.c: In function ‘main’: cpio.c:987:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 987 | if (sigset(SIGINT, SIG_IGN) != SIG_IGN) | ^~ In file included from /usr/include/sys/wait.h:36, from cpio.c:49: /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ cpio.c:988:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 988 | sigset(SIGINT, onint); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ cpio.c:995:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 995 | if (sigset(SIGINT, SIG_IGN) != SIG_IGN) | ^~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ cpio.c:996:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 996 | sigset(SIGINT, onint); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ cpio.c: In function ‘newmedia’: cpio.c:2419:49: warning: format not a string literal and no format arguments [-Wformat-security] 2419 | Oflag); | ^~~~~ cpio.c: In function ‘zcreat’: cpio.c:5492:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 5492 | sigset(SIGPIPE, SIG_IGN); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ cpio.c: In function ‘zipwtemp’: cpio.c:6108:41: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6108 | ftruncate(tf, 0); | ^~~~~~~~~~~~~~~~ cpio.c:6222:17: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6222 | ftruncate(tf, 0); | ^~~~~~~~~~~~~~~~ cpio.c:6252:9: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6252 | ftruncate(tf, 0); | ^~~~~~~~~~~~~~~~ cpio.c: In function ‘prdot’: cpio.c:2338:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2338 | write(action == 'o' && !Oflag ? 2 : 1, "\n", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpio.c:2342:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2342 | write(action == 'o' && !Oflag ? 2 : 1, ".", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpio.c: In function ‘srealloc’: cpio.c:2185:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2185 | write(2, "Out of memory.\n", 15); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpio.c: In function ‘scalloc’: cpio.c:2203:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2203 | write(2, "Out of memory.\n", 15); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cpio.c: In function ‘svalloc’: cpio.c:2219:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2219 | write(2, "Out of memory.\n", 15); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:535, from cpio.c:53: In function ‘strcpy’, inlined from ‘addfile’ at cpio.c:1838:5: /usr/include/bits/string_fortified.h:79:10: warning: ‘__builtin___memcpy_chk’ writing 8 bytes into a region of size 6 overflows the destination [-Wstringop-overflow=] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c crc32.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c version.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c expand.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 cpio.o unshrink.o explode.o expand.o inflate.o crc32.o blast.o flags.o nonpax.o version.o -lz -L../libcommon -lcommon -o cpio x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 cpio.o unshrink.o explode.o expand.o inflate.o crc32.o blast.o pax.o version.o -lz -L../libcommon -lcommon -L../libuxre -luxre -o pax x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -I../libuxre -DUXRE -DSU3 -c pax.c -o pax_su3.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 cpio.o unshrink.o explode.o expand.o inflate.o crc32.o blast.o pax_su3.o version.o -lz -L../libcommon -lcommon -L../libuxre -luxre -o pax_su3 make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/cpio' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/csplit' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libuxre -DUXRE -I../libcommon -DSUS -c csplit.c -o csplit_sus.o csplit.c: In function ‘main’: csplit.c:146:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 146 | if (sigset(SIGINT, SIG_IGN) != SIG_IGN) | ^~ In file included from csplit.c:51: /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ csplit.c:147:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 147 | sigset(SIGINT, onint); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ csplit.c: In function ‘srealloc’: csplit.c:490:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 490 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ csplit.c: In function ‘scalloc’: csplit.c:502:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 502 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 csplit_sus.o -L../libuxre -luxre -L../libcommon -lcommon -lm -o csplit_sus x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c csplit.c csplit.c: In function ‘main’: csplit.c:146:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 146 | if (sigset(SIGINT, SIG_IGN) != SIG_IGN) | ^~ In file included from csplit.c:51: /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ csplit.c:147:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 147 | sigset(SIGINT, onint); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ csplit.c: In function ‘srealloc’: csplit.c:490:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 490 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ csplit.c: In function ‘scalloc’: csplit.c:502:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 502 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 csplit.o -L../libcommon -lcommon -lm -o csplit x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libuxre -DUXRE -I../libcommon -DSU3 -c csplit.c -o csplit_su3.o csplit.c: In function ‘main’: csplit.c:146:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 146 | if (sigset(SIGINT, SIG_IGN) != SIG_IGN) | ^~ In file included from csplit.c:51: /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ csplit.c:147:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 147 | sigset(SIGINT, onint); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ csplit.c: In function ‘srealloc’: csplit.c:490:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 490 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ csplit.c: In function ‘scalloc’: csplit.c:502:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 502 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 csplit_su3.o -L../libuxre -luxre -L../libcommon -lcommon -lm -o csplit_su3 make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/csplit' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/cut' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -D_FILE_OFFSET_BITS=64L -c cut.c cut.c: In function ‘lrealloc’: cut.c:83:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 83 | write(2, "line too long\n", 14); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cut.c: In function ‘smalloc’: cut.c:95:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 95 | write(2, "no memory\n", 11); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 cut.o -L../libcommon -lcommon -o cut make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/cut' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/date' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -c date.c date.c: In function ‘settime’: date.c:153:22: warning: passing argument 1 of ‘gettimeofday’ from incompatible pointer type [-Wincompatible-pointer-types] 153 | gettimeofday(&before.ut_tv, NULL); | ^~~~~~~~~~~~~ | | | struct * In file included from /usr/include/utmpx.h:22, from date.c:49: /usr/include/sys/time.h:67:53: note: expected ‘struct timeval * restrict’ but argument is of type ‘struct *’ 67 | extern int gettimeofday (struct timeval *__restrict __tv, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ date.c:160:22: warning: passing argument 1 of ‘gettimeofday’ from incompatible pointer type [-Wincompatible-pointer-types] 160 | gettimeofday(&after.ut_tv, NULL); | ^~~~~~~~~~~~ | | | struct * /usr/include/sys/time.h:67:53: note: expected ‘struct timeval * restrict’ but argument is of type ‘struct *’ 67 | extern int gettimeofday (struct timeval *__restrict __tv, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ date.c:162:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 162 | system("/sbin/hwclock -w >/dev/null 2>&1"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 date.o -L../libcommon -lcommon -o date x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -DSUS -c date.c -o date_sus.o date.c: In function ‘settime’: date.c:153:22: warning: passing argument 1 of ‘gettimeofday’ from incompatible pointer type [-Wincompatible-pointer-types] 153 | gettimeofday(&before.ut_tv, NULL); | ^~~~~~~~~~~~~ | | | struct * In file included from /usr/include/utmpx.h:22, from date.c:49: /usr/include/sys/time.h:67:53: note: expected ‘struct timeval * restrict’ but argument is of type ‘struct *’ 67 | extern int gettimeofday (struct timeval *__restrict __tv, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ date.c:160:22: warning: passing argument 1 of ‘gettimeofday’ from incompatible pointer type [-Wincompatible-pointer-types] 160 | gettimeofday(&after.ut_tv, NULL); | ^~~~~~~~~~~~ | | | struct * /usr/include/sys/time.h:67:53: note: expected ‘struct timeval * restrict’ but argument is of type ‘struct *’ 67 | extern int gettimeofday (struct timeval *__restrict __tv, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~ date.c:162:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 162 | system("/sbin/hwclock -w >/dev/null 2>&1"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 date_sus.o -L../libcommon -lcommon -o date_sus make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/date' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/dc' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -DSHELL='"/bin/sh"' -c dc.c dc.c: In function ‘init’: dc.c:937:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 937 | if (sigset(SIGINT, SIG_IGN) != SIG_IGN) | ^~ In file included from /usr/include/sys/wait.h:36, from dc.c:48: /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ dc.c:938:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 938 | sigset(SIGINT,onintr); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ dc.c: In function ‘onintr’: dc.c:993:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 993 | sigset(SIGINT,onintr); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ dc.c: In function ‘command’: dc.c:1675:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1675 | savint = sigset(SIGINT, SIG_IGN); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ dc.c:1677:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1677 | sigset(SIGINT,savint); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ dc.c: In function ‘srealloc’: dc.c:2057:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2057 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -c version.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 dc.o version.o -L../libcommon -lcommon -o dc make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/dc' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/dd' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c dd.c dd.c: In function ‘main’: dd.c:1028:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1028 | if ((sigset(SIGINT, SIG_IGN)) != SIG_IGN) | ^~ In file included from dd.c:49: /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ dd.c:1029:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1029 | sigset(SIGINT, onint); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ dd.c: In function ‘seekconv’: dd.c:507:25: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 507 | ftruncate(offd, offs); | ^~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 dd.o -L../libcommon -lcommon -o dd make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/dd' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/deroff' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -c deroff.c deroff.c: In function ‘srealloc’: deroff.c:1134:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1134 | write(2, Progname, strlen(Progname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ deroff.c:1135:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1135 | write(2, ": Cannot allocate memory\n", 25); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 deroff.o -L../libcommon -lcommon -o deroff x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -c deroff_ucb.c deroff_ucb.c: In function ‘srealloc’: deroff_ucb.c:1636:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1636 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 deroff_ucb.o -L../libcommon -lcommon -o deroff_ucb make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/deroff' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/diff' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c diffreg.c diffreg.c: In function ‘copytemp’: diffreg.c:409:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 409 | sigset(SIGHUP,sdone); | ^~~~~~ In file included from /usr/include/sys/param.h:28, from diff.h:83, from diffreg.c:77: /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ diffreg.c:410:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 410 | sigset(SIGINT,sdone); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ diffreg.c:411:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 411 | sigset(SIGPIPE,sdone); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ diffreg.c:412:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 412 | sigset(SIGTERM,sdone); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DDIFFH='"/usr/bin/heirloom-tools/5lib/diffh"' -c diff.c diff.c: In function ‘oomsg’: diff.c:488:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 488 | write(2, progname, strlen(progname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff.c:489:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 489 | write(2, s, strlen(s)); | ^~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c diffver.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c diffdir.c diffdir.c: In function ‘putNreg’: diffdir.c:733:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 733 | opipe = sigset(SIGPIPE, SIG_IGN); | ^~~~~ In file included from /usr/include/sys/param.h:28, from diff.h:83, from diffdir.c:77: /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ diffdir.c:781:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 781 | sigset(SIGPIPE, opipe); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ diffdir.c:736:17: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 736 | pipe(pv); | ^~~~~~~~ diffdir.c:744:25: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 744 | dup(pv[0]); | ^~~~~~~~~~ diffdir.c: In function ‘calldiff’: diffdir.c:575:17: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 575 | pipe(pv); | ^~~~~~~~ diffdir.c:583:25: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 583 | dup(pv[0]); | ^~~~~~~~~~ diffdir.c:599:25: warning: ignoring return value of ‘dup’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 599 | dup(pv[1]); | ^~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 diff.o diffdir.o diffreg.o diffver.o -L../libcommon -lcommon -o diff x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c diffh.c diffh.c: In function ‘lrealloc’: diffh.c:406:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 406 | write(2, "diffh: line too long\n", 21); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 diffh.o -L../libcommon -lcommon -o diffh make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/diff' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/diff3' echo '#!/bin/sh' | cat - diff3.sh | sed ' s,@DEFBIN@,/usr/bin/heirloom-tools/5bin,g; s,@SV3BIN@,/usr/bin/heirloom-tools/5bin,g; s,@DEFLIB@,/usr/bin/heirloom-tools/5lib,g' >diff3 chmod 755 diff3 x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -c diff3prog.c diff3prog.c: In function ‘mark’: diff3prog.c:587:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 587 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ diff3prog.c: In function ‘srealloc’: diff3prog.c:605:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 605 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ diff3prog.c: In function ‘grownc’: diff3prog.c:619:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 619 | write(2,"diff3: too many changes\n", 24); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 diff3prog.o -L../libcommon -lcommon -o diff3prog make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/diff3' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/dircmp' echo '#!/bin/sh' | cat - dircmp.sh | sed ' s,@DEFBIN@,/usr/bin/heirloom-tools/5bin,g; s,@SV3BIN@,/usr/bin/heirloom-tools/5bin,g; s,@DEFLIB@,/usr/bin/heirloom-tools/5lib,g' >dircmp chmod 755 dircmp make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/dircmp' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/dirname' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -c dirname.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 dirname.o -L../libcommon -lcommon -o dirname make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/dirname' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/df' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -DUCB -c df.c -o df_ucb.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 df_ucb.o -L../libcommon -lcommon -o df_ucb x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -c df.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 df.o -L../libcommon -lcommon -o df rm -f dfspace ln -s df dfspace make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/df' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/du' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DSUS -c du.c -o du_sus.o du.c: In function ‘srealloc’: du.c:122:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 122 | write(2, "No memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ du.c: In function ‘scalloc’: du.c:140:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 140 | write(2, "No memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 du_sus.o -L../libcommon -lcommon -o du_sus x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c du.c du.c: In function ‘srealloc’: du.c:122:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 122 | write(2, "No memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ du.c: In function ‘scalloc’: du.c:140:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 140 | write(2, "No memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 du.o -L../libcommon -lcommon -o du x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DUCB -c du.c -o du_ucb.o du.c: In function ‘srealloc’: du.c:122:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 122 | write(2, "No memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ du.c: In function ‘scalloc’: du.c:140:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 140 | write(2, "No memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 du_ucb.o -L../libcommon -lcommon -o du_ucb make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/du' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/echo' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DSUS -c echo.c -o echo_sus.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DSUS -c version.c -o version_sus.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -Dfunc='echo' -c main.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 echo_sus.o main.o version_sus.o -L../libcommon -lcommon -o echo_sus x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c echo.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c version.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 echo.o main.o version.o -L../libcommon -lcommon -o echo x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DUCB -c echo.c -o echo_ucb.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DUCB -c version.c -o version_ucb.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 echo_ucb.o main.o version_ucb.o -L../libcommon -lcommon -o echo_ucb make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/echo' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/ed' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -I../libuxre -DUXRE -DSU3 -DSHELL='"/bin/sh"' -c ed.c -o ed_su3.o ed.c: In function ‘main’: ed.c:291:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 291 | oldquit = sigset(SIGQUIT, SIG_IGN); | ^~~~~~~ In file included from /usr/include/sys/wait.h:36, from ed.c:62: /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:292:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 292 | oldhup = sigset(SIGHUP, SIG_IGN); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:293:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 293 | oldintr = sigset(SIGINT, SIG_IGN); | ^~~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:294:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 294 | if (sigset(SIGTERM, SIG_IGN) != SIG_IGN) | ^~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:295:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 295 | sigset(SIGTERM, quit); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:296:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 296 | oldpipe = sigset(SIGPIPE, onpipe); | ^~~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:314:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 314 | sigset(SIGQUIT, SIG_DFL); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:360:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 360 | sigset(SIGINT, onintr); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:362:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 362 | sigset(SIGHUP, onhup); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:365:17: warning: ‘sigrelse’ is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 365 | sigrelse(lastsig); | ^~~~~~~~ /usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ ed.c: In function ‘callunix’: ed.c:1275:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1275 | sigset(SIGHUP, oldhup); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1276:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1276 | sigset(SIGQUIT, oldquit); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1277:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1277 | sigset(SIGPIPE, oldpipe); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1282:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1282 | savint = sigset(SIGINT, SIG_IGN); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1285:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1285 | sigset(SIGINT, savint); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c: In function ‘sopen’: ed.c:2235:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 2235 | sigset(SIGHUP, oldhup); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:2236:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 2236 | sigset(SIGQUIT, oldquit); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:2237:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 2237 | sigset(SIGPIPE, oldpipe); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c: In function ‘putchr’: ed.c:2156:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2156 | write(1, line, lp-line); | ^~~~~~~~~~~~~~~~~~~~~~~ ed.c: In function ‘usage’: ed.c:378:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 378 | write(2, progname, strlen(progname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:380:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 380 | write(2, ": option requires an argument -- ", 33); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:382:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 382 | write(2, ": illegal option -- ", 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:383:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 383 | write(2, &c, 1); | ^~~~~~~~~~~~~~~ ed.c:384:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 384 | write(2, "\n", 1); | ^~~~~~~~~~~~~~~~~ ed.c:386:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 386 | write(2, "usage: ", 7); | ^~~~~~~~~~~~~~~~~~~~~~ ed.c:387:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 387 | write(2, progname, strlen(progname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:388:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 388 | write(2, " [- | -s] [-p string] [file]\n", 29); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c: In function ‘maketf’: ed.c:2204:17: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2204 | ftruncate(fd, 0); /* blkio() will seek to 0 anyway */ | ^~~~~~~~~~~~~~~~ ed.c: In function ‘commands’: ed.c:406:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 406 | write(1, prompt, strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:707:41: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 707 | ftruncate(io, 0); | ^~~~~~~~~~~~~~~~ ed.c: In function ‘exfile’: ed.c:956:25: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 956 | chown(file, fstbuf.st_uid, fstbuf.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c: In function ‘getnum’: ed.c:1127:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1127 | scount[i] = '\0'; | ~~~~~~~~~~^~~~~~ ed.c:1119:17: note: at offset 20 into destination object ‘scount’ of size 20 1119 | char scount[20]; | ^~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 ed_su3.o -L../libcommon -lcommon -L../libuxre -luxre -o ed_su3 x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -I../libuxre -DUXRE -DS42 -DSHELL='"/bin/sh"' -c ed.c -o ed_s42.o ed.c: In function ‘main’: ed.c:291:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 291 | oldquit = sigset(SIGQUIT, SIG_IGN); | ^~~~~~~ In file included from /usr/include/sys/wait.h:36, from ed.c:62: /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:292:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 292 | oldhup = sigset(SIGHUP, SIG_IGN); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:293:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 293 | oldintr = sigset(SIGINT, SIG_IGN); | ^~~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:294:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 294 | if (sigset(SIGTERM, SIG_IGN) != SIG_IGN) | ^~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:295:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 295 | sigset(SIGTERM, quit); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:296:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 296 | oldpipe = sigset(SIGPIPE, onpipe); | ^~~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:314:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 314 | sigset(SIGQUIT, SIG_DFL); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:360:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 360 | sigset(SIGINT, onintr); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:362:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 362 | sigset(SIGHUP, onhup); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:365:17: warning: ‘sigrelse’ is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 365 | sigrelse(lastsig); | ^~~~~~~~ /usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ ed.c: In function ‘callunix’: ed.c:1275:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1275 | sigset(SIGHUP, oldhup); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1276:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1276 | sigset(SIGQUIT, oldquit); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1277:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1277 | sigset(SIGPIPE, oldpipe); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1282:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1282 | savint = sigset(SIGINT, SIG_IGN); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1285:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1285 | sigset(SIGINT, savint); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c: In function ‘sopen’: ed.c:2235:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 2235 | sigset(SIGHUP, oldhup); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:2236:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 2236 | sigset(SIGQUIT, oldquit); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:2237:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 2237 | sigset(SIGPIPE, oldpipe); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c: In function ‘putchr’: ed.c:2156:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2156 | write(1, line, lp-line); | ^~~~~~~~~~~~~~~~~~~~~~~ ed.c: In function ‘usage’: ed.c:378:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 378 | write(2, progname, strlen(progname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:380:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 380 | write(2, ": option requires an argument -- ", 33); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:382:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 382 | write(2, ": illegal option -- ", 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:383:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 383 | write(2, &c, 1); | ^~~~~~~~~~~~~~~ ed.c:384:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 384 | write(2, "\n", 1); | ^~~~~~~~~~~~~~~~~ ed.c:386:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 386 | write(2, "usage: ", 7); | ^~~~~~~~~~~~~~~~~~~~~~ ed.c:387:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 387 | write(2, progname, strlen(progname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:388:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 388 | write(2, " [- | -s] [-p string] [file]\n", 29); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c: In function ‘maketf’: ed.c:2204:17: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2204 | ftruncate(fd, 0); /* blkio() will seek to 0 anyway */ | ^~~~~~~~~~~~~~~~ ed.c: In function ‘commands’: ed.c:406:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 406 | write(1, prompt, strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:707:41: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 707 | ftruncate(io, 0); | ^~~~~~~~~~~~~~~~ ed.c: In function ‘exfile’: ed.c:956:25: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 956 | chown(file, fstbuf.st_uid, fstbuf.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c: In function ‘getnum’: ed.c:1127:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1127 | scount[i] = '\0'; | ~~~~~~~~~~^~~~~~ ed.c:1119:17: note: at offset 20 into destination object ‘scount’ of size 20 1119 | char scount[20]; | ^~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 ed_s42.o -L../libcommon -lcommon -L../libuxre -luxre -o ed_s42 x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -DSHELL='"/bin/sh"' -c ed.c ed.c: In function ‘main’: ed.c:291:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 291 | oldquit = sigset(SIGQUIT, SIG_IGN); | ^~~~~~~ In file included from /usr/include/sys/wait.h:36, from ed.c:62: /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:292:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 292 | oldhup = sigset(SIGHUP, SIG_IGN); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:293:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 293 | oldintr = sigset(SIGINT, SIG_IGN); | ^~~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:294:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 294 | if (sigset(SIGTERM, SIG_IGN) != SIG_IGN) | ^~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:295:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 295 | sigset(SIGTERM, quit); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:296:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 296 | oldpipe = sigset(SIGPIPE, onpipe); | ^~~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:314:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 314 | sigset(SIGQUIT, SIG_DFL); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:360:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 360 | sigset(SIGINT, onintr); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:362:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 362 | sigset(SIGHUP, onhup); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:365:17: warning: ‘sigrelse’ is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 365 | sigrelse(lastsig); | ^~~~~~~~ /usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ ed.c: In function ‘callunix’: ed.c:1275:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1275 | sigset(SIGHUP, oldhup); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1276:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1276 | sigset(SIGQUIT, oldquit); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1277:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1277 | sigset(SIGPIPE, oldpipe); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1282:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1282 | savint = sigset(SIGINT, SIG_IGN); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1285:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1285 | sigset(SIGINT, savint); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c: In function ‘sopen’: ed.c:2235:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 2235 | sigset(SIGHUP, oldhup); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:2236:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 2236 | sigset(SIGQUIT, oldquit); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:2237:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 2237 | sigset(SIGPIPE, oldpipe); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c: In function ‘putchr’: ed.c:2156:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2156 | write(1, line, lp-line); | ^~~~~~~~~~~~~~~~~~~~~~~ ed.c: In function ‘usage’: ed.c:378:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 378 | write(2, progname, strlen(progname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:380:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 380 | write(2, ": option requires an argument -- ", 33); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:382:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 382 | write(2, ": illegal option -- ", 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:383:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 383 | write(2, &c, 1); | ^~~~~~~~~~~~~~~ ed.c:384:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 384 | write(2, "\n", 1); | ^~~~~~~~~~~~~~~~~ ed.c:386:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 386 | write(2, "usage: ", 7); | ^~~~~~~~~~~~~~~~~~~~~~ ed.c:387:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 387 | write(2, progname, strlen(progname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:388:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 388 | write(2, " [- | -s] [-p string] [file]\n", 29); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c: In function ‘maketf’: ed.c:2204:17: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2204 | ftruncate(fd, 0); /* blkio() will seek to 0 anyway */ | ^~~~~~~~~~~~~~~~ ed.c: In function ‘commands’: ed.c:406:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 406 | write(1, prompt, strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:707:41: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 707 | ftruncate(io, 0); | ^~~~~~~~~~~~~~~~ ed.c: In function ‘exfile’: ed.c:956:25: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 956 | chown(file, fstbuf.st_uid, fstbuf.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c: In function ‘getnum’: ed.c:1127:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1127 | scount[i] = '\0'; | ~~~~~~~~~~^~~~~~ ed.c:1119:17: note: at offset 20 into destination object ‘scount’ of size 20 1119 | char scount[20]; | ^~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 ed.o -L../libcommon -lcommon -o ed x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -I../libuxre -DUXRE -DSUS -DSHELL='"/bin/sh"' -c ed.c -o ed_sus.o ed.c: In function ‘main’: ed.c:291:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 291 | oldquit = sigset(SIGQUIT, SIG_IGN); | ^~~~~~~ In file included from /usr/include/sys/wait.h:36, from ed.c:62: /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:292:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 292 | oldhup = sigset(SIGHUP, SIG_IGN); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:293:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 293 | oldintr = sigset(SIGINT, SIG_IGN); | ^~~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:294:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 294 | if (sigset(SIGTERM, SIG_IGN) != SIG_IGN) | ^~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:295:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 295 | sigset(SIGTERM, quit); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:296:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 296 | oldpipe = sigset(SIGPIPE, onpipe); | ^~~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:314:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 314 | sigset(SIGQUIT, SIG_DFL); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:360:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 360 | sigset(SIGINT, onintr); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:362:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 362 | sigset(SIGHUP, onhup); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:365:17: warning: ‘sigrelse’ is deprecated: Use the sigprocmask function instead [-Wdeprecated-declarations] 365 | sigrelse(lastsig); | ^~~~~~~~ /usr/include/signal.h:359:12: note: declared here 359 | extern int sigrelse (int __sig) __THROW | ^~~~~~~~ ed.c: In function ‘callunix’: ed.c:1275:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1275 | sigset(SIGHUP, oldhup); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1276:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1276 | sigset(SIGQUIT, oldquit); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1277:17: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1277 | sigset(SIGPIPE, oldpipe); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1282:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1282 | savint = sigset(SIGINT, SIG_IGN); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:1285:9: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 1285 | sigset(SIGINT, savint); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c: In function ‘sopen’: ed.c:2235:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 2235 | sigset(SIGHUP, oldhup); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:2236:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 2236 | sigset(SIGQUIT, oldquit); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c:2237:25: warning: ‘sigset’ is deprecated: Use the signal and sigprocmask functions instead [-Wdeprecated-declarations] 2237 | sigset(SIGPIPE, oldpipe); | ^~~~~~ /usr/include/signal.h:367:23: note: declared here 367 | extern __sighandler_t sigset (int __sig, __sighandler_t __disp) __THROW | ^~~~~~ ed.c: In function ‘putchr’: ed.c:2156:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2156 | write(1, line, lp-line); | ^~~~~~~~~~~~~~~~~~~~~~~ ed.c: In function ‘usage’: ed.c:378:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 378 | write(2, progname, strlen(progname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:380:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 380 | write(2, ": option requires an argument -- ", 33); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:382:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 382 | write(2, ": illegal option -- ", 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:383:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 383 | write(2, &c, 1); | ^~~~~~~~~~~~~~~ ed.c:384:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 384 | write(2, "\n", 1); | ^~~~~~~~~~~~~~~~~ ed.c:386:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 386 | write(2, "usage: ", 7); | ^~~~~~~~~~~~~~~~~~~~~~ ed.c:387:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 387 | write(2, progname, strlen(progname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:388:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 388 | write(2, " [- | -s] [-p string] [file]\n", 29); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c: In function ‘maketf’: ed.c:2204:17: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 2204 | ftruncate(fd, 0); /* blkio() will seek to 0 anyway */ | ^~~~~~~~~~~~~~~~ ed.c: In function ‘commands’: ed.c:406:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 406 | write(1, prompt, strlen(prompt)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c:707:41: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 707 | ftruncate(io, 0); | ^~~~~~~~~~~~~~~~ ed.c: In function ‘exfile’: ed.c:956:25: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 956 | chown(file, fstbuf.st_uid, fstbuf.st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ed.c: In function ‘getnum’: ed.c:1127:19: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 1127 | scount[i] = '\0'; | ~~~~~~~~~~^~~~~~ ed.c:1119:17: note: at offset 20 into destination object ‘scount’ of size 20 1119 | char scount[20]; | ^~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 ed_sus.o -L../libcommon -lcommon -L../libuxre -luxre -o ed_sus make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/ed' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/env' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -c env.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 env.o -L../libcommon -lcommon -o env make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/env' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/expand' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -D_FILE_OFFSET_BITS=64L -c tablist.c tablist.c: In function ‘scalloc’: tablist.c:99:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 99 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -D_FILE_OFFSET_BITS=64L -c expand.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 expand.o tablist.o -L../libcommon -lcommon -o expand x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -D_FILE_OFFSET_BITS=64L -c unexpand.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 unexpand.o tablist.o -L../libcommon -lcommon -o unexpand make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/expand' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/expr' yacc expr.y mv -f y.tab.c expr.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -I../libuxre -DUXRE -D_FILE_OFFSET_BITS=64L -DS42 -c expr.c -o expr_s42.o expr.y: In function ‘yyparse’: expr.y:143:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 143 | printf("%lld\n", n); | ^~~~~~~~ ~ | | | int64_t {aka long int} expr.y: In function ‘srealloc’: expr.y:431:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 431 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 expr_s42.o -L../libuxre -luxre -L../libcommon -lcommon -o expr_s42 x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -I../libuxre -DUXRE -D_FILE_OFFSET_BITS=64L -DSUS -c expr.c -o expr_sus.o expr.y: In function ‘yyparse’: expr.y:143:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 143 | printf("%lld\n", n); | ^~~~~~~~ ~ | | | int64_t {aka long int} expr.y: In function ‘srealloc’: expr.y:431:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 431 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 expr_sus.o -L../libuxre -luxre -L../libcommon -lcommon -o expr_sus x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -D_FILE_OFFSET_BITS=64L -c expr.c expr.y: In function ‘yyparse’: expr.y:143:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 143 | printf("%lld\n", n); | ^~~~~~~~ ~ | | | int64_t {aka long int} expr.y: In function ‘srealloc’: expr.y:431:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 431 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 expr.o -L../libcommon -lcommon -o expr x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -I../libuxre -DUXRE -D_FILE_OFFSET_BITS=64L -DSU3 -c expr.c -o expr_su3.o expr.y: In function ‘yyparse’: expr.y:143:40: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int64_t’ {aka ‘long int’} [-Wformat=] 143 | printf("%lld\n", n); | ^~~~~~~~ ~ | | | int64_t {aka long int} expr.y: In function ‘srealloc’: expr.y:431:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 431 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 expr_su3.o -L../libuxre -luxre -L../libcommon -lcommon -o expr_su3 make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/expr' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/factor' echo '/* Auto-generated by make. Do not edit! */' >config.h echo '#include ' >___build$$.c ; \ echo 'int main(void) { sqrtl(2); fmodl(2, 2); powl(2, 2); return 0; }'\ >>___build$$.c ; \ x86_64-pc-linux-gnu-gcc ___build$$.c -lm -o ___build$$ >/dev/null 2>&1 ; \ if test $? = 0 && test -f ___build$$ ; \ then \ echo '#if !defined (__dietlibc__) && !defined (_AIX)' >>config.h ; \ echo '#define USE_LONG_DOUBLE' >>config.h ; \ echo '#endif' >>config.h ; \ fi ; \ rm -f ___build$$.c ___build$$ ___build$$.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -c factor.c factor.c: In function ‘token’: factor.c:134:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 134 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 factor.o -lm -L../libcommon -lcommon -o factor echo 'cc="x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon"' | \ cat - mansubst.sh >mansubst chmod +x mansubst sh mansubst factor.1 make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/factor' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/file' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DMAGIC='"/usr/bin/heirloom-tools/5lib/magic"' -c file.c file.c: In function ‘scalloc’: file.c:896:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 896 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 file.o -L../libcommon -lcommon -o file x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DSUS -DMAGIC='"/usr/bin/heirloom-tools/5lib/magic"' -c file.c -o file_sus.o file.c: In function ‘scalloc’: file.c:896:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 896 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 file_sus.o -L../libcommon -lcommon -o file_sus make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/file' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/find' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DGETDIR -DSUS -c find.c -o find_sus.o find.c: In function ‘srealloc’: find.c:1244:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1244 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ find.c: In function ‘descend1’: find.c:1112:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1112 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 find_sus.o -L../libcommon -lcommon -o find_sus x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DGETDIR -c find.c find.c: In function ‘srealloc’: find.c:1244:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1244 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ find.c: In function ‘descend1’: find.c:1112:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1112 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 find.o -L../libcommon -lcommon -o find x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DGETDIR -DSU3 -c find.c -o find_su3.o find.c: In function ‘srealloc’: find.c:1244:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1244 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ find.c: In function ‘descend1’: find.c:1112:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1112 | write(2, "no memory\n", 10); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 find_su3.o -L../libcommon -lcommon -o find_su3 make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/find' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/fmt' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -D_FILE_OFFSET_BITS=64L -c fmt.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 fmt.o -L../libcommon -lcommon -o fmt make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/fmt' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/fmtmsg' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c version.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c fmtmsg.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c main.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 fmtmsg.o main.o version.o -L../libcommon -lcommon -o fmtmsg make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/fmtmsg' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/fold' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -D_FILE_OFFSET_BITS=64L -c fold.c fold.c: In function ‘addchr’: fold.c:281:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 281 | write(2, "no space\n", 9); | ^~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 fold.o -L../libcommon -lcommon -o fold make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/fold' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/getconf' rm -f heirloom.h awk <../CHANGES '{ if ($2 ~ /^[0-9][0-9][0-9][0-9][0-9][0-9]$/) \ version = $2; \ else \ version = '`date +%y%m%d`'; \ printf("#define\tHEIRLOOM_TOOLCHEST_VERSION\t%d\n", \ version + 20000000); \ exit }' >heirloom.h x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DSUSBIN='"/usr/bin/heirloom-tools/5bin/posix"' -DSU3BIN='"/usr/bin/heirloom-tools/5bin/posix2001"' -DDEFBIN='"/usr/bin/heirloom-tools/5bin"' -DUCBBIN='"/usr/bin/heirloom-tools/ucb"' -DCCSBIN='"/usr/bin/heirloom-tools/ccs/bin"' -c getconf.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 getconf.o -L../libcommon -lcommon -o getconf x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -DSUSBIN='"/usr/bin/heirloom-tools/5bin/posix"' -DSU3BIN='"/usr/bin/heirloom-tools/5bin/posix2001"' -DDEFBIN='"/usr/bin/heirloom-tools/5bin"' -DUCBBIN='"/usr/bin/heirloom-tools/ucb"' -DCCSBIN='"/usr/bin/heirloom-tools/ccs/bin"' -DSU3 -c getconf.c -o getconf_su3.o x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 getconf_su3.o -L../libcommon -lcommon -o getconf_su3 make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/getconf' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/getopt' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64L -I../libcommon -c getopt.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 getopt.o -L../libcommon -lcommon -o getopt make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/getopt' make[1]: Entering directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/grep' x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GNU_SOURCE -I../libcommon -I../libuxre -DUXRE -D_FILE_OFFSET_BITS=64L -c ac.c In file included from ac.c:55: grep.h:35:17: fatal error: config.h: No such file or directory 35 | #include "config.h" | ^~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:336: ac.o] Error 1 shuffle=1910288677 make[1]: Leaving directory '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715/grep' make: *** [makefile:23: all] Error 2 shuffle=1910288677 * ERROR: sys-apps/heirloom-tools-070715-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/heirloom-tools-070715-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/heirloom-tools-070715-r4::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:heirloom-tools-070715-r4:20230224-155334.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715' * S: '/var/tmp/portage/sys-apps/heirloom-tools-070715-r4/work/heirloom-070715'