[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
Tue Jul 28 19:35:10 UTC 2020


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

--- Comment #13 from John Hein <jcfyecrayz at liamekaens.com> ---
(In reply to Thierry Thomas from comment #12)


re: CR line endings...

I don't know either why I get the patch with CR line endings and it seems that
you don't (I get this on multiple linux, freebsd platforms - I have not tried
windows yet).

What md5 do you have for the downloaded attachment?

Here's what I did:

# make sure I don't have an old copy of the attachment file in my current
directory, then...

% wget 'https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216640'
--2020-07-28 13:01:26-- 
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216640
Resolving bugs.freebsd.org (bugs.freebsd.org)... 96.47.72.84,
2610:1c1:1:606c::50:15
Connecting to bugs.freebsd.org (bugs.freebsd.org)|96.47.72.84|:443...
connected.
HTTP request sent, awaiting response... 302 Found
Location: https://bz-attachments.freebsd.org/attachment.cgi?id=216640
[following]
--2020-07-28 13:01:27-- 
https://bz-attachments.freebsd.org/attachment.cgi?id=216640
Resolving bz-attachments.freebsd.org (bz-attachments.freebsd.org)...
96.47.72.84, 2610:1c1:1:606c::50:15
Connecting to bz-attachments.freebsd.org
(bz-attachments.freebsd.org)|96.47.72.84|:443... connected.
HTTP request sent, awaiting response... md200 OK
Cookie coming from bz-attachments.freebsd.org attempted to set domain to
bugs.freebsd.org
Length: 41864 (41K) [text/plain]
Saving to: ‘attachment.cgi?id=216640’

attachment.cgi?id=216640     
100%[=================================================>]  40.88K  --.-KB/s   
in 0.05s   

2020-07-28 13:01:28 (840 KB/s) - ‘attachment.cgi?id=216640’ saved [41864/41864]

% sed -n l 
sed -n l attachment.cgi\?id=216640 | head
Index: math/blas/Makefile\r$
===================================================================\r$
--- math/blas/Makefile\t(revision 542588)\r$
+++ math/blas/Makefile\t(working copy)\r$
@@ -2,7 +2,6 @@\r$
 # $FreeBSD$\r$
 \r$
 PORTNAME=\tblas\r$
-PORTREVISION=\t6\r$
 \r$

% md5 attachment-216640
MD5 (attachment.cgi?id=216640) = 5d7018e016449aac293b4bb01ed31219


What md5 do you have?


================================================================

Re: ranlib issue...

You asked if I get a libblas.a.  I do.  But that's because ranlib(1) does not
produce the file, ar(1) (on the line above the ranlib command) does.  ranlib(1)
adds/updates a symbol table which is important for linking.  Some versions of
ar(1) will do this by default (GNU binutils does, for instance).  Some versions
of ar(1) do not (libarchive's ar in base).  Running ranlib(1) assures that a
symbol table is added so static linking with the .a archive will "work".

Anyway, again... just remove 'cd ' from your sed(1) expressions in post-build
and things will work.  Namely, you will provide the right path to the .a file
for ranlib(1).  And a few less characters in post-build - bonus!

You seem hesitant to make that change, however.  Do you have concerns?

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


More information about the freebsd-fortran mailing list