[med-svn] [Git][med-team/mia][master] 5 commits: gcc-16.patch: New; fix FTBFS with GCC 16 (#1133549).

Yavor Doganov (@yavor-guest) gitlab at salsa.debian.org
Mon Aug 3 16:49:30 BST 2026



Yavor Doganov pushed to branch master at Debian Med / mia


Commits:
f2d91b5f by Yavor Doganov at 2026-08-03T17:59:09+03:00
gcc-16.patch: New; fix FTBFS with GCC 16 (#1133549).

- - - - -
7e468c72 by Yavor Doganov at 2026-08-03T18:28:29+03:00
Switch to debhelper compat 14.

- - - - -
26a15970 by Yavor Doganov at 2026-08-03T18:31:31+03:00
libmia-2.4-4.lintian-overrides: Remove exit-in-shared-library.

- - - - -
969c1298 by Yavor Doganov at 2026-08-03T18:35:13+03:00
copyright: Update copyright years for Debian packaging.

- - - - -
335c9eac by Yavor Doganov at 2026-08-03T18:36:11+03:00
(Standards-Version): Claim compliance with 4.7.4; no changes needed.

- - - - -


7 changed files:

- debian/changelog
- debian/control
- debian/copyright
- debian/libmia-2.4-4.lintian-overrides
- + debian/patches/gcc-16.patch
- debian/patches/series
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,20 @@
+mia (2.4.7-19) unstable; urgency=medium
+
+  * Team upload.
+  * debian/patches/gcc-16.patch: New; fix FTBFS with GCC 16 (Closes:
+    #1133549).
+  * debian/control (Build-Depends): Switch to debhelper compat 14.
+    (Depends): Remove ${misc:Depends} and ${shlibs:Depends}.
+    (Pre-Depends): Remove ${misc:Pre-Depends}.
+    (Standards-Version): Claim compliance with 4.7.4; no changes needed.
+  * debian/rules (override_dh_auto_configure): Don't pass
+    -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON; now it's done by default.
+  * debian/libmia-2.4-4.lintian-overrides: Remove exit-in-shared-library;
+    this tag has been removed in Lintian.
+  * debian/copyright: Update copyright years for Debian packaging.
+
+ -- Yavor Doganov <yavor at gnu.org>  Mon, 03 Aug 2026 18:35:35 +0300
+
 mia (2.4.7-18) unstable; urgency=medium
 
   [ Santiago Vila ]


=====================================
debian/control
=====================================
@@ -1,12 +1,12 @@
 Source: mia
-Standards-Version: 4.7.3
+Standards-Version: 4.7.4
 Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 Uploaders:
  Gert Wollny <gewo at debian.org>,
 Section: science
 Build-Depends:
  cmake,
- debhelper-compat (= 13),
+ debhelper-compat (= 14),
  libblas-dev,
  libboost-filesystem-dev,
  libboost-serialization-dev,
@@ -42,11 +42,6 @@ Package: libmia-2.4-4
 Architecture: any
 Multi-Arch: same
 Section: libs
-Depends:
- ${shlibs:Depends},
- ${misc:Depends},
-Pre-Depends:
- ${misc:Pre-Depends},
 Description: library for 2D and 3D gray scale image processing
  libmia comprises a set of libraries and plug-ins for general purpose
  2D and 3D gray scale image processing and basic handling of triangular
@@ -64,7 +59,6 @@ Depends:
  libboost-test-dev,
  libfftw3-dev,
  libblas-dev,
- ${misc:Depends},
 Recommends:
  libmia-2.4-doc,
 Description: library for 2D and 3D gray scale image processing, development files
@@ -79,7 +73,6 @@ Architecture: all
 Multi-Arch: foreign
 Section: doc
 Depends:
- ${misc:Depends},
  libjs-mathjax,
 Enhances:
  libmia-2.4-dev,
@@ -94,8 +87,6 @@ Package: mia-tools
 Architecture: any
 Depends:
  libmia-2.4-4 (= ${binary:Version}),
- ${shlibs:Depends},
- ${misc:Depends},
 Recommends:
  mia-tools-doc,
 #Suggests: python-nipype
@@ -112,7 +103,6 @@ Architecture: all
 Depends:
  python3-lxml,
  python3,
- ${misc:Depends},
 Description: Helper scripts for run-time document creation
  A set of scripts that can be used to create man-pages and on-line
  documentation for programs that make use of the mia command line
@@ -122,8 +112,6 @@ Package: mia-tools-doc
 Architecture: all
 Multi-Arch: foreign
 Section: doc
-Depends:
- ${misc:Depends},
 Enhances:
  mia-tools,
 Description: Cross-referenced documentation of the MIA command line tools


=====================================
debian/copyright
=====================================
@@ -8,7 +8,7 @@ Copyright: Gert Wollny  <gw.fossdev at gmail.com>
 License: GPL-3+
 
 Files: debian/*
-Copyright: 2012-2025 wollny <gw.fossdev at gmail.com>
+Copyright: 2012-2026 wollny <gw.fossdev at gmail.com>
 License: GPL-3+
 
 License: GPL-3+


=====================================
debian/libmia-2.4-4.lintian-overrides
=====================================
@@ -14,9 +14,3 @@ libmia-2.4-4 binary: hardening-no-fortify-functions
 # would have to be provided for each arch 
 #
 libmia-2.4-4 binary: no-symbols-control-file
-
-#
-# The library command line parser is designed to call exit if a help
-# option was given. 
-#
-libmia-2.4-4 binary: exit-in-shared-library


=====================================
debian/patches/gcc-16.patch
=====================================
@@ -0,0 +1,18 @@
+Description: Fix FTBFS with GCC 16.
+Bug-Debian: https://bugs.debian.org/1133549
+Author: Yavor Doganov <yavor at gnu.org>
+Forwarded: no
+Last-Update: 2026-08-03
+---
+
+--- mia.orig/mia/core/test_productcache.cc
++++ mia/mia/core/test_productcache.cc
+@@ -157,7 +157,7 @@
+                      if (!value) {
+                             ++(*n_errors);
+                      } else {
+-                            if (*value != i / 2)
++                            if (static_cast<int>(*value) != i / 2)
+                                    ++(*n_errors);
+                      }
+               }


=====================================
debian/patches/series
=====================================
@@ -10,3 +10,4 @@ groff-warnings.patch
 spelling-errors.patch
 reproducible-build.patch
 boost-1.90.patch
+gcc-16.patch


=====================================
debian/rules
=====================================
@@ -23,13 +23,9 @@ endif
 %:
 	dh $@
 
-# TODO: Remove -DCMAKE_BUILD_RPATH_USE_ORIGIN=ON when switching to
-# debhelper compat level 14; it's added automatically by debhelper's
-# cmake build system.
 override_dh_auto_configure:
 	dh_auto_configure -- \
 	-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-	-DCMAKE_BUILD_RPATH_USE_ORIGIN=ON \
 	-DALWAYS_CREATE_DOC=$(BUILDDOC)  \
 	-DSTRICT_DEPENDECIES=ON \
 	-DMIA_CREATE_MANPAGES=ON \



View it on GitLab: https://salsa.debian.org/med-team/mia/-/compare/50cb9f1869f5e63cfc94593a586659ece2bb0147...335c9eac018cf895ac77df7957f06f5834cb5e89

-- 
View it on GitLab: https://salsa.debian.org/med-team/mia/-/compare/50cb9f1869f5e63cfc94593a586659ece2bb0147...335c9eac018cf895ac77df7957f06f5834cb5e89
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260803/a8494caf/attachment-0001.htm>


More information about the debian-med-commit mailing list