[MacPorts] #13814: fftw-3: Not building universal variant
MacPorts
trac at macosforge.org
Thu Jan 3 11:01:58 PST 2008
#13814: fftw-3: Not building universal variant
-----------------------------------+----------------------------------------
Reporter: andre.david at gmail.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.6.0
Keywords: fftw-3, universal |
-----------------------------------+----------------------------------------
Hi,
I am using a data analysis package (root.cern.ch) that build x86_64 and I
like that. This package has an interface to fftw-3, but when compiling it,
I get:
{{{
g++ -O2 -m64 -dynamiclib -single_module -undefined dynamic_lookup
-install_name /Users/adavid/root/lib/libFFTW.dylib -m64 -o
lib/libFFTW.dylib fftw/src/TFFTComplex.o fftw/src/TFFTComplexReal.o
fftw/src/TFFTReal.o fftw/src/TFFTRealComplex.o fftw/src/G__FFTW.o -ldl
-L/opt/local/lib -lfftw3
ld: warning in /opt/local/lib/libfftw3.a, file is not of required
architecture
ln -fs libFFTW.dylib lib/libFFTW.so
==> lib/libFFTW.dylib done
}}}
So I thought I just needed to uninstall fftw-3 and ask for it with
+universal. The problem is that:
{{{
$ sudo port -d -v install fftw-3 +universal
DEBUG: Found port in file:///Users/adavid/macports-
trunk/dports/math/fftw-3
DEBUG: Changing to port directory: /Users/adavid/macports-
trunk/dports/math/fftw-3
DEBUG: org.macports.load registered provides 'load', a pre-existing
procedure. Target override will not be provided
DEBUG: Requested variant darwin is not provided by port fftw-3.
DEBUG: Requested variant i386 is not provided by port fftw-3.
DEBUG: Requested variant macosx is not provided by port fftw-3.
DEBUG: Executing variant universal provides universal
DEBUG: Executing org.macports.main (fftw-3)
---> Fetching fftw-3
DEBUG: Executing org.macports.fetch (fftw-3)
---> Verifying checksum(s) for fftw-3
DEBUG: Executing org.macports.checksum (fftw-3)
---> Checksumming fftw-3.1.2.tar.gz
DEBUG: Correct (md5) checksum for fftw-3.1.2.tar.gz
DEBUG: Correct (sha1) checksum for fftw-3.1.2.tar.gz
DEBUG: Correct (rmd160) checksum for fftw-3.1.2.tar.gz
---> Extracting fftw-3
DEBUG: Executing org.macports.extract (fftw-3)
---> Extracting fftw-3.1.2.tar.gz
DEBUG: setting option extract.args to
/opt/local/var/macports/distfiles/fftw-3/fftw-3.1.2.tar.gz
DEBUG: Environment:
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build
/_Users_adavid_macports-trunk_dports_math_fftw-3/work" && gzip -dc
/opt/local/var/macports/distfiles/fftw-3/fftw-3.1.2.tar.gz |
/sw/bin/gnutar --no-same-owner -xf -'
DEBUG: Executing org.macports.patch (fftw-3)
---> Configuring fftw-3
DEBUG: Executing org.macports.configure (fftw-3)
DEBUG: Using compiler 'Mac OS X gcc 4.0'
DEBUG: Environment: CFLAGS='-O2 -isysroot /Developer/SDKs/MacOSX10.5.sdk
-arch ppc -arch ppc64 -arch i386 -arch x86_64'
CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -isysroot
/Developer/SDKs/MacOSX10.5.sdk -arch ppc -arch ppc64 -arch i386 -arch
x86_64' CPP='/usr/bin/cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2'
LDFLAGS='-L/opt/local/lib -arch ppc -arch ppc64 -arch i386 -arch x86_64'
FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install'
OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build
/_Users_adavid_macports-trunk_dports_math_fftw-3/work/fftw-3.1.2" &&
./configure --prefix=/opt/local --enable-type-prefix --enable-threads
--enable-fma --disable-fortran --mandir=/opt/local/share/man
--infodir=/opt/local/share/info --disable-dependency-tracking'
checking for a BSD-compatible install... /usr/bin/install
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i386-apple-darwin9.1.0
checking host system type... i386-apple-darwin9.1.0
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
Error: Target org.macports.configure returned: configure failure: shell
command " cd "/opt/local/var/macports/build/_Users_adavid_macports-
trunk_dports_math_fftw-3/work/fftw-3.1.2" && ./configure
--prefix=/opt/local --enable-type-prefix --enable-threads --enable-fma
--disable-fortran --mandir=/opt/local/share/man
--infodir=/opt/local/share/info --disable-dependency-tracking " returned
error 77
Command output: checking for a BSD-compatible install... /usr/bin/install
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i386-apple-darwin9.1.0
checking host system type... i386-apple-darwin9.1.0
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
Warning: the following items did not execute (for fftw-3):
org.macports.activate org.macports.configure org.macports.build
org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
}}}
It seems like something's broken. If it is my compiler, please help me
figuring it out.
Thanks,
Andre
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13814>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list