I tried to bootstrap a Gentoo Prefix on a OSX 10.5.8 according to this guide: http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-macos.xml System info: CPU PPC (G4 7450) XCode 3.1.4 with GCC 4.0.1 (powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5493)) Macports 1.9.2 installed as well (if that might cause problems). Everything went as expected (except that I had a message about updating portage using "emerge portage" between step 1.12 and 1.13, which I did), until I came to this point: USE=-git emerge -u system 27 packages were due to install, 4 installs worked, but the grep-2.7 install failed. Using the command again, 23 packages were due to install (obviously), but the grep-2.7 install still fails all the time thus blocking the whole bootstrapping process. Reproducible: Always Actual Results: Error message: Undefined symbols: "_libiconv_open", referenced from: _str_iconv in libgreputils.a(striconv.o) "_libiconv", referenced from: _mem_cd_iconv in libgreputils.a(striconv.o) _mem_cd_iconv in libgreputils.a(striconv.o) _mem_cd_iconv in libgreputils.a(striconv.o) _mem_cd_iconv in libgreputils.a(striconv.o) _mem_cd_iconv in libgreputils.a(striconv.o) _mem_cd_iconv in libgreputils.a(striconv.o) _str_cd_iconv in libgreputils.a(striconv.o) _str_cd_iconv in libgreputils.a(striconv.o) _str_cd_iconv in libgreputils.a(striconv.o) "_libiconv_close", referenced from: _str_iconv in libgreputils.a(striconv.o) _str_iconv in libgreputils.a(striconv.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[2]: *** [grep] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 emake failed Expected Results: grep-2.7 should build. Attaching the build.log; output of 'emerge --info =sys-apps/grep-2.7' and 'emerge -pqv =sys-apps/grep-2.7' commands as well as the ebuild environment.
Created attachment 255031 [details] Build.log The build.log file.
Created attachment 255033 [details] Output of 'emerge --info =sys-apps/grep-2.7'
Created attachment 255035 [details] Output of 'emerge -pqv =sys-apps/grep-2.7'
Created attachment 255037 [details] ebuild environment file
Well, it's not a fix. + 23 Nov 2010; Jeremy Olexa <darkside@gentoo.org> darwin/package.mask: + Pre-emptive mask for =grep-2.7, breaks bootstrapping on macos. bug 346335
ah, seems enable/disable-nls no longer properly works
I added a patch from upstream to resolve this, thanks!