Your message dated Thu, 02 Jan 2020 07:34:28 +0000
with message-id <[email protected]>
and subject line Bug#923765: fixed in libotf 0.9.13-6
has caused the Debian Bug report #923765,
regarding libotf FTCBFS: uses the wrong 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.)
--
923765: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923765
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libotf
Version: 0.9.13-4
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap
libotf regressed cross building. It recently gained an invocation of the
wrong pkg-config. The attached patch fixes that using the
PKG_CHECK_MODULES macro. It automatically substitutes _CFLAGS and _LIBS
variables, so I renamed them in the build system. Furthermore,
PKG_CHECK_MODULES must not be used in an if (but can be used in AS_IF),
because it uses AC_REQUIRE. Please consider applying the patch.
Helmut
--- libotf-0.9.13.orig/configure.ac
+++ libotf-0.9.13/configure.ac
@@ -50,25 +50,22 @@
# Check for Freetype2 usability.
AC_CHECK_PROG(HAVE_PKG_CONFIG, pkg-config, yes)
-if test "x$HAVE_PKG_CONFIG" = "xyes"; then
- FREETYPE_INC=`pkg-config freetype2 --cflags`
- CPPFLAGS="$CPPFLAGS $FREETYPE_INC"
+AS_IF([test "x$HAVE_PKG_CONFIG" = "xyes"],[
+ PKG_CHECK_MODULES([FREETYPE],[freetype2],[],[HAVE_FREETYPE=no])
+ CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
AC_CHECK_HEADER(ft2build.h, HAVE_FREETYPE=yes,
HAVE_FREETYPE=no CPPFLAGS=$save_CPPFLAGS)
if test "x$HAVE_FREETYPE" = "xyes" ; then
- FREETYPE_LD_FLAGS=`pkg-config freetype2 --libs`;
- LIBS="$LIBS $FREETYPE_LD_FLAGS"
+ LIBS="$LIBS $FREETYPE_LIBS"
AC_CHECK_LIB(freetype, FT_Init_FreeType, HAVE_FREETYPE=yes,
HAVE_FREETYPE=no)
fi
-fi
+])
if test "x$HAVE_FREETYPE" != "xyes" ; then
echo "Freetype library wan't found in your system!"
exit 1
fi
-AC_SUBST(FREETYPE_INC)
-AC_SUBST(FREETYPE_LD_FLAGS)
if test "x$no_x" != "xyes"; then
X11_XT_XAW_XMU="-lX11 -lXt -lXaw -lXmu"
--- libotf-0.9.13.orig/libotf.pc.in
+++ libotf-0.9.13/libotf.pc.in
@@ -7,5 +7,5 @@
Description: OpenType font library
Version: @PACKAGE_VERSION@
Requires: freetype2
-Libs: @FREETYPE_LD_FLAGS@ -L${libdir} -lotf
-Cflags: @FREETYPE_INC@ -I${includedir}
+Libs: @FREETYPE_LIBS@ -L${libdir} -lotf
+Cflags: @FREETYPE_CFLAGS@ -I${includedir}
--- End Message ---
--- Begin Message ---
Source: libotf
Source-Version: 0.9.13-6
We believe that the bug you reported is fixed in the latest version of
libotf, 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.
Harshula Jayasuriya <[email protected]> (supplier of updated libotf 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: Thu, 02 Jan 2020 02:55:19 +1100
Source: libotf
Binary: libotf-bin libotf-bin-dbgsym libotf-dev libotf0 libotf0-dbgsym
Architecture: source amd64
Version: 0.9.13-6
Distribution: unstable
Urgency: medium
Maintainer: Harshula Jayasuriya <[email protected]>
Changed-By: Harshula Jayasuriya <[email protected]>
Description:
libotf-bin - Library for handling OpenType Font - utilities
libotf-dev - Library for handling OpenType Font - development
libotf0 - Library for handling OpenType Font - runtime
Closes: 923765
Changes:
libotf (0.9.13-6) unstable; urgency=medium
.
* Fix cross building regression by applying the patch from Hilko Bengen
in #892333: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=892333#26.
Refer to https://autotools.io/pkgconfig/pkg_check_modules.html
(Closes: #923765)
* Fix pkg-config-references-unknown-shared-library by not adding flags for
required packages to the pc file.
Checksums-Sha1:
41bb307589079d857d8e9ba402b06c8bc429071c 2067 libotf_0.9.13-6.dsc
4595ce8ea58f70fd1701cbf0f400744117ca0613 5660 libotf_0.9.13-6.debian.tar.xz
ecd53772ad4d572cb61b5de179698078dfe27017 96616
libotf-bin-dbgsym_0.9.13-6_amd64.deb
6f6cc8c4731ca8796d07c56fe92c0ca8a6f5e30a 44000 libotf-bin_0.9.13-6_amd64.deb
1e676a87b6c9c18c592c87d76fcf7b97b6c9bf7f 59952 libotf-dev_0.9.13-6_amd64.deb
369a76a6470d174c06b5feac3edbab6879b78d0f 105316
libotf0-dbgsym_0.9.13-6_amd64.deb
52f703f7c9c90d50e965e3932dbdb3ac5190d071 53680 libotf0_0.9.13-6_amd64.deb
9fd3d2c6c59ab015f0b43d16f375258cfde2a59a 7472 libotf_0.9.13-6_amd64.buildinfo
Checksums-Sha256:
35b160d38e56f04261597457a0f014db8b93c9770f9f6a5157e7391b3165379d 2067
libotf_0.9.13-6.dsc
aae1e67decb09e0c8d0c367d1141a04458d63b8a96ccc605847a6348f25e4ff0 5660
libotf_0.9.13-6.debian.tar.xz
dd87a235b5b9456a53f328d816647263c21396a7eff0eb9869627c4db9797d40 96616
libotf-bin-dbgsym_0.9.13-6_amd64.deb
3a0b1cc0552f3f2a7f8a685cccde8175c2ff0d68882046e91226dcc1bd516fa8 44000
libotf-bin_0.9.13-6_amd64.deb
efc1e7889069d54d6d6ec42b91a8a2b818c7b51c83cbb53b2afb98266d271355 59952
libotf-dev_0.9.13-6_amd64.deb
a68ae790d82a304b30401dba383a21976f26d7158e139466f3aacceed3ec067c 105316
libotf0-dbgsym_0.9.13-6_amd64.deb
0f913fa2ff0f463e12ffa8c701c0184968837138b6743b411fbd61ddbcb9eded 53680
libotf0_0.9.13-6_amd64.deb
f7674dec381e669a6f038206fc1ead2cbf07058ab46788462b8af508a1282e76 7472
libotf_0.9.13-6_amd64.buildinfo
Files:
dd77896702b4155c74d276ace3452490 2067 libs optional libotf_0.9.13-6.dsc
f1cee412b9108b8bbd89e26ceaa27b6d 5660 libs optional
libotf_0.9.13-6.debian.tar.xz
e58d341e98c15cf9425ab71b66f48ec4 96616 debug optional
libotf-bin-dbgsym_0.9.13-6_amd64.deb
98f82565e4246951906720f1d5a53610 44000 utils optional
libotf-bin_0.9.13-6_amd64.deb
d7b312e6de67e6343b0c9512f3ff6413 59952 libdevel optional
libotf-dev_0.9.13-6_amd64.deb
af56e8b0eed727625a9e0dda9c6da831 105316 debug optional
libotf0-dbgsym_0.9.13-6_amd64.deb
02f10662ecdc30d5546295f6766fbbb4 53680 libs optional libotf0_0.9.13-6_amd64.deb
5c33fe6a989bfc28bbe0c5575e139e36 7472 libs optional
libotf_0.9.13-6_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJIBAEBCAAyFiEEtt//Ku7jFrAw8rTRjVXIDTQw0QAFAl4Nkd8UHGhhcnNodWxh
QGRlYmlhbi5vcmcACgkQjVXIDTQw0QCytA/+OQjKHsKpBHga4f9t9uxtDIfP8COW
MdflB9NVVf7Bz//nqCQJlok8dM0HHrjq677UD8ZYY0qqoylNUK+63D+zfO3nzuGW
WkapQ5cPten3b72YyqrHXXIdRhDaKW5KZww4TEPAQ1p+FdsTIaJ0Q+yw4WSvE9tW
2+5UfbIlEr1xozmTHFG64gRBPsvhyIvfHQ+b+YQQO9MlkuDd8mzdjOjTmYb6zNjj
BkPsHaOwalrIKmAkYypYCjxK9YZHJW5z5Jpwk3+0qYJo9y5tSAEpqa7CMdysyvyC
tdQaqpCUJ6Rz4bP1DLkw7X6EzkmYDayK+wQBzMo5hy3pugXuUE8cv4MoNHQt5S9h
xmzQrmLxuMKjOpqNOqgb9H7UAxUQeaRheGFcGcxK4F02yqKuryaFWGBYVkzwgGEX
qeNKyuPa4WDiGAAuwGexmoOscBnhDzJyAau2K2es7cLgwCQAJ7shjlX4+uGShWEw
0VyFXLvVRcc34+5iFzS05xkcJPdXGKkaZPG5cuFwJ/6gw1mVAOKb56LCPxt+2SBK
WkIC+7AAWAXRLVFcImirVy+tahiB4vpyNhtjai6lLXrFKtsUSn3Yn4pzZ7iCIok6
dwhgNrwGirnCRJGkn9rLCyRatpx/WOKWjZRWP4M/kqCFZZHJG1DhWb/tAGl9By4t
yQdutOSJF6DBdPA=
=VMpI
-----END PGP SIGNATURE-----
--- End Message ---