From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 20 10:40:09 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3473F1065670 for ; Wed, 20 Oct 2010 10:40:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0FD3F8FC0C for ; Wed, 20 Oct 2010 10:40:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o9KAe8qa049409 for ; Wed, 20 Oct 2010 10:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o9KAe8iF049408; Wed, 20 Oct 2010 10:40:08 GMT (envelope-from gnats) Resent-Date: Wed, 20 Oct 2010 10:40:08 GMT Resent-Message-Id: <201010201040.o9KAe8iF049408@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Henry Lenzi Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C918106566B for ; Wed, 20 Oct 2010 10:33:03 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 4F8CA8FC14 for ; Wed, 20 Oct 2010 10:33:03 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o9KAX3KI084864 for ; Wed, 20 Oct 2010 10:33:03 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o9KAX2sB084863; Wed, 20 Oct 2010 10:33:02 GMT (envelope-from nobody) Message-Id: <201010201033.o9KAX2sB084863@www.freebsd.org> Date: Wed, 20 Oct 2010 10:33:02 GMT From: Henry Lenzi To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/151595: Cannot build math ATLAS and LAPACK because libc_p.a is not found. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Oct 2010 10:40:09 -0000 >Number: 151595 >Category: ports >Synopsis: Cannot build math ATLAS and LAPACK because libc_p.a is not found. >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 20 10:40:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Henry Lenzi >Release: 8.1-RELEASE >Organization: >Environment: FreeBSD 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: In order to build scipy, a Python port for numerical computing you have to build the port /usr/ports/math/atlas with WITHSTATICLIB=YES. However, the atlas installation starts the lapack installation (another Math port). At some point, the whole process stops. Apparently, the fault lies in the fact that libc_p.a can't be found. See the output bellow. ------------------------------------------------ Building profile lapack library make -C /usr/ports/math/lapack/work/lapack-3.2.2_profile WITH_STATICLIB=YES ARC H=i386 OPSYS=FreeBSD OSREL=8.1 OSVERSION=801000 SYSTEMVERSION= -D INSTALLS_DEPEN DS ARCH=i386 OPSYS=FreeBSD OSREL=8.1 OSVERSION=801000 SYSTEMVERSION= -j`/sbin/sy sctl -n kern.smp.cpus` ARCH="/usr/local/bin/ar" ( cd INSTALL; make; ./testlsame; ./testslamch; ./testdlamch; ./testsecond; ./te stdsecnd; ./testversion ) gfortran44 -O -pg -c lsame.f -o lsame.o gfortran44 -O -pg -c lsametst.f -o lsametst.o gfortran44 -O0 -pg -c slamch.f -o slamch.o gfortran44 -O -pg -c slamchtst.f -o slamchtst.o gfortran44 -O0 -pg -c dlamch.f -o dlamch.o gfortran44 -O -pg -c dlamchtst.f -o dlamchtst.o gfortran44 -O -pg -c second_INT_ETIME.f -o second_INT_ETIME.o gfortran44 -O -pg -c secondtst.f -o secondtst.o gfortran44 -O -pg -c dsecnd_INT_ETIME.f -o dsecnd_INT_ETIME.o gfortran44 -O -pg -c dsecndtst.f -o dsecndtst.o gfortran44 -O -pg -c tstiee.f -o tstiee.o gfortran44 -O -pg -c ilaver.f -o ilaver.o gfortran44 -O -pg -c LAPACK_version.f -o LAPACK_version.o gfortran44 -Wl,-rpath=/usr/local/lib/gcc44 -pg -o testlsame lsame.o lsametst.o /usr/local/bin/ld: cannot find -lc_p collect2: ld returned 1 exit status *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 Stop in /usr/ports/math/lapack. *** Error code 1 Stop in /usr/ports/math/atlas. ------------------------------------------- Atlas and lapack are two very fundamental Fortran libraries. A great many mathematics free software depend on these two. Please help. TIA, Henry Lenzi PS: I have no idea what is libc_p.a, but see: http://ubuntuforums.org/showthread.php?t=701804 >How-To-Repeat: Attempt to rebuild atlas. >Fix: >Release-Note: >Audit-Trail: >Unformatted: