Created attachment 212377 [details] patch-ruby27-default As usual, switch to Ruby 2.7.
I tested ruby 2.7 with gitlab-ce and it does not work. I see a lot of errors so we have to wait till gitlab is working with ruby 2.7. Lets see, maybe the next version works (they release normally on the 22.).
To give you more details, I see error like: ==> /usr/local/www/gitlab-ce/log/production.log <== ArgumentError (wrong number of arguments (given 3, expected 1..2)): lib/gitlab/request_profiler/middleware.rb:17:in `call' lib/gitlab/middleware/go.rb:20:in `call' lib/gitlab/etag_caching/middleware.rb:13:in `call' lib/gitlab/middleware/multipart.rb:117:in `call' lib/gitlab/middleware/read_only/controller.rb:53:in `call' lib/gitlab/middleware/read_only.rb:18:in `call' lib/gitlab/middleware/basic_health_check.rb:25:in `call' lib/gitlab/middleware/request_context.rb:23:in `call' config/initializers/fix_local_cache_middleware.rb:9:in `call' lib/gitlab/metrics/requests_rack_middleware.rb:49:in `call' lib/gitlab/middleware/release_env.rb:12:in `call' So there seems to be an API change which is not fully compatible with gitlab, yet.
the new Gitlab-ce 13.6.0 requires now ruby 2.7. I tested it successfully and have no constraints to commit this change. After ruby 2.7 is the new default version, I will commit the update for gitlab-ce 13.6.0.
I upgrade now some ports that failed on my local tests. Do do not get any builds errors anymore. I think a exp-run can now by executed.
Some new failure logs on 12.2 amd64: http://gohan04.nyi.freebsd.org/data/122amd64-default/2020-11-23_18h34m52s/logs/rubygem-rice-2.1.2_1.log http://gohan04.nyi.freebsd.org/data/122amd64-default/2020-11-23_18h34m52s/logs/rubygem-tmail-1.2.7.1.log http://gohan04.nyi.freebsd.org/data/122amd64-default/2020-11-23_18h34m52s/logs/rubywarden-0.0.0.20200226.log http://gohan04.nyi.freebsd.org/data/122amd64-default/2020-11-23_18h34m52s/logs/puppet5-5.5.22.log
A commit references this bug: Author: mfechner Date: Tue Nov 24 15:53:28 UTC 2020 New revision: 556164 URL: https://svnweb.freebsd.org/changeset/ports/556164 Log: Mark port as broken with ruby 2.7. The page: https://github.com/jcs/rubywarden also tells, that this port will not be maintained anymore. PR: 244787 Changes: head/security/ruby-bitwarden/Makefile
A commit references this bug: Author: mfechner Date: Tue Nov 24 16:00:12 UTC 2020 New revision: 556168 URL: https://svnweb.freebsd.org/changeset/ports/556168 Log: Update to 2.2.0 which fixes compiliation errors with ruby 2.7. PR: 244787 Changes: head/devel/rubygem-rice/Makefile head/devel/rubygem-rice/distinfo
A commit references this bug: Author: mfechner Date: Tue Nov 24 16:05:01 UTC 2020 New revision: 556169 URL: https://svnweb.freebsd.org/changeset/ports/556169 Log: Marked it as broken for ruby 2.7. Seems to be a dead project, last upgrade 2010-02-07 and homepage does not load anymore https://rubygems.org/gems/tmail http://tmail.rubyforge.org/ PR: 244787 Changes: head/mail/rubygem-tmail/Makefile
A commit references this bug: Author: mfechner Date: Tue Nov 24 16:12:39 UTC 2020 New revision: 556170 URL: https://svnweb.freebsd.org/changeset/ports/556170 Log: Mark puppet5 to be broken with ruby 2.7. Maybe a newer version puppet 6.x or 7.x must be used to work with ruby 2.7. PR: 244787 Changes: head/sysutils/puppet5/Makefile
All 4 ports are fixed for ruby 2.7.
Exp-run looks fine
A commit references this bug: Author: mfechner Date: Sat Nov 28 14:54:12 UTC 2020 New revision: 556492 URL: https://svnweb.freebsd.org/changeset/ports/556492 Log: Switch default version of Ruby from 2.6 to 2.7. For detailed list of changes, please check the Ruby website: https://www.ruby-lang.org/en/news/2019/12/25/ruby-2-7-0-released/ https://www.ruby-lang.org/en/news/2020/03/31/ruby-2-7-1-released/ https://www.ruby-lang.org/en/news/2020/10/02/ruby-2-7-2-released/ How to upgrade is described in UPDATING entry 20201128. PR: 244787 Submitted by: meta@ Exp-Run: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244787 Thanks to: antoine, meta Changes: head/Mk/bsd.default-versions.mk head/UPDATING
Committed, thanks.
Thanks for your work!