Opened 11 years ago
Last modified 11 years ago
#39248 assigned defect
rb ports need revbump
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | kimuraw (kimura wataru) |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | gjasny@…, cooljeanius (Eric Gallager), mojca (Mojca Miklavec) | |
Port: | ruby |
Description
Following the changes made to the ruby-1.0 portgroup in March 2013, which added a ruby version number suffix to installed programs, all ports using the portgroup—at least those that install programs in bin—need a revbump so that they get rebuilt with those new settings. Revbumping all these ports is essential, because otherwise users installing from binaries (and those who already had the ports installed before you made these changes) will have the old program names while users building from source will have the new program names, causing havoc for other ports trying to use those ruby ports (one example: #39247).
Attachments (1)
Change History (16)
comment:1 Changed 11 years ago by gjasny@…
Cc: | gjasny@… added |
---|
comment:3 follow-up: 4 Changed 11 years ago by cooljeanius (Eric Gallager)
comment:4 follow-up: 5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
comment:5 Changed 11 years ago by cooljeanius (Eric Gallager)
Replying to ryandesign@…:
Replying to egall@…:
Also: #39043
Thanks: I knew I had commented on this before but couldn't find it.
You're welcome. :-)
(I had an easier time remembering, of course, since it was a ticket I had opened myself...)
comment:6 Changed 11 years ago by kimuraw (kimura wataru)
Status: | new → assigned |
---|
comment:8 follow-up: 14 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Not entirely. For example, rb19-ronn has not yet been revbumped.
comment:9 Changed 11 years ago by jmroot (Joshua Root)
comment:11 follow-up: 12 Changed 11 years ago by jmroot (Joshua Root)
This is worse than I thought. Gems that use rake won't build unless you specify rake=rake-1.8
in the environment, since otherwise it uses the default_exec_format, which comes from ruby, and tries running rake1.8
which doesn't exist.
Changed 11 years ago by kimuraw (kimura wataru)
Attachment: | ruby-1.0.tcl.diff added |
---|
pass rake path via "rake" environment
comment:12 Changed 11 years ago by kimuraw (kimura wataru)
I wrote a patch against group/ruby-1.0.tcl.
- add an option "ruby.rake", means fullpath to "rake" command. such as "ruby.bin" or "ruby.gem".
- set destroot.env rake=${ruby.rake}
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE=... rake='/opt/local/libexec/ruby1.8/rake'
DEBUG: Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE=... rake='/opt/local/bin/rake1.9'
- ruby-1.8 gem ports requires rb-rake as depends_build
% port info --depends rb-rcov depends_build: port:rb-rake # <= added by ruby.setup gem from portgroup ruby depends_run: depends_fetch: depends_lib: port:ruby, port:rb-rubygems depends_extract: % port info --depends rb-rake depends_build: # <= rb-rake does not require rake depends_run: depends_fetch: depends_lib: port:ruby, port:rb-rubygems depends_extract:
% port info --depends rb19-rcov depends_build: depends_run: depends_fetch: depends_lib: port:ruby19 depends_extract:
how about this?
comment:14 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
Not entirely. For example, rb19-ronn has not yet been revbumped.
rb19-ronn was revbumped in r115099.
Cc Me!