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

To reply to this bug, email your comments to 39377 AT debbugs.gnu.org.

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#39377; Package guix. (Fri, 31 Jan 2020 22:08:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Matt Wette <matt.wette <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 31 Jan 2020 22:08:01 GMT) Full text and rfc822 format available.

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

From: Matt Wette <matt.wette <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: guix search reports bad location for bytestructures
Date: Fri, 31 Jan 2020 14:07:42 -0800
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
homepage: https://github.com/TaylanUB/scheme-bytestructures
license: GPL 3+
synopsis: Structured access to bytevector contents for Guile
description: Guile bytestructures offers a system imitating the type 
system of
+ the C programming language, to be used on bytevectors.  C's type 
system works
+ on raw memory, and Guile works on bytevectors which are an abstraction 
over
+ raw memory.  It's also more powerful than the C type system, elevating 
types
+ to first-class status.
relevance: 6

$ guix repl
scheme@(guix-user)> guile3.0-bytestructures
;;; <unknown-location>: warning: possibly unbound variable 
`guile3.0-bytestructures'
ERROR: error: guile3.0-bytestructures: unbound variable

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
scheme@(guix-user) [1]> ,use (gnu packages guile)
scheme@(guix-user) [1]> guile3.0-bytestructures
$1 = #<package guile3.0-bytestructures <at> 1.0.7 guix/packages.scm:880 
7f639f9532c0>





Information forwarded to bug-guix <at> gnu.org:
bug#39377; Package guix. (Sun, 02 Feb 2020 22:53:02 GMT) Full text and rfc822 format available.

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

From: Ludovic Courtès <ludo <at> gnu.org>
To: Matt Wette <matt.wette <at> gmail.com>
Cc: 39377 <at> debbugs.gnu.org
Subject: Re: 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 4 years and 85 days ago.

Previous Next


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