[Pkg-tigervnc-devel] Bug#755073: libjpeg-turbo: FTBFS: testoutflt.ppm: FAILED. Checksum is b965f63e55492ae97d427678ac25cce0

Thorsten Glaser tg at mirbsd.de
Fri Jul 18 11:30:50 UTC 2014


Andreas Schwab dixit:

>Try building with -ffloat-store.

Dear libjpeg-turbo maintainers,

I’ve tried to rebuild with the attached patch, but neither
-Wall nor -ffloat-store show up in config.log despite CFLAGS
being set correctly. Because you use dh7-style rules, I cannot
figure out where CFLAGS get passed to configure (had you kept
using dh5-style rules, this would be easily solved), so please
fix the debian/rules file to make the build system actually
*use* the ${CFLAGS} it sets first, before I can proceed trying
to build that.

Thanks.

bye,
//mirabilos
-- 
13:37⎜«Natureshadow» Deep inside, I hate mirabilos. I mean, he's a good
guy. But he's always right! In every fsckin' situation, he's right. Even
with his deeply perverted taste in software and borked ambition towards
broken OSes - in the end, he's damn right about it :(! […] works in mksh
-------------- next part --------------
diff -Nru libjpeg-turbo-1.3.0/debian/changelog libjpeg-turbo-1.3.0/debian/changelog
--- libjpeg-turbo-1.3.0/debian/changelog	2014-03-14 23:19:45.000000000 +0000
+++ libjpeg-turbo-1.3.0/debian/changelog	2014-07-18 08:55:19.000000000 +0000
@@ -1,3 +1,10 @@
+libjpeg-turbo (1.3.0-4+m68k.1) unreleased; urgency=medium
+
+  * Build with -ffloat-store on m68k; thanks Andreas Schwab.
+    (Closes: #755073)
+
+ -- Thorsten Glaser <tg at mirbsd.de>  Fri, 18 Jul 2014 08:54:11 +0000
+
 libjpeg-turbo (1.3.0-4) unstable; urgency=low
 
   * debian/rules:
diff -Nru libjpeg-turbo-1.3.0/debian/rules libjpeg-turbo-1.3.0/debian/rules
--- libjpeg-turbo-1.3.0/debian/rules	2014-03-14 23:06:12.000000000 +0000
+++ libjpeg-turbo-1.3.0/debian/rules	2014-07-18 08:53:46.000000000 +0000
@@ -16,11 +16,15 @@
 DEB_BUILD_GNU_TYPE	?= $(call vafilt,$(DPKG_VARS),DEB_BUILD_GNU_TYPE)
 DEB_HOST_GNU_TYPE	?= $(call vafilt,$(DPKG_VARS),DEB_HOST_GNU_TYPE)
 DEB_HOST_MULTIARCH	?= $(call vafilt,$(DPKG_VARS),DEB_HOST_MULTIARCH)
+DEB_HOST_ARCH		?= $(call vafilt,$(DPKG_VARS),DEB_HOST_ARCH)
 
 CFLAGS ?= $(shell dpkg-buildflags --get CFLAGS)
 ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -Wall
 endif
+ifneq (,$(filter $(DEB_HOST_ARCH), m68k))
+	CFLAGS += -ffloat-store
+endif
 
 ifeq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
 CC = gcc


More information about the Pkg-tigervnc-devel mailing list