#1095130 fonts-freefont: please reconsider the python3-pkg-resources build-dependency

#1095130#5
Date:
2025-02-04 06:45:56 UTC
From:
To:
Dear Maintainer,

It feels like adding a build-dep for python3-pkg-resources here
looks like a quick workaround to a bug in fontforge
back then around 2023-01-17.

Please retry the build without this dependency.

Greetings

Alexandre

#1095130#10
Date:
2025-02-04 07:34:17 UTC
From:
To:
Hi Alexandre,

Am Dienstag, dem 04.02.2025 um 07:45 +0100 schrieb Alexandre Detiste:
the build with the most current fontforge package:

```
Core python package 'pkg_resources' not found: Cannot discover plugins
```

This sounded severe enough to me to justify the Build-Depends.

Cheers,

 - Fabian

#1095130#15
Date:
2025-02-04 13:56:53 UTC
From:
To:
Am Dienstag, dem 04.02.2025 um 07:45 +0100 schrieb Alexandre Detiste:

That bug, should it be one, is still present in fontforge today:

https://github.com/fontforge/fontforge/blob/2e5bbdc933e125332ee0cdc6d74dabf1f90bb0f4/fontforge/plugin.c#L288

 - Fabian

#1095130#20
Date:
2025-02-04 18:17:13 UTC
From:
To:
Hi,

Indeed, python3-fontforge most likely need a runtime dependency on
python3-pkg-resources.

I m not trying to cast BTS spells from the phone to clone the bug etc...
it's more important to get a proper understanding.

Maybe the Python Team could chime in with more insights ?

Greetings

Alexandre

Le mar. 4 févr. 2025, 14:56, Fabian Greffrath <fabian@greffrath.com> a
écrit :

