NetBSD Problem Report #42137

From  Tue Sep 29 19:10:36 2009
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 5EA6163C378
	for <>; Tue, 29 Sep 2009 19:10:36 +0000 (UTC)
Message-Id: <>
Date: Tue, 29 Sep 2009 19:10:35 +0000 (UTC)
Subject: Cant build math/py-numpy when lang/g95 is installed
X-Send-Pr-Version: www-1.0

>Number:         42137
>Category:       pkg
>Synopsis:       Cant build math/py-numpy when lang/g95 is installed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 29 19:15:00 +0000 2009
>Closed-Date:    Sun Jan 22 12:47:48 +0000 2017
>Last-Modified:  Sun Jan 22 12:47:48 +0000 2017
>Originator:     Adam Hoka
When buildin py-numpy with g95 present, it picks up g95 as the compiler (instead of pkgsrc's fortran compiler) and fails with this:

compile options: '-DNO_ATLAS_INFO=1 -Inumpy/core/include -Ibuild/src.netbsd-5.99.18-i386-2.5/numpy/core/include/numpy -Inumpy/core/src -Inumpy/core/include -I/usr/pkg/include/python2.5 -c'
/usr/pkg/bin/g95 -shared -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/python2.5/config -Wl,-R/usr/pkg/lib/python2.5/config -L/usr/pkg/lib -Wl,-R/usr/pkg/lib build/temp.netbsd-5.99.18-i386-2.5/numpy/linalg/lapack_litemodule.o build/temp.netbsd-5.99.18-i386-2.5/numpy/linalg/python_xerbla.o -L/usr/pkg/lib -Lbuild/temp.netbsd-5.99.18-i386-2.5 -llapack -lblas -lpython2.5 -o build/lib.netbsd-5.99.18-i386-2.5/numpy/linalg/
/usr/bin/ld: cannot find -lf95
/usr/bin/ld: cannot find -lf95
error: Command "/usr/pkg/bin/g95 -shared -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib/python2.5/config -Wl,-R/usr/pkg/lib/python2.5/config -L/usr/pkg/lib -Wl,-R/usr/pkg/lib build/temp.netbsd-5.99.18-i386-2.5/numpy/linalg/lapack_litemodule.o build/temp.netbsd-5.99.18-i386-2.5/numpy/linalg/python_xerbla.o -L/usr/pkg/lib -Lbuild/temp.netbsd-5.99.18-i386-2.5 -llapack -lblas -lpython2.5 -o build/lib.netbsd-5.99.18-i386-2.5/numpy/linalg/" failed with exit status 1
*** Error code 1

make: stopped in /usr/pkgsrc/math/py-numpy
*** Error code 1

This is py25-numpy-1.3.0nb1.





State-Changed-From-To: open->closed
State-Changed-When: Sun, 22 Jan 2017 12:47:48 +0000
This is no longer an issue - g95 is still the default and py-numpy works.
must've been resolved in the meantime.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.