Bug 268586 - [exp-run] Mk/bsd.default-versions.mk: Change default version of Ruby
Summary: [exp-run] Mk/bsd.default-versions.mk: Change default version of Ruby
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yasuhiro Kimura
URL:
Keywords:
Depends on: 269144 269151 269152 269165 269166 269177 269178 269179 269197
Blocks:
  Show dependency treegraph
 
Reported: 2022-12-26 23:50 UTC by Yasuhiro Kimura
Modified: 2023-03-15 07:13 UTC (History)
3 users (show)

See Also:
yasu: maintainer-feedback+
antoine: exp-run+


Attachments
Patch file (2.66 KB, patch)
2022-12-26 23:50 UTC, Yasuhiro Kimura
no flags Details | Diff
Updated patch file (1.45 KB, patch)
2022-12-27 20:13 UTC, Yasuhiro Kimura
no flags Details | Diff
Updated patch file (1.45 KB, patch)
2023-02-11 06:43 UTC, Yasuhiro Kimura
no flags Details | Diff
Updated patch file (1.42 KB, patch)
2023-02-11 06:54 UTC, Yasuhiro Kimura
no flags Details | Diff
Updated patch file (2.61 KB, patch)
2023-02-27 15:42 UTC, Yasuhiro Kimura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2022-12-26 23:50:36 UTC
Created attachment 239051 [details]
Patch file

Now that Ruby 3.2.0 is released, it's time to go ahead.

* Change default version of Ruby from 3.0 to 3.1.
* Bump PORTREVISION of lang/ruby3[01]. They need to be rebuilt as only default ruby package includes ${PREFIX}/bin/ruby and ${PREFIX}/man/man1/ruby.1.gz symlinks.
* Add entry about change of default Ruby version to UPDATING.
Comment 1 Yasuhiro Kimura freebsd_committer freebsd_triage 2022-12-27 20:13:35 UTC
Created attachment 239069 [details]
Updated patch file

Stop adding entry to UPDATING as it causes failing to apply patch cleanly when new entry is added to UPDATING in repository.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-01-26 05:07:31 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fcd9fcb510bee958052f307d18842c88913f9e78

commit fcd9fcb510bee958052f307d18842c88913f9e78
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2023-01-25 05:51:02 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2023-01-26 05:05:40 +0000

    devel/rubygem-p4ruby: Fix build with Ruby 3.1

    Bump PORTREVISION because of dependency change.

    PR:             268586

 devel/rubygem-p4ruby/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
Comment 4 Yasuhiro Kimura freebsd_committer freebsd_triage 2023-02-11 06:43:32 UTC
Created attachment 240073 [details]
Updated patch file

Chase update of ports tree.
Comment 5 Yasuhiro Kimura freebsd_committer freebsd_triage 2023-02-11 06:46:56 UTC
Since all build errors listed in comment #2 are fixed, would you please try another exp-run with latest patch?
Comment 6 Yasuhiro Kimura freebsd_committer freebsd_triage 2023-02-11 06:54:12 UTC
Created attachment 240075 [details]
Updated patch file

Oops, last time I uploaded wrong patch. So upload right one.
Comment 7 Antoine Brodin freebsd_committer freebsd_triage 2023-02-24 09:11:15 UTC
Exp-run looks fine
Comment 8 Yasuhiro Kimura freebsd_committer freebsd_triage 2023-02-27 15:42:21 UTC
Created attachment 240451 [details]
Updated patch file

* Re-add entry about change of default Ruby version to UPDATING. Note this doesn't affect to the result of exp-run.
Comment 9 Koichiro Iwao freebsd_committer freebsd_triage 2023-03-15 00:47:12 UTC
UPDATING does not affect exp-run result, let's go ahead.
Comment 10 commit-hook freebsd_committer freebsd_triage 2023-03-15 07:11:10 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=097770c474d4bb7b24cec37dc87439c1ed4344c7

commit 097770c474d4bb7b24cec37dc87439c1ed4344c7
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-12-26 23:24:41 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2023-03-15 07:07:12 +0000

    Mk/bsd.default-versions.mk: Change default version of Ruby

    * Change default version of Ruby from 3.0 to 3.1.
    * Bump PORTREVISION of lang/ruby3[01]. They need to be rebuilt as only
      default ruby package includes ${PREFIX}/bin/ruby and
      ${PREFIX}/man/man1/ruby.1.gz symlinks.
    * Add entry about change of default Ruby version to UPDATING.

    PR:             268586
    Exp-run by:     antoine
    Approved by:    meta (ruby, maintainer)

 Mk/Uses/ruby.mk            |  4 ++--
 Mk/bsd.default-versions.mk |  2 +-
 UPDATING                   | 24 ++++++++++++++++++++++++
 3 files changed, 27 insertions(+), 3 deletions(-)