[MacPorts] #21523: lilypond fails to build in leopard on PPC
MacPorts
noreply at macports.org
Sun Sep 20 21:08:39 PDT 2009
#21523: lilypond fails to build in leopard on PPC
------------------------------+---------------------------------------------
Reporter: wayn3w@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: lilypond
------------------------------+---------------------------------------------
lilypond 2.12.2 failed to build for me on 10.5.8 (PPC) with gcc version
4.0.1. After the error messages below, I included a patch I found from
the fink that helped.
bash-3.2# port install lilypond
---> Computing dependencies for lilypond
---> Building lilypond
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_lilypond/work/lilypond-2.12.2"
&& /usr/bin/make -j1 all " returned error 2
Command output: /usr/include/c++/4.0.0/bits/stl_vector.h:976: error:
expected primary-expression before '__attribute__'
/usr/include/c++/4.0.0/bits/stl_vector.h:976: error: expected primary-
expression before '>' token
/usr/include/c++/4.0.0/bits/stl_vector.h:976: error: '__y' was not
declared in this scope
/usr/include/c++/4.0.0/bits/stl_bvector.h:425: error: expected identifier
before '<' token
/usr/include/c++/4.0.0/bits/stl_bvector.h:425: error: expected
unqualified-id before '<' token
/usr/include/c++/4.0.0/bits/vector.tcc:68: error: expected unqualified-id
before '<' token
/usr/include/c++/4.0.0/bits/vector.tcc:91: error: expected nested-name-
specifier before '__attribute__'
/usr/include/c++/4.0.0/bits/vector.tcc:91: error: expected unqualified-id
before '<' token
/usr/include/c++/4.0.0/bits/vector.tcc:108: error: expected nested-name-
specifier before '__attribute__'
/usr/include/c++/4.0.0/bits/vector.tcc:108: error: expected unqualified-id
before '<' token
/usr/include/c++/4.0.0/bits/vector.tcc:120: error: expected nested-name-
specifier before '__attribute__'
/usr/include/c++/4.0.0/bits/vector.tcc:120: error: expected unqualified-id
before '<' token
/usr/include/c++/4.0.0/bits/vector.tcc:131: error: expected unqualified-id
before '<' token
/usr/include/c++/4.0.0/bits/vector.tcc:170: error: expected unqualified-id
before '<' token
/usr/include/c++/4.0.0/bits/vector.tcc:193: error: expected unqualified-id
before '<' token
/usr/include/c++/4.0.0/bits/vector.tcc:209: error: expected unqualified-id
before '<' token
/usr/include/c++/4.0.0/bits/vector.tcc:248: error: expected unqualified-id
before '<' token
/usr/include/c++/4.0.0/bits/vector.tcc:310: error: expected unqualified-id
before '<' token
/usr/include/c++/4.0.0/bits/vector.tcc:393: error: expected unqualified-id
before '<' token
/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__'
./include/std-vector.hh:74: error: expected `{' before '__attribute__'
./include/std-vector.hh:74: error: expected unqualified-id before '<'
token
file-name.cc: In member function 'File_name File_name::canonicalized()
const':
file-name.cc:190: error: variable 'std::vector<std::string,
std::allocator<std::string> > components' has initializer but incomplete
type
file-name.cc:190: error: invalid use of undefined type 'class
std::vector<std::string, std::allocator<std::string> >'
./include/std-vector.hh:74: error: declaration of 'class
std::vector<std::string, std::allocator<std::string> >'
file-name.cc:191: error: aggregate 'std::vector<std::string,
std::allocator<std::string> > new_components' has incomplete type and
cannot be defined
make[1]: *** [out/file-name.o] Error 1
make: *** [all] Error 2
Error: Status 1 encountered during processing.
The patch:
perl -pi -e 's|__vector|lily_vector|g' flower/include/std-vector.hh
--
Ticket URL: <http://trac.macports.org/ticket/21523>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list