CPAN: Lingua-ZH-Romanize-Pinyin build skips generated dictionaries and rejects $] test guard
Los mantenedores suelen responder en 1 día
Ya se ha fusionado un pull request relacionado.
- #1920 de @fglock — fusionado
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- perl
- Área
- build-system, testing
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Perl
- Estrellas
- 65
- Forks
- 8
- Merge medio
- 6 h 28 min
- PR fusionados (30 d)
- 181
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de fglock/PerlOnJava
-
area:runtime documentation enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
fglock/PerlOnJava#1579 ·
Los mantenedores suelen responder en 1 día
-
area:performance enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
fglock/PerlOnJava#1911 · 4 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
fglock/PerlOnJava#1885 ·
Los mantenedores suelen responder en 1 día
-
Port Devel::Size for PerlOnJavaAbiertoarea:cpan-port enhancement help wanted
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
fglock/PerlOnJava#1880 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
area:performance enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
fglock/PerlOnJava#1863 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
Todos los issues de fglock/PerlOnJava
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
-
Type: Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
inverse-inc/packetfence#9605 ·
Los mantenedores suelen responder en 10 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
RotherOSS/otobo#6344 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
darold/pgFormatter#426 ·