Re: Compilation failure for openblas-0.3.7-1 under OSX 10.11.6
David Neuhaus <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Message-ID | <[email protected]> |
Hi Derek,
No luck, I'm afraid - I get a checksum error after the package download (see terminal output below). And to answer your other question, you are correct there is no /sw/share/doc/openblas/bin/smallscaling in my installation. Like you, I'm also suspicious that my previous attempted compilation may not have been using clang, but I assume that simply editing the SetCC line in openblas.info should have been enough. Strange.
Many thanks,
David
dn-mac-6:~ dn_admin$ fink update-all
Scanning package description files..........
Information about 14982 packages read in 50 seconds.
The following 2 packages will be installed or updated:
openblas openblas-shlibs
curl --connect-timeout 30 -f -L -A 'fink/0.45.0' -o OpenBLAS-0.3.8.tar.gz http://distfiles.master.finkmirrors.net/distfiles/OpenBLAS-0.3.8.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (22) The requested URL returned error: 404 Not Found
### execution of curl failed, exit code 22
Downloading the file "OpenBLAS-0.3.8.tar.gz" failed.
(1) Give up
(2) Retry the same mirror
(3) Retry another mirror from your continent
(4) Retry another mirror
(5) Retry using original source URL
Default answer will be chosen in 120 seconds...
How do you want to proceed? [3]
curl --connect-timeout 30 -f -L -A 'fink/0.45.0' -o OpenBLAS-0.3.8.tar.gz http://distfiles.ber.de.eu.finkmirrors.net/OpenBLAS-0.3.8.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (6) Could not resolve host: distfiles.ber.de.eu.finkmirrors.net
### execution of curl failed, exit code 6
Downloading the file "OpenBLAS-0.3.8.tar.gz" failed.
(1) Give up
(2) Retry the same mirror
(3) Retry another mirror
(4) Retry using original source URL
Default answer will be chosen in 120 seconds...
How do you want to proceed? [4]
curl --connect-timeout 30 -f -L -A 'fink/0.45.0' -o OpenBLAS-0.3.8.tar.gz https://github.com/xianyi/OpenBLAS/archive/v0.3.8.tar.gz
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 123 0 123 0 0 190 0 --:--:-- --:--:-- --:--:-- 190
100 11.6M 0 11.6M 0 0 3363k 0 --:--:-- 0:00:03 --:--:-- 4803k
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-openblas-0.3.8-1 /sw/src/fink.build
dpkg-deb: building package `fink-buildlock-openblas-0.3.8-1' in `/sw/src/fink.build/fink-buildlock-openblas-0.3.8-1_2020.02.20-23.33.05_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i /sw/src/fink.build/fink-buildlock-openblas-0.3.8-1_2020.02.20-23.33.05_darwin-x86_64.deb
Selecting previously deselected package fink-buildlock-openblas-0.3.8-1.
(Reading database ... 201634 files and directories currently installed.)
Unpacking fink-buildlock-openblas-0.3.8-1 (from .../fink-buildlock-openblas-0.3.8-1_2020.02.20-23.33.05_darwin-x86_64.deb) ...
Setting up fink-buildlock-openblas-0.3.8-1 (2020.02.20-23.33.05) ...
sudo -u fink-bld [ENV] sh -c /tmp/fink.Oect9
env LANG=C LC_ALL=C /sw/bin/tar --no-same-owner --no-same-permissions -xf /sw/src/OpenBLAS-0.3.8.tar.gz
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-openblas-0.3.8-1
(Reading database ... 201635 files and directories currently installed.)
Removing fink-buildlock-openblas-0.3.8-1 ...
Failed: PatchFile "/sw/fink/dists/stable/main/finkinfo/sci/openblas.patch" checksum does not match!
Expected: MD5(0e8ba19c8b0d88375d004e9bd21d8c4d)
Actual: MD5(db743341929cfb4e6a4bffa40dcb1b96)
SHA1(7f171742624708a18c9a018810517da06a4173c2)
SHA256(50eccb57459cd8d9cc4feac5f25ad1e0965ebbddde395c3a853040f6d85ab9cb)
dn-mac-6:~ dn_admin$
On 20/02/2020, 20:08, "Homeier, Derek" <[email protected]> wrote:
Hi David,
>
> A few further thoughts concerning openblas under OSX 10.11: I should clarify, I have not tried to compile 0.3.6 myself at any point; the only thing I know today is that version 0.3.6 is present on my 10.11 machines and (presumably) working. I never took a conscious choice to install it myself, I assume it is present because it is a dependency of some other program(s) that I did choose to install. Another point is that I used to have binary downloads enabled until the problems with fink mirrors started last year, so it could be that it was downloaded as a binary and thus perhaps evaded any compilation issues on my 10.11 machines. I see the following in /sw/fink/10.9-libcxx/stable/main/binary-darwin-x86_64/sci:
>
thanks for the clarification, having installed the binary .debs might indeed an explanation.
I was puzzled though to still see calls to gcc-fsf-9 in your last log, so it’s still not clear to
me if your build really used clang to compile, and if this might help with the problem.
But I was also reminded of another change in the package, which is that building
smallscale (which is only part of the benchmark suite, not the library itself) was only
enabled after 0.3.6-1! I assume there is no /sw/share/doc/openblas/bin/smallscaling
in your current installation?
If you’re not tired of experimenting yet you could try the attached update to 0.3.8, which
should automatically switch to clang for 10.11 and earlier, and let me know if that helps.
If not, there is hopefully still no need to restrict the package, as I could just disable the
build of smallscaling. Just need to check if the rest of the test+benchmark suite will run
without it, but the library itself definitely does not depend on it.
Cheers,
Derek
_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners