From owner-freebsd-fortran@freebsd.org Sun Apr 29 23:11:08 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 B8D07FBC466 for ; Sun, 29 Apr 2018 23:11:08 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3CDA06DFB5 for ; Sun, 29 Apr 2018 23:11:08 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: by mailman.ysv.freebsd.org (Postfix) id F1E72FBC465; Sun, 29 Apr 2018 23:11:07 +0000 (UTC) Delivered-To: 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 E09C6FBC464 for ; Sun, 29 Apr 2018 23:11:07 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (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 888E46DF9C for ; Sun, 29 Apr 2018 23:11:03 +0000 (UTC) (envelope-from roberthuff@rcn.com) X_CMAE_Category: , , X-CNFS-Analysis: v=2.2 cv=WbdOUApX c=1 sm=1 tr=0 a=9TgA2UwI6Wy+6BV4wQM/cQ==:117 a=9TgA2UwI6Wy+6BV4wQM/cQ==:17 a=KGjhK52YXX0A:10 a=kj9zAlcOel0A:10 a=XRQyMpdBKAEA:10 a=Kd1tUaAdevIA:10 a=48faUk6PgeAA:10 a=rHN5pgJsTfn5mF_I6E8A:9 a=CjuIK1q_8ugA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cm9iZXJ0aHVmZkByY24uY29t Authentication-Results: smtp03.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=softfail; sender-id=softfail Authentication-Results: smtp03.rcn.cmh.synacor.com header.from=roberthuff@rcn.com; sender-id=softfail Authentication-Results: smtp03.rcn.cmh.synacor.com smtp.user=roberthuff; auth=pass (PLAIN) Received-SPF: softfail (smtp03.rcn.cmh.synacor.com: transitional domain rcn.com does not designate 209.6.230.48 as permitted sender) Received: from [209.6.230.48] ([209.6.230.48:42622] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.25.56547 r(Core:3.6.25.0)) with ESMTPSA (cipher=AES256-GCM-SHA384) id 7B/15-03546-70156EA5; Sun, 29 Apr 2018 19:11:03 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <23270.20739.725330.745891@jerusalem.litteratus.org> Date: Sun, 29 Apr 2018 19:10:59 -0400 From: Robert Huff To: fortran@FreeBSD.org Subject: problem building suitesparse X-Mailer: VM 8.2.0b under 25.3.1 (amd64-portbld-freebsd12.0) 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: Sun, 29 Apr 2018 23:11:09 -0000 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 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