Your message dated Sat, 21 May 2016 16:30:04 +0000
with message-id <[email protected]>
and subject line Bug#824937: fixed in libsys-syscall-perl 0.25-4
has caused the Debian Bug report #824936,
regarding libsys-syscall-perl: FTBFS on mips*: test failures
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
824936: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824936
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libsys-syscall-perl
Version: 0.25-2
Severity: serious
Tags: patch
This package fails to build on mips, mipsel and mips64el.
# Failed test 'event is stdout'
# at t/01-epoll.t line 39.
# got: '0'
# expected: '4'
# listening on 39575 and 41406
# Failed test 'got both'
# at t/01-epoll.t line 80.
The code gets the right constants from sys/syscall.ph, but
the default aligment requirements are wrong. Patch attached
hardcoding the constants like the rest of the archs do.
This needs to be sent upstream too. It's tested manually
on the Debian porter machines, but I'll run it by the
autobuilders to make sure it's working first.
--
Niko Tyni [email protected]
>From 27084cb9b8a0cdc0bdaae792a329ea3b35a9ef92 Mon Sep 17 00:00:00 2001
From: Niko Tyni <[email protected]>
Date: Sat, 21 May 2016 14:05:31 +0000
Subject: [PATCH] Add mips* support
---
lib/Sys/Syscall.pm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/lib/Sys/Syscall.pm b/lib/Sys/Syscall.pm
index b7ac0ce..165b152 100644
--- a/lib/Sys/Syscall.pm
+++ b/lib/Sys/Syscall.pm
@@ -64,6 +64,11 @@ if ($^O eq "linux") {
$machine = "i386";
}
+ # Similarly for mips64 vs mips
+ if ($machine eq "mips64" && $Config{ptrsize} == 4) {
+ $machine = "mips";
+ }
+
if ($machine =~ m/^i[3456]86$/) {
$SYS_epoll_create = 254;
$SYS_epoll_ctl = 255;
@@ -113,6 +118,20 @@ if ($^O eq "linux") {
$SYS_sendfile = 187;
$SYS_readahead = 225;
$u64_mod_8 = 1;
+ } elsif ($machine =~ m/^mips64/) {
+ $SYS_sendfile = 5039;
+ $SYS_epoll_create = 5207;
+ $SYS_epoll_ctl = 5208;
+ $SYS_epoll_wait = 5209;
+ $SYS_readahead = 5179;
+ $u64_mod_8 = 1;
+ } elsif ($machine =~ m/^mips/) {
+ $SYS_sendfile = 4207;
+ $SYS_epoll_create = 4248;
+ $SYS_epoll_ctl = 4249;
+ $SYS_epoll_wait = 4250;
+ $SYS_readahead = 4223;
+ $u64_mod_8 = 1;
} else {
# as a last resort, try using the *.ph files which may not
# exist or may be wrong
--
2.1.4
--- End Message ---
--- Begin Message ---
Source: libsys-syscall-perl
Source-Version: 0.25-4
We believe that the bug you reported is fixed in the latest version of
libsys-syscall-perl, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Niko Tyni <[email protected]> (supplier of updated libsys-syscall-perl package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 21 May 2016 17:28:58 +0300
Source: libsys-syscall-perl
Binary: libsys-syscall-perl
Architecture: source
Version: 0.25-4
Distribution: experimental
Urgency: medium
Maintainer: Debian Perl Group <[email protected]>
Changed-By: Niko Tyni <[email protected]>
Description:
libsys-syscall-perl - module to access system calls that Perl doesn't normally
provide
Closes: 824937
Changes:
libsys-syscall-perl (0.25-4) experimental; urgency=medium
.
* Team upload from the Debian Perl Team Sprint in Zürich.
* Add support for mips, mipsel and mips64el. (Closes: #824937)
Checksums-Sha1:
f0dac680502d606442292582ee1065d510b518fd 2201 libsys-syscall-perl_0.25-4.dsc
3d7460a1ded85e66bd4af541786b549698a243c8 6088
libsys-syscall-perl_0.25-4.debian.tar.xz
Checksums-Sha256:
f1daa0b8bde87fee33902c633525149f066a4da59a6841a404cc0c75922a5ca0 2201
libsys-syscall-perl_0.25-4.dsc
b91c227bef0afef33f8b62fab2e0655d7325d08eb75be79189d1a8d1c033f0d2 6088
libsys-syscall-perl_0.25-4.debian.tar.xz
Files:
ae3330bca3db2e94a68e9ca52c0ecb66 2201 perl optional
libsys-syscall-perl_0.25-4.dsc
ae00dded49768263dd925d78d1de99b6 6088 perl optional
libsys-syscall-perl_0.25-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBCAAGBQJXQHFPAAoJEC7A/7O3MBsf8L0P+gOU6C8KKjg5RnjwHHpwp+/i
1bVTjO/3HZjgODgg9kWWCPcMrNr6yFjk46rXA3ZcrgkIT9fQ/RjsBTl5OF8XBbM6
9yX9im5dp3Czzq6WME+RW9eBZpGlzLQBCANTSQJlFIGrbLu9Boeo4kCo+pSn5iQt
zmJje+FUqit+ts8t7o6i9x92xhW/jfFGAWxTfO/7TBP/gCpA10Zcw77urDxv+Mel
Afau0FfmNooa8TsC/ovFZJze9/QYjOG5dKrSdoIPVU0c3CCtepjDjyhMR9KxlJSe
jsSquG6zx2oTv1fa4UxSIfmfPhWD2MiCIhI0TywJWry/3lXCuFQAfNFwI1nt/sb1
t7IUXc9lqLzoP/NAxoMH3jksAkUQXbAS2hSxSylJM51hGxbMY3+BHvve4Ez7MYJa
umr0Y5ib8eNEEpL9LzRzcJmRMtMFUjpETKu1F4ZdM+3ZvgH9MrTYECN32V2g/fun
30s9fMueke2bjKx4jrS6nbYJuZOYPh6LsuWck518SryDQdE1LftnfTYKlClwOJzM
VFQkzs4qUfcvirHYmYUBkHVWCEKKfTpdtatY+bhEBHbUSq2WxDVt6wwfN0wIzO0S
DYO4BdWC0OU5F34OVAIprYkDKpSr1p+2ehxsdrH7bLr6RSO94Nmwbz2G5A3Z94Zo
lqnDqX79Ew4TNjsuxCqY
=uRpu
-----END PGP SIGNATURE-----
--- End Message ---