GNU bug report logs

#47569 ‘qt-build-system’ retains too many references via wrappers

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #39 received at 47569@debbugs.gnu.org (full text, mbox, reply):

Received: (at 47569) by debbugs.gnu.org; 7 Apr 2021 21:23:31 +0000
From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 07 17:23:30 2021
Received: from localhost ([127.0.0.1]:45476 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1lUFe6-0006e9-Jq
	for submit@debbugs.gnu.org; Wed, 07 Apr 2021 17:23:30 -0400
Received: from mail-qk1-f173.google.com ([209.85.222.173]:35453)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@gmail.com>) id 1lUFe4-0006dx-LZ
 for 47569@debbugs.gnu.org; Wed, 07 Apr 2021 17:23:28 -0400
Received: by mail-qk1-f173.google.com with SMTP id i9so130492qka.2
 for <47569@debbugs.gnu.org>; Wed, 07 Apr 2021 14:23:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version;
 bh=eU+kJk6fXkaLQXD+qzRc56PiqhCX77DKqphFjuftnKE=;
 b=LCthgorlU6j5blfdPpiSVG5/fldsiOGaca6rJX9tOX+ysitb0JBgTCxUSY4L5DZZE/
 RfUht+Hb69e2Pnh0bsrsNXbXYau+P7zafwBjNH+gh/nlPNYOQoOreo65j34enTlK7ysg
 0Taji+TVUQna+eJ3uvSLzJhKH2/naoK3DooIxSCRqbH6/PzPEawZpc7nFTw1l89EdQjv
 E2fKrrf6tzvcwrqSwXgqobKJoQU75rJEtTGxYgloljHdntAf1+L4I2OO2b5IfmFfgGml
 24nUxuuQ7PlfZyoUTO0cmqjtS5Uz0YtUrsmCzXDRMYBlKghX6o+tpuwbisgJCHHeRm89
 cduQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version;
 bh=eU+kJk6fXkaLQXD+qzRc56PiqhCX77DKqphFjuftnKE=;
 b=mDwWRtO0XK8eJrx2+zr6JBsLJMXFiK/c7ew8MqwM0cqvFqGKqNHOHpv8Gm2/e6cpLd
 7rQSKPD8vS65D09iWi5/e+CqhPLD/L6CCX4KEakecdyJTKpCmYjXkGsOhzP3VnkEl4vc
 JMnTyHx/nDLslrM9vXpjVfqnnvCw5uqTuzonUz2Mh8IdOOocIW//R5msvmAkhwMep7m/
 eksa4Df+HcjExdJJ/oRfseyK8kVD1HKRqHqD0GU5FtEZK3+Ztih+yoBszi0tNBk96DzK
 Bb0ewFGeq9k2Ld34NPotEIMlt+0s/SkDcsMewTaFqg7a96TUPB3Ld0pelWcI9IqYR6w8
 uVGA==
X-Gm-Message-State: AOAM533VHV8wglg9jKtM9C+aRYgNC6lBRqHH4ZN3/r0mUbOrwzsRgs9d
 2jnh0pmkDseWh8tm2c5P1HlflEUPHMI=
X-Google-Smtp-Source: ABdhPJwyY02OGgeOqjVNsvzeIOD2RYzMjWvEXpGvH02weDa3SRcwxXVIy6qfvW9VMNesPvT0qF6hTA==
X-Received: by 2002:a05:620a:205e:: with SMTP id
 d30mr5052510qka.380.1617830603044; 
 Wed, 07 Apr 2021 14:23:23 -0700 (PDT)
Received: from hurd (mtl.savoirfairelinux.net. [208.88.110.46])
 by smtp.gmail.com with ESMTPSA id c5sm19139342qkl.21.2021.04.07.14.23.22
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Wed, 07 Apr 2021 14:23:22 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Ludovic Courtès <ludo@gnu.org>
Subject: Re: bug#47569: ‘qt-build-system’
 retains too many references via wrappers
References: <87czvczbsv.fsf@inria.fr> <87blaurbya.fsf@gmail.com>
 <878s5wseaz.fsf@gnu.org> <87r1jnmu0v.fsf@gnu.org>
 <87zgybl35g.fsf@gnu.org> <87sg41n6xm.fsf@gmail.com>
Date: Wed, 07 Apr 2021 17:23:21 -0400
In-Reply-To: <87sg41n6xm.fsf@gmail.com> (Maxim Cournoyer's message of "Wed, 07
 Apr 2021 17:03:33 -0400")
Message-ID: <87o8epn60m.fsf@gmail.com>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 47569
Cc: 47569@debbugs.gnu.org
X-BeenThere: debbugs-submit@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@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:

> Seeing a growing number of packages require a custom wrap phase for
> qtwebengine, I think the following additions could make sense to be
> incorporated as part as this Qt-world rebuild:
>
> 2 files changed, 5 insertions(+), 1 deletion(-)
> gnu/packages/qt.scm            | 3 +++
> guix/build/qt-build-system.scm | 3 ++-
>
> modified   gnu/packages/qt.scm
> @@ -538,6 +538,9 @@ system, and the core design of Django is reused in Grantlee.")
>             (search-path-specification
>              (variable "QT_PLUGIN_PATH")
>              (files '("lib/qt5/plugins")))
> +           (search-path-specification
> +            (variable "QTWEBENGINEPROCESS_PATH")
> +            (files '("lib/qt5/libexec/QtWebEngineProcess")))
>             (search-path-specification
>              (variable "XDG_DATA_DIRS")
>              (files '("share")))

Actually, scratch that part above, as there's already a search path
defined on the qtwebengine package, and it's more correctly defined as:

(native-search-paths
     (list (search-path-specification
            (file-type 'regular)
            (separator #f)
            (variable "QTWEBENGINEPROCESS_PATH")
            (files '("lib/qt5/libexec/QtWebEngineProcess")))))
            
So what I proposed above is not needed.

> modified   guix/build/qt-build-system.scm
> @@ -86,7 +86,8 @@
>             "/cursors" "/wallpapers" "/icons" "/mime")
>           '("XDG_CONFIG_DIRS" "/etc/xdg")
>           '("QT_PLUGIN_PATH" "/lib/qt5/plugins")
> -         '("QML2_IMPORT_PATH" "/lib/qt5/qml"))))
> +         '("QML2_IMPORT_PATH" "/lib/qt5/qml")
> +         '("QTWEBENGINEPROCESS_PATH" "lib/qt5/libexec/QtWebEngineProcess"))))
>
>  (define* (wrap-all-programs #:key inputs outputs
>                              (qt-wrap-excluded-outputs '())

Still is still useful I think, but I noticed now it needs a leading
slash in from of the lib/qt5/libexec above.

Thanks,

Maxim




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 08:02:22 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.