[MacPorts] #12376: BUG: py-scipy 0.5.2 fails to build on an intel mac (swig fails trying to find UMFPACK headers)

MacPorts trac at macosforge.org
Sun Feb 17 13:41:03 PST 2008


#12376: BUG: py-scipy 0.5.2 fails to build on an intel mac (swig fails trying to
find UMFPACK headers)
-----------------------------------+----------------------------------------
  Reporter:  c.khroulev at gmail.com  |       Owner:  ram at macports.org
      Type:  defect                |      Status:  new             
  Priority:  Normal                |   Milestone:  Port Bugs       
 Component:  ports                 |     Version:  1.6.0           
Resolution:                        |    Keywords:                  
-----------------------------------+----------------------------------------
Comment (by c.khroulev at gmail.com):

 I tried it today, and here are the results:
 1) py-numpy fails to build using the default variant (g95). Builds fine
 with +gcc42
 2) py-scipy builds fine both with +g95 and +gcc42, but works only if built
 with +gcc42 (otherwise it can't use NumPy, I suppose).

 I do have problems building py25-scipy 0.6.0, though. py25-hashlib fails
 to build with the following message:
 {{{
 --->  Building py25-hashlib with target build
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-hashlib/work/Python-2.5.1/Modules"
 && /opt/local/bin/python2.5 setup.py build " returned error 1
 Command output: running build
 running build_ext
 building '_hashlib' extension
 creating build
 creating build/temp.macosx-10.3-i386-2.5
 -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -I/opt/local/include
 -I/opt/local/include/python2.5 -c _hashopenssl.c -o
 build/temp.macosx-10.3-i386-2.5/_hashopenssl.o
 unable to execute -DNDEBUG: No such file or directory
 error: command '-DNDEBUG' failed with exit status 1
 }}}

 Looks like this is a known issue (although I couldn't find a ticket
 describing it).
 Apparently, ([http://www.nabble.com/py25-hashlib-failing-on-build-
 td15259189.html]) py25-tkinter fails the same way...

 So, I think this ticket should be closed.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/12376#comment:7>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list