Opened 14 years ago

Closed 14 years ago

#26117 closed defect (fixed)

py26-numpy-1.4.1 compile failure (-lgfortranbegin)

Reported by: macports@… Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: skymoo (Adam Mercer), michaelld (Michael Dickens)
Port: py26-numpy

Description

When trying to install py26-numpy on Snow Leopard I get the following error. I'm not sure why I'm getting this, as the command line doesn't appear to include -lgfortranbegin. I've attached a full log.

:info:build /usr/bin/gfortran -Wall build/temp.macosx-10.6-x86_64-2.6/numpy/linalg/lapack_litemodule.o build/temp.macosx-10.6-x86_64-2.6/numpy/linalg/python_xerbla.o -L/opt/local/lib -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 -Lbuild/temp.macosx-10.6-x86_64-2.6 -llapack -lptf77blas -lptcblas -latlas -lgfortran -o build/lib.macosx-10.6-x86_64-2.6/numpy/linalg/lapack_lite.so
:info:build ld: library not found for -lgfortranbegin
:info:build collect2: ld returned 1 exit status
:info:build ld: library not found for -lgfortranbegin
:info:build collect2: ld returned 1 exit status
:info:build error: Command "/usr/bin/gfortran -Wall build/temp.macosx-10.6-x86_64-2.6/numpy/linalg/lapack_litemodule.o build/temp.macosx-10.6-x86_64-2.6/numpy/linalg/python_xerbla.o -L/opt/local/lib -L/usr/lib/gcc/i686-apple-darwin10/4.2.1/x86_64 -Lbuild/temp.macosx-10.6-x86_64-2.6 -llapack -lptf77blas -lptcblas -latlas -lgfortran -o build/lib.macosx-10.6-x86_64-2.6/numpy/linalg/lapack_lite.so" failed with exit status 1

Attachments (1)

main.log (63.7 KB) - added by macports@… 14 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_python_py26-numpy/main.log

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by macports@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_python_py26-numpy/main.log

comment:1 Changed 14 years ago by skymoo (Adam Mercer)

Owner: changed from macports-tickets@… to mcalhoun@…
Port: py26-numpy added
Version: 1.9.1

The build is using gfortran from /usr/bin not MacPorts. Where did this compiler come from?

I imagine that this is corrupting the build in someway.

comment:2 Changed 14 years ago by skymoo (Adam Mercer)

Cc: ram@… added

Cc Me!

comment:3 Changed 14 years ago by michaelld (Michael Dickens)

Cc: michaelld@… added

Cc Me!

comment:4 Changed 14 years ago by michaelld (Michael Dickens)

There's a potential fix for this issue on ticket #24942; please try the last diff & see if it works for you on this issue.

comment:5 Changed 14 years ago by michaelld (Michael Dickens)

Resolution: fixed
Status: newclosed

I've checked in the changes in r72220; please do:

sudo port clean py26-numpy
sudo port selfupdate
sudo port install py26-numpy [+variants]

and see if it works. I'm closing this ticket as fixed; please reopen if the changes do not work for you.

Note: See TracTickets for help on using tickets.