Le 15/07/2020 à 19:44, Jean Abou Samra a écrit :
Hi,
Le 15/07/2020 à 18:31, Phil Holmes a écrit :
Here's the logfile and the ly file.
/home/gub/NewGub/gub/target/linux-x86/root/usr/share/lilypond/current/scm/backend-library.scm:248:5:
In procedure close-port in expression (close-port port):
/home/gub/NewGub/gub/target/linux-x86/root/usr/share/lilypond/current/scm/backend-library.scm:248:5:
Wrong type argument in position 1 (expecting port): #f
I recall having seen a failure of the same kind yesterday in a make
test. After a make test-clean, it all went fine. Could it be that you
need to clean the tree somehow like a make doc-clean?
Okay, I was plain wrong. Just got this after a make test-clean && make test:
testing /home/jean/repos/lilypond/scripts/build/output-distance.py
Making ly/out/welcome.pdf < Welcome_to_LilyPond.ly
Making ly/out/welcome.png < Welcome_to_LilyPond.ly
Making ly/out/welcome.svg < Welcome_to_LilyPond.ly
Making ly/out/welcome_eps.pdf < Welcome_to_LilyPond.ly
Please check the logfile
/home/jean/repos/lilypond/build/ly/welcome.pdf.log
for errors. Last 20 lines:
?: 9* [#<procedure {#f} ()>]
In /home/jean/repos/lilypond/build/out/share/lilypond/current/scm/lily.scm:
1114: 10* [ly:parse-file
"/home/jean/repos/lilypond/ly/Welcome_to_LilyPond.ly"]
In /home/jean/repos/lilypond/build/out/share/lilypond/current/ly/init.ly:
76: 11* (let* ((book-handler #)) (cond (# #) (# #)))
79: 12 (cond (# #) (# #))
In
/home/jean/repos/lilypond/build/out/share/lilypond/current/scm/lily-library.scm:
...
247: 13 [ly:book-process #<Book> #< Output_def> #< Output_def> "welcome"]
In unknown file:
?: 14* [output-framework "welcome" #<Paper_book> (#<module
7fc20d78af60>) ()]
In
/home/jean/repos/lilypond/build/out/share/lilypond/current/scm/framework-ps.scm:
738: 15* (let* (# # # # ...) (if # #) (initialize-font-embedding) ...)
738: 16* [make-tmpfile "welcome"]
In
/home/jean/repos/lilypond/build/out/share/lilypond/current/scm/backend-library.scm:
244: 17 (let* ((name #) (port #) (bport #)) (close-port port) bport)
248: 18* [close-port {#f}]
/home/jean/repos/lilypond/build/out/share/lilypond/current/scm/backend-library.scm:248:5:
In procedure close-port in expression (close-port port):
/home/jean/repos/lilypond/build/out/share/lilypond/current/scm/backend-library.scm:248:5:
Wrong type argument in position 1 (expecting port): #f
make[1]: *** [/home/jean/repos/lilypond/build/.././ly/GNUmakefile:20:
welcome.pdf] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [/home/jean/repos/lilypond/build/../GNUmakefile.in:292 : test]
Erreur 2
The actual fix was… err… git clean -xdf and building from scratch.
Hope that helps in some way.
Jean