Bug 1085336 - perl-DBIx-Class-0.08250-2.fc21 FTBFS
Summary: perl-DBIx-Class-0.08250-2.fc21 FTBFS
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-DBIx-Class
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: http://koji.fedoraproject.org/koji/ta...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-08 11:58 UTC by Petr Pisar
Modified: 2014-05-21 05:46 UTC (History)
3 users (show)

Fixed In Version: perl-DBIx-Class-0.08250-3.fc21
Clone Of:
Environment:
Last Closed: 2014-05-21 05:45:48 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
CPAN 91947 0 None None None Never

Description Petr Pisar 2014-04-08 11:58:26 UTC
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.

Comment 1 Petr Pisar 2014-04-09 13:15:31 UTC
This bug prevents from building about 30 other packages (mojomojo and some Catalyst and CGI packages).

Comment 2 Petr Pisar 2014-04-09 13:42:27 UTC
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

Comment 3 Petr Pisar 2014-04-09 13:55:29 UTC
Upgrade to the latest version is left as an exercise for the package maintainer.

Comment 4 Fedora Update System 2014-04-09 14:11:31 UTC
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

Comment 5 Fedora Update System 2014-04-23 04:28:30 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.