[From nobody Sun Jun 14 22:55:07 2026
Received: (at 1139981-done) by bugs.debian.org; 14 Jun 2026 21:53:38 +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=-112.6 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,
 FROMDEVELOPER,HAS_BUG_NUMBER,MD5_SHA1_SUM,SPF_HELO_NONE,SPF_PASS,
 USER_IN_DKIM_WELCOMELIST,VERSION autolearn=ham autolearn_force=no
 version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 41; hammy, 150; neutral, 66; spammy,
 0. spammytokens:
 hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
 0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
 0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: &lt;sanvila@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:60684)
 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 1wYslu-00AYRn-1Q
 for 1139981-done@bugs.debian.org; Sun, 14 Jun 2026 21:53:38 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:In-Reply-To:Content-Transfer-Encoding:
 Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:
 Reply-To:Content-ID:Content-Description;
 bh=SizZXJOAQtYhcPsX2ue8Q7+c/gFEObcF1sFniN7zun4=; b=S8W/pAFqJOZweQYV0e1m1gRMRD
 PZk6mBaVSdU7i31SzHTLdCVtJMgiu7tHjajko7PDuewb69ZLiOtrtBpGgmzYPVevMlYcHwViKe/wZ
 PY3WwSpXwqEGeTrejVcYP0uC6T9OFCw3TCMVScyI3VkttVpEf0FUNHB18WFwti/RRg0Een7ILxi81
 TQtoDB+7s458CRy+lGc/1PNl0OXcVF+4YhmX42xORS1glD2Uyg6GElzUZMOhmL1hwS8QgkIsKsjE9
 FjBQN0CAIRTuuz/P1eC4iGQRjc0rwHbhUklazWNKjZ7muKF9bWdcXIGlBXelxM+7JazFJyuxm0cCd
 R5Oc4ONg==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;sanvila@debian.org&gt;) id 1wYsls-00CbDX-2Y;
 Sun, 14 Jun 2026 21:53:37 +0000
Date: Sun, 14 Jun 2026 23:53:34 +0200
From: Santiago Vila &lt;sanvila@debian.org&gt;
To: =?utf-8?B?Sm9zw6k=?= Luis Blanco-Claraco &lt;jlblanco@ual.es&gt;
Cc: 1139981-done@bugs.debian.org
Subject: Re: Bug#1139981: nanoflann: FTBFS: flaky test:
 kdtree.L1_vs_bruteforce_rknn
Message-ID: &lt;ai8i3kjPFFoDqm_P@nuc&gt;
References: &lt;E1wYhUW-00FU6e-12@paradis.debian.org&gt;
 &lt;CADEiKfhpJ+85=69u4yvk5Sjgvsf1F=0C67Qutf+f+2W-sN8X_g@mail.gmail.com&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: &lt;CADEiKfhpJ+85=69u4yvk5Sjgvsf1F=0C67Qutf+f+2W-sN8X_g@mail.gmail.com&gt;
X-Debian-User: sanvila

Version: 1.10.1+ds-1

On Sun, Jun 14, 2026 at 09:49:50PM +0200, José Luis Blanco-Claraco wrote:
&gt; If I recall right, this was fixed in a recent upstream release, updating
&gt; the release should mark this as solved (this bug should be in the changelog
&gt; as fixed upstream).

Timo uploaded 1.10.1 today and there was no mention of this in debian/changelog,
and I could not find the test name in CHANGELOG.rst.

But I see this in the git history:

commit 4a24515c8c129ce73331a19eebbfd77809f17858
Author: Julien Schueller &lt;schueller@phimeca.com&gt;
Date:   Fri May 29 13:43:34 2026 +0200

    fix flaky kdtree.L1_vs_bruteforce_rknn test
    
    Three related issues caused random failures:
    - Brute force used hardcoded double while the kd-tree used NUM (float),
      causing nFound &gt; bf_nn.size() at the radius boundary.
    - Brute force used &lt;= (non-strict) but the kd-tree uses &lt; (strict).
    - No bounds check: the comparison loop walked past bf_nn.end() and
      called map::at with indices missing from the brute-force set.


so yes, I believe it's fixed.

(I also built it 100 times right now with zero failures, but I did not
measure accurately the failure rate of the previous version. If I'm wrong
and the failure rate is just below 1/100, we can always reopen later...).

Thanks.]