math/lapack broken

Dimitry Andric dim at FreeBSD.org
Sun Aug 3 15:28:24 UTC 2014


On 02 Aug 2014, at 02:47, Steve Kargl <sgk at troutmask.apl.washington.edu> wrote:
> % portmaster --force-config math/lapack
> 
> (Select to build/install profiled libraries)
> 
> ===>>> Port directory: /usr/ports/math/lapack
> 
> 	===>>> This port is marked IGNORE
> 	===>>> you have chosen WITH_PROFILE, but have not installed
>           the base system profiling libraries
> 
> WTF!.  I know the base system doesn't have the profiled
> libraries installed.  I don't need nor want profiled
> versions of the base system libraries.  I want profiled
> versions of the math/lapack and math/blas libraries.
> 
> 	===>>> If you are sure you can build it, remove the
> 	       IGNORE line in the Makefile and try again.
> 
> This is just unbelievably stupid.  Please fix the port.

Hi Steve,

Apparenty this was deliberately done in r261921, almost 4 years ago:

https://bugs.freebsd.org/150549

It turns out the port will only build with profiling, if you have
profiled libs in the base system; otherwise, you will get an error
similar to:

===>  Building for lapack-3.4.2_2
/usr/bin/printf "\n\nBuilding profile libraries:\n\n\n"
...
gfortran47  -Wl,-rpath=/usr/local/lib/gcc47  -L/usr/local/lib/gcc47 -B/usr/local/bin -pg -o testslamch slamch.o lsame.o slamchtst.o
--- testlsame ---
/usr/local/bin/ld: cannot find -lc_p
collect2: error: ld returned 1 exit status
*** [testlsame] Error code 1

make[3]: stopped in /usr/work/usr/ports/math/lapack/work/lapack-3.4.2_PROFILE/INSTALL
[...]
make: stopped in /usr/ports/math/lapack

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140803/0dbbf2cd/attachment.sig>


More information about the freebsd-ports mailing list