GNU bug report logs - #43446
Qt Apps cant make use of qtwayland due to QT_PLUGIN_PATH '= wrapping

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Brendan Tildesley <mail@HIDDEN>; Done: Hartmut Goebel <h.goebel@HIDDEN>; Maintainer for guix is bug-guix@HIDDEN.

Message received at 43446-close <at> debbugs.gnu.org:


Received: (at 43446-close) by debbugs.gnu.org; 11 Jan 2021 16:08:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 11 11:08:08 2021
Received: from localhost ([127.0.0.1]:58061 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kyzjk-0004UY-N4
	for submit <at> debbugs.gnu.org; Mon, 11 Jan 2021 11:08:08 -0500
Received: from mail-out.m-online.net ([212.18.0.10]:43642)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <h.goebel@HIDDEN>) id 1kyzjj-0004UQ-1L
 for 43446-close <at> debbugs.gnu.org; Mon, 11 Jan 2021 11:08:07 -0500
Received: from frontend01.mail.m-online.net (unknown [192.168.8.182])
 by mail-out.m-online.net (Postfix) with ESMTP id 4DDzBt0nW9z1rypc
 for <43446-close <at> debbugs.gnu.org>; Mon, 11 Jan 2021 17:08:06 +0100 (CET)
Received: from localhost (dynscan1.mnet-online.de [192.168.6.70])
 by mail.m-online.net (Postfix) with ESMTP id 4DDzBt0ht6z1qqlC
 for <43446-close <at> debbugs.gnu.org>; Mon, 11 Jan 2021 17:08:06 +0100 (CET)
X-Virus-Scanned: amavisd-new at mnet-online.de
Received: from mail.mnet-online.de ([192.168.8.182])
 by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new,
 port 10024)
 with ESMTP id cd3U2rmNz9FC for <43446-close <at> debbugs.gnu.org>;
 Mon, 11 Jan 2021 17:08:04 +0100 (CET)
Received: from hermia.goebel-consult.de
 (ppp-188-174-55-154.dynamic.mnet-online.de [188.174.55.154])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mail.mnet-online.de (Postfix) with ESMTPS
 for <43446-close <at> debbugs.gnu.org>; Mon, 11 Jan 2021 17:08:04 +0100 (CET)
Received: from lenashee.goebel-consult.de (lenashee.goebel-consult.de
 [192.168.110.2])
 by hermia.goebel-consult.de (Postfix) with ESMTP id 7DC9060355
 for <43446-close <at> debbugs.gnu.org>; Mon, 11 Jan 2021 17:08:02 +0100 (CET)
From: Hartmut Goebel <h.goebel@HIDDEN>
Subject: Re: [PATCH] guix: qt-build-system: Wrapped executables honor user's
 envvars.
References: <86r1nnzr63.fsf@HIDDEN>
To: 43446-close <at> debbugs.gnu.org
Organization: crazy-compilers.com
Message-ID: <4450fa4e-50d2-f28b-c8fa-9325cae7852d@HIDDEN>
Date: Mon, 11 Jan 2021 17:08:02 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
 Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <86r1nnzr63.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: de-DE
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 43446-close
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

This should be fixed by http://issues.guix.gnu.org/45784 and following, 
esp. http://issues.guix.gnu.org/45785






Notification sent to Brendan Tildesley <mail@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Hartmut Goebel <h.goebel@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 43446 <at> debbugs.gnu.org:


Received: (at 43446) by debbugs.gnu.org; 5 Oct 2020 06:39:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 05 02:39:47 2020
Received: from localhost ([127.0.0.1]:47546 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kPK9y-0003ra-OD
	for submit <at> debbugs.gnu.org; Mon, 05 Oct 2020 02:39:46 -0400
Received: from mout-p-202.mailbox.org ([80.241.56.172]:40458)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1kPK9w-0003rN-Sr
 for 43446 <at> debbugs.gnu.org; Mon, 05 Oct 2020 02:39:45 -0400
Received: from smtp2.mailbox.org (smtp2.mailbox.org
 [IPv6:2001:67c:2050:105:465:1:2:0])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4C4WDB4JwtzQkjT;
 Mon,  5 Oct 2020 08:39:38 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot;
 s=MBO0001; t=1601879976;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=rPSs5zXP8u/SHoEnu+wvUDueVne6lwOLDQ7WclAE4Ro=;
 b=VYGG9Nb7lnKyZb9lViIFTUriXao8LgPntHLwqmfzbtXqygJG5RqFMCTex6YNnMvwUj31W5
 1ShjJnFnrlsMN6RohSzElRLljXfjmgGl6jAZADFxhIamkZ6iQn0e9bB66PRkvOLN+kSVN2
 u9v5ANbG2nuxQqoQ386YQK3cSmfIcd8TMzgBgLI6fcO//KmkDc2+o7GyXmTV2uuANH8G/+
 YBC8q+tf1/1bEyQvnnTBvvv6LhTBxysUbPmBLvEI95pNs38pxQ+joIbPiCRUZG24AVy0Eg
 i7vBSPPLGvpyrNjr7aGvSwzTGv9JWSoOTd5VxnXB6zgTWKjJzc54KwP0LZL1Dg==
Received: from smtp2.mailbox.org ([80.241.60.241])
 by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172])
 (amavisd-new, port 10030)
 with ESMTP id bIuTnorLHNGK; Mon,  5 Oct 2020 08:39:35 +0200 (CEST)
