unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: bbb ee <blasforr@gmail.com>
To: zimoun <zimon.toutoune@gmail.com>
Cc: 59278@debbugs.gnu.org
Subject: bug#59278: how gcc-toolchain can depends a package who doesn't exists?
Date: Tue, 15 Nov 2022 22:42:02 +0100	[thread overview]
Message-ID: <CALNLCmVQqW-L_3dd1Nz0AmYFs=b+pnCTfsz+pTNgbYPzGZgL9w@mail.gmail.com> (raw)
In-Reply-To: <864jv0k3r9.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1849 bytes --]

It is just a little confusing for newcomers to guix. If we really want to
improve something, I think that could be to give a more rigorous
specification of the guix command:

in `guix search --help`, the documentation could be "Search for no hidden
packages matching REGEXPS."

in
https://guix.gnu.org/manual/en/html_node/Invoking-guix-package.html#Invoking-guix-package,
in the specification of the option -s :
"-s regexp

List the available packages whose name, synopsis, or description matches
regexp
"
What exactly means  "available" ?  For example, available means no hidden
guix package.

And in

Le mar. 15 nov. 2022 à 15:54, zimoun <zimon.toutoune@gmail.com> a écrit :

> Hi,
>
> On Tue, 15 Nov 2022 at 00:53, bbb ee <blasforr@gmail.com> wrote:
>
> > in commit c81457, how gcc-toolchain can depends a package who doesn't
> > exists?
>
> The package exists, it is ’hidden’ – it means not accessible at the CLI
> level.  The ’inherit’ copies, so gcc-11 is also hidden, for instance.
>
> --8<---------------cut here---------------start------------->8---
> (define-public gcc-4.7
> [...]
>     (hidden-package
>      (package
>        (name "gcc")
>        (version "4.7.4")
>
> (define-public gcc-4.8
>   (package (inherit gcc-4.7)
>     (version "4.8.5")
>
> [...]
>
> (define-public gcc-11
>   (package
>    (inherit gcc-8)
>    (version "11.3.0")
> --8<---------------cut here---------------end--------------->8---
>
> The package ’gcc’ by itself is not barely useful because you also need
> linker etc. Well, you usually need a complete toolchain, named
> gcc-toolchain. ;-)
>
> See manual: <
> https://guix.gnu.org/manual/devel/en/guix.html#The-GCC-toolchain>
>
>
> So this is not a bug and I miss how what could be improved.  Closing?
>
> Cheers,
> simon
>

[-- Attachment #2: Type: text/html, Size: 2902 bytes --]

  reply	other threads:[~2022-11-15 21:43 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-14 23:53 bug#59278: how gcc-toolchain can depends a package who doesn't exists? bbb ee
2022-11-15  6:26 ` Julien Lepiller
2022-11-15 10:29   ` bbb ee
2022-11-15  8:42 ` zimoun
2022-11-15 21:42   ` bbb ee [this message]
2022-11-16  8:53     ` zimoun
2022-11-15 22:04   ` bbb ee
2022-11-15 10:30 ` bug#59278: bbb ee
2023-05-15 17:55 ` bug#59278: gcc@7 and higher are not hidden packages zimoun

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='CALNLCmVQqW-L_3dd1Nz0AmYFs=b+pnCTfsz+pTNgbYPzGZgL9w@mail.gmail.com' \
    --to=blasforr@gmail.com \
    --cc=59278@debbugs.gnu.org \
    --cc=zimon.toutoune@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).