[liblouis-liblouisxml] Re: Build broken for liblouis

  • From: Keith Creasy <kcreasy@xxxxxxx>
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Tue, 25 Nov 2014 11:40:41 +0000

Thanks Christian. Now that we know the problem we can probably fix it. Maybe, 
as Ken suggests, the build can be made to provide an error message if the 
version is too old.


-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Christian Egli
Sent: Tuesday, November 25, 2014 3:23 AM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: Build broken for liblouis

Hi all

I'm to blame for this. When working on the documentation I noticed that you can 
greatly simplify the boilerplate when writing the documentation by making use 
of a feature that is only available in texinfo 5.0 and up. 
Since version 5.0 of texinfo is almost two years old now and comes with Ubuntu 
LTS I thought it was a safe choice.

But then I ran into problems on the Travis CI server which rebuilds liblouis 
for every change (https://travis-ci.org/liblouis/liblouis),
since it has the old Ubuntu LTS with texinfo 4.x. So I install texinfo
5.0 as part of the build (see .travis.yml at 
https://github.com/liblouis/liblouis/blob/master/.travis.yml).

You could do the same, i.e. install a new texinfo or we could go back to the 
old version of the documentation although I really have a hard time getting 
excited about that.

Thanks
Christian

On 11/24/2014 06:43 PM, Michael Whapples (Redacted sender mwhapples@xxxxxxx for 
DMARC) wrote:
> It appears something in the documentation is breaking the build in 
> liblouis.
>
> Below is what I believe is the relevant part of the make output (NOTE:
> whilst this output is from a crosscompile, I also get this when doing 
> a standard compile for the build system):
> make[1]: Entering directory
> `/home/build_bb/ExcludeFromBackups/brailleblaster/windows/x86_64/src/liblouis/doc'
>
> restore=: && backupdir=".am$$" && \
>                  am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
>                  rm -rf $backupdir && mkdir $backupdir && \
>                  if (/bin/bash
> /home/build_bb/brailleblaster/windows/x86_64/src/liblouis/build-aux/mi
> ssing --run makeinfo --version) >/dev/null 2>&1; then \
>                    for f in liblouis.info liblouis.info-[0-9] 
> liblouis.info-[0-9][0-9] liblouis.i[0-9] liblouis.i[0-9][0-9]; do \
>                      if test -f $f; then mv $f $backupdir; restore=mv; 
> else :; fi; \
>                    done; \
>                  else :; fi && \
>                  cd "$am__cwd"; \
>                  if /bin/bash
> /home/build_bb/brailleblaster/windows/x86_64/src/liblouis/build-aux/missing
> --run makeinfo   -I . \
>                  -o liblouis.info liblouis.texi; \
>                  then \
>                    rc=0; \
>                    CDPATH="${ZSH_VERSION+.}:" && cd .; \
>                  else \
>                    rc=$?; \
>                    CDPATH="${ZSH_VERSION+.}:" && cd . && \
>                    $restore $backupdir/* `echo "./liblouis.info" | sed 
> 's|[^/]*$||'`; \
>                  fi; \
>                  rm -rf $backupdir; exit $rc
> /home/build_bb/ExcludeFromBackups/brailleblaster/windows/x86_64/src/liblouis/doc//liblouis.texi:1450:
> `The correct Opcode' has no Up field (perhaps incorrect sectioning?).
> /home/build_bb/ExcludeFromBackups/brailleblaster/windows/x86_64/src/liblouis/doc//liblouis.texi:1246:
> Next field of node `The Context and Multipass Opcodes' not pointed to 
> (perhaps incorrect sectioning?).
> /home/build_bb/ExcludeFromBackups/brailleblaster/windows/x86_64/src/liblouis/doc//liblouis.texi:1450:
> This node (The correct Opcode) has the bad Prev.
> makeinfo: Removing output file `liblouis.info' due to errors; use 
> --force to preserve.
> make[1]: *** [liblouis.info] Error 1
> make[1]: Leaving directory
> `/home/build_bb/ExcludeFromBackups/brailleblaster/windows/x86_64/src/liblouis/doc'
>
> make: *** [all-recursive] Error 1
>
> Michael Whapples
> For a description of the software, to download it and links to project 
> pages go to http://www.abilitiessoft.com
>


--
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled Grubenstrasse 
12, CH-8045 Zürich, Switzerland

For a description of the software, to download it and links to project pages go 
to http://www.abilitiessoft.com
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: