pkgsrc-Bugs archive

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

Re: pkg/52267: can't compile math/blas, maybe libtool-fortran problem



The following reply was made to PR pkg/52267; it has been noted by GNATS.

From: =?UTF-8?Q?J=c3=b6rn_Clausen?= <joern.clausen%uni-bielefeld.de@localhost>
To: gnats-bugs%NetBSD.org@localhost, solaris-pkg-people%NetBSD.org@localhost,
 gnats-admin%NetBSD.org@localhost, pkgsrc-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/52267: can't compile math/blas, maybe libtool-fortran problem
Date: Fri, 02 Jun 2017 15:53:14 +0200

 >  The next place would be config.log from the libtool-fortran build
 
 According to config.status, postdeps_FC is the source of "-l -l":
 
 postdeps_FC='-L/opt/pkgsrc/pkg-hrz/pkgsrc/devel/libtool-fortran/work.pkgsrc-sol11i86/.buildlink/lib 
 -l -l 
 -L/opt/pkgsrc/pkg-hrz/pkgsrc/devel/libtool-fortran/work.pkgsrc-sol11i86/.buildlink/lib 
 -L/opt/pkg-gcc/4.9.4/lib/gcc/i386-pc-solaris2.11/4.9.4/amd64 
 -L/opt/pkg-gcc/4.9.4/lib/gcc/i386-pc-solaris2.11/4.9.4/../../../amd64 
 -L/lib/amd64 -L/usr/lib/amd64 
 -L/opt/pkg-gcc/4.9.4/lib/gcc/i386-pc-solaris2.11/4.9.4 
 -L/opt/pkg-gcc/4.9.4/lib/gcc/i386-pc-solaris2.11/4.9.4/../../.. 
 -R/opt/pkg-gcc/4.9.4/lib/amd64 -lgfortran -lm -lgcc_s -lquadmath -lm 
 -lgcc_s -lc -lgcc_s'
 
 >  running configure with sh -x and filtering through the output
 
 It took me some time to run configure with the same environment as when 
 called in pkgsrc :)
 
 The standalone -l is generated somewhere in the code starting at line 
 21683 of the configure script. There are some calls like
 
 func_stripname_cnf -l '' -l
 
 visible in the -x-generated output.
 
 When pkgsrc runs configure, it uses /usr/bin/bash (which changed from 
 4.1 in Solaris 11.2 to 4.4 in Solaris 11.3). Rerunning configure in the 
 same environment, but using /bin/sh, the calls to func_stripname are 
 missing and the final result is good. So it's hard to say if the 
 configure script contains an error or if a bash bug is triggered.
 
 The config.logs/.status and -x output is available on request.
 
 -- 
 Jörn Clausen
 Plattformen & Serverdienste
 BITS - Bielefelder IT-Servicezentrum
 


Home | Main Index | Thread Index | Old Index