CPAN: Lingua-ZH-Romanize-Pinyin build skips generated dictionaries and rejects $] test guard
維護者通常 1 天內回覆
已經有一個關聯 PR 被合併了。
- #1920 來自 @fglock —— 已合併
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 35/100
- Issue 類型
- 缺陷
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- perl
- 領域
- build-system, testing
研究方向
Start with PerlOnJava's MakeMaker handling and the archived run 20261028-144340-47138; compare its build output with the successful system Perl make test run. Trace why custom postamble targets and generated PM mappings do not place Pinyin.store and Cantonese.store in blib/lib, then investigate parsing the $] guard in both UTF-8 tests. Done means both generated stores load and all five test programs pass.
由索引模型根據 Issue 內容生成。
描述
CPAN failure
Lingua-ZH-Romanize-Pinyin 0.23 fails its test suite under PerlOnJava. A fresh extraction passes all 77 tests under system Perl.
Archived run 20261028-144340-47138 reported:
- The two dictionary tests could not load
Pinyin.storeandCantonese.storefromblib/lib. - Both UTF-8 tests failed to parse the guard
unless ( $] >= 5.008001 ).
Confirmed behavior
The distribution's Makefile.PL adds custom MakeMaker postamble rules that generate the two .store files, and maps those files into blib/lib. With system Perl, make test runs both generation recipes, copies both files, and passes all five test programs (77 tests). In the archived PerlOnJava run, MakeMaker reported a successful build but the stores were absent from blib/lib when tests started. This points to PerlOnJava's MakeMaker/build handling of custom postamble targets or generated PM mappings.
The parser failure is independently reproducible from the archived log at the $] comparison in the two UTF-8 test files; system Perl accepts these expressions.
Expected result
PerlOnJava's MakeMaker build should execute custom postamble generation targets and copy their generated files into blib/lib, and its parser should accept the Perl version comparison used by these tests.
Evidence
- CPAN run:
20261028-144340-47138, distributionLingua-ZH-Romanize-Pinyin-0.23 - System Perl fresh extraction:
make test, PASS, 5 files / 77 tests - PerlOnJava: archived run FAIL, 4/5 test programs
- 主要語言
- Perl
- 星號
- 65
- 分支
- 8
- 平均合併
- 6 小時 28 分鐘
- 30 天內合併 PR
- 181
環境準備
- 提供 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
fglock/PerlOnJava 的其他 Issue
-
area:runtime documentation enhancement
難度 2/5 1-3 小時 新手友好度 72/100
fglock/PerlOnJava#1579 ·
維護者通常 1 天內回覆
-
area:performance enhancement
難度 5/5 一週以上 新手友好度 35/100
fglock/PerlOnJava#1911 · 4 則留言 ·
維護者通常 1 天內回覆
-
難度 4/5 3-5 天 新手友好度 35/100
fglock/PerlOnJava#1885 ·
維護者通常 1 天內回覆
-
area:cpan-port enhancement help wanted
難度 4/5 3-5 天 新手友好度 45/100
fglock/PerlOnJava#1880 · 2 則留言 ·
維護者通常 1 天內回覆
-
area:performance enhancement
難度 5/5 一週以上 新手友好度 20/100
fglock/PerlOnJava#1863 · 3 則留言 ·
維護者通常 1 天內回覆
查看 fglock/PerlOnJava 的全部 Issue
相似的 Issue
-
難度 1/5 1 小時以內 新手友好度 90/100
beyondgrep/ack3#413 ·
-
難度 2/5 1-3 小時 新手友好度 72/100
-
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
bug
難度 2/5 1-3 小時 新手友好度 64/100
-
Type: Bug
難度 2/5 1-3 小時 新手友好度 78/100
inverse-inc/packetfence#9605 ·
維護者通常 10 天內回覆