Skip to content

mruby-task: uninitialized constant Task on Linux ARM64 #6946

Description

@chenrui333

PicoRuby 4.0.1 fails immediately on Linux ARM64:

$ picoruby -e "puts 'Hello, PicoRuby!'"
(unknown):0: uninitialized constant Task (NameError)

Evidence:

  • Homebrew's Linux ARM64 bottle reproduces this 10/10 times.
  • A fresh Linux ARM64 source build with GCC 13 also reproduces it 10/10 times; changing optimization from -Os to -O1 did not help.
  • The same install, runtime, and test path passes on Linux x86_64 and macOS ARM64.
  • PicoRuby pins mruby at f56d44eccbd04723fd9b35cbfaf7088650fd5a72. The generated mruby-task wrapper initializes the C gem before loading queue.rb, where Task is referenced.

#6706 may be relevant because it changed mruby-task to compile-time symbol IDs, but I have not confirmed causality.

Downstream report: Homebrew/homebrew-core#292925

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions