Bug 263054

Summary: www/h2o-devel: Mark BROKEN with Ruby 3.x when MRUBY option is enabled
Product: Ports & Packages Reporter: Yasuhiro Kimura <yasu>
Component: Individual Port(s)Assignee: Yasuhiro Kimura <yasu>
Status: Closed FIXED    
Severity: Affects Only Me CC: dch, flo
Priority: --- Flags: yasu: maintainer-feedback-
Version: Latest   
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 262350    
Attachments:
Description Flags
Patch file none

Description Yasuhiro Kimura freebsd_committer freebsd_triage 2022-04-05 02:25:36 UTC
Created attachment 232950 [details]
Patch file

MRBC mrblib/hash.rb
      MRBC mrblib/kernel.rb
      MRBC mrblib/numeric.rb
      MRBC mrblib/range.rb
      MRBC mrblib/string.rb
      MRBC mrblib/symbol.rb
rake aborted!
wrong number of arguments (given 2, expected 1)
Rakefile:37:in `install_D'
*** Error code 1

Stop.
Comment 1 Yasuhiro Kimura freebsd_committer freebsd_triage 2022-04-20 06:58:50 UTC
Maintainer timeout. Take.
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-04-20 07:00:42 UTC
A commit in branch main references this bug:

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

commit 765bd7e40ee2e44555c8ee72cd5a77c33f4f5e5a
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-04-04 15:30:28 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-04-20 06:56:58 +0000

    www/h2o-devel: Mark BROKEN with Ruby 3.x when MRUBY option is enabled

          MRBC mrblib/hash.rb
          MRBC mrblib/kernel.rb
          MRBC mrblib/numeric.rb
          MRBC mrblib/range.rb
          MRBC mrblib/string.rb
          MRBC mrblib/symbol.rb
    rake aborted!
    wrong number of arguments (given 2, expected 1)
    Rakefile:37:in `install_D'
    *** Error code 1

    Stop.

    PR:             263054
    Approved by:    maintainer timeout

 www/h2o-devel/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 3 Florian Smeets freebsd_committer freebsd_triage 2022-04-27 18:34:25 UTC
I applied a similar fix to www/h2o-devel in eba7baa6aed1 as we applied to www/h2o in 8272d84a122f unfortunately I referenced the wrong PR. 

commit eba7baa6aed1ae7b727d66abc51fb77bdd81b963
Author:     Florian Smeets <flo@FreeBSD.org>
AuthorDate: 2022-04-27 18:22:58 +0000
Commit:     Florian Smeets <flo@FreeBSD.org>
CommitDate: 2022-04-27 18:22:58 +0000

    www/h2o-devel: Fix build with Ruby 3.x when MRUBY option is enabled
    
    Apply a simillar patch as in 8272d84a122f for www/h2o.
    
    Reference:      https://github.com/h2o/h2o/issues/2789
    PR:             263053