Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#26894 closed defect (fixed)

libsamplerate fails with checksum error

Reported by: mark6691@… Owned by: boeyms@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: libsamplerate

Description (last modified by dbevans (David B. Evans))

Error: Checksum (md5) mismatch for libsamplerate-0.1.7.tar.gz
Error: Checksum (sha1) mismatch for libsamplerate-0.1.7.tar.gz
Error: Checksum (rmd160) mismatch for libsamplerate-0.1.7.tar.gz
Error: Target org.MacPorts.checksum returned: unable to verify file checksums.
Error: Status 1 encountered during processing.

Attachments (2)

main.log (2.4 KB) - added by mark6691@… 14 years ago.
libsamplerate.diff (1.3 KB) - added by jmroot (Joshua Root) 14 years ago.

Download all attachments as: .zip

Change History (23)

Changed 14 years ago by mark6691@…

Attachment: main.log added

comment:1 Changed 14 years ago by dbevans (David B. Evans)

Description: modified (diff)
Owner: changed from macports-tickets@… to boeyms@…
Port: libsamplerate added

Your log file doesn't show which site your file was fetched from.

Please execute

sudo port clean --all libsamplerate
sudo port -d checksum libsamplerate

and post the results.

And don't forget to

  • use wiki format for text listings
  • copy the port maintainer
  • put the port name in the Port field of the submission form

comment:2 Changed 14 years ago by mark6691@…

Cc: mark6691@… added

Cc Me!

comment:3 Changed 14 years ago by mark6691@…

Cc: mark6691@… removed

Cc Me!

comment:4 Changed 14 years ago by mark6691@…

Cc: mark6691@… added

Cc Me!

comment:5 Changed 14 years ago by mark6691@…

Cc: mark6691@… removed

Cc Me!

comment:6 in reply to:  1 Changed 14 years ago by mark6691@…

Replying to devans@…:

Your log file doesn't show which site your file was fetched from.

Please execute

sudo port clean --all libsamplerate
sudo port -d checksum libsamplerate

and post the results.

And don't forget to

  • use wiki format for text listings
  • copy the port maintainer
  • put the port name in the Port field of the submission form

I am completely new to this forum and am having trouble using it correctly, as is evidenced by the multiple Cc Me!'s that I couldn't remove. Sorry.

At any rate, port libsamplerate has been cleaned and the debug file is as follows:

version:1 :msg:main ---> Computing dependencies for libsamplerate:msg:main :debug:main Executing org.macports.main (libsamplerate) :msg:main ---> Fetching libsamplerate :debug:fetch fetch phase started at Tue Oct 19 14:06:42 EDT 2010 :debug:fetch Executing org.macports.fetch (libsamplerate) :info:fetch ---> libsamplerate-0.1.7.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/libsamplerate :debug:fetch Pinging www.mega-nerd.com... :debug:fetch Pinging distfiles.macports.org... :debug:fetch Pinging aarnet.au.distfiles.macports.org... :debug:fetch Pinging lil.fr.distfiles.macports.org... :debug:fetch Pinging sea.us.distfiles.macports.org... :debug:fetch www.mega-nerd.com ping time is 37.284 :debug:fetch distfiles.macports.org ping time is 79.170 :debug:fetch aarnet.au.distfiles.macports.org ping time is 259.792 :debug:fetch lil.fr.distfiles.macports.org ping time is 104.381 :debug:fetch sea.us.distfiles.macports.org ping time is 10000 :msg:fetch ---> Attempting to fetch libsamplerate-0.1.7.tar.gz from http://www.mega-nerd.com/libsamplerate/ :debug:fetch Fetching failed:: The requested URL returned error: 407 :msg:fetch ---> Attempting to fetch libsamplerate-0.1.7.tar.gz from http://distfiles.macports.org/libsamplerate :debug:fetch Fetching failed:: The requested URL returned error: 407 :msg:fetch ---> Attempting to fetch libsamplerate-0.1.7.tar.gz from http://lil.fr.distfiles.macports.org/libsamplerate :debug:fetch Fetching failed:: The requested URL returned error: 407 :msg:fetch ---> Attempting to fetch libsamplerate-0.1.7.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/libsamplerate :debug:fetch Fetching failed:: The requested URL returned error: 407 :msg:fetch ---> Attempting to fetch libsamplerate-0.1.7.tar.gz from http://sea.us.distfiles.macports.org/macports/mpdistfiles/libsamplerate :debug:fetch Fetching failed:: The requested URL returned error: 407 :msg:fetch ---> Attempting to fetch libsamplerate-0.1.7.tar.gz from http://svn.macports.org/repository/macports/distfiles/libsamplerate :debug:fetch Fetching failed:: The requested URL returned error: 407 :error:fetch Target org.macports.fetch returned: fetch failed :debug:fetch Backtrace: fetch failed

while executing

"portfetch::fetchfiles"

("standard" arm line 1) invoked from within

"switch -- "${fetch.type}" {

bzr { return [bzrfetch] } cvs { return [cvsfetch] } svn { return [svnfetch] } ..."

(procedure "portfetch::fetch_main" line 10) invoked from within

"$procedure $targetname" :info:fetch Warning: the following items did not execute (for libsamplerate): org.macports.checksum org.macports.fetch :notice:fetch Log for libsamplerate is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libsamplerate/main.log

comment:7 Changed 14 years ago by mark6691@…

Also, don't know how to Cc the port maintainer from this page.

comment:8 Changed 14 years ago by jmroot (Joshua Root)

Ugh, WikiFormatting...

Anyway, error 407 = proxy authentication required.

comment:9 Changed 14 years ago by dbevans (David B. Evans)

You can find the port maintainer by using the command

% port info libsamplerate
libsamplerate @0.1.7, Revision 1 (audio)
Variants:             universal

Description:          libsamplerate (also known as Secret Rabbit Code) is a library for performing sample rate conversion of audio data.
Homepage:             http://www.mega-nerd.com/libsamplerate/

Build Dependencies:   pkgconfig
Library Dependencies: fftw-3, libsndfile
Platforms:            darwin
License:              unknown
Maintainers:          boeyms@macports.org, openmaintainer@macports.org

then put that in the CC field. As the originator of the ticket you are automatically CC'd so you don't need to do that yourself.

Anyway, as jmr mentioned above, it looks like a proxy on your network is blocking your access to the download sites. You probably need to talk to your network admin about this.

comment:10 Changed 14 years ago by jsnwest@…

Same issue.

comment:11 Changed 14 years ago by dbevans (David B. Evans)

If, indeed, it is the same error (407 - proxy authentication required) then the answer is the same: you need to talk to your responsible network admin and see how you can become authorized. Nothing that MacPorts can do about this.

If you are on a company network, the appropriate starting place is with your IT department or equivalent.

Otherwise, your ISP may be using a proxy and you need to talk to them about their policy for this type of transfer and how you can be authorized.

The checksum error comes from the fact that MacPorts is trying to checksum the error message instead of the actual file (which was not transferred due to your networks policy).

comment:12 Changed 14 years ago by mark6691@…

Cc: mark6691@… added

Cc Me!

comment:13 Changed 14 years ago by jsnwest@…

Works for me now.

comment:14 Changed 14 years ago by mark6691@…

You are right about the proxy part. I actually work in the IT department for our local school district and am the senior member (but not the boss). One of my co-workers maintains the proxy/firewall and even though I put in my credentials and set the proxies in System Preferences, it was still blocked. I began this thread from my home and so I have redone the debug procedure with the following results from the main.log:

version:1 :msg:main ---> Computing dependencies for libsamplerate:msg:main :debug:main Executing org.macports.main (libsamplerate) :msg:main ---> Fetching libsamplerate :debug:fetch fetch phase started at Tue Oct 19 19:53:42 EDT 2010 :debug:fetch Executing org.macports.fetch (libsamplerate) :info:fetch ---> libsamplerate-0.1.7.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/libsamplerate :debug:fetch Pinging www.mega-nerd.com... :debug:fetch Pinging distfiles.macports.org... :debug:fetch Pinging aarnet.au.distfiles.macports.org... :debug:fetch Pinging lil.fr.distfiles.macports.org... :debug:fetch Pinging sea.us.distfiles.macports.org... :debug:fetch www.mega-nerd.com ping time is 38.518 :debug:fetch distfiles.macports.org ping time is 77.562 :debug:fetch aarnet.au.distfiles.macports.org ping time is 242.820 :debug:fetch lil.fr.distfiles.macports.org ping time is 144.011 :debug:fetch sea.us.distfiles.macports.org ping time is 10000 :msg:fetch ---> Attempting to fetch libsamplerate-0.1.7.tar.gz from http://www.mega-nerd.com/libsamplerate/ :msg:fetch ---> Verifying checksum(s) for libsamplerate :debug:checksum checksum phase started at Tue Oct 19 19:53:58 EDT 2010 :debug:checksum Executing org.macports.checksum (libsamplerate) :info:checksum ---> Checksumming libsamplerate-0.1.7.tar.gz :error:checksum Checksum (md5) mismatch for libsamplerate-0.1.7.tar.gz :info:checksum Portfile checksum: libsamplerate-0.1.7.tar.gz md5 ad093e60ec44f0a60de8e29983ddbc0f :info:checksum Distfile checksum: libsamplerate-0.1.7.tar.gz md5 6731a81cb0c622c483b28c0d7f90867d :error:checksum Checksum (sha1) mismatch for libsamplerate-0.1.7.tar.gz :info:checksum Portfile checksum: libsamplerate-0.1.7.tar.gz sha1 98a52392eb97f9ba724ca024b3af29a8a0cc0206 :info:checksum Distfile checksum: libsamplerate-0.1.7.tar.gz sha1 f3f803ec5feae5a3fdb0fa3937277669e854386e :error:checksum Checksum (rmd160) mismatch for libsamplerate-0.1.7.tar.gz :info:checksum Portfile checksum: libsamplerate-0.1.7.tar.gz rmd160 697a355393d21ad66ea4313b928f2c3322f67a39 :info:checksum Distfile checksum: libsamplerate-0.1.7.tar.gz rmd160 a00f12571098fd6c50a8b9f8867cdcc3f36c1f60 :info:checksum The correct checksum line may be: :info:checksum checksums md5 6731a81cb0c622c483b28c0d7f90867d \

sha1 f3f803ec5feae5a3fdb0fa3937277669e854386e \ rmd160 a00f12571098fd6c50a8b9f8867cdcc3f36c1f60

:error:checksum Target org.macports.checksum returned: Unable to verify file checksums :debug:checksum Backtrace: Unable to verify file checksums

while executing

"$procedure $targetname" :info:checksum Warning: the following items did not execute (for libsamplerate): org.macports.checksum :notice:checksum Log for libsamplerate is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_libsamplerate/main.log

The end result is the same. Unfortunately, I cannot copy text from an Xterm window (frustrating, linux is superior there). I did notice that in fetching the tarball it downloaded 100% and only failed in not being able to verify checksums.

Plus, I cannot cc the maintainer from this web page's cc field. All it shows me is the "Cc Me!" button and will not allow me to paste anything into it. This is not intuitive at all (yet another frustration). And I did look at the instruction page for using this format, no joy, I'm clueless.

comment:15 Changed 14 years ago by mark6691@…

I will email the maintainer from a separate mail client.

comment:16 in reply to:  13 Changed 14 years ago by mark6691@…

Replying to jsnwest@…:

Works for me now.

How? What did you do to resolve this, please?

comment:17 Changed 14 years ago by jmroot (Joshua Root)

Cc: mark6691@… removed

Dave already assigned the ticket to the port's maintainer for you. You can only put extra addresses in cc when you first create a ticket. He was just asking you to remember to do so in future.

The file on our distfiles mirrors has checksums matching those in the portfile. The file on the homepage is different. It is dated one day later and the contents differ slightly (diff attached).

Changed 14 years ago by jmroot (Joshua Root)

Attachment: libsamplerate.diff added

comment:18 in reply to:  17 ; Changed 14 years ago by mark6691@…

Replying to jmr@…:

Dave already assigned the ticket to the port's maintainer for you. You can only put extra addresses in cc when you first create a ticket. He was just asking you to remember to do so in future.

The file on our distfiles mirrors has checksums matching those in the portfile. The file on the homepage is different. It is dated one day later and the contents differ slightly (diff attached).

Thank you. I tried to use the diff file, but before I found out how to use it correctly, I managed to break my installation to the point that I'm unable to install kdenlive at all, so I'm having to start over once more using subversion. Whatever happens this time, I will repost with results, but I'm looking at hours of compile time.

Thanks again.

comment:19 in reply to:  18 Changed 14 years ago by mark6691@…

Replying to mark6691@…:

Replying to jmr@…:

Dave already assigned the ticket to the port's maintainer for you. You can only put extra addresses in cc when you first create a ticket. He was just asking you to remember to do so in future.

The file on our distfiles mirrors has checksums matching those in the portfile. The file on the homepage is different. It is dated one day later and the contents differ slightly (diff attached).

Thank you. I tried to use the diff file, but before I found out how to use it correctly, I managed to break my installation to the point that I'm unable to install kdenlive at all, so I'm having to start over once more using subversion. Whatever happens this time, I will repost with results, but I'm looking at hours of compile time.

Thanks again.

No good. I am now completely unable to install kdenlive, period. Internal error: port lookup failed. Too many nested evaluations (infinite loop?). Where is this coming from?

comment:20 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

r72671 (maintainer timeout)

comment:21 in reply to:  20 Changed 14 years ago by bruder.s@…

Replying to jmr@…:

r72671 (maintainer timeout)

For me, nothing was fixed. I managed to workaround with this procedure:

  1. Try to install the package (failed with checksum error): sudo port install libsamplerate
  2. Locate the downloaded package - for me, it could be found in /opt/local/var/macports/distfiles/libsamplerate
  3. Overwrite the file with the one found at distfiles.macports.org, i.e. sudo rm libsamplerate-0.1.7.tar.gz && sudo wget http://distfiles.macports.org/libsamplerate/libsamplerate-0.1.7.tar.gz
  4. Retry sudo port install libsamplerate

PS: You can check the file at the downloaded location with md5 libsamplerate-0.1.7.tar.gz. If the output doesn't match the expected value, try downloading the package from another location (google)

Note: See TracTickets for help on using tickets.