Control: tags -1 patch

On Sun, Oct 23, 2022 at 09:04:03AM +0200, Paul Gevers wrote:
> Source: g2clib
> Version: 1.6.4-3
> Severity: serious
> Tags: sid bookworm ftbfs
> User: release.debian....@packages.debian.org
> Usertags: out-of-sync
> 
> Dear maintainer(s),
> 
> The Release Team considers packages that are out-of-sync between testing and
> unstable for more than 60 days as having a Release Critical bug in testing
> [1]. Your package src:g2clib has been trying to migrate for 61 days [2].
> Hence, I am filing this bug. You latest upload failed to build on i386 while
> it built successfully there in the past.
>...

The problem is the excess precision of the x87 FPU, if exact results are 
required the patch below works around the isssue.

cu
Adrian

--- debian/rules.old    2022-11-20 10:01:52.961269222 +0000
+++ debian/rules        2022-11-20 10:02:10.997265167 +0000
@@ -6,6 +6,10 @@
 %:
        dh $@ --buildsystem=cmake --builddirectory=debian/build
 
+ifeq ($(DEB_HOST_ARCH_CPU),i386)
+  export DEB_CFLAGS_MAINT_APPEND = -ffloat-store
+endif
+
 DESTDIR:=$(CURDIR)/debian/tmp/
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 LIBDIR:=/usr/lib/$(DEB_HOST_MULTIARCH)

Reply via email to