X-Loop: help-debbugs@HIDDEN Subject: bug#70349: Clang fails to communicate RUNPATH? Resent-From: Liliana Marie Prikler <liliana.prikler@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guix@HIDDEN Resent-Date: Fri, 12 Apr 2024 09:39:04 +0000 Resent-Message-ID: <handler.70349.B.171291471012955 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 70349 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 70349 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guix@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.171291471012955 (code B ref -1); Fri, 12 Apr 2024 09:39:04 +0000 Received: (at submit) by debbugs.gnu.org; 12 Apr 2024 09:38:30 +0000 Received: from localhost ([127.0.0.1]:57897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rvDMT-0003MU-29 for submit <at> debbugs.gnu.org; Fri, 12 Apr 2024 05:38:29 -0400 Received: from lists.gnu.org ([2001:470:142::17]:49052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <liliana.prikler@HIDDEN>) id 1rvDMP-0003Ki-7C for submit <at> debbugs.gnu.org; Fri, 12 Apr 2024 05:38:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <liliana.prikler@HIDDEN>) id 1rvDM9-0006LA-E3 for bug-guix@HIDDEN; Fri, 12 Apr 2024 05:38:01 -0400 Received: from mailrelay.tugraz.at ([129.27.2.202]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <liliana.prikler@HIDDEN>) id 1rvDM6-0005GN-2v for bug-guix@HIDDEN; Fri, 12 Apr 2024 05:38:01 -0400 Received: from lprikler-laptop.ist.intra (gw.ist.tugraz.at [129.27.202.101]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4VGBKb0pM2z3xD4 for <bug-guix@HIDDEN>; Fri, 12 Apr 2024 11:36:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1712914611; bh=odRQauBi3vmWPvINkytt8oNr8lqIb7cqfY/ldt63JlA=; h=Subject:From:To:Date; b=quwKAaWSKSl4cZ4Up//V12VS/LskSlK+dZFQZ4tkv1c6XOKf0rLnzGOuB3aigXjm0 7D6ULdtSZ5le8p8ArlrcZaLH0kGLUvlh81wC+nvuNe5cSYdWq2xjJjbOFM9wGNpb2Y bZPKb6O7spdaV06Z5KZNmm2UqeYHklaR9MmhTNDs= Message-ID: <ea7bdbf65e1bb57f5a1b976d4da17c4612d85d57.camel@HIDDEN> From: Liliana Marie Prikler <liliana.prikler@HIDDEN> Date: Fri, 12 Apr 2024 11:36:50 +0200 Content-Type: multipart/mixed; boundary="=-sS+hXT+EVQO+LNJkvJLS" User-Agent: Evolution 3.48.4 MIME-Version: 1.0 X-TUG-Backscatter-control: waObeELIUl4ypBWmcn/8wQ X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.116 Received-SPF: none client-ip=129.27.2.202; envelope-from=liliana.prikler@HIDDEN; helo=mailrelay.tugraz.at X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.0 (/) 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 (-) --=-sS+hXT+EVQO+LNJkvJLS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Guix, I've noticed a strange error when attempting to build my software against clang-toolchain. I've attached a minimally breaking example, but the gist of it is that RUNPATH validation fails as shown below. starting phase `validate-runpath' validating RUNPATH of 1 binaries in "/gnu/store/sd1zjjf13mi448qbqaphhcvf9ap5jxji-why-hello-0/bin"... /gnu/store/sd1zjjf13mi448qbqaphhcvf9ap5jxji-why-hello-0/bin/hello: error: depends on 'libfmt.so.9', which cannot be found in RUNPATH =C2=A0("/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib") Is this expected? I know that the -for-system have historically disregarded the existence of clang-toolchain and hence led to issues, but I think this is something else=E2=80=A6 Cheers --=-sS+hXT+EVQO+LNJkvJLS Content-Disposition: attachment; filename="why-hello.scm" Content-Type: text/x-scheme; name="why-hello.scm"; charset="UTF-8" Content-Transfer-Encoding: base64 KHVzZS1tb2R1bGVzIChnbnUgcGFja2FnZXMgcHJldHR5LXByaW50KQogICAgICAgICAgICAgKGdu dSBwYWNrYWdlcyBwa2ctY29uZmlnKQogICAgICAgICAgICAgKGd1aXggcGFja2FnZXMpCiAgICAg ICAgICAgICAoZ3VpeCBnZXhwKQogICAgICAgICAgICAgKGd1aXggdHJhbnNmb3JtYXRpb25zKQog ICAgICAgICAgICAgKGd1aXggYnVpbGQtc3lzdGVtIG1lc29uKQogICAgICAgICAgICAgKChndWl4 IGxpY2Vuc2VzKSAjOnNlbGVjdCAoZ3BsMyspKQogICAgICAgICAgICAgKChndWl4IGdpdC1kb3du bG9hZCkgIzpzZWxlY3QgKGdpdC1maWxlLW5hbWUpKQogICAgICAgICAgICAgKHNyZmkgc3JmaS0y NikpCgooZGVmaW5lIHdoeS1oZWxsbwogIChwYWNrYWdlCiAgIChuYW1lICJ3aHktaGVsbG8iKQog ICAodmVyc2lvbiAiMCIpCiAgIChzb3VyY2UgKGZpbGUtdW5pb24gKGdpdC1maWxlLW5hbWUgbmFt ZSB2ZXJzaW9uKQogICAgICAgICAgICBgKCgiaGVsbG8uY3BwIiAsKHBsYWluLWZpbGUgImhlbGxv LmNwcCIKICAgICAgICAgICAgICAgICAgICAgICAiXAojaW5jbHVkZSA8Zm10L2Zvcm1hdC5oPgoK aW50Cm1haW4oKQp7CiAgZm10OjpwcmludCAoXCJ7fVxcblwiLCBcIkhlbGxvLCB3b3JsZFwiKTsK ICByZXR1cm4gMDsKfQoiKSkKICAgICAgICAgICAgICAoIm1lc29uLmJ1aWxkIiAsKHBsYWluLWZp bGUgIm1lc29uLmJ1aWxkIgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAiXApwcm9qZWN0KCdoZWxsbycsICdjcHAnLCBkZWZhdWx0X29wdGlvbnM6IFsnY3BwX3N0ZD1j KysyMCddKQpleGVjdXRhYmxlKCdoZWxsbycsIGZpbGVzKCdoZWxsby5jcHAnKSwgaW5zdGFsbDog dHJ1ZSwKICAgICAgICAgICBkZXBlbmRlbmNpZXM6IFtkZXBlbmRlbmN5KCdmbXQnKV0pCiIpKSkp KQogICAoYnVpbGQtc3lzdGVtIG1lc29uLWJ1aWxkLXN5c3RlbSkKICAgKGlucHV0cyAobGlzdCBm bXQpKQogICAobmF0aXZlLWlucHV0cyAobGlzdCBwa2ctY29uZmlnKSkKICAgKGhvbWUtcGFnZSAo YW5kPT4gKGN1cnJlbnQtZmlsZW5hbWUpCiAgICAgICAgICAgICAgICAgICAgIChjdXRlIHN0cmlu Zy1hcHBlbmQgImZpbGU6Ly8iIDw+KSkpCiAgIChzeW5vcHNpcyAiSGVsbG8gd29ybGQiKQogICAo ZGVzY3JpcHRpb24gIlRoaXMgcGFja2FnZSBwcm92aWRlcyBhIHNpbXBsZSBwcm9ncmFtIHRoYXQg YnVpbGRzIHdpdGgKR0NDL0crKyBub3JtYWxseSwgYnV0IGZhaWxzIG1pc2VyYWJseSB3aGVuIHRo ZSBjbGFuZy10b29sY2hhaW4gaXMgdXNlZC4iKQogICAobGljZW5zZSBncGwzKykpKQoKKGRlZmlu ZSB3aHktaGVsbG8tY2xhbmcKICAoKG9wdGlvbnMtPnRyYW5zZm9ybWF0aW9uCiAgICAnKCh3aXRo LWMtdG9vbGNoYWluIC4gIndoeS1oZWxsbz1jbGFuZy10b29sY2hhaW4iKSkpCiAgIHdoeS1oZWxs bykpCgp3aHktaGVsbG8tY2xhbmcK --=-sS+hXT+EVQO+LNJkvJLS--
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Liliana Marie Prikler <liliana.prikler@HIDDEN> Subject: bug#70349: Acknowledgement (Clang fails to communicate RUNPATH?) Message-ID: <handler.70349.B.171291471012955.ack <at> debbugs.gnu.org> References: <ea7bdbf65e1bb57f5a1b976d4da17c4612d85d57.camel@HIDDEN> X-Gnu-PR-Message: ack 70349 X-Gnu-PR-Package: guix Reply-To: 70349 <at> debbugs.gnu.org Date: Fri, 12 Apr 2024 09:39:05 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guix@HIDDEN If you wish to submit further information on this problem, please send it to 70349 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 70349: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D70349 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.