less, showing errors

  • Done
  • quality assurance status badge
Details
2 participants
  • Jean Louis
  • Ludovic Courtès
Owner
unassigned
Submitted by
Jean Louis
Severity
normal
J
J
Jean Louis wrote on 28 Mar 2016 15:29
(address . bug-guix@gnu.org)
20160328132917.GA19028@protected.rcdrun.com
package less:

$ less --help
head: cannot open ‘@/less/help/file/@’ for reading: No such file or
directory
Error: no lexer for alias '@/less/help/file/@' found

then it does show the help.

I am on foreign distro, but environment is Guix packaging based.

Further, if less is used as pager in postgresql:

\d imapaccounts
less: error while loading shared libraries: libtinfo.so.5: cannot open
shared object file: No such file or directory

I can see that less which is important package, in Debian, depends on
following:

Depends: libc6 (>= 2.14), libtinfo5, debianutils (>= 1.8)

But I cannot find libtinfo in GuixSD. This should be included.

Jean Louis
L
L
Ludovic Courtès wrote on 28 Mar 2016 18:49
(name . Jean Louis)(address . guix@rcdrun.com)(address . 23136@debbugs.gnu.org)
878u12r1i2.fsf@gnu.org
Jean Louis <guix@rcdrun.com> skribis:

Toggle quote (7 lines)
> package less:
>
> $ less --help
> head: cannot open ‘@/less/help/file/@’ for reading: No such file or
> directory
> Error: no lexer for alias '@/less/help/file/@' found

I tried in a pristine environment like this:

guix environment --container --ad-hoc less -- /bin/sh -c 'TERM=xterm less --help'

This works well for me. Could you check on your system?

If this works, it probably means that something from the host system is
interfering.

Does ‘which less’ point to Guix’s less?

Thanks,
Ludo’.
J
J
Jean Louis wrote on 28 Mar 2016 20:08
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 23136@debbugs.gnu.org)
20160328180857.GA32580@protected.rcdrun.com
Hello,

Thank you.

I have tried that command, I cannot see anything.

Yes, my less is from GuixSD. I guess something was interferring from
alien system.

On Mon, Mar 28, 2016 at 06:49:41PM +0200, Ludovic Courtès wrote:
Toggle quote (22 lines)
> Jean Louis <guix@rcdrun.com> skribis:
>
> > package less:
> >
> > $ less --help
> > head: cannot open ‘@/less/help/file/@’ for reading: No such file or
> > directory
> > Error: no lexer for alias '@/less/help/file/@' found
>
> I tried in a pristine environment like this:
>
> guix environment --container --ad-hoc less -- /bin/sh -c 'TERM=xterm less --help'
>
> This works well for me. Could you check on your system?
>
> If this works, it probably means that something from the host system is
> interfering.
>
> Does ‘which less’ point to Guix’s less?
>
> Thanks,
> Ludo’.
L
L
Ludovic Courtès wrote on 2 Apr 2016 21:42
control message for bug #23136
(address . control@debbugs.gnu.org)
87h9fjg5ma.fsf@gnu.org
tags 23136 notabug
close 23136
?