Your message dated Tue, 13 Dec 2016 21:33:26 +0000
with message-id <[email protected]>
and subject line Bug#845279: fixed in freeimage 3.17.0+ds1-4
has caused the Debian Bug report #845279,
regarding freeimage FTCBFS: uses build architecture compiler and pkg-config
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
845279: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=845279
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: freeimage
Version: 3.17.0+ds1-3
Tags: patch
User: [email protected]
Usertags: rebootstrap
freeimage fails to cross build from source, because it generally uses
the build architecture toolchain. Supplying a triplet-prefixed CC and
CXX solves most of it, but the upstream Makefile calls directly into an
unprefixed pkg-config. The attached patch addresses both issues and
makes freeimage cross build successfully. Please consider applying it.
Helmut
--- freeimage-3.17.0+ds1/debian/changelog
+++ freeimage-3.17.0+ds1/debian/changelog
@@ -1,3 +1,10 @@
+freeimage (3.17.0+ds1-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Use triplet-prefixed build tools (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]> Thu, 22 Nov 2016 06:12:06 +0100
+
freeimage (3.17.0+ds1-3) unstable; urgency=critical
[ Ghislain Antony Vaillant ]
--- freeimage-3.17.0+ds1/debian/patches/cross.patch
+++ freeimage-3.17.0+ds1/debian/patches/cross.patch
@@ -0,0 +1,31 @@
+From: Helmut Grohne <[email protected]>
+Subject: make pkg-config substitutable with triplet-prefixed tools
+
+--- freeimage-3.17.0+ds1.orig/Makefile.gnu
++++ freeimage-3.17.0+ds1/Makefile.gnu
+@@ -10,8 +10,9 @@
+
+ # Converts cr/lf to just lf
+ DOS2UNIX = dos2unix
++PKG_CONFIG ?= pkg-config
+
+-LIBRARIES = -lstdc++ -ljxrglue $(shell pkg-config --libs libjpeg libopenjp2
libpng libraw libtiff-4 libwebpmux OpenEXR zlib) -lm
++LIBRARIES = -lstdc++ -ljxrglue $(shell $(PKG_CONFIG) --libs libjpeg
libopenjp2 libpng libraw libtiff-4 libwebpmux OpenEXR zlib) -lm
+
+ MODULES = $(SRCS:.c=.o)
+ MODULES := $(MODULES:.cpp=.o)
+@@ -23,12 +24,12 @@
+ override CFLAGS += -DNO_LCMS
+ # LibJXR
+ override CFLAGS += -DDISABLE_PERF_MEASUREMENT -D__ANSI__
+-override CFLAGS += $(INCLUDE) -I/usr/include/jxrlib $(shell pkg-config
--cflags libjpeg libopenjp2 libpng libraw libtiff-4 libwebpmux OpenEXR zlib)
++override CFLAGS += $(INCLUDE) -I/usr/include/jxrlib $(shell $(PKG_CONFIG)
--cflags libjpeg libopenjp2 libpng libraw libtiff-4 libwebpmux OpenEXR zlib)
+ CXXFLAGS ?= -O3 -fPIC
+ override CXXFLAGS += -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy
+ # LibJXR
+ override CXXFLAGS += -D__ANSI__
+-override CXXFLAGS += $(INCLUDE) -I/usr/include/jxrlib $(shell pkg-config
--cflags libjpeg libopenjp2 libpng libraw libtiff-4 libwebpmux OpenEXR zlib)
++override CXXFLAGS += $(INCLUDE) -I/usr/include/jxrlib $(shell $(PKG_CONFIG)
--cflags libjpeg libopenjp2 libpng libraw libtiff-4 libwebpmux OpenEXR zlib)
+
+ TARGET = freeimage
+ STATICLIB = lib$(TARGET).a
--- freeimage-3.17.0+ds1/debian/patches/series
+++ freeimage-3.17.0+ds1/debian/patches/series
@@ -12,3 +12,4 @@
Fix-CVE-2015-0852.patch
Fix-encoding-of-fi-header.patch
Fix-CVE-2016-5684.patch
+cross.patch
--- freeimage-3.17.0+ds1/debian/rules
+++ freeimage-3.17.0+ds1/debian/rules
@@ -7,7 +7,14 @@
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
# Environment information.
-DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CC),default)
+CC := $(DEB_HOST_GNU_TYPE)-gcc
+endif
+ifeq ($(origin CXX),default)
+CXX := $(DEB_HOST_GNU_TYPE)-g++
+endif
+export PKG_CONFIG ?= $(DEB_HOST_GNU_TYPE)-pkg-config
# Installation paths.
DESTDIR = $(CURDIR)/debian/tmp
@@ -27,8 +34,8 @@
dh_autoreconf $(MAKE) -- -f $(CURDIR)/debian/rules gen-src-list
override_dh_auto_build-arch:
- $(MAKE) CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)"
- $(MAKE) -f Makefile.fip CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)"
LDFLAGS="$(LDFLAGS)"
+ $(MAKE) CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)"
CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)"
+ $(MAKE) -f Makefile.fip CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)"
CXXFLAGS="$(CXXFLAGS)" LDFLAGS="$(LDFLAGS)"
override_dh_auto_build-indep:
cd $(CURDIR)/Wrapper/FreeImagePlus/doc && doxygen FreeImagePlus.dox
--- End Message ---
--- Begin Message ---
Source: freeimage
Source-Version: 3.17.0+ds1-4
We believe that the bug you reported is fixed in the latest version of
freeimage, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ghislain Antony Vaillant <[email protected]> (supplier of updated freeimage
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Tue, 13 Dec 2016 16:48:47 +0000
Source: freeimage
Binary: libfreeimage-dev libfreeimage3 libfreeimage3-dbg libfreeimageplus-dev
libfreeimageplus-doc libfreeimageplus3 libfreeimageplus3-dbg
Architecture: source
Version: 3.17.0+ds1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Ghislain Antony Vaillant <[email protected]>
Description:
libfreeimage-dev - Support library for graphics image formats (development
files)
libfreeimage3 - Support library for graphics image formats (library)
libfreeimage3-dbg - Support library for graphics image formats (debugging
symbols)
libfreeimageplus-dev - C++ wrappers for FreeImage (development files)
libfreeimageplus-doc - C++ wrappers for FreeImage (documentation)
libfreeimageplus3 - C++ wrappers for freeimage (library)
libfreeimageplus3-dbg - C++ wrappers for FreeImage (debugging symbols)
Closes: 841089 845279
Changes:
freeimage (3.17.0+ds1-4) unstable; urgency=medium
.
[ Anton Gladky ]
* Fix CVE-number.
.
[ Ghislain Antony Vaillant ]
* Fix FTCBFS: use triplet-prefixed build tools.
Thanks to Helmut Grohne for the fix (Closes: #845279)
* Fix wrong file type detection for certain plugins.
Update Disable-vendored-dependencies.patch
Thanks to Boris Lesner for the fix (Closes: #841089)
Checksums-Sha1:
d963da8d138e2b52e7a782e9aac0420c5299181b 2707 freeimage_3.17.0+ds1-4.dsc
ced22c6566c022e8ae2f8f14f399592a5721b71f 23924
freeimage_3.17.0+ds1-4.debian.tar.xz
Checksums-Sha256:
4b9c9fd8de037917a6851c35f267403536d056712fb18fa794adffc9fa814b02 2707
freeimage_3.17.0+ds1-4.dsc
be26336004fcade2b04e09b194adcfd4789f98fa3587ad019dbe97236ed4aead 23924
freeimage_3.17.0+ds1-4.debian.tar.xz
Files:
55689dc51ad0e5ba241a3d58b5dd636d 2707 libs optional freeimage_3.17.0+ds1-4.dsc
014f65be7cd9454c041872092b494281 23924 libs optional
freeimage_3.17.0+ds1-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEu71F6oGKuG/2fnKF0+Fzg8+n/wYFAlhQZswACgkQ0+Fzg8+n
/wYjJQ//ZKUvE/SvjgHOAS3w1/EIddm7ZW02ZAY4QALbou+nC01Zk63OA0i25nak
qt5zo8ywrRGpgXzJgrg1ChkPAFnOUOUFLOxk2TnVWKz6KONSXGQv6MAa2tShSA+n
3Z0qUI20USdxswIaQVzrMrAs6Q1FRX5rEZj4CzGppn288kFZazGtE6Nb0p0bA1rq
irBMDn3K+A5CB95m42JDPiSW9aPQZTPavdfpkar+fb4QSU/MCFs8W5CMRjGnvwOc
yjm9/whtYXLQE3gA/XpU7Bpoh9fzNy4vWVS5JQq4lAA64uoWOHTFhsEGdSZEmIIS
N+9AbRD8Q58+Xmk3zNmHHOP5/wV+8B5AxVscxFFj+6+E30DDL0QYbVa/yva4VQgK
j3STyVP9EBpDXnIoXAc75VHNH4yJrvcjCTSCepTvreoPNe/uGIqPKKKiPWmB7Brv
taN6wcbBDyu2A7UogukeEsP7FN6SBeveK4uTOkvtFa3/e0H4qLDBs4YUwMRZxRas
yprRVpca4fUZDVN511l+DyT51H6YyEaBZiFLDjySno3ESLVxOdIZscJV6nZlKRxo
NIYAoQYqBO4YOoNGR5gVyG0YkBtyAFziyf1E+6WRX4AxtTV28I/XV38T4k1BnqqW
uHvduso5zToUucJwHmdtATjid7GBwGZ9McuhxUh4xaoFjY5iL0M=
=6ptL
-----END PGP SIGNATURE-----
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers