Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: FTBFS perl-OpenFrame-3.05-13.fc15
https://bugzilla.redhat.com/show_bug.cgi?id=716174
Summary: FTBFS perl-OpenFrame-3.05-13.fc15 Product: Fedora Version: rawhide Platform: All URL: http://linux.dell.com/files/fedora/FixBuildRequires/mo ck-results/ OS/Version: Linux Status: NEW Keywords: Triaged Severity: high Priority: high Component: perl-OpenFrame AssignedTo: steve@silug.org ReportedBy: ftbfs@fedoraproject.org QAContact: extras-qa@fedoraproject.org CC: steve@silug.org, fedora-perl-devel-list@redhat.com Blocks: 713919 Classification: Fedora Story Points: ---
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.)
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=716174
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ppisar@redhat.com
--- Comment #7 from Petr Pisar ppisar@redhat.com 2011-06-24 08:36:17 EDT --- 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.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=716174
--- Comment #8 from Petr Pisar ppisar@redhat.com 2011-06-24 08:42:02 EDT --- Fist incompatatible CGI::Cookie version is perl-CGI-3.51-1.fc15.noarch.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=716174
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- External Bug ID| |CPAN 69077
--- Comment #9 from Petr Pisar ppisar@redhat.com 2011-06-24 08:59:15 EDT --- 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.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=716174
--- Comment #10 from Petr Pisar ppisar@redhat.com 2011-06-24 09:30:35 EDT --- Created attachment 509759 --> https://bugzilla.redhat.com/attachment.cgi?id=509759 fix
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=716174
--- Comment #11 from Petr Pisar ppisar@redhat.com 2011-06-24 09:39:57 EDT --- As we have CGI 3.51 in all Fedoras, this bug affects all Fedoras.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=716174
Marcela Mašláňová mmaslano@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #12 from Marcela Mašláňová mmaslano@redhat.com 2011-06-24 09:55:15 EDT --- Applied in git.
Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
https://bugzilla.redhat.com/show_bug.cgi?id=716174
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED Fixed In Version| |perl-OpenFrame-3.05-16.fc16
https://bugzilla.redhat.com/show_bug.cgi?id=716174
Bill Nottingham notting@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED CC| |notting@redhat.com Resolution|--- |RAWHIDE Last Closed| |2012-07-06 16:07:14
perl-devel@lists.fedoraproject.org