Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189999 - sed ebuild fail
Summary: sed ebuild fail
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High blocker (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-24 05:00 UTC by Emanuele Gentili
Modified: 2007-10-08 18:22 UTC (History)
1 user (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 Emanuele Gentili 2007-08-24 05:00:29 UTC
http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml

1.18 emerge system fail to sed ebuild.

Reproducible: Always

Steps to Reproduce:
merging sed in emerging system

Actual Results:  
sed: 1: "install_sh=/Users/bathy ...": command i expects \ followed by text
make  all-recursive
Making all in intl
make[2]: *** No rule to make target `all'.  Stop.
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
 * 
 * ERROR: sys-apps/sed-4.1.5 failed.
 * Call stack:
 *   ebuild.sh, line 1592:   Called dyn_compile
 *   ebuild.sh, line 928:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   sed-4.1.5.ebuild, line 61:   Called die
 * 
 * build failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/Users/bathym/Gentoo/var/tmp/portage/sys-apps/sed-4.1.5/temp/build.log'.
 * 

 * Messages for package sys-apps/sed-4.1.5:

 * 
 * ERROR: sys-apps/sed-4.1.5 failed.
 * Call stack:
 *   ebuild.sh, line 1592:   Called dyn_compile
 *   ebuild.sh, line 928:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   sed-4.1.5.ebuild, line 61:   Called die
 * 
 * build failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/Users/bathym/Gentoo/var/tmp/portage/sys-apps/sed-4.1.5/temp/build.log'.
 * 
 * GNU info directory index is up-to-date.
Lenin:~/Gentoo bathym %
Comment 1 Emanuele Gentili 2007-08-24 05:04:23 UTC
Lenin:~/Gentoo bathym % emerge --info
Portage 2.2.00.7595-prefix (default-prefix/darwin/macos/10.4/x86, gcc-4.0.1, unavailable, 8.10.1 i386)
=================================================================
System uname: 8.10.1 i386 i386
Gentoo Prefix Base System version 1.12.5
Timestamp of tree: Unknown
distcc 2.18.3-Apple powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.4.4-r04.2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/libtool:   1.5.24
ACCEPT_KEYWORDS="x86-macos ~x86-macos"
AUTOCLEAN="yes"
CBUILD="i686-apple-darwin8"
CFLAGS="-march=prescott"
CHOST="i686-apple-darwin8"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
DISTDIR="/Users/bathym/Gentoo/usr/portage/distfiles"
EPREFIX="/Users/bathym/Gentoo"
FEATURES="collision-protect distlocks metadata-transfer nostrip sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-search_paths_first -L/Users/bathym/Gentoo/usr/lib -L/Users/bathym/Gentoo/lib"
PKGDIR="/Users/bathym/Gentoo/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/Users/bathym/Gentoo/var/tmp"
PORTDIR="/Users/bathym/Gentoo/usr/portage"
SYNC="svn+http://overlays.gentoo.org/svn/proj/alt/trunk/prefix-overlay"
USE="aqua coreaudio cracklib midi mmx mmxext ncurses objc objc++ prefix readline sse sse2 ssl x86-macos zlib" ELIBC="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CTARGET, CXXFLAGS, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Fabian Groffen gentoo-dev 2007-08-24 07:40:34 UTC
quite interesting.  Looks like something gets screwed up out there.  Step 1.6 (emerge --oneshot sed) went fine, didn't it?
Comment 3 Emanuele Gentili 2007-08-24 10:55:43 UTC
in 1.6 work fine. later, in emerge -e system ebuild failed.
Comment 4 Elias Pipping (RETIRED) gentoo-dev 2007-09-01 13:23:41 UTC
Can you supply some additional output, please?

You could paste the build.log somewhere, too.
Comment 5 Elias Pipping (RETIRED) gentoo-dev 2007-09-01 14:37:43 UTC
the problem appears to be located in the configure script, where sed is called with syntax that /usr/bin/sed does not understand. at that point, sed has already been bootstrapped and should be used instead of the system-sed, though, which is what makes this strange.
Comment 6 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2007-09-17 16:53:59 UTC
(In reply to comment #5)
> the problem appears to be located in the configure script, where sed is called
> with syntax that /usr/bin/sed does not understand. at that point, sed has
> already been bootstrapped and should be used instead of the system-sed, though,
> which is what makes this strange.
> 

This happened to me as well on a different platform. As a temp workaround I did 'mv /usr/bin/sed /usr/bin/sed.bak" I'm not sure why the OS's version of sed was trying to be used instead of what I already had in the prefix. After I moved that then it worked because the configure script used a sane version of sed (prefix version). I do not understand why the sed ebuild needs sed, perhaps an alternative needs to be worked out there.
Comment 7 Fabian Groffen gentoo-dev 2007-10-08 18:22:02 UTC
I recently bootstrapped on FreeBSD and haven't had any problems with this.

Please reopen if the problem persists using the latest bootstrap image.