#1143720 yade: FTBFS: /<<PKGBUILDDIR>>/pkg/common/InsertionSortCollider.cpp:299:21: error: variable 'countNoBound' set but not used [-Werror=unused-but-set-variable=]

Package:
src:yade
Source:
src:yade
Submitter:
Santiago Vila
Date:
2026-08-11 20:47:02 UTC
Severity:
normal
Tags:
#1143720#5
Date:
2026-08-05 11:25:58 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/202608/

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:yade, so that this is still
visible in the BTS web page for this package.

Thanks.
--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --builddirectory=/<<PKGBUILDDIR>>/debian/build --with python3 --no-parallel
   dh_auto_clean -O--builddirectory=/<<PKGBUILDDIR>>/debian/build -O--no-parallel
   debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -rf /<<PKGBUILDDIR>>/debian/build-double
rm -rf /<<PKGBUILDDIR>>/debian/build-longdouble
rm -rf /<<PKGBUILDDIR>>/debian/build-float128
rm -rf /<<PKGBUILDDIR>>/debian/build-mpfr150
rm -rf /<<PKGBUILDDIR>>/yade.1
rm -rf /<<PKGBUILDDIR>>/yade-batch.1
rm -rf /<<PKGBUILDDIR>>/debian/matplotlib
rm -rf /<<PKGBUILDDIR>>/doc/sphinx/_build
rm -rf /<<PKGBUILDDIR>>/doc/sphinx/__pycache__
make[1]: Leaving directory '/<<PKGBUILDDIR>>'

[... snipped ...]

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:1645 (ADD_CUSTOM_COMMAND):
  The following keywords are not supported when using
  add_custom_command(TARGET): DEPENDS.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:1657 (ADD_CUSTOM_COMMAND):
  The following keywords are not supported when using
  add_custom_command(TARGET): DEPENDS.

  Policy CMP0175 is not set: add_custom_command() rejects invalid arguments.
  Run "cmake --help-policy CMP0175" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

