From owner-freebsd-ports@FreeBSD.ORG Wed Jan 14 04:17:27 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC58C106566B for ; Wed, 14 Jan 2009 04:17:27 +0000 (UTC) (envelope-from bf2006a@yahoo.com) Received: from web39107.mail.mud.yahoo.com (web39107.mail.mud.yahoo.com [209.191.87.226]) by mx1.freebsd.org (Postfix) with SMTP id 9E84A8FC12 for ; Wed, 14 Jan 2009 04:17:27 +0000 (UTC) (envelope-from bf2006a@yahoo.com) Received: (qmail 27411 invoked by uid 60001); 14 Jan 2009 03:50:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=1CXrZ6EWzOALDgqmfyc9TnASgNIQXDWjMpVNYLIpjSWUIS1P7YxwPUxlZl+BWoEy5+Qz03UA5QgYUVAWcdxEctKXWecFeze7XQeQYDAY8j9lb6QHEcaXlQoLyHxS/PvEa7BC/8VPAC1/FWRvbyoLd3q6GmSoUDjZEikPm4+JRz8=; X-YMail-OSG: XAQG1EcVM1mFHNZijSt8s.SUSAmBw2BWGNwZzoZ1RPvw4FRhqiUG0djlMOXv1V7hYyhAclXEKF4UEHzYqZU7xIUgCUkJFKVosPzGTYA9v_O6_8OpH69au3znGHO8JhzLEV7hBsrKE7dwWHArC246tZccjVgSsY8BbssJ8q6pxjMg9uAjzwCgFpiK8ZjMXrQ- Received: from [85.31.186.211] by web39107.mail.mud.yahoo.com via HTTP; Tue, 13 Jan 2009 19:50:45 PST X-Mailer: YahooMailWebService/0.7.260.1 Date: Tue, 13 Jan 2009 19:50:45 -0800 (PST) From: bf To: Philipp Ost , Glen Barber In-Reply-To: <4ad871310901131703x7c7753e9m5c399411c5576a01@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <365052.26421.qm@web39107.mail.mud.yahoo.com> Cc: ports@freebsd.org Subject: Re: math/R fails to build X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf2006a@yahoo.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2009 04:17:28 -0000 --- On Tue, 1/13/09, Glen Barber wrote: > From: Glen Barber > Subject: Re: math/R fails to build > To: "Philipp Ost" > Cc: bf2006a@yahoo.com, ports@freebsd.org > Date: Tuesday, January 13, 2009, 8:03 PM > On Tue, Jan 13, 2009 at 5:10 PM, Philipp Ost > wrote: > > Hi, > > > > math/R fails to build: > > # make > > [...] > > cc -std=gnu99 -I. -I../../src/include > -I../../src/include > > -I/usr/local/include -DHAVE_CONFIG_H -fpic -O2 > -fno-strict-aliasing -pipe > > -march=athlon-xp -c Rmain.c -o Rmain.o > > cc -std=gnu99 -export-dynamic -L/usr/local/lib -o > R.bin Rmain.o -L../../lib > > -lR > > /usr/local/lib/libblas.so.2: undefined reference to > > `_gfortran_runtime_error_at' > > *** Error code 1 > > > > Stop in /usr/ports/math/R/work/R-2.8.1/src/main. > > *** Error code 1 > > > > Stop in /usr/ports/math/R/work/R-2.8.1/src/main. > > *** Error code 1 > > > > Stop in /usr/ports/math/R/work/R-2.8.1/src. > > *** Error code 1 > > > > Stop in /usr/ports/math/R/work/R-2.8.1. > > *** Error code 1 > > > > Stop in /usr/ports/math/R. > > *** Error code 1 > > > > Stop in /usr/ports/math/R. > > # > > > > I run RELENG_7 as of 23 Dec. 2008 (on i386). > > > > Any hints? (Apart from rebuilding blas, which I did. > It didn't solve the > > problem) > > > > Is it a safe assumption that you have recently updated your > ports tree? > > -- > Glen Barber There were recently some changes to the organization of the Fortran-related ports on FreeBSD. The Fortran compiler was added to the list of runtime dependencies, as it should have been, and the default Fortran compiler was changed from gcc 4.2.x to 4.3.x. As Glen suggested, your problem may be related. Try updating your ports tree, and then rebuilding blas, lapack, and R, and see if it works. If you haven't done so after the changes, you may also have to fetch and build gcc 4.3.x, which may take some time and disk space, so be prepared to keep half an eye on your build. Let me know if that doesn't solve your problem. Regards, b.