[med-svn] [Git][med-team/libtfbs-perl][master] 5 commits: gcc-15.patch: new: fix ftbfs with gcc-15.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Thu Sep 11 21:47:00 BST 2025



Étienne Mollier pushed to branch master at Debian Med / libtfbs-perl


Commits:
e593817c by Étienne Mollier at 2025-09-11T21:23:08+02:00
gcc-15.patch: new: fix ftbfs with gcc-15.

Closes: #1097278

- - - - -
344b99f5 by Étienne Mollier at 2025-09-11T22:25:46+02:00
d/control: approach cross-buildability.

This change introduces perl-xs-dev and libcrypt-dev to build
dependencies, the latter being needed soon once out of the essential
set.  In addition, some <!nocheck> filtering is implemented and the
perl interpreter is requested for the native architecture.

Thanks: Helmut Grohne
Closes: #1102835

- - - - -
088795c7 by Étienne Mollier at 2025-09-11T22:39:37+02:00
d/control: declare compliance to standards version 4.7.2.

- - - - -
27a10982 by Étienne Mollier at 2025-09-11T22:39:57+02:00
d/watch: move to format version 5.

- - - - -
4bae7b94 by Étienne Mollier at 2025-09-11T22:46:36+02:00
d/changelog: ready for upload to unstable.

- - - - -


5 changed files:

- debian/changelog
- debian/control
- + debian/patches/gcc-15.patch
- debian/patches/series
- debian/watch


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,18 @@
+libtfbs-perl (0.7.1+ds-5) unstable; urgency=medium
+
+  * Team upload.
+  * gcc-15.patch: new: fix ftbfs with gcc-15. (Closes: #1097278)
+  * d/control: approach cross-buildability.
+    This change introduces perl-xs-dev and libcrypt-dev to build
+    dependencies, the latter being needed soon once out of the essential
+    set.  In addition, some <!nocheck> filtering is implemented and the
+    perl interpreter is requested for the native architecture.
+    Thanks to Helmut Grohne (Closes: #1102835)
+  * d/control: declare compliance to standards version 4.7.2.
+  * d/watch: move to format version 5.
+
+ -- Étienne Mollier <emollier at debian.org>  Thu, 11 Sep 2025 22:40:14 +0200
+
 libtfbs-perl (0.7.1+ds-4) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/control
=====================================
@@ -7,12 +7,14 @@ Section: perl
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
                dh-sequence-pdl,
-               perl,
+               perl:native,
+               perl-xs-dev,
                pdl (>= 1:2.016),
+               libcrypt-dev,
                bioperl,
-               libwww-perl,
-               libdbi-perl
-Standards-Version: 4.7.0
+               libwww-perl <!nocheck>,
+               libdbi-perl <!nocheck>
+Standards-Version: 4.7.2
 Vcs-Browser: https://salsa.debian.org/med-team/libtfbs-perl
 Vcs-Git: https://salsa.debian.org/med-team/libtfbs-perl.git
 Homepage: http://tfbs.genereg.net


=====================================
debian/patches/gcc-15.patch
=====================================
@@ -0,0 +1,43 @@
+Description: fix ftbfs with gcc-15
+ This change fixes the following build failure with gcc-15:
+ .
+  ./lib/pwm_searchPFF.c:64:1: warning: old-style function definition [-Wold-style-definition]
+     64 | err_log(msg)
+        | ^~~~~~~
+  ./lib/pwm_searchPFF.c:66:1: error: number of arguments doesn’t match prototype
+     66 | {
+        | ^
+  In file included from ./lib/pwm_searchPFF.c:34:
+  ./lib/pwm_search.h:16:6: error: prototype declaration
+     16 | void err_log(), err_show();
+        |      ^~~~~~~
+ .
+ It consists in declaring err_log with its char* argument explicitly.
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097278
+Forwarded: https://github.com/ComputationalRegulatoryGenomicsICL/TFBS/pull/4/commits/4bb453d4dda996148ad0816f7c0aa68f8445c015
+Last-Update: 2025-09-11
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- libtfbs-perl.orig/Ext/lib/pwm_search.h
++++ libtfbs-perl/Ext/lib/pwm_search.h
+@@ -13,7 +13,7 @@
+ extern double sqrt();
+ extern FILE *fopen();
+ */ 
+-void err_log(), err_show();
++void err_log(char*), err_show();
+ 
+ /*---------------------------------------------------------------
+  * DEFINES
+--- libtfbs-perl.orig/blib/lib/pwm_search.h
++++ libtfbs-perl/blib/lib/pwm_search.h
+@@ -13,7 +13,7 @@
+ extern double sqrt();
+ extern FILE *fopen();
+ */ 
+-void err_log(), err_show();
++void err_log(char*), err_show();
+ 
+ /*---------------------------------------------------------------
+  * DEFINES


=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@ configure.patch
 spelling-errors.patch
 dpkg-1.22.6.patch
 gcc-14.patch
+gcc-15.patch


=====================================
debian/watch
=====================================
@@ -1,7 +1,7 @@
-version=4
-opts=\
-dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
-uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/,\
-repacksuffix=+ds \
-http://tfbs.genereg.net/ \
-(?:.*?/)?(?:TFBS|v)?[\-\_]?(\d\S*)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+Version: 5
+
+Source: http://tfbs.genereg.net/
+Matching-Pattern: (?:.*?/)?(?:TFBS|v)?[\-\_]?(\d\S*)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+Dversionmangle: s/\+(debian|dfsg|ds|deb)\d*$//
+Repacksuffix: +ds
+Uversionmangle: s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/



View it on GitLab: https://salsa.debian.org/med-team/libtfbs-perl/-/compare/1c57898343688df09543d844730afae9248c48ae...4bae7b9482055bcfb15bd0319d23ca7a062f9459

-- 
View it on GitLab: https://salsa.debian.org/med-team/libtfbs-perl/-/compare/1c57898343688df09543d844730afae9248c48ae...4bae7b9482055bcfb15bd0319d23ca7a062f9459
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/20250911/b769a93b/attachment-0001.htm>


More information about the debian-med-commit mailing list