Opened 15 years ago

Closed 9 years ago

#20464 closed defect (wontfix)

ardour2 is still using "gcc"

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: ardour2, scons

Description

Good progress was made toward resolving this in #19879, but ardour2 still uses "gcc" when checking for fftw which causes the build to fail like this when using the script from UsingTheRightCompiler:

--->  Building ardour2
DEBUG: Executing org.macports.build (ardour2)
DEBUG: port allows a parallel build
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4' CC='/mp/bin/gcc-mp-4.3' CPP='/mp/bin/cpp-mp-4.3' CXX='/mp/bin/g++-mp-4.3'
DEBUG: Assembled command: 'cd "/mp/var/macports/build/_Users_rschmidt_macports_dports_audio_ardour2/work/ardour-2.8.1" && nice -n 10 scons -j3 PREFIX=/mp VST=0 AUBIO=1 FREESOUND=1 LV2=0'
scons: Reading SConscript files ...

scons: warning: The Options class is deprecated; use the Variables class instead.
File "/mp/var/macports/build/_Users_rschmidt_macports_dports_audio_ardour2/work/ardour-2.8.1/SConstruct", line 32, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/mp/var/macports/build/_Users_rschmidt_macports_dports_audio_ardour2/work/ardour-2.8.1/SConstruct", line 36, in <module>

scons: warning: The PathOption() function is deprecated; use the PathVariable() function instead.
File "/mp/var/macports/build/_Users_rschmidt_macports_dports_audio_ardour2/work/ardour-2.8.1/SConstruct", line 42, in <module>

scons: warning: The EnumOption() function is deprecated; use the EnumVariable() function instead.
File "/mp/var/macports/build/_Users_rschmidt_macports_dports_audio_ardour2/work/ardour-2.8.1/SConstruct", line 43, in <module>
Checking for pkg-config version >= 0.8.0... yes
Checking for gthread-2.0... yes
Checking for lrdf... yes
Checking for libgnomecanvas-2.0... yes
Checking for gtk+-2.0... yes
Checking for jack... yes
Checking for samplerate... yes
Checking for glib-2.0... yes
Checking for libxml-2.0... yes
Checking for raptor... yes
Checking for fftw3f...yes
Checking for fftw3...yes
Checking for aubio...yes
Checking for C header file fftw3.h... no
Ardour cannot be compiled without the FFTW3 headers, which do not seem to be installed

This is on Mac OS X 10.4.11 Intel with Xcode 2.5 and MacPorts 1.7.1. config.log contains

file /mp/var/macports/build/_Users_rschmidt_macports_dports_audio_ardour2/work/ardour-2.8.1/SConstruct,line 510:
	Configure(confdir = .sconf_temp)
scons: Configure: Checking for C header file fftw3.h... 
.sconf_temp/conftest_13.c <-
  |
  |#include <fftw3.h>
  |
  |
gcc -o .sconf_temp/conftest_13.o -c -I/mp/include .sconf_temp/conftest_13.c
gcc -o .sconf_temp/conftest_13.o -c -I/mp/include .sconf_temp/conftest_13.c
gcc: Error: You should be using ${configure.cc}
See http://trac.macports.org/wiki/UsingTheRightCompiler
scons: Configure: no

I don't know where this "gcc" is coming from. Perhaps it is just another thing that can be fixed in SConscript. Or maybe it is a problem within scons (perhaps in ${prefix}/lib/scons-1.2.0/SCons/Tool/gcc.py). If so, feel free to turn this over to the scons maintainer.

Change History (2)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Does this still apply to 2.8.11?

comment:2 Changed 9 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: newclosed

Port deleted, r109459.

Note: See TracTickets for help on using tickets.