[MacPorts] #19879: ardour2 doesn't use ${configure.cc}
#19879: ardour2 doesn't use ${configure.cc} -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: ardour2 -------------------------------------+-------------------------------------- ardour2 uses "gcc" instead of the value in ${configure.cc}. See UsingTheRightCompiler. -- Ticket URL: <http://trac.macports.org/ticket/19879> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19879: ardour2 doesn't use ${configure.cc} --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: ardour2 | --------------------------------------+------------------------------------- Changes (by devans@…): * status: new => closed * resolution: => fixed Comment: Updated to version 2.8 which needs gcc43 to build correctly. Scons requires needs the compiler specified in the env vars for each run. See Portfile for details. Let me know if you see a better approach but this works and invokes the desired compiler(s) correctly. -- Ticket URL: <http://trac.macports.org/ticket/19879#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19879: ardour2 doesn't use ${configure.cc} --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: ardour2 | --------------------------------------+------------------------------------- Comment(by devans@…): Update committed in r51938 by the way. -- Ticket URL: <http://trac.macports.org/ticket/19879#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19879: ardour2 doesn't use ${configure.cc} --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: Port: ardour2 | --------------------------------------+------------------------------------- Changes (by ryandesign@…): * status: closed => reopened * resolution: fixed => Comment: Thanks! After a lot of building I still have: {{{ os.chdir('gtk2_ardour') cpp -E -P ardour.menus.in ardour.menus cpp -E -P ardour.menus.in ardour.menus cpp: Error: You should be using /usr/bin/cpp-*: See http://trac.macports.org/wiki/UsingTheRightCompiler os.chdir('/mp/var/macports/build/_Users_rschmidt_macports_dports_audio_ardour2/work/ardour-2.8') scons: *** [gtk2_ardour/ardour.menus] Error 1 scons: building terminated because of errors. }}} So CPP still needs to be set somehow. As for requiring gcc 4.3, I attached [attachment:ardour2-gcc-4.3.diff a small patch] for you. -- Ticket URL: <http://trac.macports.org/ticket/19879#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19879: ardour2 doesn't use ${configure.cc} --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: Port: ardour2 | --------------------------------------+------------------------------------- Comment(by devans@…): I don't see any of this at all on tiger ppc using MacPorts 1.7.1. What versions/platform are you using and where is this error message about UsingTheRightCompiler coming from? Thanks for the patch by the way. -- Ticket URL: <http://trac.macports.org/ticket/19879#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19879: ardour2 doesn't use ${configure.cc} --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: Port: ardour2 | --------------------------------------+------------------------------------- Comment(by devans@…): Never mind. I read to the bottom and see what you are doing. Will install your test, add the patch, include definitions of CPP and see if that fixes it. As you say it takes some compiling time so may be a while. Sorry for the delay in responding, I didn't see that you had reopened the ticket. -- Ticket URL: <http://trac.macports.org/ticket/19879#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19879: ardour2 doesn't use ${configure.cc} --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: fixed | Keywords: Port: ardour2 | --------------------------------------+------------------------------------- Changes (by devans@…): * status: reopened => closed * resolution: => fixed Comment: The problem with cpp was that gtk2_ardour/SConscript was invoking it explicitly in a static string without any reference to environment variables. Committed your patch with slight modifications to include CPP and an additional patch/reinplace to fix the cpp problem in r52654. Thanks -- Ticket URL: <http://trac.macports.org/ticket/19879#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts