bug-texinfo
[Top][All Lists]
Advanced

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

Re: texinfo-6.7.90 pretest on Solaris


From: Bruno Haible
Subject: Re: texinfo-6.7.90 pretest on Solaris
Date: Sat, 27 Feb 2021 12:22:33 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-201-generic; KDE/5.18.0; x86_64; ; )

> https://alpha.gnu.org/gnu/texinfo/texinfo-6.7.90.tar.xz

A VPATH build on Solaris 10, with Solaris 'make', fails during "make check":

Making check in texindex
make  check-TESTS
FAIL: tests/ti-helpversion.sh

Why is that? Because the 'texindex' script is not executable.

How come that the 'texindex' script is not executable? The Makefile has
built the 'texindex' script like this:

Making all in texindex
sed -e 's,[@]pkgdatadir[@],/home/haible/prefix-sparc64/share/texinfo,g'  -e 
's,[@]TI_AWK[@],awk,g'  -e 's,[@]PACKAGE[@],texinfo,g'  -e 
's,[@][@]*VERSION[@][@]*,6.7.90,g' <../../texindex/texindex.in >texindex
chmod +x ../../texindex/texindex

As you can see, it has added the execution permission to 'texindex'
in the source dir, not to 'texindex' in the build dir.

If I remove the 'texindex' in the source dir, then the Makefile rule
executes as expected:

Making all in texindex
sed -e 's,[@]pkgdatadir[@],/home/haible/prefix-sparc64/share/texinfo,g'  -e 
's,[@]TI_AWK[@],awk,g'  -e 's,[@]PACKAGE[@],texinfo,g'  -e 
's,[@][@]*VERSION[@][@]*,6.7.90,g' <../../texindex/texindex.in >texindex
chmod +x texindex

So, the cause is that an autogenerated and platform-dependent 'texindex'
script was included in the tarball. Removing it from the tarball will fix
the issue.

Bruno




reply via email to

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