Your message dated Fri, 30 Jun 2017 02:47:36 +0000
with message-id <e1dqly4-000hkj...@fasolo.debian.org>
and subject line Bug#824936: fixed in libsys-syscall-perl 0.25-2+deb8u1
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 ow...@bugs.debian.org
immediately.)


-- 
824936: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824936
Debian Bug Tracking System
Contact ow...@bugs.debian.org 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   nt...@debian.org
>From 27084cb9b8a0cdc0bdaae792a329ea3b35a9ef92 Mon Sep 17 00:00:00 2001
From: Niko Tyni <nt...@debian.org>
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-2+deb8u1

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 824...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gre...@debian.org> (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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 28 Jun 2017 19:01:33 +0200
Source: libsys-syscall-perl
Binary: libsys-syscall-perl
Architecture: source all
Version: 0.25-2+deb8u1
Distribution: jessie
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: gregor herrmann <gre...@debian.org>
Description:
 libsys-syscall-perl - module to access system calls that Perl doesn't normally 
provide
Closes: 824843 824936 826136
Changes:
 libsys-syscall-perl (0.25-2+deb8u1) jessie; urgency=medium
 .
   * Add patches (from -3, -4, and -6) to support more architectures.
     aarch64.patch, hppa.patch, mips.patch, ppc64le.patch, s390x.patch.
     (Closes: #824843, #824936, #826136)
Checksums-Sha1:
 14e3a6da60b065c93b395d7e1fc91dd0415532da 2355 
libsys-syscall-perl_0.25-2+deb8u1.dsc
 59d739d3c52690380ecf567d28466ee61131ca44 6016 
libsys-syscall-perl_0.25-2+deb8u1.debian.tar.xz
 205c0011dc65b7398218dacd8eae5a323fa59342 10324 
libsys-syscall-perl_0.25-2+deb8u1_all.deb
Checksums-Sha256:
 f0ceb439e43f8a7640ee8b0c6aaf7ab792485d964bdcc2322e390f09af25a2d3 2355 
libsys-syscall-perl_0.25-2+deb8u1.dsc
 850c1a782688017dff1f8c4da9e5e30f2d88929211da7dc9dc7871e750427570 6016 
libsys-syscall-perl_0.25-2+deb8u1.debian.tar.xz
 37ed08da34ee6ed3aa15db11545dec6637f11c70d8a5d4a47240edf7c2d0ebcc 10324 
libsys-syscall-perl_0.25-2+deb8u1_all.deb
Files:
 a064ac9361494064a2622028aa3b8c3c 2355 perl optional 
libsys-syscall-perl_0.25-2+deb8u1.dsc
 799c314a33f2fb36175e1cffb5ded7ca 6016 perl optional 
libsys-syscall-perl_0.25-2+deb8u1.debian.tar.xz
 06225567ada53879b0b445760e428579 10324 perl optional 
libsys-syscall-perl_0.25-2+deb8u1_all.deb

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAllT4Q5fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgawMQ/+IKokuqc+cH1//F1mgpduDW0hJWozD47jx4eSV0IBGaLmDPijNZii4pBi
TuuDzImZqSjrbOBObi4/OMUD0FMcIx8GUTr/UvH2fBNQY6+4nQMyYHPVqtzIhZMN
89KoZgz1XOdow9PE5dxGwrv73BoENQPJB4slxY78vjA7CpBwtrlsYDmt64QRPjfI
wsruA+fJ9V39gKzdXUltbz1iKzuCJj8F5MwNdnN5trjoeTch+ZMCca842LN/CBHQ
REbDDbkcYFSTIigy2Qn66A1ldq2p2mSu6T6jifGuN5kB4+xc1MZ19BFImKJUBhpZ
G1fa8PWyUAvMCgSTNA8M+6dhNhyFh60KCePYp2bGRvysdRwGiLlZZ1oE9pidi8ty
YHeERROWr6j68pO38lrlqdynk3adL1Z/rODoIhuhLVH2Ou3RBhphCNW+qt+qFVaJ
fXEKgy9ARWbIDEkyjoKbJ2jXq0N76JOHtm2ztO2uQBT8RRs2zNvUQDjObvt/HM31
po+yn9glBI4eUShJY0IcTwTOP4ryPsdfz19hHIpUV7d+6y7uxSsHTuM7HC6MvXh5
8kTuX/hxNid074793WTD6SamfiI7cAOpSufc0ybG10b45hkByt9hk8IFCcOKC7DJ
Uj/uqWHlbcFR+0er3DAg6YlwMsSjGjCqoDOm4yZJgqf+CqMZfcA=
=cWtH
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to