[From nobody Sun Jun 14 22:55:07 2026
Received: (at submit) by bugs.debian.org; 14 Jun 2026 09:51:02 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-120.4 required=4.0 tests=BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,FROMDEVELOPER,HAS_PACKAGE,
 PP_MIME_FAKE_ASCII_TEXT,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,
 USER_IN_DKIM_WELCOMELIST,X_DEBBUGS_CC autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 50; hammy, 150; neutral, 158; spammy,
 0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
 0.000-+--PKGBUILDDIR, 0.000-+--HTo:N*Debian, 0.000-+--forky,
 0.000-+--H*F:U*sanvila
Return-path: &lt;sanvila@debian.org&gt;
Received: from mitropoulos.debian.org
 ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:51982)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wYhUb-0096xK-2l
 for submit@bugs.debian.org; Sun, 14 Jun 2026 09:51:02 +0000
Received: via submission
 from C=NA, ST=NA, L=Ankh Morpork, O=Debian SMTP, OU=Debian SMTP CA,
 CN=paradis.debian.org, EMAIL=hostmaster@paradis.debian.org (verified)
 by mitropoulos.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wYhUZ-00GU62-1W
 for submit@bugs.debian.org; Sun, 14 Jun 2026 09:50:59 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.paradis;
 h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=hIxC/tAsqR9C2gC5p4ZTEpdnSsPr+mThllG21LxVhm4=; b=ZtPmEUkI59aEUzUjaiCUA/qpif
 aypoI3ECNSJD9FKXLSCJc9n6I90Nnw77qzig2aY5UL+/vWbfGpj0v2Qm/NvGOMPl0ynTL/OVrgMAC
 tdk/qs1HK4e16sXQdgS6PtJ0Xug7W6gZIMeO9zr8kSqLziTqcCG8yFBH7bQDUus/XMTgHFqYz2nC8
 MXA9tI4v6vgFdC5sW8T+DbTA5ufeMGoqGr9ttKRhX93iqsOobvGq02blRhNnNftZYd/RapVkrlFb4
 TA2T8A4F/cteTEGzV3hnvYoeTw5sLmqTQSYjkPTtB4J25liXQ8Z/vY2/yMFxs3l1lYwFTYZ/HR6lU
 IpY5cpFA==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
 (envelope-from &lt;sanvila@debian.org&gt;) id 1wYhUW-00FU6e-12
 for submit@bugs.debian.org; Sun, 14 Jun 2026 09:50:56 +0000
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: Debian BTS &lt;submit@bugs.debian.org&gt;
Subject: nanoflann: FTBFS: flaky test: kdtree.L1_vs_bruteforce_rknn
X-Debbugs-Cc: sanvila@debian.org,joseluisblancoc@gmail.com
Message-Id: &lt;E1wYhUW-00FU6e-12@paradis.debian.org&gt;
Date: Sun, 14 Jun 2026 09:50:56 +0000
Delivered-To: submit@bugs.debian.org

Package: src:nanoflann
Version: 1.9.0+ds-1
Severity: important
Tags: ftbfs forky sid

Hello José Luis.

I'm reporting this as &quot;important&quot; because the failure rate is low compared
with other packages which FTBFS randomly, but as upstream, I would
really worry about the kind of error shown:

The difference [...] is 35.999996185302734, which exceeds 1e-3

I would say this should never happen, but of course I know nothing
about the program internals.

Follows my standard template for FTBFS bugs:

--------------------------------------------------------------------------

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.

Caveat: The above should be understood as &quot;where the reported randomness happens&quot;.

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

Thanks.

--------------------------------------------------------------------------------
[...]
test 2
    Start 2: unit_tests_run

