Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Aug 2014 17:28:12 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: math/lapack broken
Message-ID:  <6B587B71-3AAE-44AD-8DC8-D3F60FC5D1A4@FreeBSD.org>
In-Reply-To: <20140802004717.GA29541@troutmask.apl.washington.edu>
References:  <20140802004717.GA29541@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_3840D357-F6CD-4BE4-B5EC-5B82FC66C41B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 02 Aug 2014, at 02:47, Steve Kargl <sgk@troutmask.apl.washington.edu> =
wrote:
> % portmaster --force-config math/lapack
>=20
> (Select to build/install profiled libraries)
>=20
> =3D=3D=3D>>> Port directory: /usr/ports/math/lapack
>=20
> 	=3D=3D=3D>>> This port is marked IGNORE
> 	=3D=3D=3D>>> you have chosen WITH_PROFILE, but have not =
installed
>           the base system profiling libraries
>=20
> 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.
>=20
> 	=3D=3D=3D>>> If you are sure you can build it, remove the
> 	       IGNORE line in the Makefile and try again.
>=20
> 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:

=3D=3D=3D>  Building for lapack-3.4.2_2
/usr/bin/printf "\n\nBuilding profile libraries:\n\n\n"
...
gfortran47  -Wl,-rpath=3D/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


--Apple-Mail=_3840D357-F6CD-4BE4-B5EC-5B82FC66C41B
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)

iEYEARECAAYFAlPeVRUACgkQsF6jCi4glqOQTwCfdX1x8N+NpPUztCdLdVpNFKql
4twAoPmMW459wG9slWTHfUvopV+05eTT
=bBLe
-----END PGP SIGNATURE-----

--Apple-Mail=_3840D357-F6CD-4BE4-B5EC-5B82FC66C41B--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6B587B71-3AAE-44AD-8DC8-D3F60FC5D1A4>