Archive::Any fails to detect CPAN test archives on PerlOnJava
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 35/100
Direção de pesquisa
Start with the MIME detection and handler selection path that Archive::Any uses to pick an archive handler on PerlOnJava, since the bug is that a sample .tar.gz is reported as application/octet-stream. Reproduce by running t/10-simple.t from CPAN-Repository-0.010 on a current build, then compare with system Perl. Done when the test archive is detected as a supported format, the test passes on both JVM and interpreter backends, and a focused regression test covers the detection.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Summary
The CPAN::Repository 0.010 test suite fails on PerlOnJava when it adds sample distribution archives. Archive::Any detects a sample .tar.gz as application/octet-stream, reports that no handler is available, and returns an undefined archive object. Dist::Data then dies while calling extract on that value.
Evidence
- CPAN distribution:
CPAN-Repository-0.010(OALDERS) - CPAN run:
20261111-090841-71684 - Failing test:
t/10-simple.t; 3 subtests pass before the test program exits with status 255. - PerlOnJava log diagnostic:
No handler available for type 'application/octet-stream'fromArchive::Any, followed byCan't call method "extract" on an undefined valuefromDist::Data. - System Perl 5.42.2 on macOS passes the distribution suite: 4 test programs, 16 tests;
t/10-simple.tpasses. - PerlOnJava’s recorded run is the JVM backend. The interpreter backend was not separately checked.
The run installed pure-Perl dependencies including Archive::Any 0.0946, Dist::Data 0.007, and Dist::Metadata 0.927. The failing test uses bundled sample distribution archives and does not require a live CPAN service.
Expected behavior
PerlOnJava should identify the supported archive format and allow Archive::Any to extract the sample distribution, matching system Perl so CPAN::Repository can update its repository metadata.
Acceptance
- Reproduce the focused test failure on the recorded run or a current PerlOnJava build.
- Identify and fix why archive MIME detection or handler selection yields
application/octet-streamfor the test archive. - Add focused regression coverage and verify the test on system Perl and both PerlOnJava backends.
- Linguagem predominante
- Perl
- Estrelas
- 67
- Forks
- 8
- Merge médio
- 5h 12min
- PRs com merge (30d)
- 131
Preparar o ambiente
- Inclui um Dockerfile ou arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de fglock/PerlOnJava
-
area:cpan-port bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
fglock/PerlOnJava#2153 ·
Mantenedores costumam responder em até 1 dia
-
area:cpan-port area:parser bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
fglock/PerlOnJava#2137 ·
Mantenedores costumam responder em até 1 dia
-
area:backend area:cpan-port area:runtime bug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
fglock/PerlOnJava#2071 ·
Mantenedores costumam responder em até 1 dia
-
area:runtime documentation enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
fglock/PerlOnJava#1579 ·
Mantenedores costumam responder em até 1 dia
-
area:cpan-port bug
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 62/100
fglock/PerlOnJava#2157 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de fglock/PerlOnJava
Issues semelhantes
-
Dev-output directory preparation accepts file-valued lib/include paths and fails on dangling linksAbertateam-cli
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
Mantenedores costumam responder em até 2 dias
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 66/100
-
Dificuldade 1/5 Menos de uma hora Facilidade para iniciantes 93/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 73/100
inverse-inc/packetfence#9728 ·
Mantenedores costumam responder em até 1 dia
-
fix(char-create): show the real reason a character is refusedTalvez já em andamento @baphomello assumiu há 1 dia. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 84/100
Mantenedores costumam responder em até 1 dia