[MacPorts] #31604: gcc44, gcc45, gcc46: build hangs on lion

MacPorts noreply at macports.org
Fri Oct 28 14:23:54 PDT 2011


#31604: gcc44, gcc45, gcc46: build hangs on lion
---------------------------------+------------------------------------------
 Reporter:  guygurari@…          |       Owner:  mww@…              
     Type:  defect               |      Status:  new                
 Priority:  Normal               |   Milestone:                     
Component:  ports                |     Version:  2.0.3              
 Keywords:  lion                 |        Port:  gcc44, gcc45, gcc46
---------------------------------+------------------------------------------
Changes (by ryandesign@…):

 * cc: alexmo@…, garnier@…, ryandesign@… (added)


Comment:

 Replying to [comment:52 alexmo@…]:
 > "apple-gcc-4.2" completely fails.

 Are you sure you already installed the apple-gcc42 port?


 Replying to [comment:66 ralph@…]:
 >
 {{{
 :info:build dyld: Library not loaded: /opt/local/lib/libintl.8.dylib
 :info:build   Referenced from: /opt/local/bin/gawk
 :info:build   Reason: image not found
 :info:build Trace/BPT trap: 5
 }}}

 gawk isn't working anymore because you removed the gettext library it
 relies on. Uninstall the gawk port; it'll use the awk that comes with OS X
 instead.


 Replying to [comment:72 ralph@…]:
 > The end result was I couldn't install  install ncurses as it needed
 gettext, which wouldn't install as it needed ncurses, basically.

 gettext needs ncurses. ncurses does not need gettext. But ncurses does
 need some little utilities like awk and sed and grep which, if you have
 the MacPorts versions of those ports installed, use gettext. MacPorts
 doesn't support circular dependencies and therefore doesn't have any. But
 when you remove an essential library like gettext you can expect some
 fallout and need to know exactly what you're doing to recover.


 Replying to [comment:77 garnier@…]:
 > I don't know which is the bad guy, but I'm thinking its gmp, mpfr, or
 gperf.

 Can someone please isolate which one(s) of these needs to be built with
 `configure.compiler=apple-gcc-4.2`, so that we can modify that port (those
 ports) to do that? We already know that just building gcc44 with apple-
 gcc42, after all the dependencies have been built with the default
 compiler, doesn't work. What if you rebuild just one of the above
 dependencies with apple-gcc42 (leaving the rest of the dependencies built
 by the default compiler), then build gcc44 with the default compiler? I'd
 start with gmp, since it already had a problem with llvm-gcc-4.2 which was
 fixed by using a different compiler (see r80732, r81117). Thanks.

-- 
Ticket URL: <https://trac.macports.org/ticket/31604#comment:84>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list