Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Jul 2020 22:30:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        fortran@FreeBSD.org
Subject:   [Bug 247542] math/lapack: upgrade to 3.9.0 with math/blas + math/xlapack + math/cblas
Message-ID:  <bug-247542-37611-lFBfNqXwQk@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-247542-37611@https.bugs.freebsd.org/bugzilla/>
References:  <bug-247542-37611@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247542

--- Comment #11 from John Hein <jcfyecrayz@liamekaens.com> ---
(In reply to Thierry Thomas from comment #10)
Every line in attachment 216640 has a '\r' (viewable with hd or vis -tl or =
sed
-n l or basic vi (nvi); vim will "hide" them for you, but you will see "[do=
s]"
at the bottom).  I downloaded the attachment with fetch(1) (wget gives the =
same
result).  I just tested 'save link as' from firefox - that preserves the '\=
r'
endings that are in the file as well.

Sure, I can attach a build log of math/blas showing the ranlib error.  But =
if
you inspect work/.build/BLAS/SRC/CMakeFiles/blas.dir/build.make - specifica=
lly
the build-static target at the bottom - you will see the problem:

build-static:
    cd BLAS/SRC && $(AR) $(ARFLAGS) libblas.a $(blas_OBJECTS)
    $(RANLIB) SRC/libblas.a

The cd && ar works fine, but ranlib is using the wrong path to the lib file=
.=20
This is because post-build in math/lapack/Makefile does a substitution for =
the
path in math/lapack/files/static.mk that is specific to the slave port (whi=
ch
then is appended to the build.make file).  But it only looks for 'cd SRC' to
replace.  This misses the ranlib line which has no 'cd ' before SRC, so sed
does no substitution on that line.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247542-37611-lFBfNqXwQk>