[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [platform-testers] texinfo-6.5.90 pretest on OpenBSD
From: |
Bruno Haible |
Subject: |
Re: [platform-testers] texinfo-6.5.90 pretest on OpenBSD |
Date: |
Sat, 05 Jan 2019 13:40:16 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-141-generic; KDE/5.18.0; x86_64; ; ) |
Gavin Smith wrote:
> On 1/4/19, Bruno Haible <address@hidden> wrote:
> > On OpenBSD 6.3
> > - "awk: syntax error at source line 173 source file
> > ../../texindex/jrtangle"
> > - all tests fail!
> >
> > Logs attached.
> >
>
> Thanks for testing this. The problem is that jrtangle should not be
> running in the first place. It is written in GNU awk and won't work
> with other versions of awk.
Then how about changing the Makefile rule to test whether 'awk' is
really GNU awk, and if no, do nothing and/or only print a warning?
> 'make' is considering texindex.awk to be out of date and that it needs
> to be rebuilt. However, when I extract texinfo-6.5.90.tar.xz, ti.twjr
> has an earlier modification time than texindex.awk
Experience has shown that you can't really always control whether 'make'
will consider a target to be out-of-date or not. The most reliable
approach (adopted in Autoconf and Automake) is to write the Makefile rule
in a way that it will not fail when the assumptions about the tools are
not met.
Bruno
- Re: texinfo-6.5.90 pretest, (continued)
- Re: [platform-testers] texinfo-6.5.90 pretest, Bruno Haible, 2019/01/04
- Re: [platform-testers] texinfo-6.5.90 pretest on CentOS 7.3, Bruno Haible, 2019/01/04
- Re: [platform-testers] texinfo-6.5.90 pretest on OpenBSD, Bruno Haible, 2019/01/04
- Re: [platform-testers] texinfo-6.5.90 pretest on Hurd, Bruno Haible, 2019/01/04
- Re: [platform-testers] texinfo-6.5.90 pretest on HP-UX, Bruno Haible, 2019/01/04