bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: texinfo-7.0.1 on OpenSolaris


From: Bruno Haible
Subject: Re: texinfo-7.0.1 on OpenSolaris
Date: Mon, 02 Jan 2023 21:01:23 +0100

Gavin Smith wrote:
> I will be deleting the disk image as soon as this is finished due
> to the amount of space it takes up.  I will not be testing routinely
> on OpenIndiana using VirtualBox.

That's OK, as I will be routinely testing on Solaris OpenIndiana
when you ask.

> > After the system it set up, do
> >   $ sudo pkg install developer/gcc-11
> >   $ sudo pkg install system/header
> >   $ sudo pkg install developer/debug/gdb
> >   $ sudo pkg install editor/gnu-emacs
> > (See also https://pkg.openindiana.org/hipster/en/index.shtml .)
> > Then you can build various GNU packages, as usual.
> 
> sudo wasn't a command but I got a root shell with "su".  I am
> using the image "OI-hipster-minimal-20221123.iso".

I was using the image OI-hipster-gui-20221123.iso. Small variations
like this, in the install experience, are to be expected.

> info runs "man -w FiLe-M" and find it was
> successful, with exit status 0, even though it prints errors:
> 
> man: /usr/share/man/whatis.tmp: Permission denied
> man: /usr/gnu/share/man/whatis.tmp: Permission denied
> 
> The man page for man on this virtual system says that -w updates
> the whatis database.
> 
> Changing the check in check_manpage_node to use "man --where" instead
> of "man -w" makes the test pass.  "man --where" has a non-zero exit
> status.

By doing this, you improved things on Solaris OpenIndiana. But it
got worse on FreeBSD, where the 'man' command has a '-w' option
that displays the location but does not have a '--where' option [1].
Likewise on macOS, where 'man --path' is an alias for 'man -w'.

How about, instead, reverting to option '-w' and disabling this
piece of code on Solaris (#ifndef __sun) ?

Bruno

[1] https://www.freebsd.org/cgi/man.cgi?query=man






reply via email to

[Prev in Thread] Current Thread [Next in Thread]