GNU bug report logs - #39425
On <https://guix.gnu.org/packages/>, package source links are broken.

Previous Next

Package: guix;

Reported by: Alex ter Weele <alex.ter.weele <at> gmail.com>

Date: Tue, 4 Feb 2020 17:23:01 UTC

Severity: normal

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 39425 in the body.
You can then email your comments to 39425 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 bug-guix <at> gnu.org:
bug#39425; Package guix. (Tue, 04 Feb 2020 17:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alex ter Weele <alex.ter.weele <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 04 Feb 2020 17:23:02 GMT) Full text and rfc822 format available.

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

From: Alex ter Weele <alex.ter.weele <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: On <https://guix.gnu.org/packages/>, package source links are broken.
Date: Tue, 04 Feb 2020 11:22:20 -0600
For example, <https://guix.gnu.org/packages/unicode-emoji-12.0/> links
to
<https://git.savannah.gnu.org/cgit/guix.git/tree//gnu/store/wfk1qhx56qsyyi03s98ihy9370298xfm-guix-module-union/share/guile/site/3.0/gnu/packages/unicode.scm#n64>,
which 404s.

Relevant discussion from #guix:
<http://logs.guix.gnu.org/guix/2020-02-04.log#175447>.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Fri, 20 Mar 2020 23:09:02 GMT) Full text and rfc822 format available.

Notification sent to Alex ter Weele <alex.ter.weele <at> gmail.com>:
bug acknowledged by developer. (Fri, 20 Mar 2020 23:09:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Alex ter Weele <alex.ter.weele <at> gmail.com>
Cc: 39425-done <at> debbugs.gnu.org
Subject: Re: bug#39425: On <https://guix.gnu.org/packages/>,
 package source links are broken.
Date: Sat, 21 Mar 2020 00:08:36 +0100
Hi!

Alex ter Weele <alex.ter.weele <at> gmail.com> skribis:

> For example, <https://guix.gnu.org/packages/unicode-emoji-12.0/> links
> to
> <https://git.savannah.gnu.org/cgit/guix.git/tree//gnu/store/wfk1qhx56qsyyi03s98ihy9370298xfm-guix-module-union/share/guile/site/3.0/gnu/packages/unicode.scm#n64>,
> which 404s.
>
> Relevant discussion from #guix:
> <http://logs.guix.gnu.org/guix/2020-02-04.log#175447>.

This should be fixed by f2b24f01f42c1bad3ddffd140194de1aec38a5f8.

The change of behavior was presumably caused by
09238d618a511de80de189ff3ff18bfa0f280bb9, which removed a layer of
‘canonicalize-path’, which in turn prevented relative file name
canonicalization in ‘package-field-location’ to work:

--8<---------------cut here---------------start------------->8---
scheme@(guix-user)> (search-path %load-path "gnu/packages/base.scm")
$1 = "/gnu/store/sy9sh0m6nam63iny9xcsrmn2q7pp4sik-guix-module-union/share/guile/site/3.0/gnu/packages/base.scm"
scheme@(guix-user)> (call-with-input-file $1 port-filename)
$2 = "/gnu/store/sy9sh0m6nam63iny9xcsrmn2q7pp4sik-guix-module-union/share/guile/site/3.0/gnu/packages/base.scm"
scheme@(guix-user)> (fluid-set! %file-port-name-canonicalization 'relative)
scheme@(guix-user)> (call-with-input-file $1 port-filename)
$3 = "/gnu/store/sy9sh0m6nam63iny9xcsrmn2q7pp4sik-guix-module-union/share/guile/site/3.0/gnu/packages/base.scm"
scheme@(guix-user)> %load-path
$4 = ("/gnu/store/sy9sh0m6nam63iny9xcsrmn2q7pp4sik-guix-module-union/share/guile/site/3.0" "/home/ludo/.guix-profile/share/guile/site/3.0" "/run/current-system/profile/share/guile/site/2.2" "/home/ludo/.guix-profile/share/guile/site/3.0" "/run/current-system/profile/share/guile/site/2.2" "/home/ludo/.guix-profile/share/guile/site/3.0" "/run/current-system/profile/share/guile/site/2.2" "/gnu/store/0awhym5h0m890n0wq87y0dxznh14rk88-guile-next-3.0.1/share/guile/3.0" "/gnu/store/0awhym5h0m890n0wq87y0dxznh14rk88-guile-next-3.0.1/share/guile/site/3.0" "/gnu/store/0awhym5h0m890n0wq87y0dxznh14rk88-guile-next-3.0.1/share/guile/site" "/gnu/store/0awhym5h0m890n0wq87y0dxznh14rk88-guile-next-3.0.1/share/guile")
scheme@(guix-user)> (canonicalize-path $3)
$5 = "/gnu/store/1xyinzzh924fpn79mmc279n7hzwzsn8l-guix-5e78a87bb-modules/share/guile/site/3.0/gnu/packages/base.scm"
--8<---------------cut here---------------end--------------->8---

Since ‘scm_i_relativize_path’ in Guile starts by calling
‘canonicalize-path’, it would then search for
/gnu/store/1xyin…-guix-5e78a87bb-modules in ‘%load-path’, but it’s not
there as such.

Anyway, the web site should be fixed on the next update, within an hour.

Thanks,
Ludo’.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 18 Apr 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 7 days ago.

Previous Next


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