[CPAN] SNMP::Extension::PassPersist fails with missing Sys::Syslog openlog
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 52/100
Rechercherichtung
Start by tracing how PerlOnJava implements the bundled Sys::Syslog import and exports openlog, then compare that behavior with system Perl. Reproduce the failure with the CPAN dependency overlay on both backends and inspect the project’s existing tests for a suitable place for the regression test. Done means the three upstream failing test files pass on both backends and the project-owned test covers the missing import behavior.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Summary
SNMP::Extension::PassPersist 0.07 fails three upstream test files under PerlOnJava because openlog imported by use Sys::Syslog is undefined when run() executes. The failure reproduces on both the JVM and interpreter backends. The same upstream tests pass under system Perl.
The evidence points to an import/export problem in PerlOnJava's bundled Sys::Syslog path. Please trace why SNMP::Extension::PassPersist::openlog is not installed by use Sys::Syslog; the direct failure is an undefined subroutine, rather than an error in the test's SNMP output handling.
Reproduction and results
CPAN random tester run 20261109-091152-39587, distribution SNMP-Extension-PassPersist-0.07:
- PerlOnJava: 61/67 assertions passed; 6 failed across
t/10-synopsis-pass.t,t/10-synopsis-passpersist.t, andt/12-run.t. - JVM and interpreter: the focused
t/10-synopsis-pass.ttest reproduces the same failure using the distribution's recorded dependency overlay. - System Perl: the archived oracle passed the full suite (68 tests). A focused rerun of all three failing test files also passed (16 tests).
- Failure text:
Undefined subroutine &SNMP::Extension::PassPersist::openlog calledat theopenlog(...)call inSNMP::Extension::PassPersist::run. t/50-walk.twas skipped becauseIPC::Runwas unavailable; that skip is unrelated to the failing assertions.
The PerlOnJava reproduction was run at checkout 4aca25e9fc5ebe26fb0081173a0cc9e3339c9c60 on macOS 26.7.1 with Temurin OpenJDK 24.0.2. The archived system-Perl oracle used Perl 5.42.2. The target distribution contains no XS/C source; XS notices in the CPAN log concern dependencies and are not the failing code path.
Acceptance
- The upstream distribution suite passes under both PerlOnJava backends with the same CPAN dependency overlay.
- The system Perl result remains passing.
- Add a project-owned regression test for the missing
Sys::Syslogimport behavior.
- Vorherrschende Sprache
- Perl
- Sterne
- 67
- Forks
- 8
- Ø Merge
- 6 Std. 14 Min.
- Gemergte PRs (30 T.)
- 143
Entwicklungsumgebung
- Enthält ein Dockerfile oder eine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus fglock/PerlOnJava
-
area:io area:warnings bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
fglock/PerlOnJava#2024 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:runtime documentation enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
fglock/PerlOnJava#1579 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:parser bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 56/100
fglock/PerlOnJava#2027 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:backend area:io area:runtime bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
fglock/PerlOnJava#2023 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:backend area:cpan-port area:parser area:runtime bug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 54/100
fglock/PerlOnJava#2021 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in fglock/PerlOnJava
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 94/100
VEuPathDB/ApiCommonModel#260 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
ibmdb/perl_DBD-DB2#21 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
`config --theme` can't find theme files when the `~/Documents/Themes` directory is a symbolic linkOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
Maintainer antworten meist innerhalb von 1 Tag
-
1.severity: security
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag