I'm trying to do an emerge -uD world and gawk fails. It gets to "creating Makefile" then shows several errors. Reproducible: Always Steps to Reproduce: 1. emerge -uD gawk Actual Results: sed: file conftest.s1 line4: Unterminated 's' command sed: couldn't write 66 items to stdout: Broken pipe creating awklib/Makefile sed: file conftest.s1 line4: Unterminated 's' command sed: couldn't write 47 items to stdout: Broken pipe creating doc/Makefile sed: file conftest.s1 line4: Unterminated 's' command sed: couldn't write 51 items to stdout: Broken pipe creating intl/Makefile sed: file conftest.s1 line4: Unterminated 's' command sed: couldn't write 11 items to stdout: Broken pipe creating po/Makefile sed: file conftest.s1 line4: Unterminated 's' command sed: couldn't write 10 items to stdout: Broken pipe creating test/Makefile sed: file conftest.s1 line4: Unterminated 's' command sed: couldn't write 1 item to stdout: Broken pipe creating config.h creating po/POTFILES creating po/Makefile make: *** No Targets. Stop. !!! ERROR: sys-apps/gawk-3.1.1-r2 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! (no error message) Expected Results: gawk installs portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ----------------------------------- system: 2.4.19-gentoo-r9 pentium2, gcc3 I can provide my use/cflags/etc later if so desired, but I'm not on the box w/the problem at the moment, and that's a lot of stuff to retype by hand.
please provide emerge info
I found the same problem on a second PC, also doing an 'emerge -uD world' on it. Shown is the last lines from the emerge and the output from emerge info. 'emerge -uD world' (OR 'emerge gawk'): ... creating ./config.status creating Makefile sed: file conftest.s1 line 4: Unterminated `s' command sed: couldn't write 66 items to stdout: Broken pipe creating awklib/Makefile sed: file conftest.s1 line 4: Unterminated `s' command sed: couldn't write 47 items to stdout: Broken pipe creating doc/Makefile sed: file conftest.s1 line 4: Unterminated `s' command sed: couldn't write 51 items to stdout: Broken pipe creating intl/Makefile sed: file conftest.s1 line 4: Unterminated `s' command sed: couldn't write 11 items to stdout: Broken pipe creating po/Makefile.in sed: file conftest.s1 line 4: Unterminated `s' command sed: couldn't write 10 items to stdout: Broken pipe creating test/Makefile sed: file conftest.s1 line 4: Unterminated `s' command sed: couldn't write 1 item to stdout: Broken pipe creating config.h creating po/POTFILES creating po/Makefile make: *** No targets. Stop. !!! ERROR: sys-apps/gawk-3.1.1-r2 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! (no error message) emerge info: [jhoffoss@cotton:~] % sudo emerge info Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gentoo-r2 i686 Pentium III (Katmai) GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="libg++ ncurses nls pdflib xml2 slang guile motif -3dfx -3dnow -aalib -acl -acpi -afs alsa apache apm -arts -atlas avi -berkdb bonobo -canna -cdr -cjk crypt cups dga directfb doc dvb dvd encode -esd -evo -ev6 fbcon -flash -freewnn gd gdbm gif gnome -gphoto2 gpm gtk gtk2 gtkhtml imap imlib java jikes jpeg -kde kerberos ldap libwww maildir mikmod mmx mozilla mpeg mysql odbc oggvorbis opengl oss pam pdf perl pic png python -qt quicktime readline ruby samba sasl -scanner sdl -slp spell sse ssl svga tcltk tcpd tiff truetype usb X x86 xface xmms xv zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=pentium3 -Os -pipe -fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -falign-loops=4 -ffast-math" CXXFLAGS="-mcpu=pentium3 -Os -pipe -fomit-frame-pointer -falign-functions=4 -falign-jumps=4 -falign-loops=4 -ffast-math" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
This is not a bug. After fighting with it for awhile, poring over my system, and various other things inciting streams of obscenities, I discovered my make.conf had been opened, edited and saved in nano without using -w, so both my USE flags and my GCC flags were sprawled over several lines. Once I opened the file with 'nano -w' and fixed it, I was immediately able to resume compiling software.
user said it isn't a bug :-D