Control: reopen -1

On Fri, Jan 05, 2018 at 03:39:17AM +0000, Debian Bug Tracking System wrote:
>    * debian/patches/patches-freetype/freetype-config-multi-arch.patch:
>      - Remove the arch-dependent output of `freetype-config --libs`.
>        Closes: #871470, #870618.

Whatever you did here, it does not fix:

> 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.

I still get the following when libfreetype6-dev is installed for a
foreign architecture and pkg-config happens to be installed:

$ freetype-config --cflags
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
sed: -e expression #1, char 0: no previous regular expression

$

I don't get the errors when pkg-config is not installed. And I don't get
the errors when libfreetype6-dev is installed for the native
architecture.

Helmut

Reply via email to