Opened 6 years ago
Closed 6 years ago
#57230 closed defect (fixed)
Unable to install rb-rubygems
Reported by: | jpmelko | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | lassfido (Henrik Quanz), jmroot (Joshua Root) | |
Port: | rb-rubygems |
Description (last modified by mf2k (Frank Schima))
Upgrade of rb-poppler fails Bacchus:~ root# port upgrade rb-poppler ---> Computing dependencies for rb-rubygems ---> Staging rb-rubygems into destroot Error: Failed to destroot rb-rubygems: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_ruby_rb-rubygems/rb-rubygems/main.log for details. Error: Problem while installing rb-rubygems Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Attachments (1)
Change History (9)
Changed 6 years ago by jpmelko
comment:1 Changed 6 years ago by lassfido (Henrik Quanz)
Cc: | lassfido added |
---|
comment:2 Changed 6 years ago by mf2k (Frank Schima)
comment:3 Changed 6 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Port: | rb-rubygems added |
comment:4 Changed 6 years ago by mf2k (Frank Schima)
Error appears to be:
debug:destroot system: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_ruby_rb-rubygems/rb-rubygems/work/rubygems-1.3.7" && /opt/local/bin/ruby${ruby.default_branch} setup.rb install --prefix=/opt/local --destdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_ruby_rb-rubygems/rb-rubygems/work/destroot --vendor --no-format-executable DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_ruby_rb-rubygems/rb-rubygems/work/destroot :info:destroot sh: /opt/local/bin/ruby${ruby.default_branch}: bad substitution
comment:5 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | jmroot added |
---|
I suspect the ruby-1.0 portgroup needs further fixes to accommodate the new way that MacPorts 2.5.4 and later handles default
; see 8434c0eee6ba2867c09524697d6f95f3a095ddf0/macports-base.
The usual problem was that uses of default
were double-quoted, and for MacPorts 2.5.4 and later it was changed to single-quoting.
The ruby-1.0 portgroup is different and doesn't double-quote its defaults. It didn't even single-quote one of them, which was changed when the portgroup was updated for this base change. But maybe further changes are needed.
comment:6 Changed 6 years ago by jmroot (Joshua Root)
This is because there are two traces on ruby.bin: the one set up by default
and the one set up by option_proc
. Using both is unnecessary and confusing.
comment:7 Changed 6 years ago by jmroot (Joshua Root)
Summary: | Unable to install rb-rubygems on Mojave → Unable to install rb-rubygems |
---|
comment:8 Changed 6 years ago by jmroot (Joshua Root)
Owner: | set to jmroot |
---|---|
Resolution: | → fixed |
Status: | new → closed |
In the future, please use WikiFormatting, fill in the Port field and add the port maintainer(s) to Cc (
port info --maintainers rb-rubygems
), if any.