Bug#871470: marked as done (/usr/bin/freetype-config: broken when installed for a non-native architecture)
Your message dated Tue, 11 Sep 2018 12:00:11 + with message-id and subject line Bug#871470: fixed in freetype 2.9.1-1 has caused the Debian Bug report #871470, regarding /usr/bin/freetype-config: broken when installed for a non-native architecture 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 ow...@bugs.debian.org immediately.) -- 871470: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871470 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: libfreetype-dev Version: 2.8-0.2 File: /usr/bin/freetype-config Tags: patch Control: affects -1 + src:foobillardplus When libfreetype-dev is installed for a non-native architecture, it does not work at all. It issues calls to "pkg-config ... freetype2" and expects reasonable results as the same package contains freetype2.pc. That is not the case however as pkg-config does not necessarily search /usr/lib/$packagearch/pkgconfig. For it to search that directory, pkg-config must be qualified with the GNU triplet of the package architecture. The attached patch does just that. Please consider applying it. Helmut diff -u freetype-2.8/debian/changelog freetype-2.8/debian/changelog --- freetype-2.8/debian/changelog +++ freetype-2.8/debian/changelog @@ -1,3 +1,10 @@ +freetype (2.8-0.3) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Patch freetype-config to use arch-qualified pkg-config. (Closes: #-1) + + -- Helmut Grohne Tue, 08 Aug 2017 10:46:18 +0200 + freetype (2.8-0.2) unstable; urgency=medium * Non-maintainer upload. diff -u freetype-2.8/debian/rules freetype-2.8/debian/rules --- freetype-2.8/debian/rules +++ freetype-2.8/debian/rules @@ -3,9 +3,7 @@ # This is free software; see the GNU General Public Licence # version 2 or later for copying conditions. There is NO warranty. -DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) -DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) -DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) +include /usr/share/dpkg/architecture.mk ifneq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH)) export LIBPNG_CFLAGS = -I/usr/include/libpng12 @@ -96,6 +94,7 @@ $(CURDIR)/debian/$(demospkg)/usr/bin/ endif sed -i -e'/dependency_libs/s/'.*'//' debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libfreetype.la + sed -i -e's/pkg-config/$(DEB_HOST_GNU_TYPE)-&/' debian/tmp/usr/bin/freetype-config override_dh_install: dh_install --fail-missing --- End Message --- --- Begin Message --- Source: freetype Source-Version: 2.9.1-1 We believe that the bug you reported is fixed in the latest version of freetype, 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 871...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Hugh McMaster (supplier of updated freetype 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 ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Sat, 14 Jul 2018 18:57:54 +1000 Source: freetype Binary: libfreetype6 libfreetype6-dev freetype2-demos freetype2-doc libfreetype6-udeb Architecture: source amd64 all Version: 2.9.1-1 Distribution: experimental Urgency: medium Maintainer: Hugh McMaster Changed-By: Hugh McMaster Description: freetype2-demos - FreeType 2 demonstration programs freetype2-doc - FreeType 2 font engine, development documentation libfreetype6 - FreeType 2 font engine, shared library files libfreetype6-dev - FreeType 2 font engine, development files libfreetype6-udeb - FreeType 2 font engine for the debian-installer (udeb) Closes: 698192 871470 873432 886461 890450 898983 901052 Changes: freetype (2.9.1-1) experimental; urgency=medium . * New maintainer: Hugh McMaster - A big thank you to Steve Langasek for maintaining freetype over the past 12 years. * New upstream release (Closes: #901052): - Avoid dereferencing a NULL pointer (CVE-2018-6942) (Closes: #890450). - The `freetype-config' script is no longer installed by default (Closes: #871470, #886461). All packages depending on libfreetype6-dev should use pkg-config to find the relevant CFLAGS and libraries. - Fix unaligned access failures caused by 'mmvar' array pointers in the
Bug#871470: marked as done (/usr/bin/freetype-config: broken when installed for a non-native architecture)
Your message dated Fri, 05 Jan 2018 03:35:05 + with message-idand subject line Bug#871470: fixed in freetype 2.8.1-1 has caused the Debian Bug report #871470, regarding /usr/bin/freetype-config: broken when installed for a non-native architecture 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 ow...@bugs.debian.org immediately.) -- 871470: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=871470 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems --- Begin Message --- Package: libfreetype-dev Version: 2.8-0.2 File: /usr/bin/freetype-config Tags: patch Control: affects -1 + src:foobillardplus When libfreetype-dev is installed for a non-native architecture, it does not work at all. It issues calls to "pkg-config ... freetype2" and expects reasonable results as the same package contains freetype2.pc. That is not the case however as pkg-config does not necessarily search /usr/lib/$packagearch/pkgconfig. For it to search that directory, pkg-config must be qualified with the GNU triplet of the package architecture. The attached patch does just that. Please consider applying it. Helmut diff -u freetype-2.8/debian/changelog freetype-2.8/debian/changelog --- freetype-2.8/debian/changelog +++ freetype-2.8/debian/changelog @@ -1,3 +1,10 @@ +freetype (2.8-0.3) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Patch freetype-config to use arch-qualified pkg-config. (Closes: #-1) + + -- Helmut Grohne Tue, 08 Aug 2017 10:46:18 +0200 + freetype (2.8-0.2) unstable; urgency=medium * Non-maintainer upload. diff -u freetype-2.8/debian/rules freetype-2.8/debian/rules --- freetype-2.8/debian/rules +++ freetype-2.8/debian/rules @@ -3,9 +3,7 @@ # This is free software; see the GNU General Public Licence # version 2 or later for copying conditions. There is NO warranty. -DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) -DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH) -DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) +include /usr/share/dpkg/architecture.mk ifneq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH)) export LIBPNG_CFLAGS = -I/usr/include/libpng12 @@ -96,6 +94,7 @@ $(CURDIR)/debian/$(demospkg)/usr/bin/ endif sed -i -e'/dependency_libs/s/'.*'//' debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/libfreetype.la + sed -i -e's/pkg-config/$(DEB_HOST_GNU_TYPE)-&/' debian/tmp/usr/bin/freetype-config override_dh_install: dh_install --fail-missing --- End Message --- --- Begin Message --- Source: freetype Source-Version: 2.8.1-1 We believe that the bug you reported is fixed in the latest version of freetype, 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 871...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Steve Langasek (supplier of updated freetype 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 ftpmas...@ftp-master.debian.org) -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Format: 1.8 Date: Fri, 05 Jan 2018 00:42:36 + Source: freetype Binary: libfreetype6 libfreetype6-dev freetype2-demos libfreetype6-udeb Architecture: source amd64 Version: 2.8.1-1 Distribution: unstable Urgency: medium Maintainer: Steve Langasek Changed-By: Steve Langasek Description: freetype2-demos - FreeType 2 demonstration programs libfreetype6 - FreeType 2 font engine, shared library files libfreetype6-dev - FreeType 2 font engine, development files libfreetype6-udeb - FreeType 2 font engine for the debian-installer (udeb) Closes: 642354 857439 863623 870618 871470 883698 885324 Changes: freetype (2.8.1-1) unstable; urgency=medium . * Acknowledge NMUs; thanks to Laurent for the uploads. Closes: #857439, #863623. * debian/control: - Add pkg-config to the Build-Depends list (Closes: #885324). - Mark libfreetype6-dev Multi-Arch: same (Closes: #642354). - Remove the deprecated Priority: extra field from libfreetype6-udeb. * debian/patches/patches-*: Refresh existing patches. * debian/patches/patches-freetype/freetype-config-multi-arch.patch: - Remove the arch-dependent output of `freetype-config --libs`. Closes: