[MacPorts] #60132: fftw-3 fails configure with "+threads"

MacPorts noreply at macports.org
Wed Feb 26 14:09:44 UTC 2020


#60132: fftw-3 fails configure with "+threads"
------------------------+--------------------
 Reporter:  mouse07410  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:
 Keywords:              |       Port:  fftw-3
------------------------+--------------------
 Catalina 10.15.3, Xcode-11.3.1, Macports clang-9.0.

 Problem: fftw-3 configurator uses {{{/usr/bin/clang}}} regardless of
 what's the default Clang on the system, and fails to find OpenMP.


 {{{
 $ sudo port install fftw-3 +threads
 --->  Fetching archive for fftw-3
 --->  Attempting to fetch fftw-3-3.3.8_0+threads.darwin_19.x86_64.tbz2
 from https://packages.macports.org/fftw-3
 --->  Attempting to fetch fftw-3-3.3.8_0+threads.darwin_19.x86_64.tbz2
 from https://ywg.ca.packages.macports.org/mirror/macports/packages/fftw-3
 --->  Attempting to fetch fftw-3-3.3.8_0+threads.darwin_19.x86_64.tbz2
 from http://aus.us.packages.macports.org/macports/packages/fftw-3
 --->  Fetching distfiles for fftw-3
 --->  Verifying checksums for fftw-3
 --->  Extracting fftw-3
 --->  Configuring fftw-3
 Error: Failed to configure fftw-3, consult
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_fftw-3/fftw-3/work/fftw-3.3.8/config.log
 Error: Failed to configure fftw-3: configure failure: command execution
 failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_fftw-3/fftw-3/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 Error: Processing of port fftw-3 failed
 $ less
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_fftw-3/fftw-3/work/fftw-3.3.8/config.log
 $ clang -v
 clang version 9.0.1
 Target: x86_64-apple-darwin19.3.0
 Thread model: posix
 InstalledDir: /opt/local/libexec/llvm-9.0/bin
 $ port select --list clang
 Available versions for clang:
         apple-clang
         mp-clang-9.0 (active)
         none
         uri-clang
 $
 $ less
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_fftw-3/fftw-3/work/fftw-3.3.8/config.log
 . . . . .
 It was created by fftw configure 3.3.8, which was
 generated by GNU Autoconf 2.69.  Invocation command line was

   $ ./configure --prefix=/opt/local --enable-threads --disable-fortran
 --enable-shared --enable-openmp --enable-sse2 --enable-avx

 ## --------- ##
 ## Platform. ##
 ## --------- ##

 hostname = Uris-MacBook-Air.local
 uname -m = x86_64
 uname -r = 19.3.0
 uname -s = Darwin
 uname -v = Darwin Kernel Version 19.3.0: Thu Jan  9 20:58:23 PST 2020;
 root:xnu-6153.81.5~1/RELEASE_X86_64
 . . . . .
 /bin/machine           = unknown
 /usr/bin/oslevel       = unknown
 /bin/universe          = unknown

 PATH: /usr/texbin
 PATH: /opt/local/bin
 PATH: /opt/local/sbin
 PATH: /bin
 PATH: /sbin
 PATH: /usr/bin
 PATH: /usr/sbin
 PATH: /usr/local/bin
 . . . . .
 configure:4183: checking for gcc
 configure:4210: result: /usr/bin/clang
 configure:4439: checking for C compiler version
 configure:4448: /usr/bin/clang --version >&5
 Apple clang version 11.0.0 (clang-1100.0.33.17)
 Target: x86_64-apple-darwin19.3.0
 Thread model: posix
 InstalledDir: /Library/Developer/CommandLineTools/usr/bin
 configure:4459: $? = 0
 configure:4448: /usr/bin/clang -v >&5
 Apple clang version 11.0.0 (clang-1100.0.33.17)
 Target: x86_64-apple-darwin19.3.0
 Thread model: posix
 InstalledDir: /Library/Developer/CommandLineTools/usr/bin
 . . . . .
 configure:21509: result: unknown
 configure:21512: error: don't know how to enable OpenMP
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60132>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list