Subject: Re: bug#43446: Qt Apps cant make use of qtwayland due to
 QT_PLUGIN_PATH '= wrapping
To: Ricardo Wurmus <rekado@HIDDEN>
References: <650d1848-7dc8-2063-265c-1a965a1dd5ee@HIDDEN>
 <87mu1217s3.fsf@HIDDEN>
From: Brendan Tildesley <mail@HIDDEN>
Message-ID: <400a2e9e-4d0a-75b5-8288-0e07d515c139@HIDDEN>
Date: Mon, 5 Oct 2020 17:39:28 +1100
MIME-Version: 1.0
In-Reply-To: <87mu1217s3.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-MBO-SPAM-Probability: 
X-Rspamd-Score: -5.25 / 15.00 / 15.00
X-Rspamd-Queue-Id: 7E19C1696
X-Rspamd-UID: 65ec3a
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 43446
Cc: 43446 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

On 4/10/20 10:43 pm, Ricardo Wurmus wrote:
> Brendan Tildesley <mail@HIDDEN> writes:
>
>> qt-build-system wraps variables such as QT_PLUGIN_PATH  with  '=
>> instead of prefix, so when qtwayland is installed in a profile or
>> included in the environment, the application fails to see it. Programs
>> run with export QT_QPA_PLATFORM=wayland-egl will fail to launch.
>>
>> We could:
>>
>> 1. Use 'prefix so that the parent environment's variables are appended
>>     and users have to manually install qtwayland them selves.
>> 2. Include qtwayland as an input to every qt package somehow. Can the
>>     build system do that? Considering that Wayland seems to be the
>>     future, I feel that Qt GUI applications should support it by
>>     default. I mean, wayland is in the closure of qtbase anyway.
>> 3. Both? Why is '= used anyway?
> I can’t say why the Qt build system does this, but in other cases we
> know that 'prefix causes problems because the application may end up
> loading incompatible binaries leading to a crash.  That’s especially the
> case on foreign distros, e.g. when the Guix-installed graphical
> application loads a plugin from the system’s XDG_* directories.
>
Thanks for pointing that out. But, currently a Guix Qt program is unable 
to see plugins available in the environment/profile even if the variable 
is set because the wrapper just deletes that in its local environment. 
It can only see what's in it's inputs. How else can that be fixed?

cat `which nheko`|grep QT;

export 
QT_PLUGIN_PATH="/gnu/store/swqnld90m4gmmc1qaf4lg1psvf6q0rr0-qttools-5.14.2/lib/qt5/plugins:/gnu/store/j0b10r3djln34avx4qxh1kxzg70fn04r-qtbase-5.14.2/lib/qt5/plugins:/gnu/store/lh2yq7dlw3cfaf613h787drpy6f146n3-qtdeclarative-5.14.2/lib/qt5/plugins:/gnu/store/cz6lfbphrdqvgrbhgdq0hd7a50015i5h-qtmultimedia-5.14.2/lib/qt5/plugins:/gnu/store/r4h7w3zw02nc33bi7bjlqbl9b8kilh9r-qtsvg-5.14.2/lib/qt5/plugins"






Information forwarded to bug-guix@HIDDEN:
bug#43446; Package guix. Full text available.

Message received at 43446 <at> debbugs.gnu.org:


Received: (at 43446) by debbugs.gnu.org; 4 Oct 2020 12:41:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 04 08:41:50 2020
Received: from localhost ([127.0.0.1]:45099 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kP3Ko-0002V9-3q
	for submit <at> debbugs.gnu.org; Sun, 04 Oct 2020 08:41:50 -0400
Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21177)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rekado@HIDDEN>) id 1kP3Kl-0002V0-BN
 for 43446 <at> debbugs.gnu.org; Sun, 04 Oct 2020 08:41:48 -0400
ARC-Seal: i=1; a=rsa-sha256; t=1601815293; cv=none; 
 d=zohomail.com; s=zohoarc; 
 b=Hdi9egvtninRCO3Pq/9WzvQmPirQu50zvq1OXwK962QjOCQPhX9b+tWrwqnnMPGkvL/agRl7ulVfKaNO9sFmj3f3Ka6toQcc6A65GVeb/Den/u1JTYcWHy2t+AXlqKpNNo0Uqa4145CrlmCMYjCh3nfUQ4fZ9h8ZPVYn2Tg+/BM=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
 s=zohoarc; t=1601815293;
 h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To;
 bh=pdI4SHi3gWK6mUr3WLbFRicqEHwxgBPUTM09aJlsp4M=; 
 b=HuF4gbmwcf5z2lKcmTMJyzFraPkBWI52OUkhjZEhpXo+5cGjnaOFaSxVN8gJ/eJeY3dbsSOGe6z4R14PFWVVESXGowpqSiDUfhnd1T8YmoSNEinzMVRoOVvrnp64aTLtjOryle5JzHww7nYRtfDLceOnmX+E3KHiU1teDB1uRHI=
ARC-Authentication-Results: i=1; mx.zohomail.com;
 dkim=pass  header.i=elephly.net;
 spf=pass  smtp.mailfrom=rekado@HIDDEN;
 dmarc=pass header.from=<rekado@HIDDEN> header.from=<rekado@HIDDEN>
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1601815293; 
 s=zoho; d=elephly.net; i=rekado@HIDDEN;
 h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding;
 bh=pdI4SHi3gWK6mUr3WLbFRicqEHwxgBPUTM09aJlsp4M=;
 b=YdajPP47HiKcof7EDEX80KZFhX6sdA2GhO7tyx2JaMEaVdxE1mSts19Fs7bE0v3Q
 NzwylCB3rFR/SZ7qunbsgqF1mcXbrPdSwT1dfmoRO5qB+H232iRhthkHVfI9Xr+nmTA
 qJwlS644V6PUdbg2JIAOkDPnv/SxqBgH/c5gdEjA=
Received: from localhost (p4fd5ab87.dip0.t-ipconnect.de [79.213.171.135]) by
 mx.zohomail.com with SMTPS id 1601815292892856.0578003933437;
 Sun, 4 Oct 2020 05:41:32 -0700 (PDT)
References: <650d1848-7dc8-2063-265c-1a965a1dd5ee@HIDDEN>
User-agent: mu4e 1.4.13; emacs 27.1
From: Ricardo Wurmus <rekado@HIDDEN>
To: Brendan Tildesley <mail@HIDDEN>
Subject: Re: bug#43446: Qt Apps cant make use of qtwayland due to
 QT_PLUGIN_PATH '= wrapping
In-reply-to: <650d1848-7dc8-2063-265c-1a965a1dd5ee@HIDDEN>
X-URL: https://elephly.net
X-PGP-Key: https://elephly.net/rekado.pubkey
X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
Date: Sun, 04 Oct 2020 14:43:08 +0200
Message-ID: <87mu1217s3.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-ZohoMailClient: External
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 43446
Cc: 43446 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


Brendan Tildesley <mail@HIDDEN> writes:

> qt-build-system wraps variables such as QT_PLUGIN_PATH  with  '=3D
> instead of prefix, so when qtwayland is installed in a profile or
> included in the environment, the application fails to see it. Programs
> run with export QT_QPA_PLATFORM=3Dwayland-egl will fail to launch.
>
> We could:
>
> 1. Use 'prefix so that the parent environment's variables are appended
>    and users have to manually install qtwayland them selves.
> 2. Include qtwayland as an input to every qt package somehow. Can the
>    build system do that? Considering that Wayland seems to be the
>    future, I feel that Qt GUI applications should support it by
>    default. I mean, wayland is in the closure of qtbase anyway.
> 3. Both? Why is '=3D used anyway?

I can=E2=80=99t say why the Qt build system does this, but in other cases we
know that 'prefix causes problems because the application may end up
loading incompatible binaries leading to a crash.  That=E2=80=99s especiall=
y the
case on foreign distros, e.g. when the Guix-installed graphical
application loads a plugin from the system=E2=80=99s XDG_* directories.

--=20
Ricardo




Information forwarded to bug-guix@HIDDEN:
bug#43446; Package guix. Full text available.

Message received at 43446 <at> debbugs.gnu.org:


Received: (at 43446) by debbugs.gnu.org; 4 Oct 2020 11:24:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 04 07:24:06 2020
Received: from localhost ([127.0.0.1]:45035 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kP27a-0006vB-0b
	for submit <at> debbugs.gnu.org; Sun, 04 Oct 2020 07:24:06 -0400
Received: from mout-p-202.mailbox.org ([80.241.56.172]:44038)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1kP27X-0006ud-II
 for 43446 <at> debbugs.gnu.org; Sun, 04 Oct 2020 07:24:04 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org
 [IPv6:2001:67c:2050:105:465:1:1:0])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4C41Zj2ChWzQlCD
 for <43446 <at> debbugs.gnu.org>; Sun,  4 Oct 2020 13:23:57 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot;
 s=MBO0001; t=1601810635;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=PG1YtKuRefFPTUnl4P38eyQ7QknlL/46XlovtmW1WGs=;
 b=wtoKCY8O5BQQTRNQMo3RyNG2FDHW7MxB8b79KW+dVb1vYhZSV4CSSt0PBMlbRpfRKebqx2
 7R6UCsRlWMOBpAKBpfhyMeUWllHL4KYTgRJsKq7MG/YlPGXM29IZPsqst7FKTLVx31z+G/
 LJ9WOtyu8LNeSjqPoR+DCgkCYK+FDZSaNqhhOid1OR0S6JMgB0fY25rbB0oHvearHRqSLk
 uaTns1bpBd7v9A7rHh7bLN94zZc3OWpd0WgFCgGfG/nbbaYXyqvJ1XRqW0zzwV9N+iWYRE
 4CTu6UWZCj3GCpAzpmrgkd7F+x8+NnkZe62gFuK1PO0JdFX1K5EskZmYE6uQtQ==
Received: from smtp1.mailbox.org ([80.241.60.240])
 by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172])
 (amavisd-new, port 10030)
 with ESMTP id 6ttDTEzjAJhK for <43446 <at> debbugs.gnu.org>;
 Sun,  4 Oct 2020 13:23:53 +0200 (CEST)
To: 43446 <at> debbugs.gnu.org
From: Brendan Tildesley <mail@HIDDEN>
Subject: [PATCH] guix: qt-build-system: Fix search-path wrapping.
Message-ID: <9e55f119-b476-cefe-c5b2-33c96d60015c@HIDDEN>
Date: Sun, 4 Oct 2020 22:23:44 +1100
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------D4A80F8E0DCF7899C1EA8FA1"
Content-Language: en-US
X-MBO-SPAM-Probability: 
X-Rspamd-Score: -6.24 / 15.00 / 15.00
X-Rspamd-Queue-Id: 59B6917DC
X-Rspamd-UID: 878474
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 43446
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

This is a multi-part message in MIME format.
--------------D4A80F8E0DCF7899C1EA8FA1
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit



--------------D4A80F8E0DCF7899C1EA8FA1
Content-Type: text/x-patch; charset=UTF-8;
 name="0001-guix-qt-build-system-Fix-search-path-wrapping.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="0001-guix-qt-build-system-Fix-search-path-wrapping.patch"

From 9c1d5b76c70ebf9942f6bb891677d260fe16cb62 Mon Sep 17 00:00:00 2001
From: Brendan Tildesley <mail@HIDDEN>
Date: Sun, 4 Oct 2020 21:58:08 +1100
Subject: [PATCH] guix: qt-build-system: Fix search-path wrapping.

* guix/build/qt-build-system.scm: (variables-for-wrapping): Modify
qt-build-system's wrap-all-programs phase to prefix all wrapped
search-path variables instead of overwriting them with =. This allows Qt
applications to find plugins available in the environment.
---
 guix/build/qt-build-system.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/build/qt-build-system.scm b/guix/build/qt-build-system.scm
index 005157b0a4..93f512b5d6 100644
--- a/guix/build/qt-build-system.scm
+++ b/guix/build/qt-build-system.scm
@@ -60,7 +60,7 @@
    (lambda (var-to-wrap) (not (null? (last var-to-wrap))))
    (map
     (lambda (var-spec)
-      `(,(first var-spec) = ,(collect-sub-dirs base-directories (last var-spec))))
+      `(,(first var-spec) prefix ,(collect-sub-dirs base-directories (last var-spec))))
     (list
      ;; these shall match the search-path-specification for Qt and KDE
      ;; libraries
-- 
2.28.0


--------------D4A80F8E0DCF7899C1EA8FA1--




Information forwarded to bug-guix@HIDDEN:
bug#43446; Package guix. Full text available.

Message received at 43446 <at> debbugs.gnu.org:


Received: (at 43446) by debbugs.gnu.org; 4 Oct 2020 10:46:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 04 06:46:26 2020
Received: from localhost ([127.0.0.1]:45012 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kP1X7-00060I-U9
	for submit <at> debbugs.gnu.org; Sun, 04 Oct 2020 06:46:26 -0400
Received: from knopi.disroot.org ([178.21.23.139]:56568)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <raghavgururajan@HIDDEN>) id 1kP1X5-000608-Rt
 for 43446 <at> debbugs.gnu.org; Sun, 04 Oct 2020 06:46:24 -0400
Received: from localhost (localhost [127.0.0.1])
 by disroot.org (Postfix) with ESMTP id 5BB3151DDC
 for <43446 <at> debbugs.gnu.org>; Sun,  4 Oct 2020 12:46:22 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at disroot.org
Received: from knopi.disroot.org ([127.0.0.1])
 by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 7Q-vbcD7L3B4 for <43446 <at> debbugs.gnu.org>;
 Sun,  4 Oct 2020 12:46:21 +0200 (CEST)
Mime-Version: 1.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail;
 t=1601808380; bh=zXyu9a+Vs8wJjDJ7gsl+0ir16zLeqbcolIEk2NotGhM=;
 h=Date:From:Subject:To;
 b=Zr8WmWpGGi0gwiRKpVI1kLtG/PF8hj4gOnoNjR91Brg271BuZ/ozrknS/ANKZVIco
 BjAqUKKPORvKElqRybHmYOyeyVbqApcSLRYe+NIjA9aVRxo5vwMq8S5iX1lWZJRdGA
 jVvRsTLogHbNHxSEyLyhePuabv8nG+Rhjjl/wkeVAvDW67WJoihmI1jqfrUAPt6RYD
 jMrIrMBXlmT2SyUwBoKjWi90sZh56DpuHIWc2b7TWwu4bzJcEqXGGgJfwNmWiQ9s9p
 u7LgV50Nj8b54vZjBJvN6caH8KfpLJ+nwSmaZ9wD1jqQsFC1z+BCjTSX0R6WsMb/j0
 Aas+kum9OfZXg==
Date: Sun, 04 Oct 2020 10:46:20 +0000
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: "Raghav Gururajan" <raghavgururajan@HIDDEN>
Message-ID: <9d8684c688ff378de36e92ffa67c5cf6@HIDDEN>
Subject: EGL-Wayland
To: 43446 <at> debbugs.gnu.org
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 43446
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hello Brendan!=0A=0AI think you are missing 'egl-wayland'.=0Ahttps://git.=
savannah.gnu.org/cgit/guix.git/commit/?id=3D8d82df1376f50bb1e32fa82e943b0=
f5c837658b6=0A=0ANot sure if, Qt packages or Qt apps or both, requires re=
building with egl-wayland as input.=0A=0ARegards,=0ARG.




Information forwarded to bug-guix@HIDDEN:
bug#43446; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Sep 2020 11:17:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 16 07:17:22 2020
Received: from localhost ([127.0.0.1]:33395 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kIVRB-0001PX-NE
	for submit <at> debbugs.gnu.org; Wed, 16 Sep 2020 07:17:21 -0400
Received: from lists.gnu.org ([209.51.188.17]:52124)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mail@HIDDEN>) id 1kIVR9-0001PQ-I7
 for submit <at> debbugs.gnu.org; Wed, 16 Sep 2020 07:17:19 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46198)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1kIVR9-0007al-D7
 for bug-guix@HIDDEN; Wed, 16 Sep 2020 07:17:19 -0400
Received: from mout-p-102.mailbox.org ([2001:67c:2050::465:102]:36636)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <mail@HIDDEN>) id 1kIVR6-0003yT-TB
 for bug-guix@HIDDEN; Wed, 16 Sep 2020 07:17:18 -0400
Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest
 SHA256) (No client certificate requested)
 by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4BryHC1K1WzKmhX
 for <bug-guix@HIDDEN>; Wed, 16 Sep 2020 13:17:11 +0200 (CEST)
X-Virus-Scanned: amavisd-new at heinlein-support.de
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brendan.scot;
 s=MBO0001; t=1600255029;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=3Y+fM6Y27G5CBK++7y076Z8vF+giFxCFYQ/29DjhgzM=;
 b=qQbGypyzPJL5bOcKRTza0FxGt4JkaBrIOiBqFFElT14czdkfwpDzhVg5mzKjKypcSlKuqK
 Kb9/mnJRt8fy6dGF48vMAMNB2TkUePwApfE6ZdEtnEURi6g5bLppPRnl2SNw36ANRECQ4R
 NEExzj17I7UT4rr9fktqCI/HzBCnHQUMLj63dlWqDWwKte7xbSLHi/bGi3ZhSGYg61GP4g
 DymoTz4MT12GjBkrYQeiy3yKLX3RZLwEBWCO4FEwgon+Vo2ie4hWrwHJLqjuCpzzT5rhYI
 aqZZvZG8VK+tIm+uVnuUiKkDssuCbzTgpq5C7FspurKwJsPi0H8GF6JHhXTS0w==
Received: from smtp1.mailbox.org ([80.241.60.240])
 by spamfilter01.heinlein-hosting.de (spamfilter01.heinlein-hosting.de
 [80.241.56.115]) (amavisd-new, port 10030)
 with ESMTP id LG1zOYKkdf9I for <bug-guix@HIDDEN>;
 Wed, 16 Sep 2020 13:17:07 +0200 (CEST)
To: bug-guix@HIDDEN
From: Brendan Tildesley <mail@HIDDEN>
Subject: Qt Apps cant make use of qtwayland due to QT_PLUGIN_PATH '= wrapping
Message-ID: <650d1848-7dc8-2063-265c-1a965a1dd5ee@HIDDEN>
Date: Wed, 16 Sep 2020 21:16:50 +1000
MIME-Version: 1.0
Content-Type: multipart/alternative;
 boundary="------------25882BBE4163D7217F16FFD6"
Content-Language: en-US
X-MBO-SPAM-Probability: 
X-Rspamd-Score: -3.73 / 15.00 / 15.00
X-Rspamd-Queue-Id: 2A5AE17DB
X-Rspamd-UID: fe3541
Received-SPF: pass client-ip=2001:67c:2050::465:102;
 envelope-from=mail@HIDDEN; helo=mout-p-102.mailbox.org
X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache.
 That's all we know.
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

This is a multi-part message in MIME format.
--------------25882BBE4163D7217F16FFD6
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit

qt-build-system wraps variables such as QT_PLUGIN_PATH  with  '= instead 
of prefix, so when qtwayland is installed in a profile or included in 
the environment, the application fails to see it. Programs run with 
export QT_QPA_PLATFORM=wayland-egl will fail to launch.

We could:

 1. Use 'prefix so that the parent environment's variables are appended
    and users have to manually install qtwayland them selves.
 2. Include qtwayland as an input to every qt package somehow. Can the
    build system do that? Considering that Wayland seems to be the
    future, I feel that Qt GUI applications should support it by
    default. I mean, wayland is in the closure of qtbase anyway.
 3. Both? Why is '= used anyway?

How should this be done?




--------------25882BBE4163D7217F16FFD6
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 8bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>qt-build-system wraps variables such as QT_PLUGIN_PATH  with  '=
      instead of prefix, so when qtwayland is installed in a profile or
      included in the environment, the application fails to see it.
      Programs run with export QT_QPA_PLATFORM=wayland-egl will fail to
      launch.</p>
    <p>We could:</p>
    <ol>
      <li>Use 'prefix so that the parent environment's variables are
        appended and users have to manually install qtwayland them
        selves.<br>
      </li>
      <li>Include qtwayland as an input to every qt package somehow. Can
        the build system do that? Considering that Wayland seems to be
        the future, I feel that Qt GUI applications should support it by
        default. I mean, wayland is in the closure of qtbase anyway.</li>
      <li>Both? Why is '= used anyway?<br>
      </li>
    </ol>
    <p>How should this be done?<br>
    </p>
    <p><br>
      <br>
    </p>
  </body>
</html>

--------------25882BBE4163D7217F16FFD6--




Acknowledgement sent to Brendan Tildesley <mail@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#43446; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 11 Jan 2021 16:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.