#1095130#25
Date:
2025-09-17 11:18:49 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
fonts-freefont, 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 1095130@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated fonts-freefont 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 17 Sep 2025 12:42:09 +0200
Source: fonts-freefont
Architecture: source
Version: 20211204+svn4273-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1095130
Changes:
 fonts-freefont (20211204+svn4273-3) unstable; urgency=medium
 .
   * Team upload.
   * Remove python3-pkg-resources from Build-Depends-Indep. (Closes: #1095130)
   * Bump Standards-Version to 4.7.2.
   * Drop "Rules-Requires-Root: no": this is now the default
Checksums-Sha1:
 deddcb15c4d3d0ee1ce649e429167a63432b9b22 2334 fonts-freefont_20211204+svn4273-3.dsc
 423ee1bf3a19f7578bd287e3cc89e797da73c32d 11932 fonts-freefont_20211204+svn4273-3.debian.tar.xz
 ca264dc2787d5ecf3b8a29c91ddb9866ea0ceb31 5949 fonts-freefont_20211204+svn4273-3_source.buildinfo
Checksums-Sha256:
 f055d498e522ee56575d0fe85d2f315e70414c90faabb386d69fe4aee6638cdf 2334 fonts-freefont_20211204+svn4273-3.dsc
 6b4e6f09e70dd8d9046ffaaa2e8a5a739a47b24afcd9162a00ccad8347dcec4f 11932 fonts-freefont_20211204+svn4273-3.debian.tar.xz
 a2c11937d26a28be235fc753c2b85b6fea1b69ccbaa9734b98aa4fe56db2c0fd 5949 fonts-freefont_20211204+svn4273-3_source.buildinfo
Files:
 46005896a8d71f17f5674facadf9f547 2334 fonts optional fonts-freefont_20211204+svn4273-3.dsc
 c453cc72f72d106e82759ebaca90991d 11932 fonts optional fonts-freefont_20211204+svn4273-3.debian.tar.xz
 43db7b487aa95601a46e87921e5a913c 5949 fonts optional fonts-freefont_20211204+svn4273-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmjKlasRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBpYjA//forzFgVi6cf97xbzd8msx6Carv+DIuVX
yqdeUvcYW3QBUgkhXLyLe3ABWPya+u9DIgJWeoYOWUiXxbZVnnKG2eY5mTmTYigc
a0/hqm4i536FCeqDWlGPrAfYsNgnm2zOtihQeGyNVtpKS45oAmapPrrJH956ZM2F
EnX/UuLbjPU9ylLXkA4ZgMP6kA2jWZjJGtgIzzUrZbhlTgA22UNGej8cWyGow9zh
wY0wrx01B/MbPSH7TVWtXyoLaIFnNEQ41V9kp70ffj3Z9oNR6txZa/BrPrt7uQzc
YMTOs5dl6NGIr23u+pnfgKBib6am6zK1UF2RXa+8+4nNPeQQmIpYIIF/OjuyVi3S
sJlIxad9i4+zxZvul4SkI6DYKxdCjztoep9Olxz/bP4Ng5qJE+d1ZmYc9M809Uma
fATVO//VxH9wiTf8vv1j/uKPecmH5nhPYST1mI+5DKS1bUMGEe/0rTWufx4XL6nh
EHsfe5kFFvOOysLbBaplhyqDQ+8wZ1dMrAN1n9bRzMgVsschs9eJuQ/WYGtsSTyp
lYuOdEXriuaE0ZV4gKnCoIPV+6NP+pna4gzHBiKyqbvZ59WQuD+fKQtO/vgkm3/u
j7HzCrpELksJOnckZY0oRPu6DUaZ3q+cgxsELI76BcnfeStN4mwpwA39Ajbj7Rlx
L64wLAlBvNk=
=w7oK
-----END PGP SIGNATURE-----

#1095130#30
Date:
2025-09-17 11:31:37 UTC
From:
To:
Am 2025-09-17 13:21, schrieb Debian Bug Tracking System:

Has fontforge been fixed not to rely on python3-pkg-resources anymore?

  - Fabian

#1095130#35
Date:
2025-09-17 11:43:19 UTC
From:
To:
Le mer. 17 sept. 2025 à 13:40, Fabian Greffrath <fabian@greffrath.com> a écrit :
#1095130#40
Date:
2025-09-17 11:43:29 UTC
From:
To:
Le mer. 17 sept. 2025 à 13:40, Fabian Greffrath <fabian@greffrath.com> a écrit :
#1095130#45
Date:
2025-09-17 11:45:54 UTC
From:
To:
It seems fixed now,
(and should had always been an implementation detail of fontforge)

https://salsa.debian.org/fonts-team/fonts-freefont/-/pipelines/939083

I have seen with other python packages that a no-change rebuild
with newer setuptools is all what is needed to not need
python3-pkg-resources anymore

Which is what I mostly did (an happy accident)

https://tracker.debian.org/news/1663247/accepted-fontforge-120230101dfsg-5-source-into-unstable/

Greetings

Le mer. 17 sept. 2025 à 13:40, Fabian Greffrath <fabian@greffrath.com> a écrit :

#1095130#50
Date:
2025-09-17 11:53:56 UTC
From:
To:
https://salsa.debian.org/fonts-team/fonts-freefont/-/jobs/8304232

The warning "Core python package 'pkg_resources' not found: Cannot
discover plugins" is still scattered all over the place.

  - Fabian

#1095130#55
Date:
2025-09-17 12:08:24 UTC
From:
To:
control: reopen -1
thanks

Oh that's really bad !

Let's fix fontforge now and rebuild this against
 fontforge (>> 1:20230101~dfsg-6~)
later today.

Thanks for checking

Le mer. 17 sept. 2025 à 13:53, Fabian Greffrath <fabian@greffrath.com> a écrit :

#1095130#64
Date:
2025-09-17 12:16:59 UTC
From:
To:
This dependency should really be in fontforge itself
because it might affects somehow all these other fonts.

In  libfontforge4 precisely.

$ strings /usr/lib/x86_64-linux-gnu/libfontforge.so.4 | grep pkg_r
pkg_resources
Core python package 'pkg_resources' not found: Cannot discover plugins


$ reverse-depends -b fontforge -l
3270font
dkg-handwriting
fonts-agave
fonts-arabeyes
fonts-arphic-bkai00mp
fonts-arphic-bsmi00lp
fonts-arundina
fonts-atarist
fonts-breip
fonts-century-catalogue
fonts-chomsky
fonts-creep2
fonts-dejavu
fonts-ebgaramond
fonts-ebgaramond-initials
fonts-engadget
fonts-f500
fonts-freefont
fonts-georgewilliams
fonts-isabella
fonts-kacst-one
fonts-kalapi
fonts-karmilla
fonts-levien-museum
fonts-levien-typoscript
fonts-liberation
fonts-liberation-sans-narrow
fonts-linuxlibertine
fonts-lklug-sinhala
fonts-lohit-mlym
fonts-monapo
fonts-ocr-b
fonts-okolaks
fonts-oldstandard
fonts-osifont
fonts-play
fonts-prociono
fonts-rufscript
fonts-staypuft
fonts-tibetan-machine
fonts-tlwg
fonts-tuffy
fonts-unfonts-core
fonts-unfonts-extra
latex-cjk-chinese-arphic
libreoffice
lilypond
mftrace
reform-branding
scalable-cyrfonts
sjfonts
triod-postnaja
tvtime
unifont
xfonts-terminus
xfonts-traditional


Le mer. 17 sept. 2025 à 14:08, Alexandre Detiste
<alexandre.detiste@gmail.com> a écrit :

#1095130#69
Date:
2025-09-17 12:34:07 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
fontforge, 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 1095130@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated fontforge 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 17 Sep 2025 14:03:47 +0200
Source: fontforge
Architecture: source
Version: 1:20230101~dfsg-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Fonts Task Force <debian-fonts@lists.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1095130
Changes:
 fontforge (1:20230101~dfsg-6) unstable; urgency=medium
 .
   * Team upload.
   * python3-fontforge needs a runtime dependency on python3-pkg-resources
     to work properly (Closes: #1095130)
Checksums-Sha1:
 456e3e9eababb11328fb847c30969010dc81ad75 2964 fontforge_20230101~dfsg-6.dsc
 c1553bada787b07867785e08290ac3ff149a728c 123012 fontforge_20230101~dfsg-6.debian.tar.xz
 d3d30c07f2fb716e88ad26b74e375081cb4313c3 16239 fontforge_20230101~dfsg-6_source.buildinfo
Checksums-Sha256:
 9b4c66289420153d58bfde6fba3011ee1bdefa34b35e81ed056a73928497fe31 2964 fontforge_20230101~dfsg-6.dsc
 f21e75bbac5178a3b35c019359abaeda9b59b88b5a7817cdd6d5a72a6ca00014 123012 fontforge_20230101~dfsg-6.debian.tar.xz
 e788d496464bfa7f467beeb020b59bd46529721a3d4a266a2f8922cd1715b0d0 16239 fontforge_20230101~dfsg-6_source.buildinfo
Files:
 a3c32dac8386d6e960df55e36439e456 2964 fonts optional fontforge_20230101~dfsg-6.dsc
 a5f1c707403333d66c9409b628ddea61 123012 fonts optional fontforge_20230101~dfsg-6.debian.tar.xz
 59c740352f034ca2580b66b29713efdb 16239 fonts optional fontforge_20230101~dfsg-6_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmjKpCcRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBrr9RAAh6a1THZW4OjqyrkTHWUMSkQ3KPsgzyBC
V1sKE2mMrab0jBZE0oRmBHHxQzrHmin39ukHAIOdGocLZKk/tCk42FcNMhirvH/d
bpHnggT7JzAJ8G7jMiCnQV8c4Me47eWBNX14rZZBKnhW+np3xZJv7AASeGjThvRN
PvNoFCdMvHFy25adQEgprDISqNh4h+k6bKBn3V1Rw1AVTd0/P1cYrw/e5XKcv3oF
565xTg5ncxN9bbittaJkliSurn1y66WVFEQGb4Fdiflt/roOxFfE5Et5EwVhFDru
SeKKlqGR4IsHFnQjoRQ39+nNpOWLUvRO+w5JO5RN9pAPOf4/2304+7IvjWKUx4g8
KGox5APrfw8/OyF8b/qQkuFxfL35zRB+CQmpb7ulGWZXNJoUbaHDK9TnZCLsk9ed
jszCKlBkQAm36X7Y5J9Dji5G493AJk1LRH7n+oCheNJ5va9nuhJmVPFrfYG4p6d2
Osud0loNWIH1XV7s1nD7qsppsJ9xRIOUvECUA2lQWo6BUvYEwVq2yVH9NTD656l9
XYDMwYlhYTsETWEATAu79Rga/donr3eUHA8Z4UxXHW3FjXCwqPTNMHvarxESm/q/
PN2X4O4q2rTCHpp1Jua6P9mZJvvpPg44FpInXusdlWhlhPNXKdByLMPPZfpxYgCc
YbdJ9kCfM0c=
=Yjs2
-----END PGP SIGNATURE-----

#1095130#78
Date:
2025-09-17 17:05:00 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
fonts-freefont, 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 1095130@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated fonts-freefont 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 17 Sep 2025 18:43:12 +0200
Source: fonts-freefont
Architecture: source
Version: 20211204+svn4273-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1095130
Changes:
 fonts-freefont (20211204+svn4273-4) unstable; urgency=medium
 .
   * Team upload.
   * Rebuild against fixed fontforge that depends on python3-pkg-resources
     (Closes: #1095130)
Checksums-Sha1:
 ac50c5a3617cb9d114859955899700a79b7019ed 2382 fonts-freefont_20211204+svn4273-4.dsc
 af637e0a0c1ad396a707aee15351ceede9680cab 11992 fonts-freefont_20211204+svn4273-4.debian.tar.xz
 9e69187ff9fa19840d755e9f13c8913393fd51b4 5949 fonts-freefont_20211204+svn4273-4_source.buildinfo
Checksums-Sha256:
 e1ea91e42169e62eb8638d2caa2ef3369c6d9ea5cc9fbbfe9e18770486873eb6 2382 fonts-freefont_20211204+svn4273-4.dsc
 5b5cf924db3fcb32042d527e10f0ca91c890cfadd68b1f81c1eb606993c773e2 11992 fonts-freefont_20211204+svn4273-4.debian.tar.xz
 9ce24de48855787de13edaa29709237e72264b46b9f76ab9653fc9439c809207 5949 fonts-freefont_20211204+svn4273-4_source.buildinfo
Files:
 9de14a4a595a210e72908c208699e23f 2382 fonts optional fonts-freefont_20211204+svn4273-4.dsc
 1dab7ba62785c482980706cc34e6e277 11992 fonts optional fonts-freefont_20211204+svn4273-4.debian.tar.xz
 5c99c980cf3cdf52238398fe21200095 5949 fonts optional fonts-freefont_20211204+svn4273-4_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmjK5WARHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBpfihAAqdQahOc71hNhytEyWf/aKeOiC8rjGJgK
9mEugfH6GG3LyWkzSmi8/wd5D1zS2UNFz7WxDP1LydHsCfptg+zLTXKqqQrfu5do
ejcOKC1n3mkTqpMdv4HCv4tirvv4oI0p+P8h7lTA7JF5XSjbukyiRuMkhHdjS+nG
diQN2B9z5HkrRtYAUOX87rDmeBt1Zmsfyhs0pI9BOLM9Syqmj0GHy+hyiXRNM59k
645v2TyV2ZDO700fRQ6j/U0doH+UzJd5TroZccC/wbkbah4UmMwOCCmsCK9jb1+T
62Xiv3xvnyqPzrVJZSUk2BUI8TG4woNOyeTxsc4UBWfHY2Z0CufrbNVzCcMiDvm6
R/iDU8EgFiy7KWMmoFzihNM0LPHNE4/0Rg8recl37yl2Tx/n4k1lZgEQxFqmAzBH
Qy6pCrqjHxPYBXPtWIu/mvxVdhq43eKxshwnMZn6z8Sx7X0oc+1zPMwxDTtPuRFA
BlLHd3RXSVpVishuRERf9PQTUjLZGP4J44RE7hM8WdQar/czqIlyO6m/aiQ5CcJ7
NwCyOSXhOV8apoL+Bnrmd7b4wLm6mm/QH+zboNZ9AbXdmY7dpogx9bdonko5BFlZ
ZTb4OYuBEqSNefV0WGWZ1xXVeypNbqSMuHcR5K+M6uBC6WMroByd7HN3YkuZXk/L
W81zGPsymt0=
=yvxO
-----END PGP SIGNATURE-----