Skip Menu |

This queue is for tickets about the DBD-CSV CPAN distribution.

Report information
The Basics
Id: 99732
Status: resolved
Priority: 0/
Queue: DBD-CSV

People
Owner: Nobody in particular
Requestors: bluefeet [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.43
Fixed in: 0.45



Subject: Hard-coded DBI version prerequisite in Makefile.PL is broken
Date: Wed, 22 Oct 2014 08:58:56 -0700
To: bug-DBD-CSV [...] rt.cpan.org
From: Aran Deltac <bluefeet [...] gmail.com>
I expect my CPAN toolchain to read a modules prerequisites and install any that are missing. In my test case I have DBI 1.616. I expect, like any other CPAN module, that since DBD::CSV requires at least 1.628 that the latest DBI would be installed before DBD::CSV is installed. Instead I get: Trying to use DBD::CSV with DBI-1.616 is heading for failure. DBD::CSV is relying on DBD::File, bundled in the DBI release and does require features not present in this version of DBI. I would suggest removing the DBI check from Makefile.PL and instead let the CPAN tools do their job following dependencies. Details below. Thanks, Aran Try it yourself (1.616 is no longer on CPAN, so using 1.621): $ cpanm T/TI/TIMB/DBI-1.621.tar.gz --> Working on T/TI/TIMB/DBI-1.621.tar.gz Fetching http://www.cpan.org/authors/id/T/TI/TIMB/DBI-1.621.tar.gz ... OK Configuring DBI-1.621 ... OK Building and testing DBI-1.621 ... OK Successfully installed DBI-1.621 1 distribution installed $ cpanm DBD::CSV --> Working on DBD::CSV Fetching http://www.cpan.org/authors/id/H/HM/HMBRAND/DBD-CSV-0.44.tgz ... OK Configuring DBD-CSV-0.44 ... N/A ! Configure failed for DBD-CSV-0.44. See /home/aran/.cpanm/work/1413993360.831/build.log for details. The log is: cpanm (App::cpanminus) 1.7004 on perl 5.014002 built for x86_64-linux-gnu-thread-multi Work directory is /home/aran/.cpanm/work/1413993360.831 You have make /usr/bin/make You have LWP 6.03 You have /bin/tar: tar (GNU tar) 1.26 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html Show quoted text
>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by John Gilmore and Jay Fenlason. You have /usr/bin/unzip Checking if you have ExtUtils::MakeMaker 6.31 ... Yes (6.98) Checking if you have ExtUtils::Install 1.46 ... Yes (1.56) Searching DBD::CSV on cpanmetadb ... --> Working on DBD::CSV Fetching http://www.cpan.org/authors/id/H/HM/HMBRAND/DBD-CSV-0.44.tgz -> OK Unpacking DBD-CSV-0.44.tgz Entering DBD-CSV-0.44 Checking configure dependencies from META.json Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.98) Configuring DBD-CSV-0.44 Running Makefile.PL Trying to use DBD::CSV with DBI-1.621 is heading for failure. DBD::CSV is relying on DBD::File, bundled in the DBI release and does require features not present in this version of DBI. -> N/A -> FAIL Configure failed for DBD-CSV-0.44. See /home/aran/.cpanm/work/1413993360.831/build.log for details.
Thanks for the report 0.45 released with fix