Control: tags -1 + patch pending

Le lundi 30 septembre 2013 à 20:23 +0200, Sébastien Villemot a écrit :

> vips fails to build on armhf. The build log says:
> 
> libtool: compile:  gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. 
> -I../../libvips/include -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -pthread 
> -fopenmp -I/usr/lib/arm-linux-gnueabihf/glib-2.0/include 
> -I/usr/include/pango-1.0 -I/usr/include/orc-0.4 -I/usr/include/openslide 
> -I/usr/include/libxml2 -I/usr/include/libpng12 -I/usr/include/libexif 
> -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/include/freetype2 
> -I/usr/include/arm-linux-gnueabihf/libtiff5-alt -I/usr/include/OpenEXR 
> -I/usr/include/ImageMagick -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector 
> --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c image.c  -fPIC 
> -DPIC -o .libs/image.o
> image.c: In function 'vips_image_new_temp_file':
> image.c:1717:1: internal compiler error: in cond_exec_process_insns, at 
> ifcvt.c:323
>  }
>  ^
> 
> Of course this is ultimately a bug in gcc-4.8. However, until the bug is fixed
> in GCC, you may want to consider a workaround. For example, I was able to 
> build
> the problematic file with gcc-4.7.

I have reported the gcc-4.8 bug in the Debian BTS (#725880) and upstream
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58668).

However, as the vips FTBFS is blocking the libmatio transition, I have
uploaded a NMU in DELAYED/5 implementing the gcc-4.7 workaround. The
debdiff is attached. Don't hesitate to tell me if I should delay it
longer.

Cheers,

-- 
 .''`.    Sébastien Villemot
: :' :    Debian Developer
`. `'     http://www.dynare.org/sebastien
  `-      GPG Key: 4096R/381A7594

diff -Nru vips-7.34.2/debian/changelog vips-7.34.2/debian/changelog
--- vips-7.34.2/debian/changelog	2013-09-16 15:16:07.000000000 +0200
+++ vips-7.34.2/debian/changelog	2013-10-10 14:08:05.000000000 +0200
@@ -1,3 +1,11 @@
+vips (7.34.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Use gcc-4.7 on armhf, as a workaround for gcc-4.8 bug #725880.
+    (Closes: #725032)
+
+ -- Sébastien Villemot <sebast...@debian.org>  Thu, 10 Oct 2013 14:05:46 +0200
+
 vips (7.34.2-1) unstable; urgency=low
 
   * New upstream release
diff -Nru vips-7.34.2/debian/control vips-7.34.2/debian/control
--- vips-7.34.2/debian/control	2013-09-15 15:28:06.000000000 +0200
+++ vips-7.34.2/debian/control	2013-10-10 14:05:15.000000000 +0200
@@ -1,7 +1,7 @@
 Source: vips
 Section: libs
 Priority: optional
-Build-Depends: cdbs (>= 0.4.93~), debhelper (>> 9~), dpkg-dev (>= 1.16.1~), autotools-dev, libjpeg-dev, libtiff5-alt-dev, zlib1g-dev, fftw3-dev | libfftw3-dev, liblcms2-dev, libpng-dev, libmagickcore-dev, libmagickwand-dev, libfreetype6-dev, libpango1.0-dev, libfontconfig1-dev, libglib2.0-dev, libice-dev, gettext, pkg-config, libxml-parser-perl, libexif-gtk-dev, python-all-dev, python-dev (>= 2.6.6-3~), liborc-0.4-dev, libopenexr-dev, libmatio-dev, libxml2-dev, libcfitsio3-dev, libopenslide-dev, flex, bison
+Build-Depends: cdbs (>= 0.4.93~), debhelper (>> 9~), dpkg-dev (>= 1.16.1~), autotools-dev, libjpeg-dev, libtiff5-alt-dev, zlib1g-dev, fftw3-dev | libfftw3-dev, liblcms2-dev, libpng-dev, libmagickcore-dev, libmagickwand-dev, libfreetype6-dev, libpango1.0-dev, libfontconfig1-dev, libglib2.0-dev, libice-dev, gettext, pkg-config, libxml-parser-perl, libexif-gtk-dev, python-all-dev, python-dev (>= 2.6.6-3~), liborc-0.4-dev, libopenexr-dev, libmatio-dev, libxml2-dev, libcfitsio3-dev, libopenslide-dev, flex, bison, gcc-4.7 [armhf], g++-4.7 [armhf]
 XS-Python-Version: all
 Maintainer: Jay Berkenbilt <q...@debian.org>
 Standards-Version: 3.9.4
diff -Nru vips-7.34.2/debian/rules vips-7.34.2/debian/rules
--- vips-7.34.2/debian/rules	2013-09-16 16:10:30.000000000 +0200
+++ vips-7.34.2/debian/rules	2013-10-10 14:05:15.000000000 +0200
@@ -43,6 +43,11 @@
 DEB_CONFIGURE_EXTRA_FLAGS += --without-v4l
 endif
 
+# Fix for #725032
+ifeq ($(DEB_HOST_ARCH), armhf)
+DEB_CONFIGURE_EXTRA_FLAGS += CC=gcc-4.7 CXX=g++-4.7
+endif
+
 # "make install" runs installed programs at one point, so we need to
 # set LD_LIBRARY_PATH to the installed library directory.
 ifeq ("$(LD_LIBRARY_PATH)", "")

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to