perl-OpenFrame-3.05-13.fc15.src.rpm Failed To Build From Source against the rawhide tree. See http://fedoraproject.org/wiki/FTBFS for more information. If you believe this is actually a bug in another package, do NOT change the component in this bug or close this bug. Instead, add the appropriate bug number from the other package to the "Depends on" line in this bug. If the other package does not yet have a bug created that you think matches, please create one. Doing so helps us properly track bugs and their dependencies, just as we track package dependencies. (If you close this bug, and the other package is not fixed before the next FTBFS run, a new bug will get created. Please follow the above advice to avoid such duplication.)
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.