Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Log-Dispatch CPAN distribution.

Report information
The Basics
Id: 84481
Status: resolved
Priority: 0/
Queue: Log-Dispatch

People
Owner: Nobody in particular
Requestors: mschwern [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.35
Fixed in: 2.36



Subject: Undeclared dependency on Sys::Syslog 0.25
Log::Dispatch::Syslog depends on Sys::Syslog 0.25.  Perls before 5.10.1 don't have that version.  Since it's not declared in the Makefile.PL it can cause failures.
See http://www.cpantesters.org/cpan/report/a437041e-5df7-11e2-a2f1-82091a5d253f
The whole Log::Dispatch distro is a bit broken in regards to prereqs. It ships a bunch of modules which have deps (mod_perl, Sys::Syslog, various mail modules) but it doesn't declare any of them since otherwise it'd depend on everything. The only sane fix for this is to split most of the log output modules into separate distros. This will cause its own prereq chaos on CPAN, but it's probably worth doing.
Splitting up the distributions sounds like the ultimate correct thing to do, but it might take some time.  Sys::Syslog isn't an odious prerequisite.  Would you accept the attached small patch just to add Sys::Syslog?  It will at least stop my downstream tests from blowing up.
Subject: Log-Dispatch-Sys-Syslog-prereq.patch
diff --git dist.ini dist.ini index 4a13812..9f00010 100644 --- dist.ini +++ dist.ini @@ -35,6 +35,7 @@ repository.type = git [Prereqs] Class::Load = 0 Params::Validate = 0.15 +Sys::Syslog = 0.25 [Prereqs / TestRequires] File::Temp = 0