Alexander Hansen wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Robert Wyatt wrote:
>> On 10.5 PPC unstable tree with Xquartz 2.4.0, lilypond-devel is failing 
>> with:
>>
>> /usr/include/c++/4.0.0/bits/vector.tcc:407: error: expected 
>> unqualified-id before '<' token
>> ./include/std-vector.hh:74: error: expected class-name before 
>> '__attribute__'
[]

This is a conflict between a variable declared by lilypond and a 
built-in macro of the ppc cpp.

> I can confirm this, for Xcode 3.1.3 on 10.5.8/powerpc.
> 
> For my 10.5.8/Intel box, also with Xcode 3.1.3 and Xquartz 2.4.0, I get
> something different later in the build:
> 
> ...
> Initializing FontConfig...
> adding font directory:
> /sw/src/fink.build/lilypond-devel-2.11.63-1001/lilypond-2.11.63/out/share/lilypond/current/fonts/otf
> adding font directory:
> /sw/src/fink.build/lilypond-devel-2.11.63-1001/lilypond-2.11.63/out/share/lilypond/current/fonts/type1Building
> font database.
> Processing
> `/sw/src/fink.build/lilypond-devel-2.11.63-1001/lilypond-2.11.63/ly/generate-documentation.ly'
> Parsing...[/sw/src/fink.build/lilypond-devel-2.11.63-1001/lilypond-2.11.63/out/share/lilypond/current/ly/init.lyAssertion
> failed: (pt->read_pos == pt->read_end), function scm_fill_input, file
> ports.c, line 978.
> /bin/sh: line 1: 74671 Abort trap
> /sw/src/fink.build/lilypond-devel-2.11.63-1001/lilypond-2.11.63/out/bin/lilypond
> - --verbose
> /sw/src/fink.build/lilypond-devel-2.11.63-1001/lilypond-2.11.63/ly/generate-documentation
> gnumake[2]: *** [out/lilypond-internals.texi] Error 134

The bug was discussed and fixed for lilypond a couple of months ago. It 
looks like lilypond-devel has ceased to be maintained before the fix for 
that error came to lilypond. The same patch will probably work. But 
then, what is the interest of the -devel package when it is older than 
the lilypond package itself? The fix was a patchscript containing

   perl -pi -e 's|__vector|lily_vector|g' flower/include/std-vector.hh

-- 
Martin



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to