FileHandle cannot resolve IO::Seekable::getpos while loading DBG
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 55/100
調査の方向性
Start with the bundled FileHandle.pm, especially the IO::Seekable::getpos lookup near line 72, and trace where the IO::Seekable package is initialized. Reproduce with t/00-compile.t and t/basic.t, then add the focused FileHandle/DBG loading regression test requested in the issue. Verify the test with system Perl first and on both PerlOnJava backends, with Devel::Size available.
索引モデルが issue の本文から書いたものです。
説明
Summary
DBG 0.4.1 fails to load under PerlOnJava because bundled FileHandle.pm cannot find IO::Seekable::getpos. This causes both t/00-compile.t and t/basic.t to fail before DBG's tests can run.
Reproduction
Install/run GSG/DBG-v0.4.1.tar.gz through the CPAN tester, including its normal test prerequisites. The failure was recorded in CPAN random tester run 20261022-185222-43282.
The relevant failure is:
# Failed test 'DBG.pm loaded ok'
IO::Seekable::getpos missing at jar:PERL5LIB/FileHandle.pm line 72.
Compilation failed in require
The same diagnostic occurs when t/basic.t loads DBG.pm. The archived PerlOnJava run reports 2 of 6 test programs failed and 1 of 2 executed assertions failed. The three release-only tests are skipped.
Expected: IO::Seekable::getpos is available while FileHandle.pm initializes, and DBG loads.
Actual: loading aborts because the IO::Seekable package has no registered getpos method at that point.
Environment and comparison
- Distribution:
DBG0.4.1 (GSG/DBG-v0.4.1.tar.gz) - PerlOnJava: JVM backend via the CPAN tester; the archived log does not record its source commit. Interpreter backend: not tested.
- Java: OpenJDK 24.0.2, aarch64
- System Perl: 5.42.2
- System Perl
t/basic.t: passes after building the exactDevel::Size0.87 prerequisite locally. - Full system-Perl suite: not confirmed.
t/00-compile.tcould not open DBG's temporary log file in the sandbox (Operation not permitted), so that result is an environment/setup failure rather than evidence of a DBG failure.
The XS prerequisite Devel::Size was missing its native object in the PerlOnJava CPAN build, but the reported failure occurs independently at IO::Seekable::getpos during module loading. The failure points to PerlOnJava's bundled IO module initialization/method availability.
Related issues checked
- #1782 covers
UNIVERSAL::isaignoring theIOparent for IO references; it is closed and describes a different behavior. - #1216 covers
Template::Likefilehandle input and scalar output; it is unrelated.
Acceptance criteria
FileHandle.pmcan resolveIO::Seekable::getposwhen loading on both PerlOnJava backends.- Add a focused project-owned regression test for loading
FileHandle/DBGand verify it with system Perl first. - The
DBG0.4.1 upstream test suite passes on both PerlOnJava backends when its prerequisites are available.
- 主要言語
- Perl
- スター
- 64
- フォーク
- 8
- 平均マージ
- 5時間 47分
- マージ済み PR(30日)
- 197
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fglock/PerlOnJava のほかの issue
-
area:runtime documentation enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
fglock/PerlOnJava#1579 ·
メンテナーはふだん 1 日以内に返信
-
perf: achieve measured 1:1 standard Perl throughput after #1850対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンarea:performance enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
fglock/PerlOnJava#1863 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area:memory area:performance area:runtime bug
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
fglock/PerlOnJava#1860 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
area:cpan-port area:runtime bug
難易度 3/5 1〜2日 初心者へのやさしさ 56/100
fglock/PerlOnJava#1851 ·
メンテナーはふだん 1 日以内に返信
-
area:performance enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
fglock/PerlOnJava#1846 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
fglock/PerlOnJava の issue をすべて見る
似ている issue
-
observablt-ci
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
elastic/golang-crossbuild#840 ·
メンテナーはふだん 1 日以内に返信
-
Sync playback crashes repeatedly in a sync group (v9.1.1)対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
LMS-Community/slimserver#1701 · コメント 6 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
RotherOSS/otobo#6286 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
fix(api): API v3 Product Read ignores request language (lc) for sample products and image URLs対応中かも @muntasir-396 が 4 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
openfoodfacts/openfoodfacts-server#15042 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信