GNU bug report logs - #39377
guix search reports bad location for bytestructures

Previous Next

Package: guix;

Reported by: Matt Wette <matt.wette <at> gmail.com>

Date: Fri, 31 Jan 2020 22:08:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Matt Wette <matt.wette <at> gmail.com>
Cc: 39377 <at> debbugs.gnu.org
Subject: bug#39377: guix search reports bad location for bytestructures
Date: Sun, 02 Feb 2020 23:52:41 +0100
Hi Matt,

Matt Wette <matt.wette <at> gmail.com> skribis:

> I'm using guix-1.0.1 on Fedora 30, x86_64.
>
> I wanted to get module spec for bytestructures, but failed:
> location points to (guix packages), but it's actually in (gnu packages
> guile).
>
> $ guix search bytestructures
> name: guile3.0-bytestructures
> version: 1.0.7
> outputs: out
> systems: x86_64-linux i686-linux
> dependencies: autoconf <at> 2.69 automake <at> 1.16.1 guile-next <at> 3.0.0
> pkg-config <at> 0.29.2
> location: guix/packages.scm:880:11

The location here is that of the ‘package-input-rewriting’ procedure,
which is used to define this “guile3.0-” variant.  But note that
‘guile-bytestructures’ has the right location info:

--8<---------------cut here---------------start------------->8---
$ guix show guile-bytestructures
name: guile-bytestructures
version: 1.0.7
outputs: out
systems: x86_64-linux i686-linux
dependencies: autoconf <at> 2.69 automake <at> 1.16.1 guile <at> 2.2.6 pkg-config <at> 0.29.2
location: gnu/packages/guile.scm:594:2
--8<---------------cut here---------------end--------------->8---

We could arrange so that ‘package-input-rewriting’ preserves source
location info (that would still be somewhat inaccurate, but hopefully
less misleading.)

Ludo’.




This bug report was last modified 5 years and 132 days ago.

Previous Next


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