Bug 263054 - www/h2o-devel: Mark BROKEN with Ruby 3.x when MRUBY option is enabled
Summary: www/h2o-devel: Mark BROKEN with Ruby 3.x when MRUBY option is enabled
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: Yasuhiro Kimura
URL:
Keywords:
Depends on:
Blocks: 262350
  Show dependency treegraph
 
Reported: 2022-04-05 02:25 UTC by Yasuhiro Kimura
Modified: 2022-04-27 18:34 UTC (History)
2 users (show)

See Also:
yasu: maintainer-feedback-


Attachments
Patch file (1.08 KB, patch)
2022-04-05 02:25 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-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