Opened 13 years ago

Last modified 6 years ago

#31840 closed defect

rb-builder: destroot fails on Mac OS X 10.5.8 — at Version 3

Reported by: kaltree@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: leopard Cc:
Port: rb-builder

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I'm running into a problem installing this gem. I get the following error upon install:

bash-3.2# port install rb-builder
--->  Computing dependencies for rb-builder
--->  Staging rb-builder into destroot
Error: Target org.macports.destroot returned: shell command failed (see log for details)
Log for rb-builder is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-builder/rb-builder/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

I have the other ruby-related items installed:

  • ruby @1.8.7-p352_2+thread_hooks
  • rb-libxml2 @1.1.3_0
  • rb-rake @0.8.7_0
  • rb-rubygems @1.3.7_0

I've installed this successfully on Snow Leopard and Lion, but it is failing consistently on several Leopard systems. Any suggestions? Attached is the 'main.log' file.

Change History (4)

Changed 13 years ago by kaltree@…

Attachment: main.log added

Log file saved to '/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-builder/rb-builder/main.log'.

comment:1 Changed 13 years ago by kaltree@…

Cc: kaltree@… added

Cc Me!

comment:2 Changed 13 years ago by kaltree@…

Note: I was successful in getting the gem installed, using the gem executable. I made sure I was using the executable stored at '/opt/local/bin/gem'. It did report an error installing the 'builder' gem, but this time it was during the ruby documentation generation. I'm curious if there is a bug in the port definition that reports an overall failure if any sub portion of the port script fails.

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: kaltree@… removed
Description: modified (diff)
Keywords: leopard added; rb-builder ruby gem install fail removed
Summary: Port "rb-builder" failed install on Mac OS X 10.5.8rb-builder: destroot fails on Mac OS X 10.5.8

The relevant error from your log seems to be:

:info:destroot WARNING: builder-2.1.2 has an invalid nil value for @cert_chain
:info:destroot ERROR:  While generating documentation for builder-2.1.2
:info:destroot ... MESSAGE:   Unhandled special: Special: type=17, text="<!-- HI -->"
:info:destroot ... RDOC args: --ri --op /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_ruby_rb-builder/rb-builder/work/destroot/opt/local/lib/ruby/gems/1.8/doc/builder-2.1.2/ri --title Builder -- Easy XML Building --main README --line-numbers lib CHANGES Rakefile README doc/releases/builder-1.2.4.rdoc doc/releases/builder-2.0.0.rdoc doc/releases/builder-2.1.1.rdoc --title builder-2.1.2 Documentation --quiet

I'm not familiar with ruby though and I don't know what this means or what to do about it.

Note: See TracTickets for help on using tickets.