bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libjpeg-8 not installable


From: Ludovic Courtès
Subject: Re: libjpeg-8 not installable
Date: Sat, 19 Jan 2013 22:30:17 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Hi!

Andreas Enge <address@hidden> skribis:

> libjpeg-8 is listed by "guix-package --list-available", and built without 
> problem by "guix-build libjpeg-8". However:
>
> $ guix-package -i libjpeg-8
> libjpeg-8: package not found

(Note that you could do: guix-package -i `guix-build libjpeg-8`.)

> Could this be related to the definition with inheritance?
> (define-public libjpeg-8
>   (package (inherit libjpeg)
>    (name "libjpeg-8")
> ...

This has to do with how guix-package interprets package names.

As noted in the manual, users can write either “guix-package -i guile”
or “guix-package -i guile-2.0.7”.  In the latter case, guix-package
assumes that “2.0.7” is a version number, and then searches all packages
whose name is “guile” and whose version is “2.0.7”.

In your case, it searches for packages named “libjpeg” and whose version
number is “8”–which fails.

The fix it to not introduce the version number in the ‘name’ field, and
instead leave it in the ‘version’ field.

HTH,
Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]