New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #26341 (closed defect: fixed)

Opened 17 months ago

Last modified 17 months ago

ruby19-1.9.2p0 Build fails on Mac 10.4.11 PPC

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

Description

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 org.macports.build returned: shell command failed
Warning: the following items did not execute (for ruby19): org.macports.activate org.macports.build 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

main.log Download (52.2 KB) - added by mauser@… 17 months ago.

Change History

Changed 17 months ago by mauser@…

Changed 17 months ago by mauser@…

  • cc mauser@… added

Cc Me!

Changed 17 months ago by macsforever2000@…

  • owner changed from macports-tickets@… to kimuraw@…
  • cc kimuraw@…, mauser@… removed

Changed 17 months ago by jmr@…

  • keywords tiger added

Changed 17 months 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 http://svn.ruby-lang.org/repos/ruby > /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.

Changed 17 months ago by kimuraw@…

  • status changed from new to closed
  • resolution set to fixed

This problem was fixed at r71852. Thanks ALL!

Note: See TracTickets for help on using tickets.