Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63784 - portage should error when newlines are in FLAG variables
Summary: portage should error when newlines are in FLAG variables
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 20506 64603 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-12 08:55 UTC by Ben Anderson
Modified: 2004-10-22 08:47 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Anderson 2004-09-12 08:55:05 UTC
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"
Comment 1 Ben Anderson 2004-09-12 09:13:49 UTC
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.
Comment 2 Sven Wegener gentoo-dev 2004-09-12 09:57:43 UTC
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
Comment 3 SpanKY gentoo-dev 2004-09-12 10:01:44 UTC
are you using a LANG or LOCALE ?
Comment 4 Ben Anderson 2004-09-12 10:10:26 UTC
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.
Comment 5 Sven Wegener gentoo-dev 2004-09-19 07:18:10 UTC
*** Bug 64603 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2004-10-05 07:45:09 UTC
*** Bug 20506 has been marked as a duplicate of this bug. ***
Comment 7 Nicholas Jones (RETIRED) gentoo-dev 2004-10-22 08:47:50 UTC
Bug has been fixed and released in stable portages on or before 2.0.51-r2