[med-svn] [Git][med-team/lucy][master] 5 commits: gcc-15.patch: new: fix build failure with gcc 15.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Sat Mar 1 15:43:27 GMT 2025



Étienne Mollier pushed to branch master at Debian Med / lucy


Commits:
08dfb36a by Étienne Mollier at 2025-03-01T16:34:59+01:00
gcc-15.patch: new: fix build failure with gcc 15.

Closes: #1097321

- - - - -
b29568ab by Étienne Mollier at 2025-03-01T16:35:45+01:00
d/patches/*: normalise headers and forward patches.

- - - - -
1fd84101 by Étienne Mollier at 2025-03-01T16:36:17+01:00
d/control: declare compliance to standards version 4.7.2.

- - - - -
ab851e0b by Étienne Mollier at 2025-03-01T16:42:10+01:00
d/u/metadata: file bug reports and repository locations.

- - - - -
316ec25b by Étienne Mollier at 2025-03-01T16:43:05+01:00
d/changelog: ready for upload to unstable.

- - - - -


10 changed files:

- debian/changelog
- debian/control
- debian/patches/declare-function-prototypes-in-header.patch
- debian/patches/fixup-manpage.patch
- debian/patches/gcc-14.patch
- + debian/patches/gcc-15.patch
- debian/patches/helpingMakefile.patch
- debian/patches/series
- debian/patches/spellings.patch
- debian/upstream/metadata


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+lucy (1.20-6) unstable; urgency=medium
+
+  * gcc-15.patch: new: fix build failure with gcc 15. (Closes: #1097321)
+  * d/patches/*: normalise headers and forward patches.
+  * d/control: declare compliance to standards version 4.7.2.
+  * d/u/metadata: file bug reports and repository locations.
+
+ -- Étienne Mollier <emollier at debian.org>  Sat, 01 Mar 2025 16:42:42 +0100
+
 lucy (1.20-5) unstable; urgency=medium
 
   * d/control: add myself to uploaders.


=====================================
debian/control
=====================================
@@ -5,7 +5,7 @@ Uploaders: Andreas Tille <tille at debian.org>,
 Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13)
-Standards-Version: 4.7.0
+Standards-Version: 4.7.2
 Vcs-Browser: https://salsa.debian.org/med-team/lucy
 Vcs-Git: https://salsa.debian.org/med-team/lucy.git
 Homepage: https://lucy.sourceforge.net


=====================================
debian/patches/declare-function-prototypes-in-header.patch
=====================================
@@ -1,3 +1,10 @@
+Author: Nilesh Patra <nilesh at iki.fi>
+Bug-Debian: https://bugs.debian.org/1066324
+Last-Update: 2024-03-24
+Reviewed-By: Étienne Mollier <emollier at debian.org>
+Description: Add patch to fix FTBFS with implicit-function-declaration
+Forwarded: https://sourceforge.net/p/lucy/bugs/3/
+
 --- a/abi.c
 +++ b/abi.c
 @@ -5,6 +5,7 @@


=====================================
debian/patches/fixup-manpage.patch
=====================================
@@ -1,3 +1,10 @@
+Author: Nilesh Patra <nilesh at iki.fi>
+Last-Update: 2024-03-24
+Bug-Debian: https://bugs.debian.org/1047296
+Reviewed-By: Étienne Mollier <emollier at debian.org>
+Description: Add patch to remove .PU macro
+Forwarded: https://sourceforge.net/p/lucy/bugs/3/
+
 --- a/lucy.1
 +++ b/lucy.1
 @@ -1,4 +1,3 @@


=====================================
debian/patches/gcc-14.patch
=====================================
@@ -1,9 +1,8 @@
 Description: fix numerous implicit declaration if integer variables.
  This fixes build failures with gcc 14.
-
 Author: Étienne Mollier <emollier at debian.org>
 Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075241
-Forwarded: no
+Forwarded: https://sourceforge.net/p/lucy/bugs/3/
 Last-Update: 2024-07-20
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/


=====================================
debian/patches/gcc-15.patch
=====================================
@@ -0,0 +1,25 @@
+Description: fix build failure with gcc-15
+ Starting with gcc-15, the compiler defaults to standard C 2023
+ conformance.  This raises the following build failure, addressed by the
+ present patch:
+ .
+       lucy.c:187:6: error: too many arguments to function ‘work’; expected 0, have 1
+         187 |     (*work)(id);
+             |     ~^~~~~~ ~~
+Author: Étienne Mollier <emollier at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097321
+Forwarded: https://sourceforge.net/p/lucy/bugs/3/
+Last-Update: 2025-03-01
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- lucy.orig/lucy.c
++++ lucy/lucy.c
+@@ -150,7 +150,7 @@
+ pthread_cond_t job_waiting, job_returning, job_done;
+ int thread_count, job_count, job_close, shutdown, *jobs, job_todo, job_pool;
+ pthread_t *threads;
+-void (*work)();
++void (*work)(int);
+ 
+ int assign_job(id)
+      int id;


=====================================
debian/patches/helpingMakefile.patch
=====================================
@@ -1,6 +1,10 @@
 Description: HelpingMakefile
+ This change facilitates propagation of Debian specific flags to the
+ build commands.
 Author: Steffen Möller
-Last-Update: 2018-09-05 16:05:38 +0200
+Last-Update: 2018-09-05
+Forwarded: https://sourceforge.net/p/lucy/bugs/3/
+Reviewed-By: Étienne Mollier <emollier at debian.org>
 
 --- a/Makefile
 +++ b/Makefile


=====================================
debian/patches/series
=====================================
@@ -3,3 +3,4 @@ spellings.patch
 declare-function-prototypes-in-header.patch
 fixup-manpage.patch
 gcc-14.patch
+gcc-15.patch


=====================================
debian/patches/spellings.patch
=====================================
@@ -1,6 +1,8 @@
 Description: Fix spellings in the package
 Author: Nilesh Patra <npatra974 at gmail.com>
-Last-Update: Sat, 18 Apr 2020 21:40:01 +0530
+Last-Update: 2020-04-18
+Forwarded: https://sourceforge.net/p/lucy/bugs/2/
+Reviewed-By: Étienne Mollier <emollier at debian.org>
 
 --- a/lucy-s/lucy.c
 +++ b/lucy-s/lucy.c


=====================================
debian/upstream/metadata
=====================================
@@ -7,3 +7,7 @@ Registry:
    Entry: NA
  - Name: conda:bioconda
    Entry: NA
+Bug-Submit: https://sourceforge.net/p/lucy/bugs/new/
+Bug-Database: https://sourceforge.net/p/lucy/bugs/
+Repository: https://sourceforge.net/p/lucy/code/
+Repository-Browse: https://lucy.cvs.sourceforge.net/



View it on GitLab: https://salsa.debian.org/med-team/lucy/-/compare/d5e5375c4347759d0869f63561c171f0d859d817...316ec25b44dbea8db6cee18b8d71cce52220766c

-- 
View it on GitLab: https://salsa.debian.org/med-team/lucy/-/compare/d5e5375c4347759d0869f63561c171f0d859d817...316ec25b44dbea8db6cee18b8d71cce52220766c
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/20250301/5d45b631/attachment-0001.htm>


More information about the debian-med-commit mailing list