Discussion:
pkg/48983: math/lapack does not build on NetBSD 6.0
j***@uni-bielefeld.de
2014-07-10 14:40:00 UTC
Permalink
Number: 48983
Category: pkg
Synopsis: math/lapack does not build on NetBSD 6.0
Confidential: no
Severity: serious
Priority: medium
Responsible: pkg-manager
State: open
Class: sw-bug
Submitter-Id: net
Arrival-Date: Thu Jul 10 14:40:00 +0000 2014
Originator: Jörn Clausen
Release: NetBSD 6.0
University of Bielefeld
NetBSD pkgsrc-nb60.hrz.uni-bielefeld.de 6.0 NetBSD 6.0 (GENERIC) amd64
Building math/lapack on NetBSD/amd64 6.0 fails:

ilauplo.o .libs/iladiag.o .libs/chla_transtype.o ../INSTALL/.libs/ilaver.o ../INSTALL/.libs/lsame.o ../INSTALL/.libs/slamch.o -L/usr/pkgsrc/math/lapack/work/.buildlink/lib -R/usr/pkg/lib -soname liblapack.so.4 -o ../.libs/liblapack.so.4.0.0
g95: liblapack.so.4: No such file or directory
g95: unrecognized option '-soname'


The whole sequence of events is:

( cd SRC; /usr/bin/make )
--- ../liblapack.la ---
libtool-fortran --mode=link --tag=F77 g95 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o ../liblapack.la sgbbrd.lo sgbcon.lo sgbequ.lo sgbrfs.lo sgbsv.lo sgbsvx.lo sgbtf2.lo sgbtrf.lo sgbtrs.lo sgebak.lo sgebal.lo sgebd2.lo sgebrd.lo sgecon.lo sgeequ.lo sgees.lo sgeesx.lo sgeev.lo sgeevx.lo sgegs.lo sgegv.lo sgehd2.lo sgehrd.lo sgelq2.lo sgelqf.lo sgels.lo sgelsd.lo sgelss.lo sgelsx.lo sge
...
o dsterf.lo dlaisnan.lo disnan.lo dlartgp.lo dlartgs.lo ../INSTALL/dlamch.lo ../INSTALL/dsecnd_INT_ETIME.lo ilaenv.lo ieeeck.lo lsamen.lo xerbla.lo xerbla_array.lo iparmq.lo ilaprec.lo ilatrans.lo ilauplo.lo iladiag.lo chla_transtype.lo ../INSTALL/ilaver.lo ../INSTALL/lsame.lo ../INSTALL/slamch.lo -rpath /usr/pkg/lib -version-info 4:0
libtool-fortran: link: g77 -shared .libs/sgbbrd.o .libs/sgbcon.o .libs/sgbequ.o .libs/sgbrfs.o .libs/sgbsv.o .libs/sgbsvx.o .libs/sgbtf2.o .libs/sgbtrf.o .libs/sgbtrs.o .libs/sgebak.o .libs/sgebal.o .libs/sgebd2.o .libs/sgebrd.o .libs/sgecon.o .libs/sgeequ.o .libs/sgees.o .libs/sgeesx.o .libs/sgeev.o .libs/sgeevx.o .libs/sgegs.o .libs/sgegv.o .libs/sgehd2.o .libs/sgehrd.o .libs/s
...
plo.o .libs/iladiag.o .libs/chla_transtype.o ../INSTALL/.libs/ilaver.o ../INSTALL/.libs/lsame.o ../INSTALL/.libs/slamch.o -L/usr/pkgsrc/math/lapack/work/.buildlink/lib -R/usr/pkg/lib -soname liblapack.so.4 -o ../.libs/liblapack.so.4.0.0
g95: liblapack.so.4: No such file or directory
g95: unrecognized option '-soname'

See pkg/48961 that also describes a mix-up of g95 and g77. Does libtool-fortran need some care? It is also the source of the wrong "-soname".
r***@NetBSD.org
2014-07-10 15:13:33 UTC
Permalink
Synopsis: math/lapack does not build on NetBSD 6.0

Responsible-Changed-From-To: pkg-manager->adam
Responsible-Changed-By: ***@NetBSD.org
Responsible-Changed-When: Thu, 10 Jul 2014 15:13:32 +0000
Responsible-Changed-Why:
Over to maintainer
Jörn Clausen
2014-09-03 12:00:00 UTC
Permalink
The following reply was made to PR pkg/48983; it has been noted by GNATS.

From: =?ISO-8859-15?Q?J=F6rn_Clausen?= <***@uni-bielefeld.de>
To: gnats-***@NetBSD.org
Cc:
Subject: Re: pkg/48983: math/lapack does not build on NetBSD 6.0
Date: Wed, 03 Sep 2014 13:55:28 +0200

The recent update to libtool-fortran seems to have fixed this problem.
lapack and depending packages (py-numpy) now build. I can't test them,
though, but I think it is okay to close this ticket.

--
Jörn Clausen ***@uni-bielefeld.de
Hochschulrechenzentrum http://www.uni-bielefeld.de/hrz/
Universität Bielefeld
d***@NetBSD.org
2014-10-13 05:00:13 UTC
Permalink
Synopsis: math/lapack does not build on NetBSD 6.0

State-Changed-From-To: open->closed
State-Changed-By: ***@NetBSD.org
State-Changed-When: Mon, 13 Oct 2014 05:00:13 +0000
State-Changed-Why:
Submitter reports fixed by libtool-fortran update.

Loading...