[med-svn] [Git][med-team/sra-sdk][master] sra-sdk 3.0.3+dfsg-4: -fsigned-char to fix arm64 FTBFS.

Aaron M. Ucko (@ucko) gitlab at salsa.debian.org
Sun Jan 22 22:08:27 GMT 2023



Aaron M. Ucko pushed to branch master at Debian Med / sra-sdk


Commits:
4a2246e9 by Aaron M. Ucko at 2023-01-22T17:04:23-05:00
sra-sdk 3.0.3+dfsg-4: -fsigned-char to fix arm64 FTBFS.

debian/rules: Explicitly build with signed characters (-fsigned-char).
On arm64, where char is normally unsigned, two tests otherwise fail
because messages reporting certain characters' numeric values formally
differ from expectations.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,12 @@
+sra-sdk (3.0.3+dfsg-4) unstable; urgency=medium
+
+  * debian/rules: Explicitly build with signed characters (-fsigned-char).
+    On arm64, where char is normally unsigned, two tests otherwise fail
+    because messages reporting certain characters' numeric values formally
+    differ from expectations.
+
+ -- Aaron M. Ucko <ucko at debian.org>  Sun, 22 Jan 2023 17:04:21 -0500
+
 sra-sdk (3.0.3+dfsg-3) unstable; urgency=medium
 
   * debian/copyright: Account for a second(!) version of BitMagic under


=====================================
debian/rules
=====================================
@@ -6,6 +6,9 @@ DEBIAN_GUID = 806b5c3b-0088-4732-8359-51630950d723
 # +pie breaks the build
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+export DEB_CFLAGS_MAINT_APPEND   = -fsigned-char
+export DEB_CXXFLAGS_MAINT_APPEND = -fsigned-char
+
 pkg := sra-toolkit
 
 include /usr/share/dpkg/architecture.mk



View it on GitLab: https://salsa.debian.org/med-team/sra-sdk/-/commit/4a2246e923dff0b1dc93bbacdc55b37613849b17

-- 
View it on GitLab: https://salsa.debian.org/med-team/sra-sdk/-/commit/4a2246e923dff0b1dc93bbacdc55b37613849b17
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/20230122/cae1131a/attachment-0001.htm>


More information about the debian-med-commit mailing list