[med-svn] [Git][med-team/wise][master] 3 commits: d/rules: work around weird compiler behavior.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Thu Aug 15 11:19:40 BST 2024



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


Commits:
6eb1c31e by Étienne Mollier at 2024-08-15T12:14:15+02:00
d/rules: work around weird compiler behavior.

Closes: #1075638

- - - - -
e16a60d0 by Étienne Mollier at 2024-08-15T12:15:20+02:00
d/control: declare compliance to standards version 4.7.0.

- - - - -
c23e9d1e by Étienne Mollier at 2024-08-15T12:18:37+02:00
Ready to upload to unstable.

- - - - -


3 changed files:

- debian/changelog
- debian/control
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,4 +1,4 @@
-wise (2.4.1-25) UNRELEASED; urgency=medium
+wise (2.4.1-25) unstable; urgency=medium
 
   * Team upload.
   * gcc-14.patch: fix multiple build failures with gcc 14.
@@ -8,8 +8,10 @@ wise (2.4.1-25) UNRELEASED; urgency=medium
   * d/control: build depends on the libfl-dev.
     Apparently the missing libl.a went below the radar for building dyc.
   * d/rules: build and provide the dyc compiler to the rest of the build.
+  * d/rules: work around weird compiler behavior. (Closes: #1075638)
+  * d/control: declare compliance to standards version 4.7.0.
 
- -- Étienne Mollier <emollier at debian.org>  Thu, 15 Aug 2024 12:02:02 +0200
+ -- Étienne Mollier <emollier at debian.org>  Thu, 15 Aug 2024 12:15:41 +0200
 
 wise (2.4.1-24) unstable; urgency=medium
 


=====================================
debian/control
=====================================
@@ -12,7 +12,7 @@ Build-Depends: debhelper-compat (= 13),
                docbook-to-man,
                libglib2.0-dev,
                libfl-dev
-Standards-Version: 4.6.2
+Standards-Version: 4.7.0
 Vcs-Browser: https://salsa.debian.org/med-team/wise
 Vcs-Git: https://salsa.debian.org/med-team/wise.git
 Homepage: https://www.ebi.ac.uk/~birney/wise2/


=====================================
debian/rules
=====================================
@@ -10,6 +10,20 @@ export DH_VERBOSE=1
 export LC_ALL=C.UTF-8
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+# FIXME: work around weird compiler behavior causing:
+#
+# 	motifmatrix.c:408:24: error: assignment to ‘char’ from ‘void *’
+# 	                             makes integer from pointer without a cast
+# 	                             [-Wint-conversion]
+# 	  408 |     for(i=0;i<leni;i++)  {
+# 	      |                        ^
+#
+# Of course, there are no visible assigment to "char" from "void *"
+# around that hunk, and the compiler hints moves around pointing nowhere
+# relevant, suggesting a compiler bug.
+export DEB_CFLAGS_MAINT_APPEND = -Wno-error=int-conversion
+
+
 # hardening flags
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/buildflags.mk



View it on GitLab: https://salsa.debian.org/med-team/wise/-/compare/f2a13fb00c6c08b60f614f05464f8dd44607443f...c23e9d1e3dfab17cf025d6ff6a193bf4623e804d

-- 
View it on GitLab: https://salsa.debian.org/med-team/wise/-/compare/f2a13fb00c6c08b60f614f05464f8dd44607443f...c23e9d1e3dfab17cf025d6ff6a193bf4623e804d
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/20240815/a30b1eae/attachment-0001.htm>


More information about the debian-med-commit mailing list