[med-svn] [Git][med-team/mindthegap][master] 4 commits: fix-use-as-function.patch: new: fix build failure with gcc-14.
Étienne Mollier (@emollier)
gitlab at salsa.debian.org
Fri Sep 6 19:50:34 BST 2024
Étienne Mollier pushed to branch master at Debian Med / mindthegap
Commits:
341d67ac by Étienne Mollier at 2024-09-06T20:47:41+02:00
fix-use-as-function.patch: new: fix build failure with gcc-14.
Closes: #1075273
- - - - -
cf1e89eb by Étienne Mollier at 2024-09-06T20:48:41+02:00
d/control: declare compliance to standards version 4.7.0.
- - - - -
ced45844 by Étienne Mollier at 2024-09-06T20:49:45+02:00
d/control: add myself to uploaders.
- - - - -
197ecd50 by Étienne Mollier at 2024-09-06T20:50:10+02:00
Ready fo upload to unstable.
- - - - -
4 changed files:
- debian/changelog
- debian/control
- + debian/patches/fix-use-as-function.patch
- debian/patches/series
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+mindthegap (2.3.0-4) unstable; urgency=medium
+
+ * fix-use-as-function.patch: new: fix build failure with gcc-14.
+ (Closes: #1075273)
+ * d/control: declare compliance to standards version 4.7.0.
+ * d/control: add myself to uploaders.
+
+ -- Étienne Mollier <emollier at debian.org> Fri, 06 Sep 2024 20:50:00 +0200
+
mindthegap (2.3.0-3) unstable; urgency=medium
* Team upload.
=====================================
debian/control
=====================================
@@ -1,6 +1,7 @@
Source: mindthegap
Maintainer: Debian Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
-Uploaders: Shayan Doust <hello at shayandoust.me>
+Uploaders: Shayan Doust <hello at shayandoust.me>,
+ Étienne Mollier <emollier at debian.org>
Section: science
Priority: optional
Build-Depends: debhelper-compat (= 13),
@@ -9,7 +10,7 @@ Build-Depends: debhelper-compat (= 13),
libboost-dev,
zlib1g-dev,
libhdf5-dev
-Standards-Version: 4.6.2
+Standards-Version: 4.7.0
Vcs-Browser: https://salsa.debian.org/med-team/mindthegap
Vcs-Git: https://salsa.debian.org/med-team/mindthegap.git
Homepage: https://github.com/GATB/MindTheGap
=====================================
debian/patches/fix-use-as-function.patch
=====================================
@@ -0,0 +1,28 @@
+Description: fix expression that cannot be used as a function
+ Starting with g++ 14, the build fails with:
+ .
+ /<<PKGBUILDDIR>>/src/FindBreakpoints.hpp:786:38: error: expression cannot be used as a function
+ 786 | return this->m_solid_stretch_size();
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
+ .
+ Looking at other instances of the m_solid_stretch_size attribute, the
+ use of the expression as a function seems to be erroneous and the
+ intent seems to have been to return the plain integer number instead.
+
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075273
+Forwarded: https://github.com/GATB/MindTheGap/pull/15
+Last-Update: 2024-09-06
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- mindthegap.orig/src/FindBreakpoints.hpp
++++ mindthegap/src/FindBreakpoints.hpp
+@@ -783,7 +783,7 @@
+ template<size_t span>
+ uint64_t FindBreakpoints<span>::solid_stretch_size()
+ {
+- return this->m_solid_stretch_size();
++ return this->m_solid_stretch_size;
+ }
+
+ template<size_t span>
=====================================
debian/patches/series
=====================================
@@ -2,3 +2,4 @@ use_debian_packaged_gatb-core.patch
remove_unnecessary_installs.patch
modify_tests_for_autopkgtest.patch
2to3.patch
+fix-use-as-function.patch
View it on GitLab: https://salsa.debian.org/med-team/mindthegap/-/compare/18d1487886fde9c2e0472f652e3c307e63ef5ec5...197ecd50c934746e773a53383e047007888e9b80
--
View it on GitLab: https://salsa.debian.org/med-team/mindthegap/-/compare/18d1487886fde9c2e0472f652e3c307e63ef5ec5...197ecd50c934746e773a53383e047007888e9b80
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20240906/97eeb221/attachment-0001.htm>
More information about the debian-med-commit
mailing list