CPAN: Lingua-ZH-Romanize-Pinyin build skips generated dictionaries and rejects $] test guard

Chiusa
#1,919 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Una pull request collegata è già stata integrata.

  • #1920 di @fglock — integrata

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
perl

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area:cpan-port area:parser bug

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.store and Cantonese.store from blib/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, distribution Lingua-ZH-Romanize-Pinyin-0.23
  • System Perl fresh extraction: make test, PASS, 5 files / 77 tests
  • PerlOnJava: archived run FAIL, 4/5 test programs
Lingua principale
Perl
Stelle
65
Fork
8
Merge medio
6h 33m
PR unite (30g)
178

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fglock/PerlOnJava

Tutte le issue di fglock/PerlOnJava

Issue simili

Altre issue su Perl

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.