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 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