#69172 closed defect (fixed)
kicad @7.0.9: checksum mismatch
Reported by: | andlabs (Pietro Gagliardi) | Owned by: | g5pw (Aljaž Srebrnič) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.0 |
Keywords: | Cc: | ra1nb0w | |
Port: | kicad |
Description (last modified by andlabs (Pietro Gagliardi))
Pietros-MBP:_ pietro$ sudo port -v upgrade kicad ---> Computing dependencies for kicad. ---> Fetching archive for kicad ---> kicad-7.0.9_0.darwin_16.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified ---> Attempting to fetch kicad-7.0.9_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/kicad % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Attempting to fetch kicad-7.0.9_0.darwin_16.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/kicad % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Attempting to fetch kicad-7.0.9_0.darwin_16.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/kicad % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 ---> Fetching distfiles for kicad ---> kicad-7.0.9.tar.bz2 does not exist in /opt/local/var/macports/distfiles/kicad ---> Attempting to fetch kicad-7.0.9.tar.bz2 from https://gitlab.com/kicad/code/kicad/-/archive/7.0.9 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 41.9M 0 41.9M 0 0 12.0M 0 --:--:-- 0:00:03 --:--:-- 12.0M ---> Verifying checksums for kicad ---> Checksumming kicad-7.0.9.tar.bz2 Error: Checksum (rmd160) mismatch for kicad-7.0.9.tar.bz2 Portfile checksum: kicad-7.0.9.tar.bz2 rmd160 e52fee69a2d158a8be220880c7789560356c8860 Distfile checksum: kicad-7.0.9.tar.bz2 rmd160 00fe6601da6994bbc2ea4280c0ce0e6de7667ead Error: Checksum (sha256) mismatch for kicad-7.0.9.tar.bz2 Portfile checksum: kicad-7.0.9.tar.bz2 sha256 45322e7495cbf0b6bba70b8fb8b58fdafa408d4d8473209fd1c5e8bad5a818f7 Distfile checksum: kicad-7.0.9.tar.bz2 sha256 a1699304a989c61e6075dba2dcc8a626ddf34cfc622b388d7a2d752988877005 Error: Checksum (size) mismatch for kicad-7.0.9.tar.bz2 Portfile checksum: kicad-7.0.9.tar.bz2 size 43964032 Distfile checksum: kicad-7.0.9.tar.bz2 size 43965657 The correct checksum line may be: checksums rmd160 00fe6601da6994bbc2ea4280c0ce0e6de7667ead \ sha256 a1699304a989c61e6075dba2dcc8a626ddf34cfc622b388d7a2d752988877005 \ size 43965657 Error: Failed to checksum kicad: Unable to verify file checksums Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_kicad/kicad/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
I tried looking at the gitlab page to see if there was a slipstreamed update, but I can't figure out how to get the list of artifacts you're downloading; it very much is not like github... This is macOS 10.12; selfupdate is not giving me 2.9.0 for some reason.
Change History (17)
comment:1 Changed 10 months ago by andlabs (Pietro Gagliardi)
Description: | modified (diff) |
---|
comment:2 Changed 10 months ago by andlabs (Pietro Gagliardi)
Description: | modified (diff) |
---|
comment:3 Changed 10 months ago by andlabs (Pietro Gagliardi)
Version: | 2.8.1 → 2.9.0 |
---|
comment:4 Changed 10 months ago by ra1nb0w
Cc: | ra1nb0w added |
---|
comment:5 Changed 10 months ago by ra1nb0w
Cc: | ra1nb0w removed |
---|
comment:6 Changed 10 months ago by ra1nb0w
Owner: | changed from ra1nb0w to g5pw |
---|
@g5pw do you have the time to check this issue?
Anyway, thank you very much for the report!
comment:7 Changed 10 months ago by ra1nb0w
Cc: | ra1nb0w added |
---|
comment:8 Changed 10 months ago by g5pw (Aljaž Srebrnič)
Hey there! It looks like something changed, yes. I don't think it's worth doing the silent upgrade procedure, we might as well update to 7.0.10.
comment:10 Changed 10 months ago by g5pw (Aljaž Srebrnič)
comment:11 Changed 10 months ago by g5pw (Aljaž Srebrnič)
comment:12 Changed 9 months ago by andlabs (Pietro Gagliardi)
It now passes the download, but fails to build on Xcode 9.2 because it now requires C++17 (use of <optional>). That's a separate issue though; thanks in the meantime!
(I did try manually patching the Portfile to fix this, but kept running into linker errors with the MacPorts clang-14, with and without macports-libstdc++; either the typeinfo for std::bad_optional_value is missing or some operator<<(ostream) overloads were missing. I don't actually need kicad right now, and I'm sure my MacPorts setup is supremely broken in other ways, so maybe all this is me. So while I can't get it work I'm sure the CI shows it's working.)
comment:13 Changed 9 months ago by kencu (Ken)
Apple and LLVM moved some of the support for <optional> into libc++.
So older MacOS versions with older versions of libc++ installed fail to ilnk as the symbols are missing.
We have a "macports-libcxx" port that provides a somewhat newer libc++ version for these older systems, which works most of the time but not all of the time, and has to be tested in each case it is used, as it can generate weird errors.
To use that libc++ for a given port requires some minor modifications to the portfile.
comment:14 Changed 9 months ago by ra1nb0w
Build starts to fail from Catalina with the error error: call to 'abs' is ambiguous
and it is probably related to the changes underlined by kencu.
andlabs can you try to build the port after adding
PortGroup legacysupport 1.1 legacysupport.newest_darwin_requires_legacy 19
Thanks
comment:16 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Summary: | kicad 7.0.9 checksum mismatch → kicad @7.0.9: checksum mismatch |
Updating to 7.0.10 should definitely have fixed the checksum mismatch, so let's close this. If there are new issues after that, those belong in new tickets.
comment:17 Changed 9 months ago by andlabs (Pietro Gagliardi)
It did; thanks. macports-libcxx also worked (though I haven't tried loading a project). I don't have a newer system to try yet.
selfupdate is now giving me 2.9.0. Same output as above.