perl-DBIx-Class-0.08250-2.fc21 fails to build due to tests in F21 and F20: t/multi_create/reentrance_count.t ................... skipped: Disable test entirely until multicreate is rewritten in terms of subqueries # Failed test 'Exception propogated properly' # at t/multi_create/standard.t line 447. # expecting: Regexp ((?^:cd.artist may not be NULL)) # found: DBIx::Class::Exception (DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::SQLite::st execute failed: NOT NULL constraint failed: cd.artist [for Statement "INSERT INTO cd ( artist) VALUES ( ? )"] at t/multi_create/standard.t line 446 # ) # Looks like you failed 1 test of 91. t/multi_create/standard.t ........................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/91 subtests [...] t/relationship/unresolvable.t ....................... ok # Failed test 'ambiguous find + create failed' # at t/relationship/update_or_create_multi.t line 72. # expecting: Regexp ((?^:cd\.artist\ may\ not\ be\ NULL)) # found: DBIx::Class::Exception (DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::SQLite::st execute failed: NOT NULL constraint failed: cd.artist [for Statement "INSERT INTO cd ( genreid, title, year) VALUES ( ?, ?, ? )"] at t/relationship/update_or_create_multi.t line 68 # ) # Looks like you failed 1 test of 7. t/relationship/update_or_create_multi.t ............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/7 subtests [...] t/storage/disable_sth_caching.t ..................... ok # Failed test 'threw Regexp ((?^s:DBI Exception.+cd\.artist.+NULL))' # at t/storage/error.t line 18. # expecting: Regexp ((?^s:DBI Exception.+cd\.artist.+NULL)) # found: DBIx::Class::Exception (DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::SQLite::st execute failed: NOT NULL constraint failed: cd.artist [for Statement "INSERT INTO cd ( title) VALUES ( ? )"] at t/storage/error.t line 16 # ) # Looks like you failed 1 test of 4. t/storage/error.t ................................... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/4 subtests [...] Test Summary Report ------------------- t/52leaks.t (Wstat: 0 Tests: 196 Failed: 0) TODO passed: 8 t/multi_create/standard.t (Wstat: 256 Tests: 91 Failed: 1) Failed test: 87 Non-zero exit status: 1 t/relationship/update_or_create_multi.t (Wstat: 256 Tests: 7 Failed: 1) Failed test: 6 Non-zero exit status: 1 t/storage/error.t (Wstat: 256 Tests: 4 Failed: 1) Failed test: 1 Non-zero exit status: 1 Files=288, Tests=22186, 204 wallclock secs ( 4.20 usr 0.57 sys + 188.32 cusr 10.45 csys = 203.54 CPU) Result: FAIL Failed 3/288 test programs. 3/22186 subtests failed. Upstream provides newer version 0.08270.
This bug prevents from building about 30 other packages (mojomojo and some Catalyst and CGI packages).
The problem was in newer sqlite library. Fixed with upstream commit: commit ed5550d36c5771dfb5492b23127f8af9e38254d4 Author: Peter Rabbitson <ribasushi> Date: Mon Jan 13 12:49:53 2014 +0100 SQLite changed their exception text again
Upgrade to the latest version is left as an exercise for the package maintainer.
perl-DBIx-Class-0.08250-3.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/perl-DBIx-Class-0.08250-3.fc20
perl-DBIx-Class-0.08250-3.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.