#1143720#10
Date:
2026-08-11 20:44:28 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
yade, 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 1143720@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Anton Gladky <gladk@debian.org> (supplier of updated yade 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: Tue, 11 Aug 2026 21:51:28 +0200
Source: yade
Architecture: source
Version: 2026.1.0-9
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Anton Gladky <gladk@debian.org>
Closes: 1143720
Changes:
 yade (2026.1.0-9) unstable; urgency=medium
 .
   * Fix FTBFS with GCC 16 (Closes: #1143720):
     - Add fix-gcc16-unused-but-set.patch: drop variables that are set but
       never read.
     - Add fix-openmp5-deprecated-set-nested.patch: replace omp_set_nested()
       with omp_set_max_active_levels().
   * Refresh packaging:
     - Bump Standards-Version to 4.7.4 (no further changes).
     - Bump debhelper-compat to 14.
     - Drop redundant Priority and Rules-Requires-Root fields.
     - Add python3-numpy-dev to Build-Depends, it now ships dh_numpy3.
       Fixes lintian error missing-build-dependency-for-dh_-command.
   * debian/watch: switch to the version 5 GitLab template. The version 4
     line scraped the /tags HTML page, which no longer matched anything, so
     uscan could neither report new releases nor find the packaged version.
   * debian/copyright: correct the licensing after a full licensecheck review.
     - Files: * is GPL-2+, not GPL-2; the headers say "v2 or later".
     - py/3rd-party/pygts-0.3.1/* is LGPL-2+ (GNU Library GPL), not GPL-2+.
     - Add paragraphs for the OpenFOAM-derived files (GPL-3+), the two BSD
       licensed cMake modules, the GPL-2-only pkg/levelSet volume sources and
       the missing debian/* paragraph.
   * Add debian/lrc.config to skip scripts/RPM_packaging/, where licensecheck
     reads the RPM "License:" tag as the license of the spec file itself.
   * debian/salsa-ci.yml: enable licenserecon and use the recipes/debian.yml
     include.
   * Drop the unused debian/upstream/signing-key.asc. It expired in 2023 and
     no signature was ever verified against it, which made lintian emit
     debian-watch-could-verify-download and
     orig-tarball-missing-upstream-signature.
Checksums-Sha1:
 ff20176b6269af0b9899d2737a97725c9cd93fe7 3227 yade_2026.1.0-9.dsc
 022fb87bb1338fc5d5624368af915f353b300d05 34644 yade_2026.1.0-9.debian.tar.xz
 96cc16e0f92683f847e088f79261215e3f4b4125 17775008 yade_2026.1.0-9.git.tar.xz
 2d3b47d7b40afcdfee12fa8de959aacb8c4e9157 17552 yade_2026.1.0-9_source.buildinfo
Checksums-Sha256:
 fbc2e1feac94657a6cf5f47a3029380a3d457244461a09cfd085da3d02d057f4 3227 yade_2026.1.0-9.dsc
 2af9c3eab29c8a185ed17bc78cc983ae8a4d37a16811b546ca466d09d8a6fad9 34644 yade_2026.1.0-9.debian.tar.xz
 9b8bbda45c317367c4d6d3f959d43e9384ed46c53bf6340da5e854eab8f83427 17775008 yade_2026.1.0-9.git.tar.xz
 d1d5f6f301ea026ce6995b93619a47ccd91ed3ddf7b0f2d9e73fc113cb624882 17552 yade_2026.1.0-9_source.buildinfo
Files:
 3f56e100d085a82f94c6061be214693f 3227 science optional yade_2026.1.0-9.dsc
 5abe35e362fa4056e4663ee9502f0a19 34644 science optional yade_2026.1.0-9.debian.tar.xz
 c2ea6b549a87f37eb5f4886bb3c24675 17775008 science None yade_2026.1.0-9.git.tar.xz
 9e014b31406a28971cddb131ab0bad70 17552 science optional yade_2026.1.0-9_source.buildinfo
Git-Tag-Info: tag=9400a2fd370c5f95c4b3b7d70de5e7e697484138 fp=bbbd45ea818ab86ff67e7285d3e17383cfa7ff06
Git-Tag-Tagger: Anton Gladky <gladk@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmp7faMACgkQYG0ITkaD
wHl7rg//TiqPvPvgH1NQO/nAygZ3OzYBti1wfYD9KloTiZrzStTI3l3CPc/CKf/8
tRFQ5pY3O64an3BrSBvRunhXtNLlW8TXuCRKMsH9luUzNRHV07wEAyPm75DFg3xk
Ap/t3oyPItMs3h3IVud7VOVKpIIhqSofyrADuZQV48HGPD3GZWBbaSd4N47r4Urn
KkBepoels05Oaqt/CDzeW+Zvwv6r5mj/71Wct8TLln39rcwM6L9TCNgHaLtKN+wf
5kGveF8+fzXENqBhkPpN7R6k3YeexEJt0RUL+i1I6Z7RGcvyKnUxj+Tv/lrhpZ9q
pPRjIGgfUSctm5kKrPS6WFeSenUrbmbnbO7Fv7riFZ6yIdXxfji5O4/pY0CqeJ2e
Hc4YxF3D9ijjeuCkoOGcfy22q25tyBPogfrWPEwWpRCD94cb2jZnAPbOATJggbeq
oOJGgRH1aSTGyBGrjd4UPfjGXBTUSCQSW5UKnlDVtRTSBBrwcLteuMPxQgxnTLI3
zhYLGsziAFGk1mTmPVsAjSKAdPxz79H+Vay/j0eazIygpMf3UyYnXaoHGzjA+0ha
M0AaaOhmbmD3PUqL1qg10cVuB/XS6pzAriVTqzfyUSb39prqSvl1dlE0+Jm9ZULx
gILXPzhsga3HSYLBIKBlkaibtuH2Gdi45hrervuEv1gawof1cPo=
=7zSf
-----END PGP SIGNATURE-----