Source: appstream
Version: 1.1.1-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

appstream requires a built appstream to be able to cross build. This is
an upstream build system requirement. The declared Build-Depends do not
yet support this. I'm attaching a patch to add these dependencies. Note
that they're tagged <cross>, which is a positive build profile. They
will be ignored unless that profile is in effect, so this patch changes
nothing for native builds. Once applied, appstream cross builds just
fine.

Helmut
diff -Nru appstream-1.1.1/debian/changelog appstream-1.1.1/debian/changelog
--- appstream-1.1.1/debian/changelog    2025-10-02 20:14:46.000000000 +0200
+++ appstream-1.1.1/debian/changelog    2026-01-21 14:13:38.000000000 +0100
@@ -1,3 +1,10 @@
+appstream (1.1.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Missing cross-only Build-Depends. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Wed, 21 Jan 2026 14:13:38 +0100
+
 appstream (1.1.1-1) unstable; urgency=medium
 
   * New upstream version: 1.1.1
diff -Nru appstream-1.1.1/debian/control appstream-1.1.1/debian/control
--- appstream-1.1.1/debian/control      2025-10-02 20:14:46.000000000 +0200
+++ appstream-1.1.1/debian/control      2026-01-21 14:13:38.000000000 +0100
@@ -2,7 +2,8 @@
 Section: admin
 Priority: optional
 Maintainer: Matthias Klumpp <[email protected]>
-Build-Depends: debhelper-compat (= 13),
+Build-Depends: appstream <cross>,
+               debhelper-compat (= 13),
                dh-sequence-gir,
                docbook-xsl,
                gettext,
@@ -12,6 +13,7 @@
                gobject-introspection,
                gperf,
                itstool,
+               libappstream-dev:native <cross>,
                libcairo2-dev,
                libcurl4-gnutls-dev | libcurl4-openssl-dev | libcurl-dev (>= 
7.62),
                libfontconfig-dev,

Reply via email to