Opened 10 years ago

Closed 10 years ago

#26341 closed defect (fixed)

ruby19-1.9.2p0 Build fails on Mac 10.4.11 PPC

Reported by: mauser@… Owned by: kimuraw (kimura wataru)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: tiger Cc:
Port: ruby19


I am trying to install Ruby 1.9.2p0 on Mac 10.4.11 PPC with XCode 2.5 and it fails with the following error in the log:

/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: unknown option character `u' in: -unexported_symbol
Usage: /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool -static [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-sacLT]
Usage: /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool -dynamic [-] file [...] [-filelist listfile[,dirname]] [-arch_only arch] [-o output] [-install_name name] [-compatibility_version #] [-current_version #] [-seg1addr 0x#] [-segs_read_only_addr 0x#] [-segs_read_write_addr 0x#] [-seg_addr_table <filename>] [-seg_addr_table_filename <file_system_path>] [-all_load] [-noall_load]
make: *** [libruby.1.9.1.dylib] Error 1
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ruby19/work/ruby-1.9.2-p0" && /usr/bin/make all " returned error 2
Error: Target returned: shell command failed
Warning: the following items did not execute (for ruby19): org.macports.activate org.macports.destroot org.macports.install
Log for ruby19 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ruby19/main.log
Error: Status 1 encountered during processing.

Log file attached

Attachments (1)

main.log (52.2 KB) - added by mauser@… 10 years ago.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by mauser@…

Attachment: main.log added

comment:1 Changed 10 years ago by mauser@…

Cc: mauser@… added

Cc Me!

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Cc: kimuraw@… mauser@… removed
Owner: changed from macports-tickets@… to kimuraw@…

comment:3 Changed 10 years ago by jmroot (Joshua Root)

Keywords: tiger added

comment:4 Changed 10 years ago by chris_johnsen@…

I also ran into this same problem on my 10.4 system.

I was eventually able to get RVM to build 1.9.2 by “backporting” changeset 28709 from Ruby’s SVN repository.

svn diff svn diff -c 28709 > /tmp/ruby-r28709.patch
# remove (edit) the ChangeLog section so that it is skipped (applies cleanly)
MACOSX_DEPLOYMENT_TARGET=10.4 rvm install --patch /tmp/ruby-r28709.patch%1 -C --with-baseruby=/usr/bin/ruby ruby-1.9.2-head

It should be possible to do something similar for the port.

comment:5 Changed 10 years ago by kimuraw (kimura wataru)

Resolution: fixed
Status: newclosed

This problem was fixed at r71852. Thanks ALL!

Note: See TracTickets for help on using tickets.