On Tue, Dec 27, 2022 at 12:57:21PM +0100, Bruno Haible wrote: > Building GNU texinfo 7.0.1 on OpenSolaris 2022.10, I get the same failure > as reported in > <https://lists.gnu.org/archive/html/bug-texinfo/2022-10/msg00187.html>: > > FAIL: t/dir-file-sloppily.sh > > Gavin Smith wrote: > > I don't know what is causing this and would need access to a system with > > either of those OS's installed to investigate further. > > It is straightforward to install in VirtualBox, using a download from > https://www.openindiana.org/download/ . > Just make sure to allocate > - at least 15 GB for the disk, > - at least 3 GB of RAM.
Not exactly straightforward but it could have been worse. I only gave it 2GB of RAM because I only have under 4GB to start with. 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. > > 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". "uname -a" reports SunOS openindiana 5.11 illumos-b8af4a8966 i86pc i386 i86pc I only found the first package was necessary to install to build Texinfo 7.0.1, and I replicated the test failure. After installing gdb I stepped through the execution and found the problem appears with check_manpage_node (which was changed fairly recently, in October 2022). 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. I've made this change in git commit 36877b7b9fd51. I may add this commit to the release branch once things have settled down. % After that, the next failure comes from running "make check" at the top level. Making check in tests mksh: Fatal error: The string `included_la<A7>n1.texi' is not valid in current locale Current working directory: /export/home/g/texinfo-7.0.1/tp/tests (<A7> is a single byte). This is in a UTF-8 locate. A file with this name exists under tp/tests. I haven't got anywhere with investigating this latter failure.