I went through every version of umix in portage, and each one failed to build with the same errors: config.status: creating Makefile sed: file ./confstat4IIGLx/subs-1.sed line 45: Unterminated `s' command sed: couldn't write 70 items to stdout: Broken pipe config.status: creating doc/Makefile sed: file ./confstat4IIGLx/subs-1.sed line 45: Unterminated `s' command sed: Couldn't flush stdout: Broken pipe config.status: creating src/Makefile sed: file ./confstat4IIGLx/subs-1.sed line 45: Unterminated `s' command sed: couldn't write 73 items to stdout: Broken pipe config.status: creating config.h config.status: executing default-1 commands Configuration: Install path: /usr Build OSS support: yes Build Dummy mixer driver: no Build Ncurses UI: yes Enable debug information: no Default config path: /etc Default mixer device: /dev/mixer make: *** No targets. Stop. For what it's worth, emerge info: Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r1) ================================================================= System uname: 2.6.8-gentoo-r1 i686 AMD Athlon(tm) processor Gentoo Base System version 1.5.3 distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.eliteitminds.com http://gentoo.llarian.net/ http://ftp-mirror.internap.com/pub/gentoo/" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://xerxes/gentoo-portage" USE="3dnow 3dnowex X aalib acpi alsa audiofile avi cdparanoia cdr cjk crypt dga dvd encode flac gdbm geoip gif gmp gphoto2 gtk imagemagick imlib jack jpeg libg++ libwww mad mikmod mmx mmx2 motif mozilla mpeg ncurses nls noreiserfs nvidia offensive oggvorbis opengl pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd tetex truetype usb x86 xml2 xmms xv zlib"
Correction, this is happening with every ebuild involving a configure script. If I run the script directly, it magically works. I'm fast running out of ideas.
Could you please try to re-emerge sys-apps/sed with empty CFLAGS and then try again if the sed command now works correctly? CFLAGS="" emerge --oneshot sys-apps/sed
are you using a LANG or LOCALE ?
Actually, I just discovered the source of the problem, see this thread in the forums: http://forums.gentoo.org/viewtopic.php?t=163092&highlight=configure+unterminated+s+command I'd still consider this a bug, but that's me.
*** Bug 64603 has been marked as a duplicate of this bug. ***
*** Bug 20506 has been marked as a duplicate of this bug. ***
Bug has been fixed and released in stable portages on or before 2.0.51-r2