[liblouis-liblouisxml] Re: Build broken for liblouis

  • From: "Michael Whapples" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "mwhapples@xxxxxxx" for DMARC)
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 25 Nov 2014 09:33:38 +0000

OK, whell the system where this first came up is a Ubuntu 12.04 system. A bit old and not your fault as there is a newer ubuntu LTS version out there, but its not for me to update that system.


However on my Gentoo system, the version of texinfo which is on their stable branch is texinfo 4.13. There are 5.1 and 5.2 ebuilds in portage but these would need unmasking.

Michael Whapples
On 25/11/2014 08:23, Christian Egli wrote:
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/missing
--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




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

Other related posts: