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
this is an interesting one. Can you post the $Id: ... line of the bootstrap-prefix.sh file?
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.
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.
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.
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)?
> @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.
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.
NEEDINFO?
probably something went wrong the first time.