pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48983: math/lapack does not build on NetBSD 6.0



>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
>Organization:
University of Bielefeld
>Environment:
NetBSD pkgsrc-nb60.hrz.uni-bielefeld.de 6.0 NetBSD 6.0 (GENERIC) amd64

>Description:
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".
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index