perl-DBIx-Class-0.08250-5.fc21 fails to build due to tests: # Failed test 'Cascading delete on Ordered has_many works' # at t/60core.t line 362. # died: DBIx::Class::Exception (DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::SQLite::st execute failed: UNIQUE constraint failed: track.cd, track.position [for Statement "UPDATE track SET position = ? WHERE ( trackid = ? )"] at t/60core.t line 362 # ) # Failed test 'Cascading through has_many top level.' # at t/60core.t line 363. # got: '3' # expected: '0' # Failed test 'Cascading through has_many children.' # at t/60core.t line 364. # got: '3' # expected: '0' # Looks like you failed 3 tests of 123. t/60core.t .......................................... Dubious, test returned 3 (wstat 768, 0x300) Failed This is caused by upgrading sqlite from 3.8.4.3 to 3.8.5.
Upstream fixed it by: commit 37b9b05b2fd693c01ef01a29765fba97077393d2 Author: Peter Rabbitson <ribasushi> Date: Mon Jun 16 16:15:44 2014 +0200 Fix ::Ordered in combination with delete_all See pod-changes for description of the solution. I cringe but... oh well