Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the config-model CPAN distribution.

Report information
The Basics
Id: 74012
Status: resolved
Priority: 0/
Queue: config-model

People
Owner: DDUMONT [...] cpan.org
Requestors: xiong [...] cpan.org (daily)
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.265
Fixed in: 2.026



Subject: Dependency on DB_file
Hi DDUMONT, My (second) attempt to install Config-Model failed in an unusual way. It has DB_file as a prerequisite and when 'cpan' attempted to install that, this failed due to a missing C header file, db.h. 'cpan' proceeded to install all other prerequisites and, with a warning, ran the Config- Model test suite, which passed. (!) Thus CPAN::Reporter sent you a PASS report: .... All tests successful. Files=54, Tests=1711, 60 wallclock secs ( 0.54 usr 0.07 sys + 48.85 cusr 2.39 csys = 51.85 CPU) Result: PASS (./Build test exited with 0) CPAN::Reporter: Test result is 'pass', All tests successful. CPAN::Reporter: preparing a CPAN Testers report for Config-Model-1.265 CPAN::Reporter: sending test report with 'pass' via Metabase DDUMONT/Config-Model-1.265.tar.gz Tests succeeded but one dependency not OK (DB_File) DDUMONT/Config-Model-1.265.tar.gz [dependencies] -- NA Running Build install make test had returned bad status, won't install without force Failed during this command: PMQS/DB_File-1.824.tar.gz : make NO DDUMONT/Config-Model-1.265.tar.gz : make_test NO one dependency not OK (DB_File) I suggest that if Config-Model truly requires DB_file, you may want to write a test that exercises whatever functionality Config-Model takes from it. Conversely, if DB_file is optional, perhaps this could be moved to 'recommends'. XIONG@cpan.org
On Sun Jan 15 11:53:27 2012, xiong wrote: Show quoted text
> I suggest that if Config-Model truly requires DB_file, you may want to > write a test that exercises whatever functionality Config-Model takes > from it. Conversely, if DB_file is optional, perhaps this could be moved > to 'recommends'.
DB_File is used by Debian::Dpkg model. This part is tested only on a Debian system. I plan to extract Debian stuff out of Config::Model soon. This will help this issue. All the best
Config::Model 2.026 no longer features the Debian specific models (moved to Config::Model::Dpkg). Hence the dependency and usage of DB_File was also removed. All the best