Please do not reply directly to this email. All additional comments should be made in the comments box of this bug.
Summary: FTBFS: big endian bug in self checks
https://bugzilla.redhat.com/show_bug.cgi?id=808197
Summary: FTBFS: big endian bug in self checks Product: Fedora Version: 17 Platform: powerpc OS/Version: Linux Status: NEW Severity: high Priority: medium Component: perl-Socket-Netlink AssignedTo: bochecha@fedoraproject.org ReportedBy: karsten@redhat.com QAContact: extras-qa@fedoraproject.org CC: fedora-perl-devel-list@redhat.com, bochecha@fedoraproject.org Classification: Fedora Story Points: --- Type: --- Regression: --- Mount Type: --- Documentation: ---
Description of problem: perl-Socket-Netlink fails to build on PPC as two of the self checks fail, one of them looks like a big endian bug as the result has a swapped bit:
t/12netlink-message-header.t ..... ok # Failed test '$message->attrs after unpack' # at t/13netlink-message-attrs.t line 98. # Structures begin differing at: # $got->{str} = '' # $expected->{str} = 'FGH' # Looks like you failed 1 test of 14. t/13netlink-message-attrs.t ...... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/14 subtests t/14netlink-message-error.t ...... ok # Failed test '$message->pack' # at t/20io-socket-netlink-generic.t line 55. # at bytes 0-0xf (0-15) # got: | 00 00 00 14 00 1e 00 00 00 00 00 00 00 00 00 00 |................| # exp: | 00 00 00 14 00 00 00 1e 00 00 00 00 00 00 00 00 |................| # Looks like you failed 1 test of 13.
Version-Release number of selected component (if applicable): perl-Socket-Netlink-0.03-4.fc17
How reproducible: always
Steps to Reproduce: 1. ppc-koji build --scratch f17 perl-Socket-Netlink-0.03-4.fc17.src.rpm 2. 3.
Actual results: http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=469988
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=808197
--- Comment #1 from Mathieu Bridon bochecha@fedoraproject.org 2012-03-29 22:03:42 EDT --- I've found out about this bug when I tried to build the package for EPEL 6.
Submitted it upstream: https://rt.cpan.org/Public/Bug/Display.html?id=71112
Unfortunately, that's not something I can fix myself. If you have experience with endianness bugs, any help is more than welcome.
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=808197
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ppisar@redhat.com External Bug ID| |CPAN 71112
--- Comment #2 from Petr Pisar ppisar@redhat.com 2012-03-30 04:51:10 EDT --- The t/20io-socket-netlink-generic.t:55 test checks serialization of
my $message = $genlsock->new_message( nlmsg_type => 30, cmd => 1, version => 2 );
netlink(7) defines netlink header as:
struct nlmsghdr { __u32 nlmsg_len; /* Length of message including header. */ __u16 nlmsg_type; /* Type of message content. */ __u16 nlmsg_flags; /* Additional flags. */ __u32 nlmsg_seq; /* Sequence number. */ __u32 nlmsg_pid; /* PID of the sending process. */ };
So I think the expected
00 00 00 14 00 00 00 1e 00 00 00 00 00 00 00 00
is wrong since the type (30 = 0x1e) should occupy two bytes only. Here it spans to nlmsg_flags field.
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=808197
Phil Knirsch pknirsch@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pknirsch@redhat.com Version|17 |rawhide
--- Comment #3 from Phil Knirsch pknirsch@redhat.com --- Still happens on latest Fedora 18 and trying to rebuild perl-Socket-Netlink-0.03-6, moving to rawhide.
Thanks & regards, Phil
https://bugzilla.redhat.com/show_bug.cgi?id=808197
Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bochecha@fedoraproject.org |emmanuel@seyman.fr
--- Comment #5 from Fedora Admin XMLRPC Client fedora-admin-xmlrpc@redhat.com --- This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
https://bugzilla.redhat.com/show_bug.cgi?id=808197
Emmanuel Seyman emmanuel@seyman.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |UPSTREAM Last Closed| |2014-11-20 04:41:35
--- Comment #6 from Emmanuel Seyman emmanuel@seyman.fr --- Given that this issue is an upstream bug more than it is a packaging issue, I'll be keeping track of it in CPAN's RT. Accordingly, I'm closing this bug with the resolution of UPSTREAM.
https://bugzilla.redhat.com/show_bug.cgi?id=808197
Petr Pisar ppisar@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|UPSTREAM |DUPLICATE
--- Comment #7 from Petr Pisar ppisar@redhat.com ---
*** This bug has been marked as a duplicate of bug 1238168 ***
perl-devel@lists.fedoraproject.org