Opened 5 years ago
Closed 5 years ago
#60254 closed defect (worksforme)
Apparent checksum failure (rmd160 and sha256) for librsvg 2.38.0_0
Reported by: | eastpole (tai viinikka) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | eastpole (tai viinikka) | |
Port: | librsvg |
Description
Recent unattended self-updates have failed with errors in librsvg. I removed and cleaned the port and ffmpeg (<--- this port is the reason I have librsvg.) Reinstalling clean has some trouble downloading the port and then fails out with a checksum error.
I do notice that the download location nearest to me, https://ywg.ca.packages.macports.org/mirror/macports/packages/librsvg/ does not contain the file I need, and has only
librsvg-2.48.0_0.darwin_18.x86_64.tbz2 (and a Darwin_19 version of same)
whereas I am running
root@recluse:~$uname -a Darwin recluse 17.7.0 Darwin Kernel Version 17.7.0: Thu Jan 23 07:05:23 PST 2020; root:xnu-4570.71.69~1/RELEASE_X86_64 x86_64
Everything else still seems very happy and current.
root@recluse:~$port -v MacPorts 2.6.2
Here is the part of the session transcript where the failure occurs. Any help would be appreciated.
---> Computing dependencies for librsvg. ---> Fetching archive for librsvg ---> librsvg-2.48.0_0.darwin_17.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified ---> Attempting to fetch librsvg-2.48.0_0.darwin_17.x86_64.tbz2 from https://packages.macports.org/librsvg % 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 librsvg-2.48.0_0.darwin_17.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/librsvg % 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 librsvg-2.48.0_0.darwin_17.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/librsvg % 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 librsvg ---> Verifying checksums for librsvg ---> Checksumming librsvg-2.48.0.tar.xz Error: Checksum (rmd160) mismatch for librsvg-2.48.0.tar.xz Portfile checksum: librsvg-2.48.0.tar.xz rmd160 543100e2a7a7d486c15eb9de4953a4d62590fda7 Distfile checksum: librsvg-2.48.0.tar.xz rmd160 94aae905b6a2620409ab85a3055f475cef8a5bae Error: Checksum (sha256) mismatch for librsvg-2.48.0.tar.xz Portfile checksum: librsvg-2.48.0.tar.xz sha256 4a348b76cf4c52838e9c337ca767a38fe7f742db40ccccf8ac99f1946872cda6 Distfile checksum: librsvg-2.48.0.tar.xz sha256 82009eaff2e984af2af535387cb48fbcf5b0dc1c133acb33cd054b7765d0c36e The correct checksum line may be: checksums rmd160 94aae905b6a2620409ab85a3055f475cef8a5bae \ sha256 82009eaff2e984af2af535387cb48fbcf5b0dc1c133acb33cd054b7765d0c36e \ size 13069444 Error: Failed to checksum librsvg: Unable to verify file checksums Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_librsvg/librsvg/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port librsvg failed
Change History (5)
comment:1 Changed 5 years ago by jmroot (Joshua Root)
Owner: | set to dbevans |
---|---|
Status: | new → assigned |
comment:2 Changed 5 years ago by eastpole (tai viinikka)
Thanks, I don't think I have the archive at the beginning of the process. From my main.log:
:msg:main ---> Computing dependencies for librsvg:info:main .:debug:main librsvg has no conflicts :debug:main Searching for dependency: xz :debug:main Found Dependency: receipt exists for xz :debug:main Searching for dependency: pkgconfig :debug:main Found Dependency: receipt exists for pkgconfig :debug:main Searching for dependency: rust :debug:main Found Dependency: receipt exists for rust :debug:main Searching for dependency: cargo :debug:main Found Dependency: receipt exists for cargo :debug:main Searching for dependency: glib2 :debug:main Found Dependency: receipt exists for glib2 :debug:main Searching for dependency: cairo :debug:main Found Dependency: receipt exists for cairo :debug:main Searching for dependency: pango :debug:main Found Dependency: receipt exists for pango :debug:main Searching for dependency: libcroco :debug:main Found Dependency: receipt exists for libcroco :debug:main Searching for dependency: libxml2 :debug:main Found Dependency: receipt exists for libxml2 :debug:main Searching for dependency: gdk-pixbuf2 :debug:main Found Dependency: receipt exists for gdk-pixbuf2 :debug:main Searching for dependency: vala :debug:main Found Dependency: receipt exists for vala :debug:main Searching for dependency: gobject-introspection :debug:main Found Dependency: receipt exists for gobject-introspection :debug:main Searching for dependency: python27 :debug:main Found Dependency: receipt exists for python27 :debug:main Executing org.macports.main (librsvg) :debug:main dropping privileges: euid changed to 502, egid changed to 501. :debug:archivefetch archivefetch phase started at Thu Mar 26 20:36:25 EDT 2020 :msg:archivefetch ---> Fetching archive for librsvg :debug:archivefetch Executing org.macports.archivefetch (librsvg) :debug:archivefetch euid/egid changed to: 0/0 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports :debug:archivefetch euid/egid changed to: 502/501 :info:archivefetch ---> librsvg-2.48.0_0.darwin_17.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified :msg:archivefetch ---> Attempting to fetch librsvg-2.48.0_0.darwin_17.x86_64.tbz2 from https://packages.macports.org/librsvg :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch librsvg-2.48.0_0.darwin_17.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/librsvg :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found :msg:archivefetch ---> Attempting to fetch librsvg-2.48.0_0.darwin_17.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/librsvg :debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found :debug:archivefetch Privilege de-escalation not attempted as not running as root. :debug:fetch fetch phase started at Thu Mar 26 20:36:26 EDT 2020 :notice:fetch ---> Fetching distfiles for librsvg :debug:fetch Executing org.macports.fetch (librsvg) :debug:fetch Privilege de-escalation not attempted as not running as root. :msg:archivefetch ---> Fetching archive for librsvg :debug:fetch Executing org.macports.fetch (librsvg) :debug:fetch Privilege de-escalation not attempted as not running as root. :debug:checksum checksum phase started at Thu Mar 26 20:36:26 EDT 2020 :notice:checksum ---> Verifying checksums for librsvg :debug:checksum Executing org.macports.checksum (librsvg) :info:checksum ---> Checksumming librsvg-2.48.0.tar.xz :debug:checksum Calculated (rmd160) is 94aae905b6a2620409ab85a3055f475cef8a5bae :error:checksum Checksum (rmd160) mismatch for librsvg-2.48.0.tar.xz :info:checksum Portfile checksum: librsvg-2.48.0.tar.xz rmd160 543100e2a7a7d486c15eb9de4953a4d62590fda7 :info:checksum Distfile checksum: librsvg-2.48.0.tar.xz rmd160 94aae905b6a2620409ab85a3055f475cef8a5bae :debug:checksum Calculated (sha256) is 82009eaff2e984af2af535387cb48fbcf5b0dc1c133acb33cd054b7765d0c36e :error:checksum Checksum (sha256) mismatch for librsvg-2.48.0.tar.xz :info:checksum Portfile checksum: librsvg-2.48.0.tar.xz sha256 4a348b76cf4c52838e9c337ca767a38fe7f742db40ccccf8ac99f1946872cda6 :info:checksum Distfile checksum: librsvg-2.48.0.tar.xz sha256 82009eaff2e984af2af535387cb48fbcf5b0dc1c133acb33cd054b7765d0c36e :debug:checksum Calculated (size) is 13069444 :debug:checksum Correct (size) checksum for librsvg-2.48.0.tar.xz :info:checksum The correct checksum line may be: :info:checksum checksums rmd160 94aae905b6a2620409ab85a3055f475cef8a5bae \ :info:checksum sha256 82009eaff2e984af2af535387cb48fbcf5b0dc1c133acb33cd054b7765d0c36e \ :info:checksum size 13069444 :error:checksum Failed to checksum librsvg: Unable to verify file checksums :debug:checksum Error code: NONE :debug:checksum Backtrace: Unable to verify file checksums :debug:checksum while executing :debug:checksum "$procedure $targetname" :error:checksum See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_librsvg/librsvg/main.log for details.
comment:3 Changed 5 years ago by eastpole (tai viinikka)
As requested:
root@recluse:~$ port clean --dist librsvg && port -v checksum librsvg ---> Cleaning librsvg ---> Fetching distfiles for librsvg ---> librsvg-2.48.0.tar.xz does not exist in /opt/local/var/macports/distfiles/librsvg ---> Attempting to fetch librsvg-2.48.0.tar.xz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/librsvg % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 12.4M 100 12.4M 0 0 1645k 0 0:00:07 0:00:07 --:--:-- 1680k ---> Verifying checksums for librsvg ---> Checksumming librsvg-2.48.0.tar.xz
comment:4 Changed 5 years ago by eastpole (tai viinikka)
This problem isn't occurring any more, and I am again smoothly updating. I note that my local mirror now has versions of the most recent librsvg for Darwin 15, 16, 17, 18, and 19, Thanks for your suggestions, Dave Evans, and I will note your advice on how to clean the port of perhaps-troublesome cruft from previous builds.
Cheers, Eastpole
comment:5 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
You seem to already have had the source tarball downloaded when your transcript begins. Please check the main.log to see if there are earlier entries that show where it was downloaded from. If not, please run:
and attach the result.