Bug 716174
Summary: | FTBFS perl-OpenFrame-3.05-13.fc15 | ||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | FTBFS <ftbfs> | ||||||||||||||||
Component: | perl-OpenFrame | Assignee: | Steven Pritchard <steve> | ||||||||||||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
Severity: | high | Docs Contact: | |||||||||||||||||
Priority: | high | ||||||||||||||||||
Version: | rawhide | CC: | notting, perl-devel, ppisar, steve | ||||||||||||||||
Target Milestone: | --- | Keywords: | Triaged | ||||||||||||||||
Target Release: | --- | ||||||||||||||||||
Hardware: | All | ||||||||||||||||||
OS: | Linux | ||||||||||||||||||
URL: | http://linux.dell.com/files/fedora/FixBuildRequires/mock-results/ | ||||||||||||||||||
Whiteboard: | |||||||||||||||||||
Fixed In Version: | perl-OpenFrame-3.05-16.fc16 | Doc Type: | Bug Fix | ||||||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||||||
Clone Of: | Environment: | ||||||||||||||||||
Last Closed: | 2012-07-06 20:07:14 UTC | Type: | --- | ||||||||||||||||
Regression: | --- | Mount Type: | --- | ||||||||||||||||
Documentation: | --- | CRM: | |||||||||||||||||
Verified Versions: | Category: | --- | |||||||||||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||
Embargoed: | |||||||||||||||||||
Bug Depends On: | |||||||||||||||||||
Bug Blocks: | 713919 | ||||||||||||||||||
Attachments: |
|
Description
FTBFS
2011-06-23 16:29:54 UTC
Created attachment 509321 [details]
root.log
root.log for i386
Created attachment 509322 [details]
build.log
build.log for i386
Created attachment 509323 [details]
mock.log
mock.log for i386
Created attachment 509324 [details]
root.log
root.log for x86_64
Created attachment 509325 [details]
build.log
build.log for x86_64
Created attachment 509326 [details]
mock.log
mock.log for x86_64
Tests fail: Can't call method "name" on an undefined value at /builddir/build/BUILD/OpenFrame-3.05/blib/lib/OpenFrame/Cookies.pm line 47. # Looks like you planned 15 tests but ran 2. # Looks like your test exited with 255 just after 2. t/01request.t ....... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 13/15 subtests no_plan takes no arguments at t/02http_request.t line 10. [OpenFrame::Segment::HTTP::Response::OpenFrame::Segment::HTTP::Response::dispatch] no response available at /usr/share/perl5/vendor_perl/Pipeline/Dispatch.pm line 74 t/02http_request.t .. ok t/03argument.t ...... ok Can't call method "name" on an undefined value at /builddir/build/BUILD/OpenFrame-3.05/blib/lib/OpenFrame/Cookies.pm line 47. # Looks like you planned 20 tests but ran 2. # Looks like your test exited with 255 just after 2. t/04response.t ...... Dubious, test returned 255 (wstat 65280, 0xff00) Failed 18/20 subtests This happens when tests do: ok($cookie = OpenFrame::Cookies->new(), "created cookietin okay"); ok($cookie->set(colour => "red"), "set cookie okay"); Because $cookie->set() does: my $cookie = OpenFrame::Cookie->new(); $cookie->name( $key ); and that fails because OpenFrame::Cookie->new() returns undef, OpenFrame::Cookie is ISA of CGI::Cookie and CGI::Cookie->new() returns undef. Seems like bug in CGI::Cookie, that is provided with perl-CGI. Last successful build was against 0:perl-CGI-3.50-2.fc15.noarch. Fist incompatatible CGI::Cookie version is perl-CGI-3.51-1.fc15.noarch. It's a feature according to CGI-3.51 changelog: Version 3.51, Jan 5, 2011 [BUG FIXES] - CGI::Cookie->new() now follows the documentation and returns undef if the -name and -value args aren't provided. This new behavior is also consistent with the docs and code of CGI::Simple::Cookie. (Mark Stosberg) Thus this is bug in OpenFrame when constructing CGI::Cookie (parented) objects. Created attachment 509759 [details]
fix
As we have CGI 3.51 in all Fedoras, this bug affects all Fedoras. Applied in git. |