Your message dated Sat, 30 Jul 2016 13:33:47 +0000
with message-id <e1btuoh-0008fc...@franck.debian.org>
and subject line Bug#822717: fixed in flann 1.8.4-4.2
has caused the Debian Bug report #822717,
regarding flann: FTBFS with GCC 6: call of overloaded 'abs(
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.)
--
822717: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822717
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: flann
Version: 1.8.4-4.1
Severity: normal
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-6 gcc-6-overloaded-ambiguous
This package fails to build with GCC 6. GCC 6 has not been released
yet, but will probably come out this week.
You can find GCC 6 in unstable (gcc-6). To build with
GCC 6, you can set CC=gcc-6 CXX=g++-6 explicitly.
You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html
> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> from /<<PKGBUILDDIR>>/src/cpp/flann/flann_cpp.cpp:30:
> /<<PKGBUILDDIR>>/src/cpp/flann/nn/ground_truth.h: In function 'void
> flann::find_nearest(const flann::Matrix<typename Distance::ElementType>&,
> typename Distance::ElementType*, size_t*, size_t, size_t, Distance)':
> /<<PKGBUILDDIR>>/src/cpp/flann/nn/ground_truth.h:45:44: warning: typedef
> 'ElementType' locally defined but not used [-Wunused-local-typedefs]
> typedef typename Distance::ElementType ElementType;
> ^~~~~~~~~~~
> In file included from
> /<<PKGBUILDDIR>>/src/cpp/flann/algorithms/all_indices.h:36:0,
> from /<<PKGBUILDDIR>>/src/cpp/flann/flann.hpp:45,
> from /<<PKGBUILDDIR>>/examples/flann_example.cpp:2:
> /<<PKGBUILDDIR>>/src/cpp/flann/algorithms/kdtree_index.h: In instantiation of
> 'void
> flann::KDTreeIndex<Distance>::addPointToTree(flann::KDTreeIndex<Distance>::NodePtr,
> int) [with Distance = flann::L2<float>;
> flann::KDTreeIndex<Distance>::NodePtr = flann::KDTreeIndex<flann::L2<float>
> >::Node*]':
> /<<PKGBUILDDIR>>/src/cpp/flann/algorithms/kdtree_index.h:154:35: required
> from 'void flann::KDTreeIndex<Distance>::addPoints(const
> flann::Matrix<typename Distance::ElementType>&, float) [with Distance =
> flann::L2<float>; typename Distance::ElementType = float]'
> /<<PKGBUILDDIR>>/examples/flann_example.cpp:36:1: required from here
> /<<PKGBUILDDIR>>/src/cpp/flann/algorithms/kdtree_index.h:666:39: error: call
> of overloaded 'abs(flann::KDTreeIndex<flann::L2<float> >::ElementType)' is
> ambiguous
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> ElementType span = abs(point[i]-leaf_point[i]);
> ~~~^~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/c++/6/cstdlib:75:0,
> from /usr/include/c++/6/ext/string_conversions.h:41,
> from /usr/include/c++/6/bits/basic_string.h:5402,
> from /usr/include/c++/6/string:52,
> from /<<PKGBUILDDIR>>/src/cpp/flann/flann.hpp:36,
> from /<<PKGBUILDDIR>>/examples/flann_example.cpp:2:
> /usr/include/stdlib.h:774:12: note: candidate: int abs(int)
> extern int abs (int __x) __THROW __attribute__ ((__const__)) __wur;
> ^~~
> In file included from /usr/include/c++/6/ext/string_conversions.h:41:0,
> from /usr/include/c++/6/bits/basic_string.h:5402,
> from /usr/include/c++/6/string:52,
> from /<<PKGBUILDDIR>>/src/cpp/flann/flann.hpp:36,
> from /<<PKGBUILDDIR>>/examples/flann_example.cpp:2:
> /usr/include/c++/6/cstdlib:185:3: note: candidate: __int128 std::abs(__int128)
> abs(__GLIBCXX_TYPE_INT_N_0 __x) { return __x >= 0 ? __x : -__x; }
> ^~~
> /usr/include/c++/6/cstdlib:180:3: note: candidate: long long int
> std::abs(long long int)
> abs(long long __x) { return __builtin_llabs (__x); }
> ^~~
> /usr/include/c++/6/cstdlib:172:3: note: candidate: long int std::abs(long int)
> abs(long __i) { return __builtin_labs(__i); }
> ^~~
> [ 25%] Linking CXX static library ../../lib/libflann_cpp_s.a
--
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise
--- End Message ---
--- Begin Message ---
Source: flann
Source-Version: 1.8.4-4.2
We believe that the bug you reported is fixed in the latest version of
flann, 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 822...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Metzler <ametz...@debian.org> (supplier of updated flann 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: Sat, 30 Jul 2016 15:07:35 +0200
Source: flann
Binary: libflann-dev libflann1.8 flann-doc
Architecture: source
Version: 1.8.4-4.2
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Andreas Metzler <ametz...@debian.org>
Closes: 822717
Description:
flann-doc - Fast Library for Approximate Nearest Neighbors - documentation
libflann1.8 - Fast Library for Approximate Nearest Neighbors - runtime
libflann-dev - Fast Library for Approximate Nearest Neighbors - development
Changes:
flann (1.8.4-4.2) unstable; urgency=medium
.
* Non-maintainer upload.
* 20_abs-std-abs.patch: 3645f0c30a47267e56e5acdecfc7bac2b76bc3d5 from
upstream GIT. Use std::abs instead of abs, fixing gcc6 build error.
Closes: #822717
Checksums-Sha1:
8217e6c01bea552838c49f5da6e50953f9ab9e29 2260 flann_1.8.4-4.2.dsc
c4896c109156eb249049c9b8929706ab05f4e02e 5280 flann_1.8.4-4.2.debian.tar.xz
Checksums-Sha256:
c45688252ce6a33fe8f67b7f8fbdb671538b8ba309823b77b1e9f4c49eb98ad3 2260
flann_1.8.4-4.2.dsc
be66a54a24e8bafb3de065d1f679afb3e11dff3a0f2592fe63210e2b4a1266fb 5280
flann_1.8.4-4.2.debian.tar.xz
Files:
3c1a94712b91ccd0e2ea04b61ffc84de 2260 libs optional flann_1.8.4-4.2.dsc
ee309506329c0dd6bfea24f39192633a 5280 libs optional
flann_1.8.4-4.2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCgAGBQJXnKoSAAoJEKVPAYVDghSExs0P/2MWBLMxFgwwQL5Ysg+moeop
f3CxKs+jVJaXhOdyHKtT/OegmpVZhD2CWbpa47P4ooOeT7zlVVE7POjNNzgjUWft
KIBWgTWxGZyCFrX+5nfhfY3BiGs+RfA9ETPrNr4Ykt0+/phQ5yORqEyfP2ZixDVs
1OwhVeBUvPHJTfmOQD+Oz046qLaTMF/OgDLW/yvbdkX2Vsn/QR5qk4DowmJpVaH2
6rGvV0dOaAYvkih4s8MtNunbs+LZt3RqR+WIdQk7Vtwj14UhaXlwEReCYgw0ivrx
w2UhPWT2JJ5u+o2ahJ+DnZh3tpGcOa2iYRsiCQ3qTdsIc+19/PbA/aRrfuLMlOrD
RiJlRJLa0LZ748zG2yDag9spVC6ogNkd31tHwq/uvNTp+M4KCV7N2uhy9ceDOrR/
aLyBE9SrX9yRr5LlKzw02dYnC1spfY9JFwFoiTwLfXw3nepvbj17vF3Cv8qi5I0Y
bWQe22+Iu1pbPSEcvWMpV2oT5EVKC8n+GAwVnBNQy6PJc2jKUy3bympsKxc7ZpLR
AmMBrcrVl+Z6p4/np0PpkOc72cvQIFC4g2efOgPBavbmzT78qUWwaluT14QBp84s
26xoksb3WPjNMWFlg9nkNVBk8MmH4jfq4oATxm3V0npp9NC0tZ0LLPFkyZZ2SYVb
Dt2gcTf8EEi2GHUWgAAs
=8zqs
-----END PGP SIGNATURE-----
--- End Message ---