From nobody@FreeBSD.org  Tue Nov 24 17:41:47 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 581401065676
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Nov 2009 17:41:47 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id A5F4A8FC08
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Nov 2009 17:41:46 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id nAOHfkTN093963
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 24 Nov 2009 17:41:46 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id nAOHfk7S093962;
	Tue, 24 Nov 2009 17:41:46 GMT
	(envelope-from nobody)
Message-Id: <200911241741.nAOHfk7S093962@www.freebsd.org>
Date: Tue, 24 Nov 2009 17:41:46 GMT
From: Karsten Rothemund <karsten@photor.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: cannot install math/py-numpy (needed by science/py-scipy)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify: llwang@infor.org

>Number:         140833
>Category:       ports
>Synopsis:       cannot install math/py-numpy (needed by science/py-scipy)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-python
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 24 17:50:01 UTC 2009
>Closed-Date:    Sun Jan 31 08:24:08 UTC 2010
>Last-Modified:  Sun Jan 31 08:24:08 UTC 2010
>Originator:     Karsten Rothemund
>Release:        FreeBSD 7.1-STABLE
>Organization:
private
>Environment:
FreeBSD worf.mydomain.home 7.1-STABLE FreeBSD 7.1-STABLE #50: Thu Jan  8 10:57:09 CET 2009     root@worf.mydomain.home:/usr/obj/usr/src/sys/ATHLON  i386

>Description:
Installing science/py-scipy runs into the following, when building the required port math/py-numpy:

..
gcc44: numpy/linalg/lapack_litemodule.c
gcc44: numpy/linalg/python_xerbla.c
cc -shared -pthread -O2 -fno-strict-aliasing -pipe -Wl,-rpath=/usr/local/lib/gcc44 build/temp.freebsd-7.1-STABLE-i386-2.6/numpy/linalg/lapack_litemodule.o build/temp.freebsd-7.1-STABLE-i386-2.6/numpy/linalg/python_xerbla.o -L/usr/local/lib -Lbuild/temp.freebsd-7.1-STABLE-i386-2.6 -lalapack_r -llapack -lblas -lgfortran -lm -lpthread -o build/lib.freebsd-7.1-STABLE-i386-2.6/numpy/linalg/lapack_lite.so
/usr/bin/ld: cannot find -lgfortran
/usr/bin/ld: cannot find -lgfortran
error: Command "cc -shared -pthread -O2 -fno-strict-aliasing -pipe -Wl,-rpath=/usr/local/lib/gcc44 build/temp.freebsd-7.1-STABLE-i386-2.6/numpy/linalg/lapack_litemodule.o build/temp.freebsd-7.1-STABLE-i386-2.6/numpy/linalg/python_xerbla.o -L/usr/local/lib -Lbuild/temp.freebsd-7.1-STABLE-i386-2.6 -lalapack_r -llapack -lblas -lgfortran -lm -lpthread -o build/lib.freebsd-7.1-STABLE-i386-2.6/numpy/linalg/lapack_lite.so" failed with exit status 1
*** Error code 1

Stop in /usr/ports/math/py-numpy.
*** Error code 1

Stop in /usr/ports/math/py-numpy.

===>>> make failed for math/py-numpy
===>>> Aborting update

===>>> Update for math/py-numpy failed
===>>> Aborting update

[root@worf] /usr/ports# 

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Nov 24 17:50:11 UTC 2009 
Responsible-Changed-Why:  
freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140833 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Nov 24 17:50:15 UTC 2009 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140833 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: llwang@infor.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/140833: cannot install math/py-numpy (needed by science/py-scipy)
Date: Tue, 24 Nov 2009 17:50:13 UT

 Maintainer of math/py-numpy,
 
 Please note that PR ports/140833 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/140833
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Karsten Rothemund <photor@photor.de>
To: bug-followup@FreeBSD.org, karsten@photor.de
Cc:  
Subject: Re: ports/140833: cannot install math/py-numpy (needed by
 science/py-scipy)
Date: Fri, 4 Dec 2009 22:33:01 +0100

 --cWoXeonUoKmBZSoM
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 Tried it with setting the following links
 
 # cd /usr/local/lib
 # ln -s gcc44/libgfortran.a
 # ln -s gcc44/libgfortran.so
 # ln -s gcc44/libgfortran.so.3=20
 #
 
 Port builds and installs now. I would not like to call it patch or even
 work around. This indicates in my opinion missing entry in search path for=
 =20
 libraries in the build environment.
 
 Ciao,
 
 Karsten
 
 --=20
 
 Karsten Rothemund <photor@photor.de>      /"\
 PGP-Key:     0x094AE55F                   \ /
 Fingerprint: C0BC 9AF3 A3E4 E55F 2AA3      \  ASCII Ribbon Campaign
              715E 62A3 4C0A 094A E55F     / \ Against HTML Mail and News
 
 --cWoXeonUoKmBZSoM
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.10 (FreeBSD)
 
 iD8DBQFLGYAMYqNMCglK5V8RAr/GAJ9IrHHmkTp3edn8vm1hvW2rjwoFEwCbBXhM
 4+Xi3rZnpQ3/vgoMYVNQqtk=
 =+dmM
 -----END PGP SIGNATURE-----
 
 --cWoXeonUoKmBZSoM--

From: "Li-Lun \"Leland\" Wang" <llwang@infor.org>
To: bug-followup@freebsd.org
Cc: karsten@photor.de
Subject: Re: ports/140833: cannot install math/py-numpy (needed by 
	science/py-scipy)
Date: Tue, 8 Dec 2009 19:15:33 +0000

 Hello,
 
 In the last step of the log, it shouldn't have used cc but should use
 gfortran44 to link.  I happened to have a fresh install of a 8.0 box,
 and numpy installed fine, correctly using gfortran44 to link.  I'm not
 sure why it was using cc instead.  I'll try it again when I have time
 to update to my 7.x box.  In the mean time, can you make sure that the
 ports tree and everything that numpy depends on are update to date?
 Thanks.
 
 Sincerely,
 llwang
State-Changed-From-To: feedback->closed 
State-Changed-By: lwhsu 
State-Changed-When: Sun Jan 31 08:24:06 UTC 2010 
State-Changed-Why:  
Submitter feedback timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=140833 
>Unformatted:
