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
kalle@kalle-desktop lilypond $ ./autogen.sh --noconfigure
processing .
Running autoconf ...
Skipping configure process.
kalle@kalle-desktop lilypond $ ./configure --disable-documentation
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking Package... LILYPOND
checking builddir... /home/kalle/Sources/lilypond
checking for stepmake... ./stepmake  (${datarootdir}/stepmake not found)
checking for gmake... gmake
checking for find... find
checking for tar... tar
checking for bash... /bin/sh
checking for python... python2
checking python2 version... 2.7.14
checking for python2... /usr/bin/python2
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether compiler understands -pipe... yes
checking for IEEE-conformance compiler flags... none
checking for fc-list... fc-list
checking for TeX Gyre fonts OTF files... yes
checking for URW++ OTF files... no
checking for python... /usr/bin/python2
checking /usr/bin/python2 version... 2.7.14
checking for /usr/bin/python2... (cached) /usr/bin/python2
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking gcc version... 7.2.0
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking g++ version... 7.2.0
checking options for known g++ bugs... none
checking whether explicit instantiation is needed... no
checking for stl.data () method... yes
checking for ar... ar
checking for ranlib... ranlib
checking for dlopen in -ldl... yes
checking for dlopen... yes
checking for bison... bison -y
checking for bison... bison
checking bison version... 3.0.4
checking for flex... flex
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking FlexLexer.h usability... yes
checking FlexLexer.h presence... yes
checking for FlexLexer.h... yes
checking for yyFlexLexer.yy_current_buffer... no
checking FlexLexer.h location... /usr/include/FlexLexer.h
checking language... English
checking for gettext in -lintl... no
checking for gettext... yes
checking for msgfmt... msgfmt
checking for mf-nowin... mf-nowin
checking for mpost... mpost
checking for working metafont mode... ljfour
checking for kpsewhich... kpsewhich
checking for metapost required files... yes
checking for guile-config... guile-config
checking guile-config version... 1.8.8
checking guile compile flags...  -pthread
checking guile link flags... -pthread -L/usr/lib64 -lguile -lltdl -lgmp -lcrypt 
-lm -lltdl
checking libguile.h usability... yes
checking libguile.h presence... yes
checking for libguile.h... yes
checking for scm_boot_guile in -lguile... yes
checking for scm_boot_guile... yes
checking for scm_t_hash_fold_fn... no
checking for scm_t_hash_handle_fn... no
checking for scm_t_subr... no
checking for usable C++ demangler... yes
checking GUILE rational bugfix... ok
checking for python... /usr/bin/python2
checking /usr/bin/python2 version... 2.7.14
checking for /usr/bin/python2... (cached) /usr/bin/python2
checking for python2-config... python2-config
checking Python.h usability... yes
checking Python.h presence... yes
checking for Python.h... yes
checking for fontforge... fontforge
checking for fontforge... /usr/bin/fontforge
checking /usr/bin/fontforge version... 20171231
checking for t1asm... t1asm
checking for t1asm... /usr/bin/t1asm
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking libio.h usability... yes
checking libio.h presence... yes
checking for libio.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for sys/stat.h... (cached) yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking fpu_control.h usability... yes
checking fpu_control.h presence... yes
checking for fpu_control.h... yes
checking sstream usability... yes
checking sstream presence... yes
checking for sstream... yes
checking whether stat file-mode macros are broken... no
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
checking for chroot... yes
checking for fopencookie... yes
checking for gettext... (cached) yes
checking for isinf... yes
checking for memmem... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for pkg-config... pkg-config
checking pkg-config version... 0.29.2
checking whether to enable dynamic relocation... no
checking for rpath linkage... no
checking for pangoft2 >= 1.38.0... yes
checking PANGO_FT2_CFLAGS... -I/usr/include/pango-1.0 -I/usr/include/harfbuzz 
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-I/usr/include/freetype2
checking PANGO_FT2_LIBS... -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 
-lfontconfig -lfreetype
checking pango/pangoft2.h usability... yes
checking pango/pangoft2.h presence... yes
checking for pango/pangoft2.h... yes
checking for pango_ft2_font_map_create_context... yes
checking for fontconfig >= 2.4.0... yes
checking FONTCONFIG_CFLAGS... -I/usr/include/freetype2
checking FONTCONFIG_LIBS... -lfontconfig -lfreetype
checking for freetype2 >= 2.1.10... yes
checking FREETYPE2_CFLAGS... -I/usr/include/freetype2
checking FREETYPE2_LIBS... -lfreetype
checking for some flavor of Windows... no
checking for -windres... no
checking for windres... no
checking for guile... guile
checking guile version... 1.8.8
checking for guile... guile
checking for guile... /usr/bin/guile
checking for perl... perl
checking for perl... /usr/bin/perl
checking for gs... gs
checking for gs... /usr/bin/gs
checking /usr/bin/gs version... 9.21
checking for gs... gs
checking gs version... 9.21
checking for extractpdfmark... no
checking for makeinfo... makeinfo
checking makeinfo version... 6.5
checking for texi2html... no
checking for dblatex... no
checking for bibtex... bibtex
checking for xelatex... no
checking for pdflatex... no
checking for pdfetex... pdfetex
checking for texi2pdf... texi2pdf
checking for texindex... texindex
checking for epsf.tex... not found
checking for Cyrillic characters support in TeX... not found
checking for pngtopnm... no
checking for convert... convert
checking for zip... zip
checking for rsync... rsync
configure: creating ./config.status
config.status: creating config.make
config.status: creating config.hh

WARNING: Please consider installing optional programs or files:  URW++ OTF 
fonts (download OTF files from 
'http://git.ghostscript.com/?p=urw-core35-fonts.git;a=tree;hb=91edd6ece36e84a1c6d63a1cf63a1a6d84bd443a'
 and put them under '~/.local/share/fonts' etc., or use --with-urwotf-dir) 
extractpdfmark (Optionally using Ghostscript >= 9.20 together with Extract 
PDFmark can significantly reduce the disk space required for building the 
documentation and the final PDF files.) texi2html dblatex xelatex pdflatex 
epsf.tex lh CTAN package (texlive-lang-cyrillic or texlive-texmf-fonts) pngtopnm

See INSTALL.txt for more information on how to build LilyPond

Type:
    make all       to build LilyPond
    make install   to install LilyPond
    make help      to see all possible targets

Edit local.make for local Makefile overrides.


kalle@kalle-desktop lilypond $ make top-doc
make --no-builtin-rules -C scripts/build
make[1]: Entering directory '/home/kalle/Sources/lilypond/scripts/build'
true
make[1]: Leaving directory '/home/kalle/Sources/lilypond/scripts/build'
make --no-builtin-rules -C python
make[1]: Entering directory '/home/kalle/Sources/lilypond/python'
make PACKAGE=LILYPOND package=lilypond -C auxiliar all && true
make[2]: Entering directory '/home/kalle/Sources/lilypond/python/auxiliar'
true
make[2]: Leaving directory '/home/kalle/Sources/lilypond/python/auxiliar'
make[1]: Leaving directory '/home/kalle/Sources/lilypond/python'
make --no-builtin-rules -C Documentation/topdocs/ README_TOP_FILES="AUTHORS 
INSTALL README NEWS" txt-files
make[1]: Entering directory '/home/kalle/Sources/lilypond/Documentation/topdocs'
LILYPOND_VERSION=2.21.0 PDFTEX=pdfetex PDFLATEX=- echo 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
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
kalle@kalle-desktop lilypond $ cat Documentation/topdocs/NEWS.makeinfotxt.log 
could not open out/NEWS.texi: No such file or directory
kalle@kalle-desktop lilypond $

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to