#1140245 alicevision: FTBFS: /usr/include/nanoflann.hpp:1262:29: error: no type named 'IndexType' in 'class aliceVision::fuseCut::SmallerPixSizeInRadius<double, long unsigned int>'

#1140245#5
Date:
2026-06-17 16:14:46 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202606/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:alicevision, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
/usr/include/nanoflann.hpp: In instantiation of ‘bool nanofl [too-long-redacted] or_t = std::array<double, 3>]’:
/usr/include/nanoflann.hpp:2003:26:   required from ‘bool nanoflann::KDTreeSingleIndexAdaptor<Distance, DatasetAdaptor, DIM, index_t>::findNeighbors(RESULTSET&, const ElementType*, const nanoflann::SearchParameters&) const [with RESULTSET = aliceVision::fuseCut::SmallerPixSizeInRadius<double, long unsigned int>; Distance = nanoflann::L2_Simple_Adaptor<double, aliceVision::fuseCut::PointVectorAdaptator>; DatasetAdaptor = aliceVision::fuseCut::PointVectorAdaptator; int DIM = 3; index_t = unsigned int; ElementType = double]’
 2003 |         this->searchLevel(result, vec, Base::root_node_, dist, dists, epsError);
      |         ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/src/aliceVision/fuseCut/PointCloud.cpp:60:29:   required from here
   60 |         kdTree.findNeighbors(resultSet, verticesCoordsPrepare[vIndex].m, searchParams);
      |         ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/nanoflann.hpp:1262:29: error: no type named ‘IndexType’ in ‘class aliceVision::fuseCut::SmallerPixSizeInRadius<double, long unsigned int>’
 1262 |                             static_cast<typename RESULTSET::IndexType>(accessor)))
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [src/aliceVision/fuseCut/CMakeFiles/aliceVision_fuseCut.dir/build.make:152: src/aliceVision/fuseCut/CMakeFiles/aliceVision_fuseCut.dir/PointCloud.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:3418: src/aliceVision/fuseCut/CMakeFiles/aliceVision_fuseCut.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 70%] Building CXX object src/aliceVision/sfm/CMakeFiles/aliceVision_sfm.dir/pipeline/bootstrapping/EstimateAngle.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/aliceVision/sfm [too-long-redacted] bootstrapping/EstimateAngle.cpp
[ 71%] Building CXX object src/aliceVision/sfm/CMakeFiles/aliceVision_sfm.dir/pipeline/bootstrapping/PairsScoring.cpp.o

[...]

[ 76%] Linking CXX shared library ../../../Linux-x86_64/libaliceVision_sfm.so
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/aliceVision/sfm && /usr/bin/cmake -E cmake_link_script CMakeFiles/aliceVision_sfm.dir/link.txt --verbose=1
/usr/bin/x86_64-linux-gnu-g++ -fPIC -g -O2 -ffile-prefix-map [too-long-redacted] nu/libboost_container.so.1.90.0
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/aliceVision/sfm && /usr/bin/cmake -E cmake_symlink_library ../../../Linux-x86_64/libaliceVision_sfm.so.3.3 ../../../Linux-x86_64/libaliceVision_sfm.so.3 ../../../Linux-x86_64/libaliceVision_sfm.so
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 76%] Built target aliceVision_sfm
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1140245#10
Date:
2026-09-09 01:57:12 UTC
From:
To:
The Debian NEW review of alicevision 3.3.7+repack-1 has been completed.

Decision: ACCEPTED
Reviewer: Andrew McMillan

Review comment:

Hi,

One author (for VLfeat) not listed in debian/copyright.  Also the first line should end with a '/' for DEP-5 parseability and the comments should be 'Comment: ...' rather than '# ...'.

Thanks!

Full review details: https://dfsg-new-queue.debian.org/reviews/alicevision

#1140245#15
Date:
2026-09-09 02:10:19 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
alicevision, 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 1140245@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dima Kogan <dkogan@debian.org> (supplier of updated alicevision 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@ftp-master.debian.org)
Format: 1.8
Date: Mon, 07 Sep 2026 18:34:24 -0700
Source: alicevision
Binary: alicevision alicevision-dbgsym libalicevision-data libalicevision-dev libalicevision3 libalicevision3-dbgsym python3-alicevision python3-alicevision-dbgsym
Architecture: source amd64 all
Version: 3.3.7+repack-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Dima Kogan <dkogan@debian.org>
Description:
 alicevision - Photogrammetric Computer Vision Framework
 libalicevision-data - Photogrammetric Computer Vision Framework
 libalicevision-dev - Photogrammetric Computer Vision Framework
 libalicevision3 - Photogrammetric Computer Vision Framework
 python3-alicevision - Photogrammetric Computer Vision Framework
Closes: 1140245
Changes:
 alicevision (3.3.7+repack-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #1140245)
   * Building Python bindings in the python3-alicevision package
Checksums-Sha1:
 68fba1bf353dad0fc5933604a0f17c46f69a2121 2793 alicevision_3.3.7+repack-1.dsc
 66170310776f6c49d3859bf74c1bcd57f6b50f8b 6940028 alicevision_3.3.7+repack.orig.tar.xz
 674144603a61ab1b3f638ab8f3a976f4312a2856 15036 alicevision_3.3.7+repack-1.debian.tar.xz
 11dc392c939ca43462e24e713fe55d3dfed44ab2 117414500 alicevision-dbgsym_3.3.7+repack-1_amd64.deb
 ebd5d60775dec0fab69c243c6686c35a0a997b8c 34545 alicevision_3.3.7+repack-1_amd64.buildinfo
 3c79ba1c471fea7af76d318c289e6f46818a8405 3466616 alicevision_3.3.7+repack-1_amd64.deb
 6c0fc79b8e63034aa7bd3c143e07e3d4d2ef2a34 3246504 libalicevision-data_3.3.7+repack-1_all.deb
 d9dc01071d8db00611bbf14f1c13856224c4a98f 422224 libalicevision-dev_3.3.7+repack-1_amd64.deb
 ef2974d266906827e741ed95f87d79d5121e0e70 195129256 libalicevision3-dbgsym_3.3.7+repack-1_amd64.deb
 26de8ce8d9caab0978c04a0243308a372704a938 5566176 libalicevision3_3.3.7+repack-1_amd64.deb
 1dbe57c915cc05beecc0d81bed53035a16add770 31739096 python3-alicevision-dbgsym_3.3.7+repack-1_amd64.deb
 1aeb8bc1dc946794864f5c48db7b9d6e789f8b31 2011348 python3-alicevision_3.3.7+repack-1_amd64.deb
Checksums-Sha256:
 a050035926aadf2c99a4d29670a642892c4f5efb3dea847c1667fee32e899130 2793 alicevision_3.3.7+repack-1.dsc
 dc170e55172d432a857e7ebbcf2d90d8006b5789fc33a7b944d1878d22fcdd9e 6940028 alicevision_3.3.7+repack.orig.tar.xz
 7600c6cbf470bbde0275a14eb0713efd6e020728bbca5f46b9b9bb92b103f2e8 15036 alicevision_3.3.7+repack-1.debian.tar.xz
 987e1e7fac11197f9d3123fbcc6530ec9e297cbbac2f2d55115b29c8f077e516 117414500 alicevision-dbgsym_3.3.7+repack-1_amd64.deb
 625aea5b01d12d56be9cce7c117d6311fca788753624253dd1efb138a4d071bc 34545 alicevision_3.3.7+repack-1_amd64.buildinfo
 b01a2f55e1dac0e476f926e229d8ed34bfba7c6e4c8e0d9aab846a183c758f88 3466616 alicevision_3.3.7+repack-1_amd64.deb
 e90244733c55e6545c6c1f8c4a962f20921c6e22f9e13ebc0d39e64e8f7e57c4 3246504 libalicevision-data_3.3.7+repack-1_all.deb
 721163530de04e04ff14601b64bbea9e38df377c58baa46ce5220fb9a27d765e 422224 libalicevision-dev_3.3.7+repack-1_amd64.deb
 89f42d1d5787712cf685a9dfd51ac2432714d010d2cd875623b56c7d5f499088 195129256 libalicevision3-dbgsym_3.3.7+repack-1_amd64.deb
 b971d70a0a5a47b0125169055b036f476331d2109550a676624a772fcac1ce3b 5566176 libalicevision3_3.3.7+repack-1_amd64.deb
 2fe529d46859dc8865f954b64a1b63436ca74456e00e6ac77ac973602e757bcb 31739096 python3-alicevision-dbgsym_3.3.7+repack-1_amd64.deb
 a51ae1a1f5d56d7a9a4041824503b4baa1d84ffe280e13750cdb67791e3c3cfe 2011348 python3-alicevision_3.3.7+repack-1_amd64.deb
Files:
 9b759032692779a4283551e0432049d6 2793 contrib/libs optional alicevision_3.3.7+repack-1.dsc
 296b2a857070fa37dfb577d3a1a34e73 6940028 contrib/libs optional alicevision_3.3.7+repack.orig.tar.xz
 59379c4a6e895ca27089adbcdcaab39a 15036 contrib/libs optional alicevision_3.3.7+repack-1.debian.tar.xz
 f626dd436b9d527b243c38a642258985 117414500 contrib/debug optional alicevision-dbgsym_3.3.7+repack-1_amd64.deb
 4b4bcca09d9345c012a9ffe1f75547fc 34545 contrib/libs optional alicevision_3.3.7+repack-1_amd64.buildinfo
 000522fcea9928085a7df9fd6016776f 3466616 contrib/science optional alicevision_3.3.7+repack-1_amd64.deb
 9774a9380bfad8368b500621f2bd215b 3246504 contrib/libs optional libalicevision-data_3.3.7+repack-1_all.deb
 8b925e41c48719ff7af4857bb4803266 422224 contrib/libdevel optional libalicevision-dev_3.3.7+repack-1_amd64.deb
 b6661f8bd51388a005b248570a96a87b 195129256 contrib/debug optional libalicevision3-dbgsym_3.3.7+repack-1_amd64.deb
 e438e4e99725e1e131790d056051aa8c 5566176 contrib/libs optional libalicevision3_3.3.7+repack-1_amd64.deb
 b14d5e20dd063a97ea097d4964bc3ebe 31739096 contrib/debug optional python3-alicevision-dbgsym_3.3.7+repack-1_amd64.deb
 fdc705d1ee06a762d13bb6a3829583b3 2011348 contrib/python optional python3-alicevision_3.3.7+repack-1_amd64.deb
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEteL6GQ/fmv4hiInPrMfCzzCUEYgFAmqfcGIACgkQrMfCzzCU
EYh9JA//eFOMw2IBmJy6eo2IIu0yaAhTzGxcaOscb24d1srMv4SN7Ejo5OzvNyWl
Myhny5xvN488ftLPDcb3C+KvaAeEW28FLgF7LRaXJxB6DJu/5kc4HEvjPi9VmNOk
729YSSEhxPH/Oz273kHouXuITQyFmzC2eDbNJ1F9SPmCMjOsCAdW5x2LR7hAL9zP
5A8ICMDpRU/EpdEyvWPp1+uR9sNFSPI0NWbltfve6AQgjkaM+lNJknybFt04+Zpy
06WljpLSpby50ik6dYnU2HvQ8koxs6GYSBjn8NoHwhmTWbFkKOLOgq37iQC2rvTK
W8LH0Sch9w4xTLfN6xPQI8zY0JxZ9mlGA6SRRvAwK16xKKOTW7SQjl8LInnM1lhL
4X2ox3P2Kc2EFrIOrrbIAY1r/3jiYT7dNwOL9eonE/cKwnXDRKKagOrEypVskuw4
I/dx/tpP0Db1MoGxms/7G/1IQav5rOt/qW5O7AC8+0qAnWd87YqZSO7GU+33pT7B
x7BtAcEp0p0ZMLMByYs9F7WIJOSGe8kNfJjLjYv84r3z9HpX/Hdoi5csJlZbUpOv
xyZpEgo7pAmgfcBnSLZPBuvZenfIO8CJhK8PRhJm6Ib61ObJYBf8p9uhEtxJlsg6
LdtzhOyp3eI23AIh1IM7i9dFtcMrN6CHPSiaCYYVGovdwTm2FKk=
=nJMZ
-----END PGP SIGNATURE-----