CPAN: ORLite-Migrate 1.07 fails when IPC::Run3 spools input via File::Temp
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Start with t/03_trivial.t and reproduce the failure on both JVM and interpreter backends using the archived CPAN run details. Trace how File::Temp::tempfile handles temporary filenames and IO handles in PerlOnJava, then compare that behavior with system Perl. Done means the migration test completes successfully on both backends while the full ORLite-Migrate test suite still passes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
The upstream ORLite-Migrate 1.07 test suite fails on PerlOnJava when a migration patch is launched through IPC::Run3. IPC::Run3 tries to spool scalar input through File::Temp::tempfile; PerlOnJava reports an undefined temporary filename, then fails to remove the resulting empty path. The migration subprocess exits with status 255 and ORLite::Migrate aborts.
This is reproducible on both the JVM and interpreter backends. The same unmodified distribution and complete test suite pass under system Perl, so this is a PerlOnJava compatibility failure rather than an upstream test or setup failure.
Evidence
- Distribution:
ORLite-Migrate1.07; target recorded asORLite::Migrate::Perl. - CPAN tester run:
20261109-091152-39587. - System Perl oracle: Perl 5.42.2; all 3 test files and 10 tests pass.
- PerlOnJava: 5.44.1;
t/01_compile.tandt/02_main.tpass, whilet/03_trivial.texits early after its first assertion (4 planned). The failing test reproduces on both JVM and interpreter backends. - Failure path:
ORLite::Migratepasses migration input toIPC::Run3::run3;IPC::Run3reaches_spool_data_to_childand callstempfile. PerlOnJava warns about an uninitialized$fnameinFile::Temp, reports that removing file''failed, and then reportsMigration patch migrate-1.pl failed, database in unknown state.
Expected behavior
IPC::Run3 should receive a usable temporary file handle for the scalar input, pass the database filename to the migration subprocess, and allow the migration to complete as it does under system Perl.
Related work
Related to #1649, which tracks Perl ownership and resource-lifetime semantics. This CPAN case exercises a temporary IO handle, but the specific File::Temp failure has not yet been proven to share #1649's root cause. Please use it as an acceptance case when assessing that work.
Investigation notes
The CPAN run installed and tested the target's declared Perl dependencies. The failure is in temporary input spooling before the migration script can complete; the evidence does not point to SQLite behavior. The archived run and stable test name are included above so this report does not depend on local log paths.
- Lenguaje dominante
- Perl
- Estrellas
- 67
- Forks
- 8
- Merge medio
- 6 h 14 min
- PR fusionados (30 d)
- 143
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:io area:warnings bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
fglock/PerlOnJava#2024 ·
Los mantenedores suelen responder en 1 día
-
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:parser bug
Dificultad 4/5 3-5 días Aptitud para principiantes 56/100
fglock/PerlOnJava#2027 ·
Los mantenedores suelen responder en 1 día
-
area:runtime bug
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
fglock/PerlOnJava#2022 ·
Los mantenedores suelen responder en 1 día
-
area:backend area:cpan-port area:parser area:runtime bug
Dificultad 4/5 3-5 días Aptitud para principiantes 54/100
fglock/PerlOnJava#2021 ·
Los mantenedores suelen responder en 1 día
Todos los issues de fglock/PerlOnJava
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 94/100
VEuPathDB/ApiCommonModel#260 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
ibmdb/perl_DBD-DB2#21 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
`config --theme` can't find theme files when the `~/Documents/Themes` directory is a symbolic linkAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
1.severity: security
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día