From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Mar 12 19:10:00 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 D294547E for ; Wed, 12 Mar 2014 19:10:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A874935E for ; Wed, 12 Mar 2014 19:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s2CJA0Hr054161 for ; Wed, 12 Mar 2014 19:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s2CJA0hP054160; Wed, 12 Mar 2014 19:10:00 GMT (envelope-from gnats) Resent-Date: Wed, 12 Mar 2014 19:10:00 GMT Resent-Message-Id: <201403121910.s2CJA0hP054160@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, Christoph Moench-Tegeder 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 5CD573CA for ; Wed, 12 Mar 2014 19:02:31 +0000 (UTC) Received: from smtp.burggraben.net (base.exwg.net [IPv6:2a01:4f8:140:50a2::2]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1B06031C for ; Wed, 12 Mar 2014 19:02:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.burggraben.net (Postfix) with ESMTP id 752346003CF for ; Wed, 12 Mar 2014 20:02:28 +0100 (CET) Received: from smtp.burggraben.net ([127.0.0.1]) by localhost (ns.burggraben.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XYlyOssJGIZ1 for ; Wed, 12 Mar 2014 20:02:27 +0100 (CET) Received: from elch.exwg.net (elch.exwg.net [IPv6:2001:470:7b43:1:6a05:caff:fe01:aae9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "elch.exwg.net", Issuer "Christoph Moench-Tegeder" (verified OK)) by smtp.burggraben.net (Postfix) with ESMTPS for ; Wed, 12 Mar 2014 20:02:27 +0100 (CET) Received: by elch.exwg.net (Postfix, from userid 1000) id F02BC301A9; Wed, 12 Mar 2014 20:02:24 +0100 (CET) Message-Id: <20140312190224.F02BC301A9@elch.exwg.net> Date: Wed, 12 Mar 2014 20:02:24 +0100 (CET) From: Christoph Moench-Tegeder To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/187501: math/atlas : really needs USE_GCC X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Christoph Moench-Tegeder List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2014 19:10:00 -0000 >Number: 187501 >Category: ports >Synopsis: math/atlas : really needs USE_GCC >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Mar 12 19:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Christoph Moench-Tegeder >Release: FreeBSD 10.0-RELEASE amd64 >Organization: >Environment: System: FreeBSD elch.exwg.net 10.0-RELEASE FreeBSD 10.0-RELEASE #2 r260689: Wed Jan 15 18:32:44 CET 2014 cmt@elch.exwg.net:/usr/obj/usr/src/sys/ELCH amd64 gcc-4.7.3 lang/gcc atlas-3.8.4_4,1 math/atlas >Description: The build of math/atlas fails: : 1 warning generated. : cmnd=make IRunCComp CC='cc' CCFLAGS='-O -fomit-frame-pointer -Wl,-rpath= ' | fgrep SUCCESS : cc -O -fomit-frame-pointer -Wl,-rpath= : SUCCESS! : /lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc47/libgfortran.so.3 not found : cmnd=make IRunF77Comp F77='gfortran47' F77FLAGS='-O -Wl,-rpath= -m64' | fgrep SUCCESS : gfortran47 -O -Wl,-rpath= -m64 : FAILURE! : g77: not found : cmnd=make IRunF77Comp F77='g77' F77FLAGS='-O -Wl,-rpath= ' | fgrep SUCCESS g77 -O -Wl,-rpath= : FAILURE! : f77: not found : cmnd=make IRunF77Comp F77='f77' F77FLAGS='-O -Wl,-rpath= ' | fgrep SUCCESS : f77 -O -Wl,-rpath= : FAILURE! : : : Unable to find usable compiler for F77; abortingMake sure compilers are in your path, and specify good compilers to configure : (see INSTALL.txt or 'configure --help' for details)*** Error code 7 Relevant part is the "/lib/libgcc_s.so.1: version GCC_4.6.0 required by /usr/local/lib/gcc47/libgfortran.so.3 not found", also please note "-Wl,-rpath=". mat/atlas' Makefile uses EXTRA_FLAGS to pass the rpath to the linker, as in "EXTRA_FLAGS?= -Wl,-rpath=${_GCC_RUNTIME}", but _GCC_RUNTIME is not set: : cmt@elch:atlas$ make -V _GCC_RUNTIME : : cmt@elch:atlas$ I traced this back to USE_GCC not being set, even though ports commit r344614 http://svnweb.freebsd.org/ports?view=revision&sortby=date&revision=344614 explicitly mentions using "USES=fortran, USE_GCC=yes". Looks like math/atlas needs the USE_GCC after all. For lack of time I did not test this with other ports modified in r344614. >How-To-Repeat: >Fix: Simple patch: Index: Makefile =================================================================== --- Makefile (revision 347994) +++ Makefile (working copy) @@ -18,6 +18,7 @@ USE_BZIP2= yes USES= fortran +USE_GCC= yes CONFLICTS= atlas-devel-[0-9]* cblas-[0-9]* MANUAL_PACKAGE_BUILD= Optimizes for the local machine. Regards, Christoph >Release-Note: >Audit-Trail: >Unformatted: