[MacPorts] #32647: Lilypond @2.14.2 configure failure, requires clang
#32647: Lilypond @2.14.2 configure failure, requires clang -------------------------------------+-------------------------------------- Reporter: tommy.rushton@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: lilypond -------------------------------------+-------------------------------------- Attempting to install under OS X 10.7.2 with Xcode 4.2.1. lilypond requires clang in order to build, but this is not listed as a dependency, nor does the required verison appear to be available. {{{ :info:configure ERROR: Please install required programs: /Developer/usr/bin/clang >= 3.4 (installed: 3.0) /Developer/usr/bin/clang++ >= 3.4 (installed: 3.0) }}} -- Ticket URL: <https://trac.macports.org/ticket/32647> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32647: Lilypond @2.14.2 configure failure, claims to requires clang 3.4 -------------------------------------+-------------------------------------- Reporter: tommy.rushton@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: lilypond -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * keywords: => clang * owner: macports-tickets@… => snc@… Comment: In MacPorts we generally do not specify dependencies on compilers, unless it is an unusual one. Users are expected to have Xcode installed, which provides the needed compilers. As of Xcode 4.2, MacPorts uses Xcode's clang by default. Xcode includes a pre-release version of clang 3.0. The final version of clang 3.0 was just released December 1, 2011. This hypothetical clang 3.4 the error message refers to probably won't be conceived for several more years. The problem is they're assuming the compiler is gcc, and are trying to verify you're using at least gcc 3.4 (a very old version). This is [http://code.google.com/p/lilypond/issues/detail?id=2011 upstream bug 2011], which claims the issue is resolved in a newer upstream version of lilypond. -- Ticket URL: <https://trac.macports.org/ticket/32647#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32647: Lilypond @2.14.2 configure failure, claims to requires clang 3.4 -------------------------------------+-------------------------------------- Reporter: tommy.rushton@… | Owner: snc@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: lilypond -------------------------------------+-------------------------------------- Comment(by tommy.rushton@…): I attempted applying the patch as per http://codereview.appspot.com/5440043 but to no avail; yields the same error. Am I overlooking something simple here? Any help much appreciated. -- Ticket URL: <https://trac.macports.org/ticket/32647#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32647: Lilypond @2.14.2 configure failure, claims to requires clang 3.4 -------------------------------------+-------------------------------------- Reporter: tommy.rushton@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: clang | Port: lilypond -------------------------------------+-------------------------------------- Changes (by snc@…): * status: new => assigned Comment: [http://git.savannah.gnu.org/gitweb/?p=lilypond.git;a=patch;h=2b76b924d478e68... Here's the patch] you can apply. I'll be trying this evening. -- Ticket URL: <https://trac.macports.org/ticket/32647#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32647: Lilypond @2.14.2 configure failure, claims to requires clang 3.4 -------------------------------------+-------------------------------------- Reporter: tommy.rushton@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: clang | Port: lilypond -------------------------------------+-------------------------------------- Changes (by snc@…): * cc: ryandesign@… (added) * version: 2.0.3 => Comment: The upstream patch, after successfully applying it, does not work for me with clang 3.0. -- Ticket URL: <https://trac.macports.org/ticket/32647#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32647: Lilypond @2.14.2 configure failure, claims to requires clang 3.4 -------------------------------------+-------------------------------------- Reporter: tommy.rushton@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: clang | Port: lilypond -------------------------------------+-------------------------------------- Comment(by snc@…): Oh, likely needs autoconf. -- Ticket URL: <https://trac.macports.org/ticket/32647#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32647: Lilypond @2.14.2 configure failure, claims to requires clang 3.4 -------------------------------------+-------------------------------------- Reporter: tommy.rushton@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: clang | Port: lilypond -------------------------------------+-------------------------------------- Comment(by snc@…): But can't do that since there are missing templates. -- Ticket URL: <https://trac.macports.org/ticket/32647#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32647: Lilypond @2.14.2 configure failure, claims to requires clang 3.4 -------------------------------------+-------------------------------------- Reporter: tommy.rushton@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: clang | Port: lilypond -------------------------------------+-------------------------------------- Comment(by alvin.armea@…): A temporary workaround is to compile and install lilypond with gcc by `sudo port install lilypond configure.compiler=llvm-gcc-4.2` No patches required. -- Ticket URL: <https://trac.macports.org/ticket/32647#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32647: Lilypond @2.14.2 configure failure, claims to requires clang 3.4 -------------------------------------+-------------------------------------- Reporter: tommy.rushton@… | Owner: snc@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: clang | Port: lilypond -------------------------------------+-------------------------------------- Comment(by snc@…): Without the patch I'm able to build with LLVM as well, so I'm committing it as such: r90801. -- Ticket URL: <https://trac.macports.org/ticket/32647#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32647: Lilypond @2.14.2 configure failure, claims to requires clang 3.4 --------------------------------------+------------------------------------- Reporter: tommy.rushton@… | Owner: snc@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: clang Port: lilypond | --------------------------------------+------------------------------------- Changes (by jmr@…): * status: assigned => closed * resolution: => fixed Comment: r95242 -- Ticket URL: <https://trac.macports.org/ticket/32647#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts