Skip Menu |

This queue is for tickets about the Locale-Object CPAN distribution.

Report information
The Basics
Id: 84261
Status: patched
Priority: 0/
Queue: Locale-Object

People
Owner: cpan [...] desert-island.me.uk
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.79
Fixed in: (no value)



Subject: Dependency declaration insufficient
According to this line: https://metacpan.org/source/JROBINSON/Locale-Object-0.79/Build.PL#L37 Build.PL fails when DBD::SQLite is not installed. Such a requirement is called 'configure_requires' in the META.yml specification. If you declare DBI and DBD::SQLite as configure_requires, then the whole installation can be automated, and tested as all the rest of the CPAN. Sample problem report: http://www.cpantesters.org/cpan/report/2b0d0fa6-90e8-11e2-8ec5-c65d3b384401 Would not happen with configure_requires declared. HTH, Thanks && Regards,
On Thu Mar 28 11:24:24 2013, ANDK wrote: Show quoted text
> According to this line: > > https://metacpan.org/source/JROBINSON/Locale-Object-0.79/Build.PL#L37 > > Build.PL fails when DBD::SQLite is not installed. > > Such a requirement is called 'configure_requires' in the META.yml > specification. If you declare DBI and DBD::SQLite as > configure_requires, then the whole installation can be automated, > and tested as all the rest of the CPAN. > > Sample problem report: > > http://www.cpantesters.org/cpan/report/2b0d0fa6-90e8-11e2-8ec5- > c65d3b384401 > > Would not happen with configure_requires declared. > > HTH, Thanks && Regards,
Aha, thanks. I bet that got added before this Build.PL was thought of! (Hmm, and now that makes me wonder about a CPAN "information sheet" which brings people uptodate on the latest cool things that are handy for module building
Any update on getting this fixed? It breaks all builds on Travis that use Locale::Object. The workaround is to explicitly load DBD::SQLite in your .travis.yml file.
On Tue May 16 09:18:53 2017, NHORNE wrote: Show quoted text
> Any update on getting this fixed? It breaks all builds on Travis that > use Locale::Object. The workaround is to explicitly load DBD::SQLite > in your .travis.yml file.
Also wondering here. This breaks module installations via Carton as well, as while we can specify the DBD::SQLite requirement before Locale::Object, Carton may install the former later as it assembles the versioned dependency tree.