GNU bug report logs -
#60584
Broken graft on clang-toolchain
Previous Next
Reported by: Greg Hogan <code <at> greghogan.com>
Date: Thu, 5 Jan 2023 21:13:02 UTC
Severity: normal
Merged with 60875
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 60584 in the body.
You can then email your comments to 60584 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#60584
; Package
guix
.
(Thu, 05 Jan 2023 21:13:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Greg Hogan <code <at> greghogan.com>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Thu, 05 Jan 2023 21:13:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
The recent zlib graft (from 1.2.11 to 1.2.12) is broken when grafting
clang-toolchain. The symbolic link points to the correct directory but
the incorrect file version.
--8<---------------cut here---------------start------------->8---
$ guix package -m development.scm
...
build of /gnu/store/r8088hz3i9gz5543ajdk2qv5ngblawk3-clang-toolchain-15.0.5.drv
failed
View build log at
'/var/log/guix/drvs/r8/088hz3i9gz5543ajdk2qv5ngblawk3-clang-toolchain-15.0.5.drv.gz'.
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
$ zcat /var/log/guix/drvs/r8/088hz3i9gz5543ajdk2qv5ngblawk3-clang-toolchain-15.0.5.drv.gz
grafting '/gnu/store/nzi37a18qxaxzns50dgvnb53z55rjpbv-clang-toolchain-15.0.5-debug'
-> '/gnu/store/k82qkqqi1h6z604ng00c7rv104aylv1x-clang-toolchain-15.0.5-debug'...
grafting '/gnu/store/q6qdzivkmxa4c8k6dk7z2yivsz8m26vz-clang-toolchain-15.0.5'
-> '/gnu/store/f1gc5894gsgc5v2b4zhmpll9yg1bmgl0-clang-toolchain-15.0.5'...
grafting '/gnu/store/bpwxrgdxr9zym16c3clbdhhnm82mrzm2-clang-toolchain-15.0.5-static'
-> '/gnu/store/ccy8jw83j11y02d74q4vs1lzsp5xn7c7-clang-toolchain-15.0.5-static'...
Backtrace:
In ice-9/boot-9.scm:
160: 13 [catch #t #<catch-closure 7ffff5ce7c00> ...]
In unknown file:
?: 12 [apply-smob/1 #<catch-closure 7ffff5ce7c00>]
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/qnpvxpxdc6lciqbny3pp5b3c5zl20lsh-clang-toolchain-15.0.5-builder"]
In srfi/srfi-1.scm:
616: 4 [for-each #<procedure 7ffff5665980 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 7ffff5b3b780 at
guix/build/debug-link.scm:177:14 (directory)> ...]
575: 1 [map #<procedure 7ffff5b3b780 at
guix/build/debug-link.scm:177:14 (directory)> ...]
In unknown file:
?: 0 [filter #<procedure 7ffff581e1e0 at guix/build/utils.scm:278:2
(file)> #]
ERROR: In procedure filter:
ERROR: In procedure open-file: No such file or directory:
"/gnu/store/f1gc5894gsgc5v2b4zhmpll9yg1bmgl0-clang-toolchain-15.0.5/lib/libz.so.1.2.11"
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
$ ll /gnu/store/f1gc5894gsgc5v2b4zhmpll9yg1bmgl0-clang-toolchain-15.0.5/lib/libz.so.1.2.11
lrwxrwxrwx 1 guixbuilder01 guixbuild 74 Jan 5 19:19
/gnu/store/f1gc5894gsgc5v2b4zhmpll9yg1bmgl0-clang-toolchain-15.0.5/lib/libz.so.1.2.11
-> /gnu/store/v8d7j5i02nfz951x1szbl9xrd873vc3l-zlib-1.2.12/lib/libz.so.1.2.11
--8<---------------cut here---------------end--------------->8---
--8<---------------cut here---------------start------------->8---
$ ll /gnu/store/v8d7j5i02nfz951x1szbl9xrd873vc3l-zlib-1.2.12/lib/
total 116
lrwxrwxrwx 1 root root 14 Jan 1 1970 libz.so -> libz.so.1.2.12
lrwxrwxrwx 1 root root 14 Jan 1 1970 libz.so.1 -> libz.so.1.2.12
-r-xr-xr-x 2 root root 117216 Jan 1 1970 libz.so.1.2.12
dr-xr-xr-x 2 root root 21 Jan 1 1970 pkgconfig
--8<---------------cut here---------------end--------------->8---
Information forwarded
to
bug-guix <at> gnu.org
:
bug#60584
; Package
guix
.
(Fri, 06 Jan 2023 01:15:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 60584 <at> debbugs.gnu.org (full text, mbox):
On Thu, Jan 05, 2023 at 04:11:45PM -0500, Greg Hogan wrote:
> The recent zlib graft (from 1.2.11 to 1.2.12) is broken when grafting
> clang-toolchain. The symbolic link points to the correct directory but
> the incorrect file version.
> --8<---------------cut here---------------start------------->8---
> $ ll /gnu/store/f1gc5894gsgc5v2b4zhmpll9yg1bmgl0-clang-toolchain-15.0.5/lib/libz.so.1.2.11
> lrwxrwxrwx 1 guixbuilder01 guixbuild 74 Jan 5 19:19
> /gnu/store/f1gc5894gsgc5v2b4zhmpll9yg1bmgl0-clang-toolchain-15.0.5/lib/libz.so.1.2.11
> -> /gnu/store/v8d7j5i02nfz951x1szbl9xrd873vc3l-zlib-1.2.12/lib/libz.so.1.2.11
> --8<---------------cut here---------------end--------------->8---
Huh! Any idea why?
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.
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Tue, 17 Jan 2023 15:14:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Greg Hogan <code <at> greghogan.com>
:
bug acknowledged by developer.
(Tue, 17 Jan 2023 15:14:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 60584-done <at> debbugs.gnu.org (full text, mbox):
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’.
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Tue, 17 Jan 2023 15:14:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ludovic Courtès <ludovic.courtes <at> inria.fr>
:
bug acknowledged by developer.
(Tue, 17 Jan 2023 15:14:02 GMT)
Full text and
rfc822 format available.
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 63 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.