Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346335 - Emerging sys-apps/grep-2.7 fails during prefix bootstrap process on OSX 10.5.8 PPC
Summary: Emerging sys-apps/grep-2.7 fails during prefix bootstrap process on OSX 10.5....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: PPC OS X
: High normal
Assignee: Gentoo Prefix
URL: http://git.savannah.gnu.org/cgit/grep...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-21 17:27 UTC by bitmail
Modified: 2010-11-23 21:39 UTC (History)
0 users

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


Attachments
Build.log (build.log,30.92 KB, text/plain)
2010-11-21 17:28 UTC, bitmail
Details
Output of 'emerge --info =sys-apps/grep-2.7' (emerge.info,3.01 KB, text/plain)
2010-11-21 17:29 UTC, bitmail
Details
Output of 'emerge -pqv =sys-apps/grep-2.7' (emerge.pqv,174 bytes, text/plain)
2010-11-21 17:30 UTC, bitmail
Details
ebuild environment file (environment,6.57 KB, text/plain)
2010-11-21 17:30 UTC, bitmail
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bitmail 2010-11-21 17:27:53 UTC
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.
Comment 1 bitmail 2010-11-21 17:28:41 UTC
Created attachment 255031 [details]
Build.log

The build.log file.
Comment 2 bitmail 2010-11-21 17:29:28 UTC
Created attachment 255033 [details]
Output of 'emerge --info =sys-apps/grep-2.7'
Comment 3 bitmail 2010-11-21 17:30:02 UTC
Created attachment 255035 [details]
Output of 'emerge -pqv =sys-apps/grep-2.7'
Comment 4 bitmail 2010-11-21 17:30:34 UTC
Created attachment 255037 [details]
ebuild environment file
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-11-23 20:40:23 UTC
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
Comment 6 Fabian Groffen gentoo-dev 2010-11-23 20:52:01 UTC
ah, seems enable/disable-nls no longer properly works
Comment 7 Fabian Groffen gentoo-dev 2010-11-23 21:39:22 UTC
I added a patch from upstream to resolve this, thanks!