[med-svn] [Git][med-team/parsinsert][master] 2 commits: d/rules: fix build failures on several architectures.

Étienne Mollier (@emollier) gitlab at salsa.debian.org
Fri Sep 8 13:33:49 BST 2023



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


Commits:
584a6201 by Étienne Mollier at 2023-09-08T11:25:33+02:00
d/rules: fix build failures on several architectures.

This is done by reducing the optimization level down to -O1, again,
for the selection of architectures still affected by the precision
issue as shown by the buildd logs.

- - - - -
8698d1c5 by Étienne Mollier at 2023-09-08T11:29:02+02:00
ready to upload to unstable.

- - - - -


2 changed files:

- debian/changelog
- debian/rules


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,13 @@
+parsinsert (1.04-15) unstable; urgency=medium
+
+  * Team upload.
+  * d/rules: fix build failures on several architectures.
+    This is done by reducing the optimization level down to -O1, again,
+    for the selection of architectures still affected by the precision
+    issue as shown by the buildd logs.
+
+ -- Étienne Mollier <emollier at debian.org>  Fri, 08 Sep 2023 11:26:57 +0200
+
 parsinsert (1.04-14) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/rules
=====================================
@@ -5,6 +5,13 @@
 # active.  See #964082 for further details on the issue.
 export DEB_BUILD_MAINT_OPTIONS = hardening=-all
 export DEB_CXXFLAGS_MAINT_APPEND = -fPIE
+# Also, although -fPIE does help on several platforms, a bunch of architectures
+# are still affected by the precision issue.
+UNOPTIMIZED_ARCHS := armel armhf mips64el ppc64el hppa ia64 powerpc ppc64 x32
+ifneq (,$(filter $(DEB_BUILD_ARCH),$(UNOPTIMIZED_ARCHS)))
+export DEB_CXXFLAGS_MAINT_APPEND = -O1
+endif
+
 
 %:
 	dh $@



View it on GitLab: https://salsa.debian.org/med-team/parsinsert/-/compare/81b21e1fce20f6ad707ccc70fe3210933528ad74...8698d1c58e3329fede7250972d2cd24453e37328

-- 
View it on GitLab: https://salsa.debian.org/med-team/parsinsert/-/compare/81b21e1fce20f6ad707ccc70fe3210933528ad74...8698d1c58e3329fede7250972d2cd24453e37328
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/20230908/0a6403e7/attachment-0001.htm>


More information about the debian-med-commit mailing list