GNU bug report logs -
#35588
guix package --search does not search output names
Previous Next
Reported by: Chris Marusich <cmmarusich <at> gmail.com>
Date: Sun, 5 May 2019 19:40:01 UTC
Severity: normal
Tags: fixed
Done: Chris Marusich <cmmarusich <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#35588: guix package --search does not search output names
which was filed against the guix package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 35588 <at> debbugs.gnu.org.
--
35588: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35588
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
[Message part 3 (text/plain, inline)]
Ludovic Courtès <ludo <at> gnu.org> writes:
> I would exclude only the standard output names used by (guix build
> gnu-build-system), so:
>
> ("out" "doc" "debug" "lib" "include" "bin")
>
> That way one can still do ‘guix search git gui’ or ‘guix search bind utils’.
I didn't know you could do that! Your suggestion makes sense. I've
done as you suggest in commit 387e6b9e340ce4b401f220f72881415623a466f7.
Thanks everyone! I'm closing this bug report.
--
Chris
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
[Message part 6 (text/plain, inline)]
Hi,
mikadoZero reported a bug here:
https://lists.gnu.org/archive/html/help-guix/2019-04/msg00206.html
The bug is reproducible. On Guix commit
aa7cdc57dc28673dedfc6ec210974aaa0099a419, a search for keyword "cargo"
does not find the "cargo" output of the "rust" package:
--8<---------------cut here---------------start------------->8---
$ guix package --search=cargo
name: chromium-bsu
version: 0.9.16.1
outputs: out
systems: x86_64-linux i686-linux armhf-linux aarch64-linux mips64el-linux
dependencies: gettext-minimal <at> 0.19.8.1 glu <at> 9.0.0 pkg-config <at> 0.29.2
+ quesoglc <at> 0.7.2 sdl-union <at> 1.2.15
location: gnu/packages/games.scm:3295:2
homepage: http://chromium-bsu.sourceforge.net/
license: Clarified Artistic, Expat
synopsis: Fast-paced, arcade-style, top-scrolling space shooter
description: In this game you are the captain of the cargo ship Chromium
+ B.S.U. and are responsible for delivering supplies to the troops on the front
+ line. Your ship has a small fleet of robotic fighters which you control from
+ the relative safety of the Chromium vessel.
relevance: 2
--8<---------------cut here---------------end--------------->8---
It should have printed all the "rust" packages, and the "mrustc"
package, since each of them has a "cargo" output. Example:
--8<---------------cut here---------------start------------->8---
name: rust
version: 1.34.0
outputs: out doc cargo
systems: x86_64-linux i686-linux armhf-linux aarch64-linux mips64el-linux
dependencies: bison <at> 3.0.5 cmake <at> 3.13.1 curl <at> 7.63.0 flex <at> 2.6.4 gdb <at> 8.2.1
+ jemalloc <at> 5.1.0 libssh2 <at> 1.8.2 llvm <at> 6.0.1 openssl <at> 1.0.2p pkg-config <at> 0.29.2
+ procps <at> 3.3.15 python2 <at> 2.7.15 rust <at> 1.33.0 which <at> 2.21
location: gnu/packages/rust.scm:1026:4
homepage: https://www.rust-lang.org
license: ASL 2.0, Expat
synopsis: Compiler for the Rust progamming language
description: Rust is a systems programming language that provides memory
+ safety and thread safety guarantees.
--8<---------------cut here---------------end--------------->8---
The general problem here is that Guix does not include outputs whose
name matches the given regex. One might argue that we should simply add
the output's name to a searchable field, like the description, in cases
like this, but if it's easy to fix, we should just fix it.
--
Chris
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 6 years and 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.