--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: fontforge FTCBFS: unsatisfiable Build-Depends
- From: Helmut Grohne <helmut@subdivi.de>
- Date: Wed, 23 Dec 2020 10:25:17 +0100
- Message-id: <X+MM/bR1NqLm92On@alf.mars>
Source: fontforge
Version: 1:20201107~dfsg-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: cross-satisfiability
fontforge cannot be cross built from source, because its Build-Depends
are not cross-satisfiable. Before looking into this problem in detail, I
observe that even though fontforge builds architecture-independent
packages, it does not have any Build-Depends-Indep. Indeed, it turns out
that a number of Build-Depends can quite simply be demoted to
Build-Depends-Indep if one skips building the documentation during an
arch-only build. Given that fontforge is reproducible, one can verify
that this change does not affect the resulting binary packages. Please
consider applying the attached patch. I don't think fontforge will
become cross buildable, but it'll be a significant step in that
direction. Please close this bug when moving dependencies from
Build-Depends to Build-Depends-Indep.
Surprisingly enough, my patch also moves uthash-dev and libxt-dev. This
suggests that these dependencies are no longer necessary at all. Please
also check whether you still need these at all.
Helmut
diff --minimal -Nru fontforge-20201107~dfsg/debian/changelog fontforge-20201107~dfsg/debian/changelog
--- fontforge-20201107~dfsg/debian/changelog 2020-11-25 02:21:25.000000000 +0100
+++ fontforge-20201107~dfsg/debian/changelog 2020-12-22 20:42:19.000000000 +0100
@@ -1,3 +1,10 @@
+fontforge (1:20201107~dfsg-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Reduce Build-Depends via Build-Depends-Indep. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Tue, 22 Dec 2020 20:42:19 +0100
+
fontforge (1:20201107~dfsg-2) unstable; urgency=medium
* debian/libfontforge4.install: Fix incorrect path. For example, on i386,
diff --minimal -Nru fontforge-20201107~dfsg/debian/control fontforge-20201107~dfsg/debian/control
--- fontforge-20201107~dfsg/debian/control 2020-11-25 02:21:25.000000000 +0100
+++ fontforge-20201107~dfsg/debian/control 2020-12-22 20:42:19.000000000 +0100
@@ -15,9 +15,7 @@
cmake,
debhelper-compat (= 13),
dh-sequence-python3,
- dh-sequence-sphinxdoc <!nodoc>,
shared-mime-info,
- desktop-file-utils,
libreadline-dev,
libcairo2-dev,
libfreetype-dev,
@@ -29,17 +27,20 @@
libtiff5-dev,
libuninameslist-dev,
libxml2-dev,
- libxt-dev,
libglib2.0-dev,
ninja-build,
python3,
python3-dev,
- uthash-dev,
- potrace,
libwoff-dev,
libgtk-3-dev,
- python3-sphinx,
pkg-kde-tools
+Build-Depends-Indep:
+ dh-sequence-sphinxdoc <!nodoc>,
+ desktop-file-utils,
+ libxt-dev,
+ uthash-dev,
+ potrace,
+ python3-sphinx,
Standards-Version: 4.5.0
Homepage: https://fontforge.github.io/en-US/
Vcs-Git: https://salsa.debian.org/fonts-team/fontforge.git
diff --minimal -Nru fontforge-20201107~dfsg/debian/rules fontforge-20201107~dfsg/debian/rules
--- fontforge-20201107~dfsg/debian/rules 2020-11-23 08:54:36.000000000 +0100
+++ fontforge-20201107~dfsg/debian/rules 2020-12-22 20:42:19.000000000 +0100
@@ -24,9 +24,9 @@
-DENABLE_DEBUG_RAW_POINTS=ON \
-DENABLE_FONTFORGE_EXTRAS=ON
-ifneq (,$(filter nodoc,$(DEB_BUILD_OPTIONS)))
+ifneq (_fontforge-doc,$(filter nodoc,$(DEB_BUILD_OPTIONS))_$(filter fontforge-doc,$(shell dh_listpackages)))
DEB_CONFIGURE_EXTRA_FLAGS += -DENABLE_DOCS=OFF
endif
override_dh_auto_configure:
dh_auto_configure --builddirectory=build/nox -- \
--- End Message ---
--- Begin Message ---
Source: fontforge
Source-Version: 1:20201107~dfsg-3
Done: Anthony Fok <foka@debian.org>
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 977954@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Anthony Fok <foka@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)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 15 Jan 2021 00:41:32 -0700
Source: fontforge
Architecture: source
Version: 1:20201107~dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Fonts Task Force <debian-fonts@lists.debian.org>
Changed-By: Anthony Fok <foka@debian.org>
Closes: 877795 976736 977954
Changes:
fontforge (1:20201107~dfsg-3) unstable; urgency=medium
.
[ Helmut Grohne ]
* Reduce Build-Depends via Build-Depends-Indep. (Closes: #977954)
.
[ Anthony Fok ]
* debian/control:
- Remove uthash-dev and libxt-dev from build-dependency as they are not
used any more by the build. Thanks to Helmut Grohne for the suggestion.
- Specify that fontforge "Provides: fontforge-nox" (Closes: #976736)
- debian/control: Remove "XS-Python-Version: all" which was for Python 2
- Bump Standards-Version to 4.5.1 (no change)
* Define PATH_MAX and MAXPATHLEN to fix FTBFS on GNU/Hurd.
See debian/patches/0004-hurd-compatibility.patch (Closes: #877795)
* 2003_avoid_privacy_breach.patch: Fix "more than 2 sections in header"
error as reported by "cme fix dpkg"
* debian/fontforge*.install: Sort lines in alphabetical order, by
"cme fix dpkg"
Checksums-Sha1:
b3071c4acb6805e793f85cef6723d443d5c23273 2992 fontforge_20201107~dfsg-3.dsc
abc957a887a5020352cd9259426025bafff5a275 50196 fontforge_20201107~dfsg-3.debian.tar.xz
f6ad8c13237612a826c3e5b7916580341e845a6e 19350 fontforge_20201107~dfsg-3_amd64.buildinfo
Checksums-Sha256:
83ac0ffa1639ba7232303a676ba438c8cb4064ed88fe47e42075025033238d88 2992 fontforge_20201107~dfsg-3.dsc
cc66ece900ba6f162e7f64cbadf1ddd122b2222da425f0087f258ef6060e1d14 50196 fontforge_20201107~dfsg-3.debian.tar.xz
93873488dfb382d24ebe1d6dd1fa69720ddeff795d4913e7899c8cf46c4c4ced 19350 fontforge_20201107~dfsg-3_amd64.buildinfo
Files:
99d2db63258c343490d0c8418417eb61 2992 fonts optional fontforge_20201107~dfsg-3.dsc
226947eb3038ad463d695a9e2770f8a5 50196 fonts optional fontforge_20201107~dfsg-3.debian.tar.xz
4c38443f46d59e01d36f98024fd16fd7 19350 fonts optional fontforge_20201107~dfsg-3_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJEBAEBCAAuFiEEFCQhsZrUqVmW+VBy6iUAtBLFms8FAmABSvsQHGZva2FAZGVi
aWFuLm9yZwAKCRDqJQC0EsWaz6q4D/9NfIuH6P8r6y487cNQe8Bg2nlud8hHIsXs
Uu3Iun6+EJX/eXvxPe9Et2y+RIZpkLKdDv9eiOlrtbtnNqesVn2KMeuoogosB65n
6kLew+9FEyGc3+mVrPq1gZg+gc0FlrtzBWttCin0P+BcqqwqgRcD4J6BuOwoPNx4
716hyzxqlwV8xE+5hQRs6NLbIN4QKK3jHpxy3qa+rZc4jciDlPBq1DopV9Cf92t5
g4NULZ2YXJf2hrTyCDacaXE3YCL3tvGSAI2HyLQzm36gbFbxmtIQdwmb08NPEPOT
H/4vU5LltignHsOCs7h7Egz8dXRpWoJ3SQ0qDREMwoEMRVOESPG8qUsQOZM45eE0
Rf/E4bu5U3jYCRuiIM7a0kvsLErvCf9KRQXI4yeK/LuT2ZVIQi3RJqY6eGg2MFgO
84ewog6NkMIelVxFzd4OQ3hois0AUBIcpAVzPhNFVVu56V4sTfmJS1U54GdN2bBM
OoNUHjgS7bmACg5hWbz07PRuoLbaoMlc9zMmTJ89N3cAttWyamNPIQkj98J2yhKo
kFuULyOTSyPM+yvlPzaV/3cs0O/yluMXQxjv74/3QZfxwPjzjo+p9TsHusINXIq/
FLvLsB7XbMCj0X+pZBnVjyAXNByQ83tJ0g5HgA9vGinTcCLGTxqmMT/sVvOOuK0N
HJct3ZLVDw==
=chki
-----END PGP SIGNATURE-----
--- End Message ---