Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#12219 closed defect (invalid)

gcc42 fails to install on powerpc

Reported by: markoilcan@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.4.42
Keywords: Cc: markoilcan@…, mww@…, ryandesign (Ryan Carsten Schmidt)
Port:

Description (last modified by jmpp@…)

When trying to install gcc42 on powerpc (OS 10.4.10, macports 1.4.42) I get the following error.

nm -P .libs/bitmap_allocator.o .libs/pool_allocator.o .libs/mt_allocator.o .libs/codecvt.o .libs/compatibility.o .libs/complex_io.o .libs/ctype.o .libs/debug.o .libs/debug_list.o .libs/functexcept.o .libs/globals_io.o .libs/ios.o .libs/ios_failure.o .libs/ios_init.o .libs/ios_locale.o .libs/limits.o .libs/list.o .libs/locale.o .libs/locale_init.o .libs/locale_facets.o .libs/localename.o .libs/stdexcept.o .libs/strstream.o .libs/tree.o .libs/allocator-inst.o .libs/concept-inst.o .libs/fstream-inst.o .libs/ext-inst.o .libs/ios-inst.o .libs/iostream-inst.o .libs/istream-inst.o .libs/istream.o .libs/locale-inst.o .libs/misc-inst.o .libs/ostream-inst.o .libs/sstream-inst.o .libs/streambuf-inst.o .libs/streambuf.o .libs/string-inst.o .libs/valarray-inst.o .libs/wlocale-inst.o .libs/wstring-inst.o .libs/atomicity.o .libs/codecvt_members.o .libs/collate_members.o .libs/ctype_members.o .libs/messages_members.o .libs/monetary_members.o .libs/numeric_members.o .libs/time_members.o .libs/basic_file.o .libs/c++locale.o ../libmath/.libs/libmath.a ../libsupc++/.libs/libsupc++convenience.a|nm: no name list
nm: no name list
nm error at /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_gcc42/work/gcc-4.2.0/libstdc++-v3/scripts/make_exports.pl line 130.
make[4]: *** [libstdc++-symbols.explist] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-target-libstdc++-v3] Error 2
make: *** [bootstrap] Error 2

Warning: the following items did not execute (for gcc42): com.apple.activate com.apple.build com.apple.destroot com.apple.install
Error: Status 1 encountered during processing.

Change History (11)

comment:1 Changed 17 years ago by yaseppochi (Stephen J. Turnbull)

Maybe odcctools would help? Unfortunately, they don't build either. See #12241.

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: markoilcan@… mww@… ryandesign@… added
Milestone: Port Bugs

That's surprising. I could've sworn I had gcc42 built on my PowerBook G4. Unfortunately I don't have the PowerBook anymore. I'll see if I can get access to another PowerPC Mac and try this again.

comment:3 Changed 17 years ago by mww@…

I really have no idea - gcc42 builds just fine here on both i386 and ppc;

comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Which nm is being used? /usr/bin/nm? /opt/local/bin/nm? /sw/bin/nm?

comment:5 Changed 17 years ago by markoilcan@…

Sorry, I just learned that I had somehow missed installing the lateset Xcode, and after installing that and starting over gcc42 installs fine. I apologize for not having thought to check this first.

comment:6 Changed 17 years ago by mww@…

Resolution: invalid
Status: newclosed

o.k.

comment:7 Changed 17 years ago by yaseppochi (Stephen J. Turnbull)

Resolution: invalid
Status: closedreopened

"Invalid"? Surely it would be simple to check for Xcode's version, and port should do so.

comment:8 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Priority: ExpectedNormal
Resolution: invalid
Status: reopenedclosed

I would say that yes, the bug "gcc42 fails to install on powerpc" is invalid, because gcc42 installs just fine on powerpc, provided you have the latest Xcode. A new bug should be filed for the fact that MacPorts allows you to proceed with an older / broken Xcode. In that new bug, by all means please include a link to this one as an example of the problems caused by doing nothing about this problem.

comment:9 Changed 17 years ago by nox@…

Milestone: Port Bugs
Version: 1.4.42

Invalid tickets shouldn't have milestone set.

comment:10 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Version: 1.4.42

However, it is still useful to know that the problem was experienced with MacPorts 1.4.42.

comment:11 Changed 16 years ago by jmpp@…

Description: modified (diff)
Note: See TracTickets for help on using tickets.