Opened 11 years ago

Closed 11 years ago

#40824 closed defect (fixed)

py-scipy: build error

Reported by: mf2k (Frank Schima) Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: stromnov (Andrey Stromnov), Veence (Vincent), michelle.lynn.gill@…, christoph.jacob@…, shapovalow@…
Port: py-scipy atlas

Description

I'm attempting to update to py27-scipy 0.13.0 but I see the following error:

:info:destroot running build_py
:info:destroot copying scipy/version.py -> build/lib.macosx-10.8-x86_64-2.7/scipy
:info:destroot copying build/src.macosx-10.8-x86_64-2.7/scipy/__config__.py -> build/lib.macosx-10.8-x86_64-2.7/scipy
:info:destroot running build_clib
:info:destroot customize UnixCCompiler
:info:destroot customize UnixCCompiler using build_clib
:info:destroot running build_ext
:info:destroot customize UnixCCompiler
:info:destroot customize UnixCCompiler using build_ext
:info:destroot resetting extension 'scipy.integrate._odepack' language from 'c' to 'f77'.
:info:destroot resetting extension 'scipy.integrate.vode' language from 'c' to 'f77'.
:info:destroot resetting extension 'scipy.integrate.lsoda' language from 'c' to 'f77'.
:info:destroot resetting extension 'scipy.odr.__odrpack' language from 'c' to 'f77'.
:info:destroot extending extension 'scipy.sparse.linalg.dsolve._superlu' defined_macros with [('USE_VENDOR_BLAS', 1)]
:info:destroot customize UnixCCompiler
:info:destroot #### ['/usr/bin/clang', '-fno-strict-aliasing', '-fno-common', '-dynamic', '-pipe', '-Os', '-fwrapv', '-DNDEBUG', '-g', '-fwrapv', '-O3', '-Wall', '-Wstrict-prototypes'] #######
:info:destroot Missing compiler_cxx fix for UnixCCompiler
:info:destroot customize UnixCCompiler using build_ext
:info:destroot warning: build_ext: f77_compiler=gnu95 is not available.
:info:destroot 
:info:destroot building 'scipy.linalg._interpolative' extension
:info:destroot error: extension 'scipy.linalg._interpolative' has Fortran sources but no Fortran compiler found

I'm on OS X 10.8.5 with Xcode 5. Here are my variants chosen:

f$ port installed py27-scipy
The following ports are currently installed:
  py27-scipy @0.12.1_0+atlas+gcc48 (active)

I'm Cc'ing stromnov who updated it to this version in r112372.

Attachments (1)

main.log.zip (801.7 KB) - added by mf2k (Frank Schima) 11 years ago.

Download all attachments as: .zip

Change History (9)

Changed 11 years ago by mf2k (Frank Schima)

Attachment: main.log.zip added

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Cc: vince@… added
Port: atlas added

As an update, this is related to atlas because removing that variant allows it to build:

$ port installed py27-scipy atlas
The following ports are currently installed:
  atlas @3.10.1_5+gcc48 (active)
  py27-scipy @0.12.1_0+atlas+gcc48
  py27-scipy @0.13.0_0+gcc48 (active)

Cc'ing the maintainer of atlas for possible comment.

comment:2 Changed 11 years ago by michelle.lynn.gill@…

Cc: michelle.lynn.gill@… added

Cc Me!

comment:3 Changed 11 years ago by Veence (Vincent)

It has been a long since I have not rebuilt scipy. I’ll try this weekend and see how it turns out.

comment:4 Changed 11 years ago by christoph.jacob@…

Cc: christoph.jacob@… added

Cc Me!

comment:5 Changed 11 years ago by stromnov (Andrey Stromnov)

It looks like problem with numpy's distutils - compiler successfully detected at build phase, but not at install phase.

comment:6 Changed 11 years ago by shapovalow@…

Cc: shapovalow@… added

Cc Me!

comment:7 Changed 11 years ago by stromnov (Andrey Stromnov)

Fixed at r112767 and works for me on OS X 10.8.5 with and without +atlas variant (atlas compiled with +perf variant and numpy compiled with +atlas).

comment:8 Changed 11 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

Confirmed that your fix for py-numpy fixed this problem. Thanks!

Note: See TracTickets for help on using tickets.