Bug 268586

Summary: [exp-run] Mk/bsd.default-versions.mk: Change default version of Ruby
Product: Ports & Packages Reporter: Yasuhiro Kimura <yasu>
Component: Ports FrameworkAssignee: Yasuhiro Kimura <yasu>
Status: Closed FIXED    
Severity: Affects Only Me CC: meta, ports-bugs, ruby
Priority: --- Flags: yasu: maintainer-feedback+
antoine: exp-run+
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on: 269144, 269151, 269152, 269165, 269166, 269177, 269178, 269179, 269197    
Bug Blocks:    
Attachments:
Description Flags
Patch file
none
Updated patch file
none
Updated patch file
none
Updated patch file
none
Updated patch file none

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(-)