CPAN: Lingua-ZH-Romanize-Pinyin build skips generated dictionaries and rejects $] test guard
Les mainteneurs répondent en général sous 1 jour
Une pull request liée a déjà été fusionnée.
- #1920 par @fglock — fusionnée
Évaluation
- Difficulté
- 5/5
- Temps estimé
- Plus d'une semaine
- Accessibilité débutants
- 35/100
- Type d'issue
- Bug
- Clarté
- Plutôt claire
- Activité
- Active
- Stack technique
- perl
- Domaine
- build-system, testing
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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
- Langage dominant
- Perl
- Étoiles
- 65
- Forks
- 8
- Merge moyen
- 6 h 28 min
- PR mergées (30 j)
- 181
Préparer son environnement
- Fournit un Dockerfile ou un fichier Docker Compose
- Aucun modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de fglock/PerlOnJava
-
area:runtime documentation enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
fglock/PerlOnJava#1579 ·
Les mainteneurs répondent en général sous 1 jour
-
area:performance enhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 35/100
fglock/PerlOnJava#1911 · 4 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 4/5 3-5 jours Accessibilité débutants 35/100
fglock/PerlOnJava#1885 ·
Les mainteneurs répondent en général sous 1 jour
-
Port Devel::Size for PerlOnJavaOuvertearea:cpan-port enhancement help wanted
Difficulté 4/5 3-5 jours Accessibilité débutants 45/100
fglock/PerlOnJava#1880 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
area:performance enhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 20/100
fglock/PerlOnJava#1863 · 3 commentaires ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de fglock/PerlOnJava
Issues similaires
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
-
Type: Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
inverse-inc/packetfence#9605 ·
Les mainteneurs répondent en général sous 10 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 64/100
RotherOSS/otobo#6344 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 85/100
darold/pgFormatter#426 ·