[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#633818: marked as done (libvigraimpex: FTBFS:sh4: Failure in ClassifierTest::RF_NanCheck())

Your message dated Thu, 04 Aug 2011 20:50:29 +0000
with message-id <E1Qp4s9-0004e5-KS@franck.debian.org>
and subject line Bug#633818: fixed in libvigraimpex 1.7.1+dfsg1-2
has caused the Debian Bug report #633818,
regarding libvigraimpex: FTBFS:sh4: Failure in ClassifierTest::RF_NanCheck()
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 owner@bugs.debian.org

633818: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633818
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: libvigraimpex
Version: 1.7.1+dfsg1-1
Severity: wishlist
Tags: patch
User: debian-sh4@superh.org
Usertags: sh4
X-Debbugs-CC: debian-superh@lists.debian.org


I am now trying to run Debian on Renesas SH(sh4) CPU.

libvigraimpex FTBFS on sh4.

Entering test suite ClassifierTestSuite

Failure in ClassifierTest::RF_NanCheck()
Assertion failed: detail::contains_nan(dfeatures) == true [0 != 1]

1 of 13 tests failed in test suite ClassifierTestSuite
Leaving test suite ClassifierTestSuite

make[5]: *** [test/classifier/test_classifier] Error 1
Because ftbfs by NaN check, -mieee option of gcc is necessary to build
libvigraimpex om sh4

I created a patch which revised this problem.
Could you apply this patch?

Note:  libvigraimpex is FTBFS by other problems even if you apply this patch.
Make which, and this patch is necessary.

Best regards,

Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
diff -ruN a/debian/rules b/debian/rules
--- a/debian/rules	2011-07-10 02:02:18.000000000 +0900
+++ b/debian/rules	2011-07-14 10:31:13.000000000 +0900
@@ -10,6 +10,12 @@
 unexport CXXFLAGS
 unexport LDFLAGS
+# sh4 needs -mieee option of gcc and g++
+ifeq ($(DEB_HOST_ARCH),sh4)
+CFLAGS += -mieee
+CXXFLAGS += -mieee
 space = $() $()
 here = $(dir $(firstword $(MAKEFILE_LIST)))/..
 current_version = $(shell cd $(here) && dpkg-parsechangelog | sed -n -r -e "/Version: (.*)/ { s//\1/p; q; }")

--- End Message ---
--- Begin Message ---
Source: libvigraimpex
Source-Version: 1.7.1+dfsg1-2

We believe that the bug you reported is fixed in the latest version of
libvigraimpex, which is due to be installed in the Debian FTP archive:

  to main/libv/libvigraimpex/libvigraimpex-dev_1.7.1+dfsg1-2_amd64.deb
  to main/libv/libvigraimpex/libvigraimpex-doc_1.7.1+dfsg1-2_all.deb
  to main/libv/libvigraimpex/libvigraimpex3_1.7.1+dfsg1-2_amd64.deb
  to main/libv/libvigraimpex/libvigraimpex_1.7.1+dfsg1-2.debian.tar.gz
  to main/libv/libvigraimpex/libvigraimpex_1.7.1+dfsg1-2.dsc
  to main/libv/libvigraimpex/python-vigra-doc_1.7.1+dfsg1-2_all.deb
  to main/libv/libvigraimpex/python-vigra_1.7.1+dfsg1-2_amd64.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 633818@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Ralf Treinen <treinen@debian.org> (supplier of updated libvigraimpex 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 ftpmaster@debian.org)

Hash: SHA1

Format: 1.8
Date: Thu, 04 Aug 2011 13:57:08 +0200
Source: libvigraimpex
Binary: libvigraimpex-dev libvigraimpex3 libvigraimpex-doc python-vigra python-vigra-doc
Architecture: source amd64 all
Version: 1.7.1+dfsg1-2
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Ralf Treinen <treinen@debian.org>
 libvigraimpex-dev - development files for the C++ computer vision library
 libvigraimpex-doc - Documentation for the C++ computer vision library
 libvigraimpex3 - C++ computer vision library
 python-vigra - Python bindings for the C++ computer vision library
 python-vigra-doc - Documentation for Python bindings for the C++ computer vision lib
Closes: 633818 636003
 libvigraimpex (1.7.1+dfsg1-2) unstable; urgency=low
   * QA upload
   * Patch libpng15: Fix FTBFS with libpng 1.5 (closes: #636003). Thanks to
     Nobuhiro Iwamatsu and Joachim Schleicher for forwarding and testing
     the patch.
   * Replace build-dependency on libpng12-dev by libpng-dev | libpng12-dev
     in order to ease the upcoming libpng transition.
   * Fix FTBFS on sh4 architecture by using -mieee flag (closes: #633818).
     Thanks to Nobuhiro Iwamatsu for the patch!
 20c5bd8786c5dc4ca300e0af37018a1228cf70e8 1546 libvigraimpex_1.7.1+dfsg1-2.dsc
 fdce514489bfae9228211532d8692d2be8786b06 23421 libvigraimpex_1.7.1+dfsg1-2.debian.tar.gz
 74a01c09295d832b0d7fa8e6337bd958182ea459 1765610 libvigraimpex-dev_1.7.1+dfsg1-2_amd64.deb
 8bcd488dcbda261b064b90a66a824ddc34749aeb 187130 libvigraimpex3_1.7.1+dfsg1-2_amd64.deb
 fa6284221d88f7a90eb492002436cdad82152e77 3937226 python-vigra_1.7.1+dfsg1-2_amd64.deb
 44c71cc4157f5dad55e5e6916fd0bb95342232c2 3339256 libvigraimpex-doc_1.7.1+dfsg1-2_all.deb
 89b465d9c1ec1f5d51e4e7c310f9ac3c8b9dafab 75726 python-vigra-doc_1.7.1+dfsg1-2_all.deb
 7612efd92075d1a933d9b72f1bb1ed53ead94a92b55ab450bb802b959dccac15 1546 libvigraimpex_1.7.1+dfsg1-2.dsc
 4cec4cc7d718c9a6dea7d19fcfaf757e73c1d66902b435118b77642fb1fc384d 23421 libvigraimpex_1.7.1+dfsg1-2.debian.tar.gz
 104a2bf98aae6d988f3400aca4ff241b599c296d006fc94eb9cdb767d495b8ce 1765610 libvigraimpex-dev_1.7.1+dfsg1-2_amd64.deb
 07653225c38e617d0e9417b36399c4f93b3b48ab251affcfb52a1306aad1a27b 187130 libvigraimpex3_1.7.1+dfsg1-2_amd64.deb
 69b2a79e1e799c0ad22445b97ad639951d4e3ebdd08e982d8872cd7ec09f46dc 3937226 python-vigra_1.7.1+dfsg1-2_amd64.deb
 3b1b2b5dc0a997debd892559edd45699a04182e722337610c048c5481059dd05 3339256 libvigraimpex-doc_1.7.1+dfsg1-2_all.deb
 370b614c7c8f86f8eecee183b70a4a2e443dca3d150e67c4b1a9f8605f0fa9c9 75726 python-vigra-doc_1.7.1+dfsg1-2_all.deb
 af8b9231096355f6584a31b372763d19 1546 libs optional libvigraimpex_1.7.1+dfsg1-2.dsc
 12bf3bb9fe9913447dacaa05c2bc380f 23421 libs optional libvigraimpex_1.7.1+dfsg1-2.debian.tar.gz
 02ea6e065c93b174636200899ae17777 1765610 libdevel optional libvigraimpex-dev_1.7.1+dfsg1-2_amd64.deb
 80b15b0a1d43ff37a9b9433d67f234a7 187130 libs optional libvigraimpex3_1.7.1+dfsg1-2_amd64.deb
 12d8aff9af27721b5cb0e9c43d2295ec 3937226 python optional python-vigra_1.7.1+dfsg1-2_amd64.deb
 7c92c2f133bdd325101943b7a3315350 3339256 doc optional libvigraimpex-doc_1.7.1+dfsg1-2_all.deb
 5b426b92995a931a753ded28469dae6b 75726 doc optional python-vigra-doc_1.7.1+dfsg1-2_all.deb

Version: GnuPG v1.4.11 (GNU/Linux)


--- End Message ---

Reply to: