From owner-freebsd-fortran@freebsd.org Mon Apr 30 09:04:52 2018 Return-Path: Delivered-To: freebsd-fortran@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1C17FC8A9A for ; Mon, 30 Apr 2018 09:04:52 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from kmailer.gwdg.de (kmailer.gwdg.de [134.76.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4C7C38E32B for ; Mon, 30 Apr 2018 09:04:51 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from excmbx-24.um.gwdg.de ([134.76.9.234] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (Exim 4.90_1) (envelope-from ) id 1fD3iG-0008N3-O8 for freebsd-fortran@freebsd.org; Mon, 30 Apr 2018 09:59:08 +0200 Received: from krabat.raven.hur (91.8.146.52) by EXCMBX-24.um.gwdg.de (2002:864c:9ea::864c:9ea) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1415.2; Mon, 30 Apr 2018 09:59:08 +0200 Subject: Re: problem building suitesparse To: References: <23270.20739.725330.745891@jerusalem.litteratus.org> From: Rainer Hurling Message-ID: Date: Mon, 30 Apr 2018 09:58:54 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <23270.20739.725330.745891@jerusalem.litteratus.org> Content-Type: text/plain; charset="utf-8" Content-Language: de-DE Content-Transfer-Encoding: 7bit X-ClientProxiedBy: EXCMBX-11.um.gwdg.de (2002:864c:9dc::864c:9dc) To EXCMBX-24.um.gwdg.de (2002:864c:9ea::864c:9ea) X-Virus-Scanned: (clean) by clamav X-BeenThere: freebsd-fortran@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Fortran on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Apr 2018 09:04:52 -0000 Am 30.04.2018 um 01:10 schrieb Robert Huff: > > Hello: > On a system running: > > FreeBSD 12.0-CURRENT #0 r331659: Thu Mar 29 12:31:36 EDT 2018 amd64 > > when I try to upgrade to the latest version everything goes > fine until: > > > a - amd_l_preprocess.o > /usr/local/bin/ranlib libamd.a > gcc6 -Wl,-rpath=/usr/local/lib/gcc6 -L/usr/local/lib/gcc6 -B/usr/local/bin -L/usr/local/lib -fstack-protector -Wl,-rpath=/usr/local/lib/gcc6 -L/usr/local/lib/gcc6 -L/data/port-work/usr/ports/math/suitesparse/work/SuiteSparse/lib -L/data/port-work/usr/ports/math/suitesparse/work/SuiteSparse/lib -L/data/port-work/usr/ports/math/suitesparse/work/SuiteSparse/lib -L/data/port-work/usr/ports/math/suitesparse/work/SuiteSparse/lib -shared -Wl,-soname -Wl,libamd.so.2 -Wl,--no-undefined amd_i_aat.o amd_i_1.o amd_i_2.o amd_i_dump.o amd_i_postorder.o amd_i_defaults.o amd_i_post_tree.o amd_i_order.o amd_i_control.o amd_i_info.o amd_i_valid.o amd_i_preprocess.o amd_l_aat.o amd_l_1.o amd_l_2.o amd_l_dump.o amd_l_postorder.o amd_l_defaults.o amd_l_post_tree.o amd_l_order.o amd_l_control.o amd_l_info.o amd_l_valid.o amd_l_preprocess.o -o /data/port-work/usr/ports/math/suitesparse/work/SuiteSparse/lib/libamd.so.2.4.6 -lm -lsuitesparseconfig > amd_i_control.o: In function `amd_control': > amd_control.c:(.text+0x18): undefined reference to `SuiteSparse_config' > amd_control.c:(.text+0x123): undefined reference to `SuiteSparse_config' > amd_i_info.o: In function `amd_info': > amd_info.c:(.text+0xc): undefined reference to `SuiteSparse_config' > amd_l_control.o: In function `amd_l_control': > amd_control.c:(.text+0x18): undefined reference to `SuiteSparse_config' > amd_control.c:(.text+0x123): undefined reference to `SuiteSparse_config' > amd_l_info.o:amd_info.c:(.text+0xc): more undefined references to `SuiteSparse_config' follow > collect2: error: ld returned 1 exit status > > I have no idea what might be causing this; the "config" phase > looks OK. Full build log is available on request. > Help, please? > > > Respectfully, > > > Robert Huff Hi Robert, That is in discussion on bugzilla[1][2]. For most people it seemed to help to deinstall old version before building and installing the new one. In my case, there are three 12.0-CURRENT boxes, and for two of them it did not help. HTH, Rainer P.S.: Was it intended to use the fortran list for this question? [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227791 [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=227795