Your message dated Sun, 15 Sep 2024 12:49:11 +0000
with message-id <e1spogh-00acgy...@fasolo.debian.org>
and subject line Bug#1081821: fixed in libimager-perl 1.024+dfsg-2
has caused the Debian Bug report #1081821,
regarding libimager-perl: FTBFS with freetype 2.13.3: implicit declaration of 
function 'FT_Has_PS_Glyph_Names'
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.)


-- 
1081821: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1081821
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: libimager-perl
Version: 1.024+dfsg-1
Severity: serious
Tags: patch

This package fails to build from source on current sid.

  
https://perl.debian.net/rebuild-logs/sid/libimager-perl_1.024+dfsg-1/libimager-perl_1.024+dfsg-1.buildlog

  
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/libimager-perl.html

   make[3]: Entering directory '/<<PKGBUILDDIR>>/FT2'
   cp FT2.pm ../blib/lib/Imager/Font/FT2.pm
   Running Mkbootstrap for FT2 ()
   chmod 644 "FT2.bs"
   "/usr/bin/perl" "/usr/share/perl/5.38.2/ExtUtils/xsubpp"  -typemap 
'/usr/share/perl/5.38/ExtUtils/typemap' -typemap '/<<PKGBUILDDIR>>/FT2/typemap' 
 FT2.xs > FT2.xsc
   mv FT2.xsc FT2.c
   x86_64-linux-gnu-gcc -c  -I.. -I/usr/include/freetype2 
-I/usr/include/libpng16  -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv 
-fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE 
-D_FILE_OFFSET_BITS=64 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-Wdate-time -D_FORTIFY_SOURCE=2   -DVERSION=\"1.000\" -DXS_VERSION=\"1.000\" 
-fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.38/CORE" -DOS_linux     freetyp2.c
   freetyp2.c: In function ‘i_ft2_glyph_name’:
   freetyp2.c:1142:25: error: implicit declaration of function 
‘FT_Has_PS_Glyph_Names’; did you mean ‘FT_Get_Glyph_Name’? 
[-Wimplicit-function-declaration]
    1142 |   if (reliable_only && !FT_Has_PS_Glyph_Names(handle->face)) {
         |                         ^~~~~~~~~~~~~~~~~~~~~
         |                         FT_Get_Glyph_Name
   make[3]: *** [Makefile:330: freetyp2.o] Error 1

AFAICS it regressed with freetype 2.13.3+dfsg-1, specifically upstream
commit

  
https://gitlab.freedesktop.org/freetype/freetype/-/commit/4a85db7e3181f23126af6c4473b245e48f6b1902

as <freetype/t1tables.h> is no longer pulled in by <freetype/ftmm.h>.

The attached patch makes the package build again for me.
-- 
Niko Tyni   nt...@debian.org
>From 771ef328dcc4adc169b11334a3a9d940db82d250 Mon Sep 17 00:00:00 2001
From: Niko Tyni <nt...@debian.org>
Date: Sun, 15 Sep 2024 09:03:46 +0100
Subject: [PATCH] include t1tables.h for FT_Has_PS_Glyph_Names

This is no longer pulled in by ftmm.h since FreeType 2.13.3
---
 FT2/freetyp2.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/FT2/freetyp2.c b/FT2/freetyp2.c
index 87d5e571..92011f38 100644
--- a/FT2/freetyp2.c
+++ b/FT2/freetyp2.c
@@ -47,6 +47,9 @@ Truetype, Type1 and Windows FNT.
 #include FT_MULTIPLE_MASTERS_H
 #endif
 #endif
+#ifdef FT_TYPE1_TABLES_H
+#include FT_TYPE1_TABLES_H
+#endif
 
 static void ft2_push_message(int code);
 
-- 
2.45.2


--- End Message ---
--- Begin Message ---
Source: libimager-perl
Source-Version: 1.024+dfsg-2
Done: gregor herrmann <gre...@debian.org>

We believe that the bug you reported is fixed in the latest version of
libimager-perl, 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 1081...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gre...@debian.org> (supplier of updated libimager-perl 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: Sun, 15 Sep 2024 14:36:01 +0200
Source: libimager-perl
Architecture: source
Version: 1.024+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: gregor herrmann <gre...@debian.org>
Closes: 1081821
Changes:
 libimager-perl (1.024+dfsg-2) unstable; urgency=medium
 .
   * Add patch from Niko Tyno for compatibility with FreeType 2.13.3.
     (Closes: #1081821)
   * debian/control: replace ancient homepage with MetaCPAN page.
Checksums-Sha1:
 810a26e77b54889600a315d7291170aeb30a5d3c 2659 libimager-perl_1.024+dfsg-2.dsc
 b48307168edae29f2e36f884847dbf516f312cf8 13100 
libimager-perl_1.024+dfsg-2.debian.tar.xz
Checksums-Sha256:
 59dc9994492fc6fb320149a9c4126a3a7c67edacd98f7c64d46c710d00839303 2659 
libimager-perl_1.024+dfsg-2.dsc
 465fc62c91085653bbd76afc9afb6d3db566b9c2b88962d031d64e1dd874c86a 13100 
libimager-perl_1.024+dfsg-2.debian.tar.xz
Files:
 8b7fd424a0b9ce286f7505a063dfb40c 2659 perl optional 
libimager-perl_1.024+dfsg-2.dsc
 ddb192df2d5fddccdc5734ac2028c4d3 13100 perl optional 
libimager-perl_1.024+dfsg-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmbm1X5fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgb1Tw/9FKKrh2Pp1czzdzhEVdkJtsPZM6Sr9REhcAWpZ9mg4eNYRTbMzrNcQ/B6
yMUc7Cn3JvHvjnSq/XXDfFgqqG/+S/VZsCzGqHMlb/zu8QTnFJ9/UK2b59bNc1xw
/GWG+wR92zab4kjNmQtzyuDOZAbsSJhkhY9rHE/lYmI86LdQmyMhGjErKtylLbyY
HiP0ptQA/92F3k2G0Y2f6t+AmyCWkoMnRL88uK1fA0lbuXQ3ijARWrBjV/lyl9HW
ibVJbFuVMMVoyn99Si4ao4Inee7tMdkXaQNZBV3DmzSjJJXIQlPIJBGo8AhXYUOg
u7wdxQcciiLTP4WNf0cPTrbdTr6Okx+eE3JUw0jGYZLWavgExXYzZtbDs88Zq4bl
BuHkEXrO2m/a3zmYKWZ3R8LuyEmTUVa7qLZBZYIO+sa286EVPDPjS10reOMtvte6
kEmUkNYCtECvree5PO+cilhZJH8I7rsVlc40rWDY8nFkgkKKSg/rgTn9dPMe6VAd
B7pul0PgLs0gBIHUjTHzODRQNIhBBGxzAVi7LH9XxLBvv+xjK07nceh43OQ+gQmh
AyGoDi7vuRinfJwk2B1Y1AkPDS91k8aVuK/Cj1xVTWzaMJC8acKG/MCwDASb+TYr
rxgTo5cjdG6hGHIaZJNYnTuUCIqzI5DzWCWHK+Fej1OZkoqaVeU=
=HqLg
-----END PGP SIGNATURE-----

Attachment: pgpDt3f6A6DxW.pgp
Description: PGP signature


--- End Message ---

Reply via email to