[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: make top-doc fails: could not open out/NEWS.texi: No such file or di
From: |
Karl Lindén |
Subject: |
Re: make top-doc fails: could not open out/NEWS.texi: No such file or directory |
Date: |
Sun, 31 Dec 2017 13:10:27 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 |
Den 2017-12-31 kl. 12:26, skrev Karl Lindén:
> Hello all,
>
> On current master (8d889e9837) "make top-doc" fails. I found this
> downstream in Gentoo because the package build script tries to install
> README.txt which does not get built due to the "make top-doc" failure.
>
> Below are the steps to reproduce, without actual output. For the output
> see the attached file. The commands should be run from (a clean)
> toplevel source directory.
>
> $ ./autogen.sh --noconfigure
> $ ./configure --disable-documentation
> $ make top-doc
>
> The last command fails with:
>
>
> [snip]
> xelatex pdflatex not found /usr/bin/python2 -tt
> ../../scripts/lilypond-book.py -I . -I ./out -I
> /home/kalle/Sources/lilypond/Documentation --process=true -I . -I ./out
> -I /home/kalle/Sources/lilypond/Documentation -dbackend=eps
> --formats=ps,png,pdf -dinclude-eps-fonts -dgs-load-fonts
> --header=doctitle --header=doctitleca --header=doctitlecs
> --header=doctitlede --header=doctitlees --header=doctitlefr
> --header=doctitlehu --header=doctitleit --header=doctitleja
> --header=doctitlenl --header=doctitlezh --header=texidoc
> --header=texidocca --header=texidoccs --header=texidocde
> --header=texidoces --header=texidocfr --header=texidochu
> --header=texidocit --header=texidocja --header=texidocnl
> --header=texidoczh -dcheck-internal-types -ddump-signatures
> -danti-alias-factor=2 --output=./out --format=texi --loglevel=WARN
> --skip-lily-check --lily-output-dir
> /home/kalle/Sources/lilypond/out/lybook-db --redirect-lilypond-output
> out/NEWS.tely
> /home/kalle/Sources/lilypond/scripts/build/out/run-and-check "LANG=
> makeinfo --enable-encoding --error-limit=0 -I ./out -I
> /home/kalle/Sources/lilypond/Documentation -I. -I./out --no-split
> --no-headers --output out/NEWS.txt out/NEWS.texi" "NEWS.makeinfotxt.log"
>
> Please check the logfile NEWS.makeinfotxt.log for errors
>
> make[1]: ***
> [/home/kalle/Sources/lilypond/stepmake/stepmake/texinfo-rules.make:83:
> out/NEWS.txt] Error 1
> make[1]: Leaving directory
> '/home/kalle/Sources/lilypond/Documentation/topdocs'
> make: ***
> [/home/kalle/Sources/lilypond/stepmake/stepmake/toplevel-targets.make:22:
> top-doc] Error 2
>
>
> The log file contains the single line:
> $ cat Documentation/topdocs/NEWS.makeinfotxt.log
> could not open out/NEWS.texi: No such file or directory
> $
>
> On a side note, what is the motivation for silently failing "make
> top-doc" from the configure script, as is done in the below snippet
> (from configure.ac)?
>
> if make top-doc 1>/dev/null 2>&1; then
> rm -f INSTALL.txt && ln Documentation/topdocs/out/INSTALL.txt .
> rm -f README.txt && ln Documentation/topdocs/out/README.txt .
> fi
>
> Kind regards,
> Karl Lindén
>
I found that installing the pdflatex program fixes the issue, but the
failure is hardly user-friendly. Instead the build system should say
something along the lines: "pdflatex was not found. Please install it
and reconfigure before running make top-doc".
signature.asc
Description: OpenPGP digital signature