Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Jul 2020 19:35:08 +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-F2FoPp0eqP@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 #13 from John Hein <jcfyecrayz@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 t=
hat
you don't (I get this on multiple linux, freebsd platforms - I have not tri=
ed
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=3D216640'
--2020-07-28 13:01:26--=20
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D216640
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=3D216640
[following]
--2020-07-28 13:01:27--=20
https://bz-attachments.freebsd.org/attachment.cgi?id=3D216640
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: =E2=80=98attachment.cgi?id=3D216640=E2=80=99

attachment.cgi?id=3D216640=20=20=20=20=20
100%[=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D>]  40.88K  --.-KB/s=20=20=20
in 0.05s=20=20=20

2020-07-28 13:01:28 (840 KB/s) - =E2=80=98attachment.cgi?id=3D216640=E2=80=
=99 saved [41864/41864]

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

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


What md5 do you have?


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

Re: ranlib issue...

You asked if I get a libblas.a.  I do.  But that's because ranlib(1) does n=
ot
produce the file, ar(1) (on the line above the ranlib command) does.  ranli=
b(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 vers=
ions
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-bui=
ld
and things will work.  Namely, you will provide the right path to the .a fi=
le
for ranlib(1).  And a few less characters in post-build - bonus!

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

--=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-F2FoPp0eqP>