[Bug 247542] math/lapack: upgrade to 3.9.0 with math/blas + math/xlapack + math/cblas

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jul 24 22:30:55 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247542

--- Comment #11 from John Hein <jcfyecrayz at 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 "[dos]"
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 - specifically
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. 
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 (which
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.

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


More information about the freebsd-fortran mailing list