[MacPorts] #18428: fftw doesn't compile with universal flag
#18428: fftw doesn't compile with universal flag ----------------------------------+----------------------------------------- Reporter: jjdanimoth@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: ----------------------------------+----------------------------------------- Hello, I'm trying to compile fftw-3 with universal flag enabled; I'm on Leopard 10.5.6 with a PPC machine. The output is: {{{ Configuring fftw-3 Error: Target org.macports.configure returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_fftw-3/work/i386 && CFLAGS="-O2 -fno-common -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386" CXXFLAGS="-O2 -fno-common -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386" LDFLAGS="-L/opt/local/lib -arch i386" ./configure --prefix=/opt/local --enable-threads --enable-fma --disable-fortran --enable-shared" returned error 1 Command output: c hecking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... powerpc-apple-darwin9.6.0 checking host system type... powerpc-apple-darwin9.6.0 checking for gcc.. . gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_fftw-3/work/i386': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. }}} -- Ticket URL: <http://trac.macports.org/ticket/18428> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18428: fftw doesn't compile with universal flag ----------------------------------+----------------------------------------- Reporter: jjdanimoth@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: fftw ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * cc: jjdanimoth@… (removed) * port: => fftw Comment: The reporter is automatically Cc'ed. What version of Xcode do you have installed? -- Ticket URL: <http://trac.macports.org/ticket/18428#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18428: fftw doesn't compile with universal flag ----------------------------------+----------------------------------------- Reporter: jjdanimoth@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: fftw ----------------------------------+----------------------------------------- Comment(by jjdanimoth@…): Version 3.0 -- Ticket URL: <http://trac.macports.org/ticket/18428#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18428: fftw doesn't compile with universal flag ----------------------------------+----------------------------------------- Reporter: jjdanimoth@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: fftw ----------------------------------+----------------------------------------- Comment(by macsforever2000@…): Try installing the latest version, 3.1.2. -- Ticket URL: <http://trac.macports.org/ticket/18428#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18428: fftw doesn't compile with universal flag ----------------------------------+----------------------------------------- Reporter: jjdanimoth@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: fftw ----------------------------------+----------------------------------------- Comment(by jjdanimoth@…): Same error. It happens only to me ? -- Ticket URL: <http://trac.macports.org/ticket/18428#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18428: fftw doesn't compile with universal flag ----------------------------------+----------------------------------------- Reporter: jjdanimoth@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: fftw ----------------------------------+----------------------------------------- Comment(by jjdanimoth@…): With fftw-3 3.2.1: {{{ Error: Target org.macports.configure returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_fftw-3/work/i386 && CFLAGS="-O2 -fno-common -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386" CXXFLAGS="-O2 -fno-common -isysroot /Developer/SDKs/MacOSX10.5.sdk -arch i386" LDFLAGS="-L/opt/local/lib -arch i386" ./configure --prefix=/opt/local --enable-threads --enable-fma --disable-fortran --enable-shared" returned error 1 Command output: c hecking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ./install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... powerpc-apple-darwin9.6.0 checking host system type... powerpc-apple-darwin9.6.0 checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_math_fftw-3/work/i386': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details. Error: Unable to upgrade port: 1 Executing: /opt/local/bin/port -u upgrade fftw-3 +universal }}} -- Ticket URL: <http://trac.macports.org/ticket/18428#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18428: fftw doesn't compile with universal flag ----------------------------------+----------------------------------------- Reporter: jjdanimoth@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: fftw ----------------------------------+----------------------------------------- Comment(by jjdanimoth@…): There's nothing that I can do ? Maybe adding a --host=something in the script ? What is the 'something' ? -- Ticket URL: <http://trac.macports.org/ticket/18428#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18428: fftw-3 doesn't compile with universal flag ----------------------------------+----------------------------------------- Reporter: jjdanimoth@… | Owner: ram@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: fftw-3 ----------------------------------+----------------------------------------- Changes (by ram@…): * owner: macports-tickets@… => ram@… * status: new => assigned * port: fftw => fftw-3 Comment: From the above error it looks like theres something wrong with your compiler. The port now uses the muniversal PortGroup for the universal variant, can you test again? If you get the error again, can you attach the full build log, i.e.: {{{ $ sudo port clean fftw-3 $ sudo port -d install fftw-3 +universal > fftw-3.log }}} -- Ticket URL: <http://trac.macports.org/ticket/18428#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18428: fftw-3 doesn't compile with universal flag ----------------------------------+----------------------------------------- Reporter: jjdanimoth@… | Owner: ram@… Type: defect | Status: assigned Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: fftw-3 ----------------------------------+----------------------------------------- Comment(by jjdanimoth@…): I installed the ppc version only, then I've installed other dependencies for py-gtk2 for universal. Then, I removed fftw-3 ppc version, and recompiled it universal: it works. At this point, if I was the only one that have this bug, it could be closed. Sorry for the time -- Ticket URL: <http://trac.macports.org/ticket/18428#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18428: fftw-3 doesn't compile with universal flag -----------------------------------+---------------------------------------- Reporter: jjdanimoth@… | Owner: ram@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Resolution: invalid | Keywords: Port: fftw-3 | -----------------------------------+---------------------------------------- Changes (by ram@…): * status: assigned => closed * resolution: => invalid Comment: Strange, glad its working now. -- Ticket URL: <http://trac.macports.org/ticket/18428#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts