GNU bug report logs - #70349
Clang fails to communicate RUNPATH?

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: Liliana Marie Prikler <liliana.prikler@HIDDEN>; dated Fri, 12 Apr 2024 09:39:04 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 12 Apr 2024 09:38:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 12 05:38:29 2024
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>
Subject: Clang fails to communicate RUNPATH?
From: Liliana Marie Prikler <liliana.prikler@HIDDEN>
To: bug-guix@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-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: -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
dSBwYWNrYWdlcyBwa2ctY29uZm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kp
KQogICAoYnVpbGQtc3lzdGVtIG1lc29uLWJ1aWxkLXN5c3RlbSkKICAgKGlucHV0cyAobGlzdCBm
bXQpKQogICAobmF0aXZlLWlucHV0cyAobGlzdCBwa2ctY29uZmlnKSkKICAgKGhvbWUtcGFnZSAo
YW5kPT4gKGN1cnJlbnQtZmlsZW5hbWUpCiAgICAgICAgICAgICAgICAgICAgIChjdXRlIHN0cmlu
Zy1hcHBlbmQgImZpbGU6Ly8iIDw+KSkpCiAgIChzeW5vcHNpcyAiSGVsbG8gd29ybGQiKQogICAo
ZGVzY3JpcHRpb24gIlRoaXMgcGFja2FnZSBwcm92aWRlcyBhIHNpbXBsZSBwcm9ncmFtIHRoYXQg
YnVpbGRzIHdpdGgKR0NDL0crKyBub3JtYWxseSwgYnV0IGZhaWxzIG1pc2VyYWJseSB3aGVuIHRo
ZSBjbGFuZy10b29sY2hhaW4gaXMgdXNlZC4iKQogICAobGljZW5zZSBncGwzKykpKQoKKGRlZmlu
ZSB3aHktaGVsbG8tY2xhbmcKICAoKG9wdGlvbnMtPnRyYW5zZm9ybWF0aW9uCiAgICAnKCh3aXRo
LWMtdG9vbGNoYWluIC4gIndoeS1oZWxsbz1jbGFuZy10b29sY2hhaW4iKSkpCiAgIHdoeS1oZWxs
bykpCgp3aHktaGVsbG8tY2xhbmcK


--=-sS+hXT+EVQO+LNJkvJLS--




Acknowledgement sent to Liliana Marie Prikler <liliana.prikler@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#70349; 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: Fri, 12 Apr 2024 09:45:01 UTC

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