unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: noloader@gmail.com
Cc: 43303@debbugs.gnu.org
Subject: bug#43303: GCC package name
Date: Thu, 10 Sep 2020 10:34:29 +0200	[thread overview]
Message-ID: <CAJ3okZ2OUYzhnj-1-2ntV29vQ4qRRW=NVf0SmDPPDDjDszHynA@mail.gmail.com> (raw)
In-Reply-To: <CAH8yC8kcLJJi-V6ekgzCANV+JjvvrhJbuDf4OR+85NZEueR7hg@mail.gmail.com>

Dear,

Thank you for the feedback.

On Thu, 10 Sep 2020 at 07:22, Jeffrey Walton <noloader@gmail.com> wrote:

> It took me about 15 minutes to install GCC on Guix because Guix named
> the GCC package libgccjit.

It is a common "mistake" and there is an entry in the manual about that:

https://guix.gnu.org/manual/devel/en/guix.html#The-GCC-toolchain

Moreover, I am not sure what you want is 'libgccjit' but 'gcc-toolchain'.


> These are the names developers expect for the compiler. They don't
> expect a name like libgccjit.

However, you are right.  Something is wrong with "guix search", for example:

--8<---------------cut here---------------start------------->8---
guix search gcc | recsel -p name,relevance | head -11
name: libgccjit
relevance: 11

name: gccmakedep
relevance: 11

name: gccgo
relevance: 11

name: gcc-toolchain
relevance: 11
--8<---------------cut here---------------end--------------->8---

It is unfortunate and the synopsis of 'libgccjit' should be more
descriptive than "GNU Compiler Collection".


> With the aliases in place, a command like 'guix install gcc' works as expected.

As said above, the right command is "guix install gcc-toolchain".

> Without the aliases (and absent a sane package name), people have to
> lookup the documentation and read how to use the package manager for a
> simple task like installing the compiler. When 50 or 100 developers
> waste 15 minutes of their time, that's about 1 man-week wasted.
> There's no reason to waste man-weeks on simple tasks.

I understand the frustration.  What could be improved in the manual?

How did you process after

  $ guix install gcc
  guix install: error: gcc: unknown package

?  Which terms did you use with "guix search"?


All the best,
simon




  parent reply	other threads:[~2020-09-10  8:35 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-10  5:20 bug#43303: GCC package name Jeffrey Walton
2020-09-10  6:18 ` Malte Gerdes
2020-09-10  8:34 ` zimoun [this message]
2020-09-10 10:33 ` Ludovic Courtès
2020-09-10 11:16   ` zimoun
2020-09-10 11:32     ` Ricardo Wurmus
2020-09-10 11:43       ` zimoun
2020-09-10 13:22         ` Ricardo Wurmus
2020-09-11 16:11     ` zimoun
2020-09-10 11:22   ` Jeffrey Walton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ3okZ2OUYzhnj-1-2ntV29vQ4qRRW=NVf0SmDPPDDjDszHynA@mail.gmail.com' \
    --to=zimon.toutoune@gmail.com \
    --cc=43303@debbugs.gnu.org \
    --cc=noloader@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).