From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id RKdcDe1nzGDvAgEAgWs5BA (envelope-from ) for ; Fri, 18 Jun 2021 11:31:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id aLd4CO1nzGCqOQAAbx9fmQ (envelope-from ) for ; Fri, 18 Jun 2021 09:31:25 +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 579189A4A for ; Fri, 18 Jun 2021 11:31:24 +0200 (CEST) Received: from localhost ([::1]:56442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luAqP-0001o3-W2 for larch@yhetil.org; Fri, 18 Jun 2021 05:31:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luAq9-0001mm-SD for bug-guix@gnu.org; Fri, 18 Jun 2021 05:31:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44232) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luAq6-0008Lu-0z for bug-guix@gnu.org; Fri, 18 Jun 2021 05:31:05 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luAq5-0004Ja-VT for bug-guix@gnu.org; Fri, 18 Jun 2021 05:31:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#48907: Debug symbols file name discrepancies Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 18 Jun 2021 09:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48907 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Received: via spool by 48907-submit@debbugs.gnu.org id=B48907.162400860416445 (code B ref 48907); Fri, 18 Jun 2021 09:31:01 +0000 Received: (at 48907) by debbugs.gnu.org; 18 Jun 2021 09:30:04 +0000 Received: from localhost ([127.0.0.1]:55773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luAp9-0004HA-JY for submit@debbugs.gnu.org; Fri, 18 Jun 2021 05:30:04 -0400 Received: from eggs.gnu.org ([209.51.188.92]:53062) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luAp7-0004GF-FD for 48907@debbugs.gnu.org; Fri, 18 Jun 2021 05:30:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48620) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luAp2-0007PP-8w; Fri, 18 Jun 2021 05:29:56 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52960 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luAp1-0008Cn-I3; Fri, 18 Jun 2021 05:29:55 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87r1hdtu4t.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 Prairial an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 18 Jun 2021 11:29:54 +0200 In-Reply-To: <87r1hdtu4t.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 07 Jun 2021 14:19:30 -0400") Message-ID: <87eeczikq5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , Cc: 48907@debbugs.gnu.org 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=1624008685; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=5SY6Ex2O6Hkg2tCWxKAY7Q5mQPST0FA3VXKoqBofiek=; b=EotF/hW5i8HwC+2evXu767vDiOwJ0jRcojiWQTNvFD2QwrcYKfikWAY7MOvSKimMy24lzq 21Rk6kPoRBR6W+jVo6ls4Qz8QITB1YnCEAfTbniclJcFd0UkDpsgUeLlGx0XRIpFYfFjIP VTReywjyRFU/L4pfecasUSCue3az8OUoSLnz2nT5I6XCb1IjRq42QXsi6js/6hXWwtEOhX cF8rJXhuLE+Oh4TDTG5GAnOkhDEakD7flDbHHTnnmYdpN3Q66ZlLD9OV0oZA671OJfdh8b AyiC1jmRqGUBzpKZkZZJ/yfi/JmmauSwFX8OobepGacQvLy4VG1BtIkNrilf4w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624008685; a=rsa-sha256; cv=none; b=oih9oIgWeRel1auyVVP+gORiUlBSrHZ0iysmBAlXfIgEbKuqqTORI3FPvtklXjuRLz5VOR bWMndpuX0D/4GQPGpA2PcCOwvkC9ckjN09tpi/XhyDA5lxd3JfxBWuehzVpi0lCSD8lT6e LRsi+3azWMyqurNK7ve0ikqM3UygIEASDRsXA6Cif9WV+IKKZceIpurmg59nhd95y7bRt0 lUgOCqqHuBk8u7RPeXvkcDkEVBPdRRGfUtB0wQgUQd5Zlj2tf4kTRqC3AvJUtsL9jfkQC9 ReLmT3HElBMsh5Qx0BFqBkHyk3oiPGKRkTTfUQfTRQoJd5t2/zSuEiJw+wphfA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: 579189A4A X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: OQsfV2Hxe0My Hi, Maxim Cournoyer skribis: > $ guix build qtdeclarative | xargs -I{} find -L {} -name *libQt5Qml.so.5* > substitute: updating substitutes from 'http://127.0.0.1:8080'... 100.0% > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% > The following files will be downloaded: > /gnu/store/g1gxfbkyxilnx7s6mjdlj697y5n5wazn-qtdeclarative-5.15.2-debug > /gnu/store/nvzvrr137qfqsn2875yrs9ilfd12wi96-qtdeclarative-5.15.2 > substituting /gnu/store/g1gxfbkyxilnx7s6mjdlj697y5n5wazn-qtdeclarative-5.= 15.2-debug... > downloading from https://ci.guix.gnu.org/nar/lzip/g1gxfbkyxilnx7s6mjdlj69= 7y5n5wazn-qtdeclarative-5.15.2-debug ... > qtdeclarative-5.15.2-debug 94.9MiB 1.2MiB/s = 01:21 [##################] 100.0% > > The following graft will be made: > /gnu/store/djhcai9rixm2j3jlamwdhsgwgidg7w74-qtdeclarative-5.15.2.drv > applying 2 grafts for /gnu/store/djhcai9rixm2j3jlamwdhsgwgidg7w74-qtdecla= rative-5.15.2.drv ... > grafting '/gnu/store/g1gxfbkyxilnx7s6mjdlj697y5n5wazn-qtdeclarative-5.15.= 2-debug' -> '/gnu/store/l3h4ka7v3j1yhik0f1phwch08a09p0bx-qtdeclarative-5.15= .2-debug'... > grafting '/gnu/store/nvzvrr137qfqsn2875yrs9ilfd12wi96-qtdeclarative-5.15.= 2' -> '/gnu/store/pryhgzb6cwnzsskqwldwc6dxr6nwnywf-qtdeclarative-5.15.2'... > updating '.gnu_debuglink' CRC in '/gnu/store/pryhgzb6cwnzsskqwldwc6dxr6nw= nywf-qtdeclarative-5.15.2/bin/qml' > updating '.gnu_debuglink' CRC in '/gnu/store/pryhgzb6cwnzsskqwldwc6dxr6nw= nywf-qtdeclarative-5.15.2/bin/q > [...] > updating '.gnu_debuglink' CRC in '/gnu/store/pryhgzb6cwnzsskqwldwc6dxr6nw= nywf-qtdeclarative-5.15.2/lib/qt5/qml/QtQuick/Window.2/libwindowplugin.so' > updating '.gnu_debuglink' CRC in '/gnu/store/pryhgzb6cwnzsskqwldwc6dxr6nw= nywf-qtdeclarative-5.15.2/lib/qt5/qml/QtTest/libqmltestplugin.so' > successfully built /gnu/store/djhcai9rixm2j3jlamwdhsgwgidg7w74-qtdeclarat= ive-5.15.2.drv > /gnu/store/l3h4ka7v3j1yhik0f1phwch08a09p0bx-qtdeclarative-5.15.2-debug/li= b/debug/gnu/store/pryhgzb6cwnzsskqwldwc6dxr6nwnywf-qtdeclarative-5.15.2/lib= /libQt5Qml.so.5.15.2.debug > /gnu/store/pryhgzb6cwnzsskqwldwc6dxr6nwnywf-qtdeclarative-5.15.2/lib/libQ= t5Qml.so.5.15.2 > /gnu/store/pryhgzb6cwnzsskqwldwc6dxr6nwnywf-qtdeclarative-5.15.2/lib/libQ= t5Qml.so.5 > /gnu/store/pryhgzb6cwnzsskqwldwc6dxr6nwnywf-qtdeclarative-5.15.2/lib/libQ= t5Qml.so.5.15 > > > So far so good. The file hierarchy under the debug output matches the > actual shared library file name. Next, let's verify which qtdeclarative > shared libraries jami-qt is dynamically linked against: > > $ guix build jami-qt | tail -1 | xargs -I{} ldd {}/bin/.jami-qt-real | gr= ep qtdeclarative > libQt5QuickWidgets.so.5 =3D> /gnu/store/mjl02yma4r5xjark6d8pp5h2j= 0a2vccs-qtdeclarative-5.15.2/lib/libQt5QuickWidgets.so.5 (0x00007fb9e38a800= 0) > libQt5Quick.so.5 =3D> /gnu/store/mjl02yma4r5xjark6d8pp5h2j0a2vccs= -qtdeclarative-5.15.2/lib/libQt5Quick.so.5 (0x00007fb9dba47000) > libQt5QmlModels.so.5 =3D> /gnu/store/mjl02yma4r5xjark6d8pp5h2j0a2= vccs-qtdeclarative-5.15.2/lib/libQt5QmlModels.so.5 (0x00007fb9db9c3000) > libQt5Qml.so.5 =3D> /gnu/store/mjl02yma4r5xjark6d8pp5h2j0a2vccs-q= tdeclarative-5.15.2/lib/libQt5Qml.so.5 (0x00007fb9dae4e000) This is due to the fact that, when you run =E2=80=98guix build jami-qt=E2= =80=99, the grafting derivation dismisses the =E2=80=9Cdebug=E2=80=9D output of qtdecla= rative, since jami-qt does not depend on it. That way it doesn=E2=80=99t have to build/download and graft qtdeclarative:debug. Conversely, when you run =E2=80=98guix build qtdeclarative=E2=80=99, it gra= fts both outputs of qtdeclarative. Thus, this grafting derivation is different from the one jami-qt.drv depends on. This behavior was implemented in commit 482fda2729c3e76999892cb8f9a0391a7bd37119. Not sure what a good solution would be. Thoughts? Ludo=E2=80=99.