Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Cerrado
#1,919 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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

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

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
Lenguaje dominante
Perl
Estrellas
65
Forks
8
Merge medio
6 h 28 min
PR fusionados (30 d)
181

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de fglock/PerlOnJava

Todos los issues de fglock/PerlOnJava

Issues similares

Más issues de Perl

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.