From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IJQFGbyNXWEaCgAAgWs5BA (envelope-from ) for ; Wed, 06 Oct 2021 13:51:24 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IMqXFLyNXWFlaQAAB5/wlQ (envelope-from ) for ; Wed, 06 Oct 2021 11:51:24 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5D8963E6B0 for ; Wed, 6 Oct 2021 13:51:22 +0200 (CEST) Received: from localhost ([::1]:42658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mY5SD-0002OL-FK for larch@yhetil.org; Wed, 06 Oct 2021 07:51:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY5Ru-0002L3-UB for bug-guix@gnu.org; Wed, 06 Oct 2021 07:51:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59489) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mY5Ru-0004FC-Mc for bug-guix@gnu.org; Wed, 06 Oct 2021 07:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mY5Ru-000396-JV for bug-guix@gnu.org; Wed, 06 Oct 2021 07:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51058: xdg-open wrong path in qt based applications (links wont be open) Resent-From: "Hamzeh Nasajpour" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 06 Oct 2021 11:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51058 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51058@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163352104712064 (code B ref -1); Wed, 06 Oct 2021 11:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Oct 2021 11:50:47 +0000 Received: from localhost ([127.0.0.1]:42802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY5Re-00038V-Po for submit@debbugs.gnu.org; Wed, 06 Oct 2021 07:50:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:45334) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY5Rc-00038N-96 for submit@debbugs.gnu.org; Wed, 06 Oct 2021 07:50:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY5Rc-0001pp-0V for bug-guix@gnu.org; Wed, 06 Oct 2021 07:50:44 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:49247) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY5RW-0003lc-Sv for bug-guix@gnu.org; Wed, 06 Oct 2021 07:50:43 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D184C5C0625 for ; Wed, 6 Oct 2021 07:50:32 -0400 (EDT) Received: from imap44 ([10.202.2.94]) by compute5.internal (MEProxy); Wed, 06 Oct 2021 07:50:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=nDdvlzwZLdPjTtiml8R0BDq+Dxjaf/6clYtK2ZUb0/A=; b=R1e2YD5g okg+I1PBpkJJ3TXdD6cdTNY+k3fiE9eNo+KlV4VQTu+jpxE34Xwu/2GKrpGx7QIW SGo5DSEzUUbe9ORUcA6DiHG6BLtNI/JyzpLWC2ZZXIvS5tj77JG/B0vsh8dQYuZF l5cp5A0aYTfms0yv1pTIu0RqXdYaz8xLtwG7Z7FUAfCPkCVCUA9Hm4Tw5ZiCmq7k zd2BfddoYYk47GAzPlNhWlCTe75GCM85eJym/vk6lU5CtZclwWepzbgRvlink59C 4gYALLNpuD16XI4EQ74BcxPslUslJ+8CSz6Mee4MloZQK4YYGO9zxeZbnwshS/KV XpPii5PqSY3KPg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=nDdvlzwZLdPjTtiml8R0BDq+Dxjaf /6clYtK2ZUb0/A=; b=fXd1NwvfIVC2b2dbT4M5zxJWcTNkgOPUVX3Ndbw5JBbSw IX0VMj+nC7ENmy6ill1PM1QI8zpYFKpc2WK11gTRnhD9Lo+YnjfaUPiflthCGMwF GwkfTEK2IT5Ow7gQ5aE3CEDzMw73nv9nzsfia45Pwsx6utopszzW5e1cXoDwyi3y Uqltn4dLl0UknFI9d/AJqhIaPpuV0/bfZ9bQCSivRAVTNxAvef84FEG74Z6wtqlq tDhSelPk8nIpuZjDakSvEsO/VSZ/bkXep2po5CGvWNX8jvsd1EmeXE8ROQIY6mAB 774D2W2cr7ob3IdR6nMK8vs2MCZNQJou4eJ0C1v3Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeliedggedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedfjfgrmhiivghhucfprghsrghjphhouhhrfdcuoehhrdhnrghs rghjphhouhhrsehprghnthhhvghrgidrohhrgheqnecuggftrfgrthhtvghrnhepueejke eigeelgeefffeihffgtdejvddvtddvheehuefhudehueeuuddvgfdtieeinecuffhomhgr ihhnpehgnhhurdhorhhgpdhmrghnuhgrlhhlhidrhhhofienucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhrdhnrghsrghjphhouhhrsehprghn thhhvghrgidrohhrgh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id BB4D4FA0AA5; Wed, 6 Oct 2021 07:50:32 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-1331-g5ae342296a-fm-20211005.001-g5ae34229 Mime-Version: 1.0 Message-Id: <09d65e67-6927-42fb-97c9-0f76134fad0c@www.fastmail.com> Date: Wed, 06 Oct 2021 15:20:11 +0330 From: "Hamzeh Nasajpour" Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.29; envelope-from=h.nasajpour@pantherx.org; helo=out5-smtp.messagingengine.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_BTC_ID=0.499, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1633521083; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=nDdvlzwZLdPjTtiml8R0BDq+Dxjaf/6clYtK2ZUb0/A=; b=RUQ7QGBk3c4nZCJCufG7epUEZvsgsTAaPNAwooaBeJFVXlK83bekbN22KNQjdc2Z+2ojcI WP4U8CjEXOdMT7PS7Iw4IEVKgd5pDGmYum+6RoWGd1FYgpa9w71/tdda3SU9G5SJ2APABw Ab3cqcfUODlFRANVHd97op/nhW3oQIwewVFzsg02aT74YrlHsdphGa89udLPHI0uroTgyN SRkoUcUPMziSBz/zJ45G7pGBvsJaHo5v8TiXLwZK0KYOsx6GJu3T7RArfxsLe3rPXvPA3H x7qAh4pB4nBryDAHAAKd6hbPw0QVNvJmY7bi7k+oiS20d4al9iT3u/52sUAAQg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1633521083; a=rsa-sha256; cv=none; b=uWBo8qwZ+K8iRf67uCcSiYb0WFILjRnprqPvhBcLSJh1bFF09AwVvWbS7aoNeePOg3q2b7 IrSyEt9IXqt4yj/X699c3A6gCU/KsZRglE/RLd9MQ6qzOAvGjRliBeS/vzAWILMBx9CWCJ uNJThdtGLI6MQm4+M0oOB1ygbXjbH1AXVy2daYO+7jcET5uLUEN1HJVALXMj2FPALnxYr3 Y9rcIriQ4aHSLIh1zH42fy1bWJuUZvXppxNK/AqiA/RZUR9lKVW/mNt6wsVPNQvv2d3ADH BfZ/THIIBSX6jF4P5vV9WSJsx095jrDjyAIoQE7BYsN6DJyLTtta0mutL2e8yA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pantherx.org header.s=fm3 header.b=R1e2YD5g; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=fXd1Nwvf; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -0.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pantherx.org header.s=fm3 header.b=R1e2YD5g; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=fXd1Nwvf; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 5D8963E6B0 X-Spam-Score: -0.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: X9q1oRVUOGo1 I have an issue with opening the links in Qt based applications, like `lxqt-panel`, `qterminal` and I think all of the Qt based application. I mean, I can't open the `file:///home/hamzeh/` in these applications. I get the following error: ``` Launch failed (/gnu/store/bi4m86lripz4fhhi4c34ylg5ckxsrqzs-xdg-utils-1.1.3/bin/xdg-open ....) ``` As you can see, it wants to run `xdg-open` from `/gnu/store/bi4m86lripz4fhhi4c34ylg5ckxsrqzs-xdg-utils-1.1.3/` path and this path isn't available. This `xdg-open` path has patched here: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/qt.scm?id=f868ed2a75b55400107b80fcc1e41dcfb6b3c28c#n447 So all of the application that are using `QDesktopServices::openUrl()` have this issue, since this path has filled with wrong value in the `qtbase` package. Also the `xdg-utils` is installed but in the different path, the correct and current installed path is: ``` /gnu/store/0zdclmgw5gnpifwb7jyrmplrk13wp0yz-xdg-utils-1.1.3/ ``` The workaround is installing the `xdg-utils` manually, but it's a temporary solution since after running the `guix gc`, again I'll face with this issue. Some details: 1. In the fresh install I have the `xdg-utils` in the store at this path: ``` $ ll /gnu/store/ | grep xdg-utils dr-xr-xr-x 4 root root 4096 Jan 1 1970 0zdclmgw5gnpifwb7jyrmplrk13wp0yz-xdg-utils-1.1.3/ ``` and I can't open the links in Qt applications. 2. After installing the `xdg-utils` manually, two `xdg-utils` paths were added to store: ``` $ ll /gnu/store/ | grep xdg-utils dr-xr-xr-x 4 root root 4096 Jan 1 1970 0zdclmgw5gnpifwb7jyrmplrk13wp0yz-xdg-utils-1.1.3/ -r--r--r-- 2 root root 1120 Jan 1 1970 35m23zhgbc4rrjrf36dag9abx7r6fnji-xdg-utils-1.1.3-guile-builder dr-xr-xr-x 4 root root 4096 Jan 1 1970 3g26il93p23p4fcg1hfn797n4blqh0f6-xdg-utils-1.1.3/ dr-xr-xr-x 4 root root 4096 Jan 1 1970 bi4m86lripz4fhhi4c34ylg5ckxsrqzs-xdg-utils-1.1.3/ -r--r--r-- 2 root root 3739 Jan 1 1970 makz45834k44dg1x1h1v91nqib41wd91-xdg-utils-1.1.3.drv -r--r--r-- 2 root root 5706 Jan 1 1970 mix35kkjk3prj2kwi96qx74biwqbmxx7-xdg-utils-1.1.3-guile-builder -r--r--r-- 2 root root 1269 Jan 1 1970 sz8s218fxvq8hr1ikn4m8g1z3ydbprbs-xdg-utils-1.1.3.drv -r--r--r-- 2 root root 909 Jan 1 1970 zbvwka7a27baz22w8k78jyjkrqaxcc4v-xdg-utils-1.1.3.tar.gz.drv ``` there is no issue with opening the links at this state. 3. After running the `guix gc` the `xdg-utils` path are: ``` $ ll /gnu/store/ | grep xdg-utils dr-xr-xr-x 4 root root 4096 Jan 1 1970 0zdclmgw5gnpifwb7jyrmplrk13wp0yz-xdg-utils-1.1.3/ -r--r--r-- 2 root root 1120 Jan 1 1970 35m23zhgbc4rrjrf36dag9abx7r6fnji-xdg-utils-1.1.3-guile-builder dr-xr-xr-x 4 root root 4096 Jan 1 1970 3g26il93p23p4fcg1hfn797n4blqh0f6-xdg-utils-1.1.3/ -r--r--r-- 2 root root 3739 Jan 1 1970 makz45834k44dg1x1h1v91nqib41wd91-xdg-utils-1.1.3.drv -r--r--r-- 2 root root 5706 Jan 1 1970 mix35kkjk3prj2kwi96qx74biwqbmxx7-xdg-utils-1.1.3-guile-builder -r--r--r-- 2 root root 1269 Jan 1 1970 sz8s218fxvq8hr1ikn4m8g1z3ydbprbs-xdg-utils-1.1.3.drv -r--r--r-- 2 root root 909 Jan 1 1970 zbvwka7a27baz22w8k78jyjkrqaxcc4v-xdg-utils-1.1.3.tar.gz.drv ``` And in this state, again, there is an issue with opening the links: ``` Launch failed (/gnu/store/bi4m86lripz4fhhi4c34ylg5ckxsrqzs-xdg-utils-1.1.3/bin/xdg-open ....) ``` And again I can install `xdg-utils`, it cause to adding `bi4m86lripz4fhhi4c34ylg5ckxsrqzs-xdg-utils-1.1.3/` to store and the issue will be fixed but after each `guix gc`, again I have the issue. (1). I need to fix the issue permanently and also without installing `xdg-utils` manually. How? (2). Seems that `qtbase` are referring to a wrong path (`bi4m86lripz4fhhi4c34ylg5ckxsrqzs-xdg-utils-1.1.3/`) here: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/qt.scm?id=f868ed2a75b55400107b80fcc1e41dcfb6b3c28c#n447 Why? and where does this wrong path come from? (3) Why after installing the `xdg-utils` I have those new paths in my store? And why after `guix gc` they will be deleted? Regards, -- Hamzeh Nasajpour PantherX Team