From owner-freebsd-ports@FreeBSD.ORG Sun Aug 3 15:28:24 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D6BDDACF for ; Sun, 3 Aug 2014 15:28:24 +0000 (UTC) Received: from springbank.echomania.com (springbank.echomania.com [IPv6:2a01:7c8:aab2:81::1]) by mx1.freebsd.org (Postfix) with ESMTP id 9A45F2A7C for ; Sun, 3 Aug 2014 15:28:24 +0000 (UTC) Received: from coleburn.home.andric.com (tensor.andric.com [87.251.56.140]) by springbank.echomania.com (Postfix) with ESMTPSA id D756F580302; Sun, 3 Aug 2014 17:28:22 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_3840D357-F6CD-4BE4-B5EC-5B82FC66C41B"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: math/lapack broken From: Dimitry Andric In-Reply-To: <20140802004717.GA29541@troutmask.apl.washington.edu> Date: Sun, 3 Aug 2014 17:28:12 +0200 Message-Id: <6B587B71-3AAE-44AD-8DC8-D3F60FC5D1A4@FreeBSD.org> References: <20140802004717.GA29541@troutmask.apl.washington.edu> To: Steve Kargl X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Aug 2014 15:28:24 -0000 --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 = 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--