Bug 269177 - x11-wm/subtle: Mark BROKEN with Ruby 3.1 and later
Summary: x11-wm/subtle: Mark BROKEN with Ruby 3.1 and later
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on: 269197
Blocks: 268586
  Show dependency treegraph
 
Reported: 2023-01-27 02:15 UTC by Yasuhiro Kimura
Modified: 2023-02-11 06:37 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (danfe)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-01-28 04:36:47 UTC
A commit in branch main references this bug:

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

commit 08a80171eb5c57b3c767028ca9989650702e2f6e
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-01-28 04:31:32 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-01-28 04:31:32 +0000

    x11-wm/subtle: unbreak the port's build against new Ruby versions

    File.exists? method has been deprecated and removed in Ruby 3.2.0,
    adjust the code accordingly.

    PR:     269177

 x11-wm/subtle/Makefile             | 2 ++
 x11-wm/subtle/files/patch-Rakefile | 9 +++++++++
 2 files changed, 11 insertions(+)
Comment 2 Alexey Dokuchaev freebsd_committer freebsd_triage 2023-01-28 04:41:20 UTC
(In reply to Yasuhiro Kimura from comment #0)
> Mark BROKEN with Ruby 3.1 and later.
No need to mark BROKEN.  Build against Ruby 3.2 should be fixed now.  Build log against 3.1 suggests it might be the problem with Ruby itself: https://bugs.ruby-lang.org/issues/19189 (affected version 3.1.3 is what `lang/ruby31' port currently tracks).
Comment 3 Yasuhiro Kimura freebsd_committer freebsd_triage 2023-01-28 05:58:33 UTC
(In reply to Alexey Dokuchaev from comment #2)

Thank for variable information! Currently I'm working to update default version of Ruby from 3.0 to 3.1 on bug #268586 and there are some other ports that fail to be built with same error. I submitted bug #269197 that adds upstream patch to fix the bug of mkmf library and it fixes build error of such ports including this one.
Comment 4 Yasuhiro Kimura freebsd_committer freebsd_triage 2023-02-11 06:37:42 UTC
After ports fc1c752e8b1c is committed, build with Ruby 3.1 succeeds now.