missing INFOPATH for some packages (Git, Coreutils)

  • Done
  • quality assurance status badge
Details
3 participants
  • John Kehayias
  • Maxim Cournoyer
  • Simon Tournier
Owner
unassigned
Submitted by
Simon Tournier
Severity
normal
S
S
Simon Tournier wrote on 26 Oct 2023 10:11
(address . bug-guix@gnu.org)
87fs1xhkgf.fsf@gmail.com
Hi,

Is it expected

Toggle snippet (10 lines)
$ guix shell -C git coreutils
[env]$ ls $GUIX_ENVIRONMENT/share/info
coreutils.info.gz dir git.info.gz gitman.info.gz

/tmp/some-dir [env]$ exit
$ guix shell -C git coreutils --search-paths
export PATH="/gnu/store/jigy78ai2asmgwhxpxzq2dhqhqi8c4p6-profile/bin${PATH:+:}$PATH"
export GIT_EXEC_PATH="/gnu/store/jigy78ai2asmgwhxpxzq2dhqhqi8c4p6-profile/libexec/git-core"

? I was expecting an INFOPATH in the search path.

Well, it appears to me a bug but if I am missing something, feel free to
point me what :-) and then close.


Cheers,
simon
J
J
John Kehayias wrote on 27 Oct 2023 04:32
(name . Simon Tournier)(address . zimon.toutoune@gmail.com)(address . 66757@debbugs.gnu.org)
87cyx023to.fsf@protonmail.com
Hello,

On Thu, Oct 26, 2023 at 10:11 AM, Simon Tournier wrote:

Toggle quote (10 lines)
> Hi,
>
> Is it expected
>
> $ guix shell -C git coreutils
> [env]$ ls $GUIX_ENVIRONMENT/share/info
> coreutils.info.gz dir git.info.gz gitman.info.gz
>
> /tmp/some-dir [env]$ exit

Well there's no info-reader right? So doing "info git" errors with no
"info" found.

Toggle quote (7 lines)
> $ guix shell -C git coreutils --search-paths
> export PATH="/gnu/store/jigy78ai2asmgwhxpxzq2dhqhqi8c4p6-profile/bin${PATH:+:}$PATH"
> export GIT_EXEC_PATH="/gnu/store/jigy78ai2asmgwhxpxzq2dhqhqi8c4p6-profile/libexec/git-core"
>
> ? I was expecting an INFOPATH in the search path.
>

If you add info-reader to the packages I get an INFOPATH search-path
(and of course then an info command is available and works).

Toggle quote (7 lines)
> Well, it appears to me a bug but if I am missing something, feel free to
> point me what :-) and then close.
>
>
> Cheers,
> simon

So I think it is just that you didn't have the "consumer" of the
search-path, the package info-reader, in the profile. That seems like
the expected functionality of search-path but maybe I'm missing
something? Not closing in case it is me not you :)

(as an aside, I never remember the package for the same thing with
man...)

John
S
S
Simon Tournier wrote on 27 Oct 2023 11:08
(name . John Kehayias)(address . john.kehayias@protonmail.com)(address . 66757@debbugs.gnu.org)
86bkcka0vi.fsf@gmail.com
Hi,

On Fri, 27 Oct 2023 at 02:32, John Kehayias via Bug reports for GNU Guix <bug-guix@gnu.org> wrote:

Toggle quote (5 lines)
> So I think it is just that you didn't have the "consumer" of the
> search-path, the package info-reader, in the profile. That seems like
> the expected functionality of search-path but maybe I'm missing
> something? Not closing in case it is me not you :)

Aah… yes! Thanks.

Well, I have various profiles, for instance, coreutils is in one profile
and info-reader is in another. That’s why it appears to me unexpected.

Toggle quote (3 lines)
> (as an aside, I never remember the package for the same thing with
> man...)

That’s man-db. :-)

Well I am closing as ’notabug’; although when using Guix as environment
manager on foreign distro in some scientific context, it means that I
have to pass info-reader and man-db to all my profiles around when
working on some specific project.

Cheers,
simon
S
S
Simon Tournier wrote on 27 Oct 2023 11:07
control message for bug #66757
(address . control@debbugs.gnu.org)
86h6mca0xm.fsf@gmail.com
tags 66757 + notabug
quit
M
M
Maxim Cournoyer wrote on 13 Sep 16:20 +0200
(address . control@debbugs.gnu.org)
87a5gby6si.fsf@gmail.com
tags 66757 notabug
close 66757
quit
?
Your comment

This issue is archived.

To comment on this conversation send an email to 66757@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 66757
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch