Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 191018 - emerging files in /usr/share gets stuck following the bootstrap-macos instructions
Summary: emerging files in /usr/share gets stuck following the bootstrap-macos instruc...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: x86 OS X
: High normal
Assignee: osx porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-02 00:25 UTC by Maurice Volaski
Modified: 2007-10-08 18:48 UTC (History)
0 users

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 Maurice Volaski 2007-09-02 00:25:01 UTC
I tried following the instructions here, http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml to install portage on OS X and works find until I get to emerge --oneshot sed

Emerge complains with

/Users/maurice/Gentoo/usr/lib/portage/bin/ecompressdir: line 13: shopt: extdebug: invalid shell option name
/Users/maurice/Gentoo/usr/lib/portage/bin/ecompress: line 13: shopt: extdebug: invalid shell option name
 * QA Notice: the following files are outside of the prefix:
 * /usr
/usr/share
/usr/share/doc
/usr/share/doc/sed-4.1.5
/usr/share/doc/sed-4.1.5/AUTHORS.gz
/usr/share/doc/sed-4.1.5/BUGS.gz
/usr/share/doc/sed-4.1.5/ChangeLog.gz
/usr/share/doc/sed-4.1.5/dos2unix.gz
/usr/share/doc/sed-4.1.5/NEWS.gz
/usr/share/doc/sed-4.1.5/README-alpha.gz
/usr/share/doc/sed-4.1.5/README.boot.gz
/usr/share/doc/sed-4.1.5/README.gz
/usr/share/doc/sed-4.1.5/THANKS.gz
/usr/share/doc/sed-4.1.5/unix2dos.gz
 * 
 * ERROR: sys-apps/sed-4.1.5 failed.



emerge info is
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
Unknown Host Operating System
Timestamp of tree: Unknown
distcc 2.18.3-Apple.1 powerpc-apple-darwin8.0 (protocols 1 and 2) (default port 3632) [disabled]
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"
DISTDIR="/Users/maurice/Gentoo/usr/portage/distfiles"
EPREFIX="/Users/maurice/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/maurice/Gentoo/usr/lib -L/Users/maurice/Gentoo/lib"
PKGDIR="/Users/maurice/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/maurice/Gentoo/var/tmp"
PORTDIR="/Users/maurice/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 1 Fabian Groffen gentoo-dev 2007-09-02 11:43:32 UTC
this is an interesting one.  Can you post the $Id: ... line of the bootstrap-prefix.sh file?
Comment 2 Maurice Volaski 2007-09-03 06:23:02 UTC
I don't see an $ld line in this script, but the problem simply appears to be that the script posted at http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml is out of date. The script did install a newer version of itself in Gentoo/usr/portage/scripts. I reran everything with that script and it works fine. 

I think you just need to keep that web page up-to-date with the latest bootscript script.
Comment 3 Fabian Groffen gentoo-dev 2007-09-03 07:16:13 UTC
If you click the download link, you get the latest version of the script.  However, that script won't be updated if you downloaded it, of course.
Comment 4 Maurice Volaski 2007-09-03 17:51:15 UTC
That seems to mean I have it backwards. The latest script, which is posted, is the one that isn't working. The earlier one in portage, which has PV="20070806", is.
Comment 5 Fabian Groffen gentoo-dev 2007-09-04 07:45:11 UTC
Ok, so you basically say our latest tree snapshot is faulty/corrupt.

@pipping: have you (re-)bootstrapped your system recently using the latest bootstrap script (and hence the latest tree snapshot)?
Comment 6 Elias Pipping (RETIRED) gentoo-dev 2007-09-04 15:02:17 UTC
> @pipping: have you (re-)bootstrapped your system recently using the latest
> bootstrap script (and hence the latest tree snapshot)?
> 

My last bootstrap dates back to august 25th. Back then it worked.
Comment 7 Maurice Volaski 2007-09-05 22:04:23 UTC
I'm not sure what to say other than the time I tried it with the file that was on the website, it failed with this odd complaint and then when I tried it again with the earlier one from the prefixed tree, it worked. It just could have been odd environmental quirkiness.
Comment 8 Elias Pipping (RETIRED) gentoo-dev 2007-10-08 18:43:59 UTC
NEEDINFO?
Comment 9 Fabian Groffen gentoo-dev 2007-10-08 18:48:18 UTC
probably something went wrong the first time.