2: Test command: /&lt;&lt;PKGBUILDDIR&gt;&gt;/obj-x86_64-linux-gnu/tests/unit_tests
2: Working Directory: /&lt;&lt;PKGBUILDDIR&gt;&gt;/obj-x86_64-linux-gnu/tests
2: Test timeout computed to be: 10000000
2: [==========] Running 16 tests from 1 test suite.
2: [----------] Global test environment set-up.
2: [----------] 16 tests from kdtree
2: [ RUN      ] kdtree.L1_vs_bruteforce
2: [       OK ] kdtree.L1_vs_bruteforce (765 ms)
2: [ RUN      ] kdtree.L1_vs_bruteforce_rknn
2: ./tests/test_main.cpp:291: Failure
2: The difference between it-&gt;first and out_dists_sqr[i] is 35.999996185302734, which exceeds 1e-3, where
2: it-&gt;first evaluates to 2.1019476964872256e-44,
2: out_dists_sqr[i] evaluates to 35.999996185302734, and
2: 1e-3 evaluates to 0.001.
2: For: numToSearch=19 out_dists_sqr[i]=35.999996185302734
2: 
2: 
2: unknown file: Failure
2: C++ exception with description &quot;map::at&quot; thrown in the test body.
2: 
2: [  FAILED  ] kdtree.L1_vs_bruteforce_rknn (454 ms)
2: [ RUN      ] kdtree.L2_vs_L2_simple
2: [       OK ] kdtree.L2_vs_L2_simple (0 ms)
2: [ RUN      ] kdtree.robust_empty_tree
2: [       OK ] kdtree.robust_empty_tree (0 ms)
2: [ RUN      ] kdtree.L2_vs_bruteforce
2: [       OK ] kdtree.L2_vs_bruteforce (765 ms)
2: [ RUN      ] kdtree.box_L2_vs_bruteforce
2: [       OK ] kdtree.box_L2_vs_bruteforce (53 ms)
2: [ RUN      ] kdtree.L2_vs_bruteforce_rknn
2: [       OK ] kdtree.L2_vs_bruteforce_rknn (335 ms)
2: [ RUN      ] kdtree.SO3_vs_bruteforce
2: [       OK ] kdtree.SO3_vs_bruteforce (0 ms)
2: [ RUN      ] kdtree.SO2_vs_bruteforce
2: [       OK ] kdtree.SO2_vs_bruteforce (0 ms)
2: [ RUN      ] kdtree.L2_dynamic_vs_bruteforce
2: [       OK ] kdtree.L2_dynamic_vs_bruteforce (0 ms)
2: [ RUN      ] kdtree.robust_nonempty_tree
2: [       OK ] kdtree.robust_nonempty_tree (0 ms)
2: [ RUN      ] kdtree.add_and_remove_points
2: [       OK ] kdtree.add_and_remove_points (0 ms)
2: [ RUN      ] kdtree.L2_concurrent_build_vs_bruteforce
2: [       OK ] kdtree.L2_concurrent_build_vs_bruteforce (2 ms)
2: [ RUN      ] kdtree.L2_concurrent_build_vs_L2
2: [       OK ] kdtree.L2_concurrent_build_vs_L2 (3 ms)
2: [ RUN      ] kdtree.L2_static_vs_dynamic
2: [       OK ] kdtree.L2_static_vs_dynamic (0 ms)
2: [ RUN      ] kdtree.same_points
2: [       OK ] kdtree.same_points (0 ms)
2: [----------] 16 tests from kdtree (2385 ms total)
2: 
2: [----------] Global test environment tear-down
2: [==========] 16 tests from 1 test suite ran. (2385 ms total)
2: [  PASSED  ] 15 tests.
2: [  FAILED  ] 1 test, listed below:
2: [  FAILED  ] kdtree.L1_vs_bruteforce_rknn
2: 
2:  1 FAILED TEST
2/2 Test #2: unit_tests_run ...................***Failed    2.39 sec
[==========] Running 16 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 16 tests from kdtree
[ RUN      ] kdtree.L1_vs_bruteforce
[       OK ] kdtree.L1_vs_bruteforce (765 ms)
[ RUN      ] kdtree.L1_vs_bruteforce_rknn
./tests/test_main.cpp:291: Failure
The difference between it-&gt;first and out_dists_sqr[i] is 35.999996185302734, which exceeds 1e-3, where
it-&gt;first evaluates to 2.1019476964872256e-44,
out_dists_sqr[i] evaluates to 35.999996185302734, and
1e-3 evaluates to 0.001.
For: numToSearch=19 out_dists_sqr[i]=35.999996185302734


unknown file: Failure
C++ exception with description &quot;map::at&quot; thrown in the test body.

[  FAILED  ] kdtree.L1_vs_bruteforce_rknn (454 ms)
[ RUN      ] kdtree.L2_vs_L2_simple
[       OK ] kdtree.L2_vs_L2_simple (0 ms)
[ RUN      ] kdtree.robust_empty_tree
[       OK ] kdtree.robust_empty_tree (0 ms)
[ RUN      ] kdtree.L2_vs_bruteforce
[       OK ] kdtree.L2_vs_bruteforce (765 ms)
[ RUN      ] kdtree.box_L2_vs_bruteforce
[       OK ] kdtree.box_L2_vs_bruteforce (53 ms)
[ RUN      ] kdtree.L2_vs_bruteforce_rknn
[       OK ] kdtree.L2_vs_bruteforce_rknn (335 ms)
[ RUN      ] kdtree.SO3_vs_bruteforce
[       OK ] kdtree.SO3_vs_bruteforce (0 ms)
[ RUN      ] kdtree.SO2_vs_bruteforce
[       OK ] kdtree.SO2_vs_bruteforce (0 ms)
[ RUN      ] kdtree.L2_dynamic_vs_bruteforce
[       OK ] kdtree.L2_dynamic_vs_bruteforce (0 ms)
[ RUN      ] kdtree.robust_nonempty_tree
[       OK ] kdtree.robust_nonempty_tree (0 ms)
[ RUN      ] kdtree.add_and_remove_points
[       OK ] kdtree.add_and_remove_points (0 ms)
[ RUN      ] kdtree.L2_concurrent_build_vs_bruteforce
[       OK ] kdtree.L2_concurrent_build_vs_bruteforce (2 ms)
[ RUN      ] kdtree.L2_concurrent_build_vs_L2
[       OK ] kdtree.L2_concurrent_build_vs_L2 (3 ms)
[ RUN      ] kdtree.L2_static_vs_dynamic
[       OK ] kdtree.L2_static_vs_dynamic (0 ms)
[ RUN      ] kdtree.same_points
[       OK ] kdtree.same_points (0 ms)
[----------] 16 tests from kdtree (2385 ms total)

[----------] Global test environment tear-down
[==========] 16 tests from 1 test suite ran. (2385 ms total)
[  PASSED  ] 15 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] kdtree.L1_vs_bruteforce_rknn

 1 FAILED TEST


50% tests passed, 1 tests failed out of 2

Total Test time (real) =   2.46 sec

The following tests FAILED:
	  2 - unit_tests_run (Failed)
Errors while running CTest
make[1]: *** [Makefile:74: test] Error 8
make[1]: Leaving directory '/&lt;&lt;PKGBUILDDIR&gt;&gt;/obj-x86_64-linux-gnu'
dh_auto_test: error: cd obj-x86_64-linux-gnu &amp;&amp; make -j2 test ARGS\+=--verbose ARGS\+=-j2 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
]