Bug 477007

Summary: Lilypond build failure
Product: [Fedora] Fedora Reporter: Gwyn Ciesla <gwync>
Component: lilypondAssignee: Gwyn Ciesla <gwync>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: gwync, mlichvar, nphilipp
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-30 12:59:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 476836    

Description Gwyn Ciesla 2008-12-18 16:06:20 UTC
Lilypond builds against guile-1.8.5-1.fc10.i386, but fails against guile-1.8.6-1.fc11.i386.

End of build.log:

Initializing FontConfig...
adding font directory: /builddir/build/BUILD/lilypond-2.11.65/out/share/lilypond/current/fonts/otf
adding font directory: /builddir/build/BUILD/lilypond-2.11.65/out/share/lilypond/current/fonts/type1
Building font database.
Processing `/builddir/build/BUILD/lilypond-2.11.65/ly/generate-documentation.ly'
Parsing...
[/builddir/build/BUILD/lilypond-2.11.65/out/share/lilypond/current/ly/init.ly
lilypond: ports.c:978: scm_fill_input: Assertion `pt->read_pos == pt->read_end' failed.
/bin/sh: line 1: 18411 Aborted                 /builddir/build/BUILD/lilypond-2.11.65/out/bin/lilypond --verbose /builddir/build/BUILD/lilypond-2.11.65/ly/generate-documentation
make[2]: Leaving directory `/builddir/build/BUILD/lilypond-2.11.65/Documentation/user'
make[1]: Leaving directory `/builddir/build/BUILD/lilypond-2.11.65/Documentation'
RPM build errors:
make[2]: *** [out/lilypond-internals.texi] Error 134
make[1]: *** [all] Error 2
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.1Js1e9 (%build)
    Bad exit status from /var/tmp/rpm-tmp.1Js1e9 (%build)
Child returncode was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/lilypond.spec']
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/mock/trace_decorator.py", line 70, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.5/site-packages/mock/util.py", line 317, in do
    raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target i386 --nodeps builddir/build/SPECS/lilypond.spec']
LEAVE do --> EXCEPTION RAISED

Comment 1 Miroslav Lichvar 2008-12-20 19:12:27 UTC
This is actually a lilypond bug. Explanation is here:

http://lists.gnu.org/archive/html/guile-devel/2008-12/msg00042.html

Removing the scm_fill_input() call in internal_ly_parse_scm() function fixes the crash.

Comment 2 Gwyn Ciesla 2008-12-30 12:59:01 UTC
Patched. Thanks!