Opened 11 years ago
Closed 10 years ago
#43445 closed defect (fixed)
gnuradio: checksum error
Reported by: | zfool2@… | Owned by: | michaelld (Michael Dickens) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | gnuradio |
Description
---> Fetching archive for gnuradio ---> Attempting to fetch gnuradio-3.7.3_0+docs+grc+jack+orc+portaudio+python27+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/gnuradio ---> Attempting to fetch gnuradio-3.7.3_0+docs+grc+jack+orc+portaudio+python27+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_13.x86_64.tbz2 from http://packages.macports.org/gnuradio ---> Attempting to fetch gnuradio-3.7.3_0+docs+grc+jack+orc+portaudio+python27+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/gnuradio ---> Fetching distfiles for gnuradio ---> Verifying checksums for gnuradio Error: Checksum (rmd160) mismatch for gnuradio-3.7.3.tar.gz Error: Checksum (sha256) mismatch for gnuradio-3.7.3.tar.gz Error: org.macports.checksum for port gnuradio returned: Unable to verify file checksums Error: Failed to install gnuradio
Change History (8)
comment:1 Changed 11 years ago by mf2k (Frank Schima)
Component: | server/hosting → ports |
---|---|
Owner: | changed from wsiegrist@… to michaelld@… |
Port: | gnuradio added |
Summary: | gnuradio:download error → gnuradio: checksum error |
comment:2 Changed 11 years ago by michaelld (Michael Dickens)
Please do the following and see if it works:
sudo port clean --all gnuradio sudo port selfupdate sudo port install gnuradio
comment:3 Changed 11 years ago by aeolun@…
That sequence of commands does not help. The result is the the same.
host: aeolun$ sudo port install gnuradio ---> Computing dependencies for gnuradio ---> Fetching archive for gnuradio ---> Attempting to fetch gnuradio-3.7.3_1+docs+grc+jack+orc+portaudio+python27+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_13.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/gnuradio ---> Attempting to fetch gnuradio-3.7.3_1+docs+grc+jack+orc+portaudio+python27+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/gnuradio ---> Attempting to fetch gnuradio-3.7.3_1+docs+grc+jack+orc+portaudio+python27+qtgui+sdl+swig+uhd+wavelet+wxgui.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gnuradio ---> Fetching distfiles for gnuradio ---> Attempting to fetch gnuradio-3.7.3.tar.gz from http://cjj.kr.distfiles.macports.org/gnuradio ---> Verifying checksums for gnuradio Error: Checksum (rmd160) mismatch for gnuradio-3.7.3.tar.gz Error: Checksum (sha256) mismatch for gnuradio-3.7.3.tar.gz Error: org.macports.checksum for port gnuradio returned: Unable to verify file checksums
comment:4 Changed 11 years ago by aeolun@…
More relevant information from the log:
:debug:checksum checksum phase started at Fri Apr 25 14:07:34 JST 2014 :notice:checksum ---> Verifying checksums for gnuradio :debug:checksum Executing org.macports.checksum (gnuradio) :info:checksum ---> Checksumming gnuradio-3.7.3.tar.gz :error:checksum Checksum (rmd160) mismatch for gnuradio-3.7.3.tar.gz :info:checksum Portfile checksum: gnuradio-3.7.3.tar.gz rmd160 5d1b3d03c96e0afd193407346f4f24ed4ed3907b :info:checksum Distfile checksum: gnuradio-3.7.3.tar.gz rmd160 f4f8d707694ac8524025ccd4cfb3e47fd3a17204 :error:checksum Checksum (sha256) mismatch for gnuradio-3.7.3.tar.gz :info:checksum Portfile checksum: gnuradio-3.7.3.tar.gz sha256 bec2eee034a525b268e14b2b2529d419313d36844f794f730f7176f75a52262f :info:checksum Distfile checksum: gnuradio-3.7.3.tar.gz sha256 1c71d1819a67bac4148c619fc2a7d2c0ea0b0d08aa4660a11d65ab7b713b5231 :info:checksum The correct checksum line may be: :info:checksum checksums rmd160 f4f8d707694ac8524025ccd4cfb3e47fd3a17204 \ sha256 1c71d1819a67bac4148c619fc2a7d2c0ea0b0d08aa4660a11d65ab7b713b5231 :error:checksum org.macports.checksum for port gnuradio returned: Unable to verify file checksums :debug:checksum Error code: NONE :debug:checksum Backtrace: Unable to verify file checksums while executing "$procedure $targetname"
comment:5 Changed 11 years ago by michaelld (Michael Dickens)
Here's what I get, which, as you can see, provides the correct checksums. I'm not going anything special here; I'm first cleaning anything residual from the gnuradio* ports (including any stored distfiles), then fetching one anew from GitHub. The checksums are correct.
% sudo port clean --all gnuradio* ---> Cleaning gnuradio ---> Cleaning gnuradio-devel ---> Cleaning gnuradio-legacy ---> Cleaning gnuradio-next % sudo port -d extract gnuradio DEBUG: Copying /Users/cadmin/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences [snip] DEBUG: fetch phase started at Fri Apr 25 08:15:44 EDT 2014 ---> Fetching distfiles for gnuradio DEBUG: Executing org.macports.fetch (gnuradio) ---> gnuradio-3.7.3.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/gnuradio ---> Attempting to fetch gnuradio-3.7.3.tar.gz from https://github.com/gnuradio/gnuradio/tarball/v3.7.3 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 132 100 132 0 0 537 0 --:--:-- --:--:-- --:--:-- 538 [snip] --:--:--2151487 132 2151487 2773k 0 0 366k 0 --:--:-- 0:00:07 --:--:-- 414k DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: checksum phase started at Fri Apr 25 08:15:51 EDT 2014 ---> Verifying checksums for gnuradio DEBUG: Executing org.macports.checksum (gnuradio) ---> Checksumming gnuradio-3.7.3.tar.gz DEBUG: Calculated (rmd160) is 5d1b3d03c96e0afd193407346f4f24ed4ed3907b DEBUG: Correct (rmd160) checksum for gnuradio-3.7.3.tar.gz DEBUG: Calculated (sha256) is bec2eee034a525b268e14b2b2529d419313d36844f794f730f7176f75a52262f DEBUG: Correct (sha256) checksum for gnuradio-3.7.3.tar.gz DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: extract phase started at Fri Apr 25 08:15:51 EDT 2014 ---> Extracting gnuradio [snip]
comment:6 Changed 11 years ago by michaelld (Michael Dickens)
From your log, I tried downloading the tarball from http://cjj.kr.distfiles.macports.org/gnuradio/gnuradio-3.7.3.tar.gz , and I cannot even get to that address. If you do:
ls -lAF /opt/local/var/macports/distfiles/gnuradio
I think you'll see that the file for gnuradio-3.7.3.tar.gz is not 2839964 bytes long (as is expected for this tarball). So, clearly, 'port' is not getting the correct tarball for some reason.
To get around this issue, download the tarball directly from GitHub and install manually:
cd /opt/local/var/macports/distfiles if [ ! -e gnuradio ]; then sudo mkdir gnuradio; fi cd gnuradio sudo rm * sudo curl -v -o gnuradio-3.7.3.tar.gz https://codeload.github.com/gnuradio/gnuradio/legacy.tar.gz/v3.7.3
at which point if you now do:
sudo port -d extract gnuradio
it should work. Now, so long as you don't delete this tarball, you'll be OK with this version of GNU Radio.
comment:8 Changed 10 years ago by michaelld (Michael Dickens)
Resolution: | → fixed |
---|---|
Status: | new → closed |
GNU Radio has been updated quite a few times since this ticket's issue. I'm closing this ticket as "fixed" since it most likely has been.
In the future, please fill in the Port field and Cc the port maintainers (
port info --maintainers gnuradio
).