[From nobody Thu Sep 24 18:09:10 2026
Received: (at submit) by bugs.debian.org; 18 Nov 2021 05:21:55 +0000
X-Spam-Checker-Version: SpamAssassin 3.4.2-bugs.debian.org_2005_01_02
 (2018-09-13) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-8.6 required=4.0 tests=BAYES_00, DATE_IN_PAST_06_12, 
 FVGT_m_MULTI_ODD, MURPHY_DRUGS_REL8, SPF_HELO_NONE, SPF_NONE,
 TXREP, 
 T_PDS_PRO_TLD,WORD_WITHOUT_VOWELS autolearn=no autolearn_force=no
 version=3.4.2-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 35; hammy, 111; neutral, 26; spammy,
 0. spammytokens: hammytokens:0.000-+--H*F:U*helmut,
 0.000-+--H*F:D*subdivi.de, 0.000-+--H*RU:sk:helmut@,
 0.000-+--H*rp:U*helmut, 0.000-+--H*rp:D*subdivi.de
Return-path: &lt;helmut@subdivi.de&gt;
Received: from isilmar-4.linta.de ([136.243.71.142]:43454)
 by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from &lt;helmut@subdivi.de&gt;) id 1mnZrv-0002J5-AT
 for submit@bugs.debian.org; Thu, 18 Nov 2021 05:21:55 +0000
Received: from isilmar-4.linta.de (isilmar.linta [10.0.0.1])
 by isilmar-4.linta.de (Postfix) with ESMTP id 7969D2013B5
 for &lt;submit@bugs.debian.org&gt;; Thu, 18 Nov 2021 05:21:52 +0000 (UTC)
Date: Wed, 17 Nov 2021 20:27:52 +0100
From: Helmut Grohne &lt;helmut@subdivi.de&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: dtkgui FTBFS: hard codes the build architecture pkg-config
Message-ID: &lt;YZVXuMpgm3Vcjrlg@alf.mars&gt;
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary=&quot;nT40PFCmr4d70Ntd&quot;
Content-Disposition: inline
X-Reportbug-Version: 11.1.0
Delivered-To: submit@bugs.debian.org


--nT40PFCmr4d70Ntd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Source: dtkgui
Version: 5.5.17.1-1
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

dtkgui fails to cross build from source, because it hard codes the build
architecture pkg-config in tests/tests.pro. Please consider applying the
attached patch to use the detected pkg-config.

Helmut

--nT40PFCmr4d70Ntd
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename=&quot;cross.patch&quot;

--- dtkgui-5.5.17.1.orig/tests/tests.pro
+++ dtkgui-5.5.17.1/tests/tests.pro
@@ -37,7 +37,7 @@
 
 linux* {
     # don't link library
-    QMAKE_CXXFLAGS += $$system(pkg-config --cflags-only-I librsvg-2.0)
+    QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --cflags-only-I librsvg-2.0)
 
     dbus_monitor.files += $$PWD/../src/dbus/com.deepin.api.XEventMonitor.xml
     dbus_monitor.header_flags += -i ../src/dbus/arealist.h

--nT40PFCmr4d70Ntd--
]