Bug 242294

Summary: devel/rubygem-rake: Update to 13.0.1
Product: Ports & Packages Reporter: Yasuhiro KIMURA <yasu>
Component: Individual Port(s)Assignee: freebsd-ruby (Nobody) <ruby>
Status: New ---    
Severity: Affects Some People CC: meta, mfechner, swills
Priority: --- Flags: bugzilla: maintainer-feedback? (ruby)
Version: Latest   
Hardware: Any   
OS: Any   
Description Flags
Patch file none

Description Yasuhiro KIMURA 2019-11-29 08:36:43 UTC
Created attachment 209524 [details]
Patch file

Update to 13.0.1.
History: https://github.com/ruby/rake/blob/v13.0.1/History.rdoc
Comment 1 Koichiro Iwao freebsd_committer 2019-12-09 08:47:06 UTC
mfechner@, can you confirm this doesn't break your ports such as www/redmine etc?
Comment 2 Matthias Fechner freebsd_committer 2019-12-09 10:30:11 UTC
(In reply to Koichiro Iwao from comment #1)
Have you done a testbuild for the following ports?
Comment 3 Steve Wills freebsd_committer 2019-12-09 13:18:38 UTC
(In reply to Matthias Fechner from comment #2)
I think you may need to do more than build test, you probably need to do run time testing as well, due to the way ruby works.
Comment 4 Koichiro Iwao freebsd_committer 2019-12-10 06:56:18 UTC
(In reply to Matthias Fechner from comment #2)
Yup, succeeded for www/redmine and www/redmine4 but failed www/gitlab-ce.

===> Creating groups.
===> Creating users
cp -f /wrkdirs/usr/ports/www/gitlab-ce/work/gitlab-foss-225d2e5bb899067bde3caedb1319d39c46d94dc0-225d2e5bb899067bde3caed
b1319d39c46d94dc0/config/database.yml.postgresql /wrkdirs/usr/ports/www/gitlab-ce/work/gitlab-foss-225d2e5bb899067bde3ca
(cd /wrkdirs/usr/ports/www/gitlab-ce/work/gitlab-foss-225d2e5bb899067bde3caedb1319d39c46d94dc0-225d2e5bb899067bde3caedb1
319d39c46d94dc0 && /bin/rm -f Gemfile.lock && bundle install --local)
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
Resolving dependencies....
Bundler could not find compatible versions for gem "rake":
  In Gemfile:
    derailed_benchmarks was resolved to 1.3.6, which depends on
      rake (> 10, < 13)

    grape-path-helpers (~> 1.1) was resolved to 1.1.0, which depends on
      rake (~> 12)

Could not find gem 'rake (~> 12)', which is required by gem
'derailed_benchmarks', in any of the sources.
*** Error code 6

make: stopped in /usr/ports/www/gitlab-ce
build of www/gitlab-ce | gitlab-ce-12.5.3 ended at Tue Dec 10 15:32:00 JST 2019
build time: 00:02:14
!!! build failure encountered !!!
[01:12:20] Error: Build failed in phase: stage
[01:12:20] Cleaning up
[01:12:20] Unmounting file systems
sudo poudriere testport -j 12amd64 -p custom www/gitlab-ce  6372.69s user 3472.81s system 226% cpu 1:12:20.87 total
Comment 5 Koichiro Iwao freebsd_committer 2019-12-10 06:57:34 UTC
If no other ports requires rake 13, maybe we can postpone updating to 13 until it is really required.
Comment 6 Matthias Fechner freebsd_committer 2019-12-10 09:50:19 UTC
Thanks for the test.

I suggest also to wait till one of the big ports (gitlab-ce, redmine) is requiring this update.