See https://bugzilla.redhat.com/show_bug.cgi?id=477007 and http://www.mail-archive.com/guile-devel@gnu.org/msg03027.html for reference. Lilypond uses an obsolete function call that has been made unavailable in current guile. Result is that lilypond builds fine but throws an error when used. I have made a patch to simply remove this function call. That's the solution suggested in guile-devel-list. For me, this patch fixes the problem.
Created attachment 176403 [details, diff] Patch to remove obsolete function call scm_fill_input()
I confirm the same problem, and I confirm the patch works for me as well.
How do I reproduce this problem?
Nothing tricky about this. If you enable ~arch, you should already have the guile version in question. After that, just install lilypond and try to compile anything with it.
Ok, I reproduced. $ lilypond rose.ly GNU LilyPond 2.11.65 Processing `rose.ly' Parsing...lilypond: ports.c:978: scm_fill_input: Assertion `pt->read_pos == pt->read_end' failed. Aborted
in-tree 2.12.1 fixes this for me.
Thanks, Christian.