FileHandle cannot resolve IO::Seekable::getpos while loading DBG
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Start with the bundled FileHandle.pm, especially the IO::Seekable::getpos lookup near line 72, and trace where the IO::Seekable package is initialized. Reproduce with t/00-compile.t and t/basic.t, then add the focused FileHandle/DBG loading regression test requested in the issue. Verify the test with system Perl first and on both PerlOnJava backends, with Devel::Size available.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
DBG 0.4.1 fails to load under PerlOnJava because bundled FileHandle.pm cannot find IO::Seekable::getpos. This causes both t/00-compile.t and t/basic.t to fail before DBG's tests can run.
Reproduction
Install/run GSG/DBG-v0.4.1.tar.gz through the CPAN tester, including its normal test prerequisites. The failure was recorded in CPAN random tester run 20261022-185222-43282.
The relevant failure is:
# Failed test 'DBG.pm loaded ok'
IO::Seekable::getpos missing at jar:PERL5LIB/FileHandle.pm line 72.
Compilation failed in require
The same diagnostic occurs when t/basic.t loads DBG.pm. The archived PerlOnJava run reports 2 of 6 test programs failed and 1 of 2 executed assertions failed. The three release-only tests are skipped.
Expected: IO::Seekable::getpos is available while FileHandle.pm initializes, and DBG loads.
Actual: loading aborts because the IO::Seekable package has no registered getpos method at that point.
Environment and comparison
- Distribution:
DBG0.4.1 (GSG/DBG-v0.4.1.tar.gz) - PerlOnJava: JVM backend via the CPAN tester; the archived log does not record its source commit. Interpreter backend: not tested.
- Java: OpenJDK 24.0.2, aarch64
- System Perl: 5.42.2
- System Perl
t/basic.t: passes after building the exactDevel::Size0.87 prerequisite locally. - Full system-Perl suite: not confirmed.
t/00-compile.tcould not open DBG's temporary log file in the sandbox (Operation not permitted), so that result is an environment/setup failure rather than evidence of a DBG failure.
The XS prerequisite Devel::Size was missing its native object in the PerlOnJava CPAN build, but the reported failure occurs independently at IO::Seekable::getpos during module loading. The failure points to PerlOnJava's bundled IO module initialization/method availability.
Related issues checked
- #1782 covers
UNIVERSAL::isaignoring theIOparent for IO references; it is closed and describes a different behavior. - #1216 covers
Template::Likefilehandle input and scalar output; it is unrelated.
Acceptance criteria
FileHandle.pmcan resolveIO::Seekable::getposwhen loading on both PerlOnJava backends.- Add a focused project-owned regression test for loading
FileHandle/DBGand verify it with system Perl first. - The
DBG0.4.1 upstream test suite passes on both PerlOnJava backends when its prerequisites are available.
- Lenguaje dominante
- Perl
- Estrellas
- 64
- Forks
- 8
- Merge medio
- 5 h 47 min
- PR fusionados (30 d)
- 197
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
-
perf: achieve measured 1:1 standard Perl throughput after #1850Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertoarea:performance enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
fglock/PerlOnJava#1863 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area:memory area:performance area:runtime bug
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
fglock/PerlOnJava#1860 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
area:cpan-port area:runtime bug
Dificultad 3/5 1-2 días Aptitud para principiantes 56/100
fglock/PerlOnJava#1851 ·
Los mantenedores suelen responder en 1 día
-
area:performance enhancement
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
fglock/PerlOnJava#1846 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de fglock/PerlOnJava
Issues similares
-
observablt-ci
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
elastic/golang-crossbuild#840 ·
Los mantenedores suelen responder en 1 día
-
Sync playback crashes repeatedly in a sync group (v9.1.1)Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
LMS-Community/slimserver#1701 · 6 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
RotherOSS/otobo#6286 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
-
fix(api): API v3 Product Read ignores request language (lc) for sample products and image URLsPosiblemente ocupada @muntasir-396 la tomó hace 5 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
openfoodfacts/openfoodfacts-server#15042 · 1 comentario ·
Los mantenedores suelen responder en 1 día