Bug 197919 - port [ports-mgmt/portupgrade] does not build with Ruby-2.2 (issues on related port [databases/ruby-bdb])
Summary: port [ports-mgmt/portupgrade] does not build with Ruby-2.2 (issues on related...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-22 14:19 UTC by hardy.schumacher
Modified: 2015-04-11 18:08 UTC (History)
6 users (show)

See Also:


Attachments
Console log from building [ports-mgmt/portupgrade] (13.75 KB, text/x-log)
2015-02-22 14:19 UTC, hardy.schumacher
no flags Details
Patch to fix ruby-bdb with lang/ruby22 (16.65 KB, patch)
2015-02-22 18:26 UTC, Steve Wills
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hardy.schumacher 2015-02-22 14:19:21 UTC
Created attachment 153313 [details]
Console log from building [ports-mgmt/portupgrade]

I deinstalled packages lang/ruby21, databases/ruby-bdb, ports-mgmt/portupgrade and changed /etc/make.conf by adding DEFAULT_VERSIONS= ruby=2.2.
Then I tried to reinstall ports-mgmt/portupgrade. 
Port lang/ruby22 is building, but port databases/ruby-bdb throws errors.
See attached logfile with console output.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-02-22 14:19:21 UTC
Maintainers CC'd
Comment 2 Steve Wills freebsd_committer freebsd_triage 2015-02-22 18:26:11 UTC
Created attachment 153326 [details]
Patch to fix ruby-bdb with lang/ruby22

Try this patch out.
Comment 3 Yasuhiro Kimura freebsd_committer freebsd_triage 2015-02-26 11:43:05 UTC
I tried the patch on 10.1-R and portupgrade seems to work fine.

Thank you Steve!
Comment 4 Wei-Hao Syu 2015-03-15 06:36:43 UTC
works for me too, thanks
(11-CURRENT and 10.1-STABLE)
Comment 5 Steve Wills freebsd_committer freebsd_triage 2015-04-11 18:08:41 UTC
Fix committed in r382655