GNU bug report logs - #60875
Grafting breaks with clang-toolchain@13

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludovic.courtes <at> inria.fr>

Date: Tue, 17 Jan 2023 10:24:01 UTC

Severity: normal

Merged with 60584

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 60875 in the body.
You can then email your comments to 60875 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to sebastien.rey-coyrehourcq <at> univ-rouen.fr, bug-guix <at> gnu.org:
bug#60875; Package guix. (Tue, 17 Jan 2023 10:24:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludovic.courtes <at> inria.fr>:
New bug report received and forwarded. Copy sent to sebastien.rey-coyrehourcq <at> univ-rouen.fr, bug-guix <at> gnu.org. (Tue, 17 Jan 2023 10:24:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludovic.courtes <at> inria.fr>
To: bug-guix <at> gnu.org
Subject: Grafting breaks with clang-toolchain <at> 13
Date: Tue, 17 Jan 2023 11:23:42 +0100
Here’s what happens:

--8<---------------cut here---------------start------------->8---
$ guix build clang-toolchain <at> 13
The following grafts will be made:
   /gnu/store/gsh6dsafxmkh5wp3cq57czmlz2rc0a7m-clang-toolchain-13.0.1.drv
   /gnu/store/2wa74gbigf0p9ma395qb88983vlwr1w3-clang-runtime-13.0.1.drv
   /gnu/store/iq9n0432xiqnvspwcdy5lskckfzd8jv9-clang-13.0.1.drv
applying 1 graft for clang-runtime-13.0.1 ...
grafting '/gnu/store/qlv8wj8xs8n0ix3843zqzv6xzrk1sf0m-clang-runtime-13.0.1' -> '/gnu/store/jx5c9lii5m44ghj054n9vyl3sxsg8z4h-clang-runtime-13.0.1'...
successfully built /gnu/store/2wa74gbigf0p9ma395qb88983vlwr1w3-clang-runtime-13.0.1.drv
applying 6 grafts for clang-13.0.1 ...
grafting '/gnu/store/zfs41ixykm4z9162gajgs1ndc6bsbcqr-clang-13.0.1' -> '/gnu/store/iv4y7b4rl5bqjib4zna35wc9g61599zm-clang-13.0.1'...
successfully built /gnu/store/iq9n0432xiqnvspwcdy5lskckfzd8jv9-clang-13.0.1.drv
applying 5 grafts for clang-toolchain-13.0.1 ...
grafting '/gnu/store/ahg9050hcbcajlyh8hxg3vpawh96s6mz-clang-toolchain-13.0.1-debug' -> '/gnu/store/d6ayplxcfv94qs42rdfd5pcjmszzx2hh-clang-toolchain-13.0.1-debug'...
grafting '/gnu/store/0wrp34pb4hrd1vvs7hm4aylx11bipyi9-clang-toolchain-13.0.1' -> '/gnu/store/12wnswvdc1mk9cr498dxflxim4qm2pyq-clang-toolchain-13.0.1'...
grafting '/gnu/store/6yl60fk3ph988gxj40h95cck88ya2cvg-clang-toolchain-13.0.1-static' -> '/gnu/store/axvgyspibna9q487axjbkn22ghvsgvri-clang-toolchain-13.0.1-static'...
Backtrace:
In ice-9/boot-9.scm:
 160: 13 [catch #t #<catch-closure 7ffff5ce7d60> ...]
In unknown file:
   ?: 12 [apply-smob/1 #<catch-closure 7ffff5ce7d60>]
In ice-9/boot-9.scm:
  66: 11 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 10 [eval # #]
In ice-9/boot-9.scm:
2412: 9 [save-module-excursion #<procedure 7ffff5d087c0 at ice-9/boot-9.scm:4084:3 ()>]
4089: 8 [#<procedure 7ffff5d087c0 at ice-9/boot-9.scm:4084:3 ()>]
1734: 7 [%start-stack load-stack ...]
1739: 6 [#<procedure 7ffff5d1a6c0 ()>]
In unknown file:
   ?: 5 [primitive-load "/gnu/store/axv2m1ck8xnkhgpzzz8bw7jfz9v1164i-clang-toolchain-13.0.1-builder"]
In srfi/srfi-1.scm:
 616: 4 [for-each #<procedure 7ffff41d8f00 at guix/build/graft.scm:445:12 (hook)> #]
In guix/build/debug-link.scm:
 195: 3 [graft-debug-links (# # #) (# # #) (# # # # ...) ...]
In srfi/srfi-1.scm:
 643: 2 [append-map #<procedure 7ffff5afb1e0 at guix/build/debug-link.scm:177:14 (directory)> ...]
 575: 1 [map #<procedure 7ffff5afb1e0 at guix/build/debug-link.scm:177:14 (directory)> ...]
In unknown file:
   ?: 0 [filter #<procedure 7ffff581c1e0 at guix/build/utils.scm:278:2 (file)> #]

ERROR: In procedure filter:
ERROR: In procedure open-file: No such file or directory: "/gnu/store/12wnswvdc1mk9cr498dxflxim4qm2pyq-clang-toolchain-13.0.1/lib/libz.so.1.2.11"
builder for `/gnu/store/gsh6dsafxmkh5wp3cq57czmlz2rc0a7m-clang-toolchain-13.0.1.drv' failed with exit code 1
build of /gnu/store/gsh6dsafxmkh5wp3cq57czmlz2rc0a7m-clang-toolchain-13.0.1.drv failed
View build log at '/var/log/guix/drvs/gs/h6dsafxmkh5wp3cq57czmlz2rc0a7m-clang-toolchain-13.0.1.drv.gz'.
guix build: error: build of `/gnu/store/gsh6dsafxmkh5wp3cq57czmlz2rc0a7m-clang-toolchain-13.0.1.drv' failed
$ guix describe
Generation 241  Jan 16 2023 00:26:44    (current)
  guix 5c92197
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: 5c921977179489caef4a9e54ada6696fc86d2f0b
--8<---------------cut here---------------end--------------->8---

The file exists but it’s a dangling symlink:

--8<---------------cut here---------------start------------->8---
$ ls -l /gnu/store/12wnswvdc1mk9cr498dxflxim4qm2pyq-clang-toolchain-13.0.1/lib/libz.so.1.2.11
lrwxrwxrwx 1 guixbuilder01 guixbuild 74 Jan 17 10:36 /gnu/store/12wnswvdc1mk9cr498dxflxim4qm2pyq-clang-toolchain-13.0.1/lib/libz.so.1.2.11 -> /gnu/store/v8d7j5i02nfz951x1szbl9xrd873vc3l-zlib-1.2.12/lib/libz.so.1.2.11
$ stat -L /gnu/store/12wnswvdc1mk9cr498dxflxim4qm2pyq-clang-toolchain-13.0.1/lib/libz.so.1.2.11
stat: cannot statx '/gnu/store/12wnswvdc1mk9cr498dxflxim4qm2pyq-clang-toolchain-13.0.1/lib/libz.so.1.2.11': No such file or directory
--8<---------------cut here---------------end--------------->8---

Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#60875; Package guix. (Tue, 17 Jan 2023 12:17:02 GMT) Full text and rfc822 format available.

Message #8 received at 60875 <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Ludovic Courtès <ludovic.courtes <at> inria.fr>
Cc: Sébastien Rey-Coyrehourcq
 <sebastien.rey-coyrehourcq <at> univ-rouen.fr>, 60875 <at> debbugs.gnu.org
Subject: Re: bug#60875: Grafting breaks with clang-toolchain <at> 13
Date: Tue, 17 Jan 2023 07:16:28 -0500
On Tue, Jan 17, 2023 at 11:23:42AM +0100, Ludovic Courtès wrote:
> The file exists but it’s a dangling symlink:
> 
> --8<---------------cut here---------------start------------->8---
> $ ls -l /gnu/store/12wnswvdc1mk9cr498dxflxim4qm2pyq-clang-toolchain-13.0.1/lib/libz.so.1.2.11
> lrwxrwxrwx 1 guixbuilder01 guixbuild 74 Jan 17 10:36 /gnu/store/12wnswvdc1mk9cr498dxflxim4qm2pyq-clang-toolchain-13.0.1/lib/libz.so.1.2.11 -> /gnu/store/v8d7j5i02nfz951x1szbl9xrd873vc3l-zlib-1.2.12/lib/libz.so.1.2.11
> $ stat -L /gnu/store/12wnswvdc1mk9cr498dxflxim4qm2pyq-clang-toolchain-13.0.1/lib/libz.so.1.2.11
> stat: cannot statx '/gnu/store/12wnswvdc1mk9cr498dxflxim4qm2pyq-clang-toolchain-13.0.1/lib/libz.so.1.2.11': No such file or directory
> --8<---------------cut here---------------end--------------->8---

Merged with <https://issues.guix.gnu.org/issue/60584>




Merged 60584 60875. Request was from Leo Famulari <leo <at> famulari.name> to control <at> debbugs.gnu.org. (Tue, 17 Jan 2023 12:17:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#60875; Package guix. (Tue, 17 Jan 2023 15:14:02 GMT) Full text and rfc822 format available.

Message #13 received at 60875-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Leo Famulari <leo <at> famulari.name>
Cc: 60584-done <at> debbugs.gnu.org, Sébastien Rey-Coyrehourcq
 <sebastien.rey-coyrehourcq <at> univ-rouen.fr>, Greg Hogan <code <at> greghogan.com>,
 60875-done <at> debbugs.gnu.org
Subject: Re: bug#60875: Grafting breaks with clang-toolchain <at> 13
Date: Tue, 17 Jan 2023 16:13:45 +0100
Hi,

Leo Famulari <leo <at> famulari.name> skribis:

> On Tue, Jan 17, 2023 at 11:23:42AM +0100, Ludovic Courtès wrote:
>> The file exists but it’s a dangling symlink:
>> 
>> --8<---------------cut here---------------start------------->8---
>> $ ls -l /gnu/store/12wnswvdc1mk9cr498dxflxim4qm2pyq-clang-toolchain-13.0.1/lib/libz.so.1.2.11
>> lrwxrwxrwx 1 guixbuilder01 guixbuild 74 Jan 17 10:36 /gnu/store/12wnswvdc1mk9cr498dxflxim4qm2pyq-clang-toolchain-13.0.1/lib/libz.so.1.2.11 -> /gnu/store/v8d7j5i02nfz951x1szbl9xrd873vc3l-zlib-1.2.12/lib/libz.so.1.2.11
>> $ stat -L /gnu/store/12wnswvdc1mk9cr498dxflxim4qm2pyq-clang-toolchain-13.0.1/lib/libz.so.1.2.11
>> stat: cannot statx '/gnu/store/12wnswvdc1mk9cr498dxflxim4qm2pyq-clang-toolchain-13.0.1/lib/libz.so.1.2.11': No such file or directory
>> --8<---------------cut here---------------end--------------->8---
>
> Merged with <https://issues.guix.gnu.org/issue/60584>

Fixed in c4a8762e529dc3f8af89dde5dbcbb82f2a4088a3.

Now it would be good to see why ‘clang-toolchain’ has this dangling
symlink.

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 15 Feb 2023 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 42 days ago.

Previous Next


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