Your message dated Sun, 16 Feb 2014 11:34:13 +0000
with message-id <e1wezzb-000401...@franck.debian.org>
and subject line Bug#733917: fixed in linbox 1.3.2-1.1
has caused the Debian Bug report #733917,
regarding linbox FTBFS: build failed on post-compile-test on mips/mipsel
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.)


-- 
733917: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=733917
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: linbox
Version: 1.3.2-1
Severity: serious
Tags: sid patch
Justification: FTBFS


In an attempt to build libqb on mips/mipsel, 
build failed on testing:


<  PASS: test-charpoly
<  make[5]: *** Deleting file `test-det.log'
<  make[5]: *** [test-det.log] Terminated
<  make: *** [build-arch] Terminated
<  E: Caught signal ‘Terminated’: terminating immediately
<  make[4]: *** [check-TESTS] Terminated
<  make[1]: *** [check-recursive] Terminated
<  make[2]: *** [check-recursive] Terminated
<  make[3]: *** [check-am] Terminated
<  Terminated
<  Build killed with signal TERM after 300 minutes of inactivity

The full build logs are available from:
https://buildd.debian.org/status/fetch.php?pkg=linbox&arch=mips&ver=1.3.2-1&stamp=1379576905

Test test-det on i386 or amd64 successfully pass after a few iterations,
on mips this test has an enormous number of iterations
and build of the linbox package on buildd breaks after 300 minutes of 
inactivity.

The reason for this behavior is that in:
linbox/algorithms/rational-reconstruction-base.h
the way to calculate RecCounter is:
<  RecCounter = (size_t)((double)log((double)rbound_)/log(2.));//2^RecCounter < 
rbound_ <=2^(RecCounter+1)
For rbound_ is equal to zero the result of log function is -inf (double[8 
bytes]).
When we cast -inf to size_t (unsigned int[4 bytes]) on i386 and amd64,
result is zero.
In the same situation on mips architecture, cast is done through
TRUNC.W.D instruction.
For this instraction, if the source value is Infinity, NaN, or rounds to an 
integer outside the range
-2^31 to 2^31-1, the result cannot be represented correctly and an IEEE Invalid 
Operation
condition exists. The result depends on the FP exception model currently active 
and the
default result is 2^31–1 (2147483647).


A patch fixing this issue is attached.
Author: "Dejan Latinovic" <dejan.latino...@rt-rk.com>
Description: Set RecCounter=0 if rbound_==0 to avoid cast of -inf.
Index: linbox-1.3.2/linbox/algorithms/rational-reconstruction-base.h
===================================================================
--- linbox-1.3.2.orig/linbox/algorithms/rational-reconstruction-base.h	2012-06-09 02:13:48.000000000 +0000
+++ linbox-1.3.2/linbox/algorithms/rational-reconstruction-base.h	2013-12-31 13:40:03.000000000 +0000
@@ -73,7 +73,8 @@
 				RecCounter = (int)sqrt((double)rbound_);//RecCounter^2 < rbound_ <=(RecCounter+1)^2
 			}
 			else if (_meth == GEOMETRIC) {
-				RecCounter = (size_t) log((double)rbound_) ;//2^RecCounter < rbound_ <=2^(RecCounter+1)
+				if (rbound_!=0)
+					RecCounter = (size_t) log((double)rbound_) ;//2^RecCounter < rbound_ <=2^(RecCounter+1)
 			}
 		}
 
@@ -85,7 +86,8 @@
 				RecCounter = (size_t)sqrt((double)rbound_);//RecCounter^2 < rbound_ <=(RecCounter+1)^2
 			}
 			else if (_meth == GEOMETRIC) {
-				RecCounter = (size_t)((double)log((double)rbound_)/log(2.));//2^RecCounter < rbound_ <=2^(RecCounter+1)
+				if (rbound_!=0)
+					RecCounter = (size_t)((double)log((double)rbound_)/log(2.));//2^RecCounter < rbound_ <=2^(RecCounter+1)
 			}
 
 		}

--- End Message ---
--- Begin Message ---
Source: linbox
Source-Version: 1.3.2-1.1

We believe that the bug you reported is fixed in the latest version of
linbox, 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 733...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anibal Monsalve Salazar <ani...@debian.org> (supplier of updated linbox 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: Sun, 16 Feb 2014 05:27:42 +0000
Source: linbox
Binary: liblinbox-dev liblinbox-1.3.2-0 liblinboxsage-dev liblinboxsage-1.3.2-0 
liblinbox-doc
Architecture: source mipsel all
Version: 1.3.2-1.1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Anibal Monsalve Salazar <ani...@debian.org>
Description: 
 liblinbox-1.3.2-0 - Library for exact linear algebra - shared library
 liblinbox-dev - Library for exact linear algebra - development files
 liblinbox-doc - LinBox Documentation
 liblinboxsage-1.3.2-0 - SAGE interface of LinBox - shared library
 liblinboxsage-dev - SAGE interface of LinBox - development files
Closes: 733917
Changes: 
 linbox (1.3.2-1.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Fix "FTBFS: build failed on post-compile-test on mips/mipsel"
     Add fix-RR-RecCounter.patch
     Patch by Dejan Latinovic
     Closes: #733917
Checksums-Sha1: 
 ecc3e81cb254cb2daa0031ada69c34695a76c0dd 2324 linbox_1.3.2-1.1.dsc
 11ffa9c731a081578686dc0f16b5df8015b43841 6928 linbox_1.3.2-1.1.debian.tar.xz
 1b48b606e1d7ded0b7a42b5259dffc5131feb125 548240 
liblinbox-dev_1.3.2-1.1_mipsel.deb
 558e73d9ae1da076d0e1d303b713ed47c38d6616 69204 
liblinbox-1.3.2-0_1.3.2-1.1_mipsel.deb
 55048a2972082f29f61c943ca236a74633d714aa 527940 
liblinboxsage-dev_1.3.2-1.1_mipsel.deb
 1ff1097d876d8f4e2b8f05e127055b85ef4f9fab 459482 
liblinboxsage-1.3.2-0_1.3.2-1.1_mipsel.deb
 8c8d69646e43a51145a9b19a0c17b69be2c1c916 32352842 
liblinbox-doc_1.3.2-1.1_all.deb
Checksums-Sha256: 
 82473309d61e4a8b586a4b211b460fdf785b0b9ffdd6cdf3090dd9f0d5a8eada 2324 
linbox_1.3.2-1.1.dsc
 8d9a95cf7a13f8d64bce59f0de27f6bbf5bad825bf02362f67b6ecb74f7abc92 6928 
linbox_1.3.2-1.1.debian.tar.xz
 cdcfd3b49b1a2350962e0ebad7dfe06bb68a76a386019e9e868239bca0ee82fb 548240 
liblinbox-dev_1.3.2-1.1_mipsel.deb
 b6a0e31c3fee9824920137b3cd577117f6ec50e73e4a2958d8e98374ec916976 69204 
liblinbox-1.3.2-0_1.3.2-1.1_mipsel.deb
 c6b76b18f8642def3d3bf85565472bfb504e58f06ea4d7203771ece591de5849 527940 
liblinboxsage-dev_1.3.2-1.1_mipsel.deb
 a19cd33b613d6aa37f3514d542ab7d0576c301607e4145e7eb3f5c86eb368d31 459482 
liblinboxsage-1.3.2-0_1.3.2-1.1_mipsel.deb
 a9c42d7ef47fa772925c722e965922c9c8a221e299c67d381f56cdbde85cdb41 32352842 
liblinbox-doc_1.3.2-1.1_all.deb
Files: 
 08e59c42aa2dabe4a9d550af85ca1811 2324 math optional linbox_1.3.2-1.1.dsc
 8c7f6cdfa2b0878d0ef49cd24d6b6a05 6928 math optional 
linbox_1.3.2-1.1.debian.tar.xz
 c469356024e4909a4f6aa534992fa603 548240 libdevel optional 
liblinbox-dev_1.3.2-1.1_mipsel.deb
 dd4fdc8b5caf726a2806ceb0d2c8c2b0 69204 libs optional 
liblinbox-1.3.2-0_1.3.2-1.1_mipsel.deb
 f3008a56f586a5f5456c209ca75071de 527940 libdevel optional 
liblinboxsage-dev_1.3.2-1.1_mipsel.deb
 82c8d17515844d603125c5beeb02c643 459482 libs optional 
liblinboxsage-1.3.2-0_1.3.2-1.1_mipsel.deb
 e70c4e98e603191b54ab46a002014a6e 32352842 doc optional 
liblinbox-doc_1.3.2-1.1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJTAJ4yAAoJEHxWrP6UeJfYvmYP/iU953fYdC76hf/TG+euvLQ6
OeeHX6kZqtcn6JiToJsdR88WQhMv9reaUHwPOCJu1ugJiDRGOhxZTaKIabhTqwcf
l92ezbEBuddxIu6kLlUHIw+T6pVmKM4MhqRcTtv1+QgNpYg9i0mJuW+Mbtjyq+pj
qUYPxdRvkfTToshhEL5DoG8K8J8zWDKjJK5dieePhh4gOcqjpga0lhMHExWw/j8w
dIZburG7TxuWHUOWiklgmjcRmxKVJAVSvtt4y4vmXo9+jYiZt/csCymckGPIpT64
AWfQuu6IWsPRaO3Ibpbea5mB/KePPxwlYLMoAuWpJRrXcKVkcMtWsoJFgM1yKPKD
vPQWsH05Z4yOucoK6SkUCV4v+ryvDcBh8cyYXLbFkgwzNV7dwID919pmtWgeaH4n
c+aG+H5/FvhvFnnRuXdml7WHPXUITYsPPHh+Twj/Gyhx138Ezdpy7IzwlTJTbXT8
vyefCenO2TLp3JpBesMe69p3Syjujttq+Iz+aqxEYFWquBTW2lRTecDlsrrjX5dq
bDhHV4nMkFdoKBNX4aoPh+wK4z3WQwoSULaS8wSyvjfXOcKFUrojD/fxO4IL94EA
Ov/x20ARyMgQXXcVqiXKLl77IsYXOacPGXVwXpnVKk9DU9P/4t++P/4yCoGmL9QF
Gedr1zPIcsD5NfGVDNVB
=oGFL
-----END PGP SIGNATURE-----

--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to