Opened 8 years ago

Closed 7 years ago

#35771 closed defect (fixed)

ImageMagick mirror imagemagick.linux-mirror.org has no dns

Reported by: ldl@… Owned by: ryandesign (Ryan Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: ImageMagick

Description (last modified by mf2k (Frank Schima))

When doing a 'port upgrade outdated' the process fails when trying to load ImageMagick-6.7.9-0.tar.xz. Twice.

The non-matching file appears to be HTML.

The source URL:

http://imagemagick.linux-mirror.org/download/

returns a Google search page, not a download directory, so I assume there needs to be a different download URL in the port file.


Logfile contents:


:debug:checksum checksum phase started at Tue Aug 21 11:27:04 AKDT 2012
:notice:checksum --->  Verifying checksum(s) for ImageMagick
:debug:checksum Executing org.macports.checksum (ImageMagick)
:info:checksum --->  Checksumming ImageMagick-6.7.9-0.tar.xz
:error:checksum Checksum (rmd160) mismatch for ImageMagick-6.7.9-0.tar.xz
:info:checksum Portfile checksum: ImageMagick-6.7.9-0.tar.xz rmd160 6b20ef791e8258acb188212c91fc263568b0f188
:info:checksum Distfile checksum: ImageMagick-6.7.9-0.tar.xz rmd160 ed0bedf00c10d4262992ba582591e4cb34f2aff1
:error:checksum Checksum (sha256) mismatch for ImageMagick-6.7.9-0.tar.xz
:info:checksum Portfile checksum: ImageMagick-6.7.9-0.tar.xz sha256 4414a4d0596a3cbc1574c4924562ee0723ebf3909469b81964fd1f2cd1d5e49c
:info:checksum Distfile checksum: ImageMagick-6.7.9-0.tar.xz sha256 919227b3cfb8eb1924fb46494d24762ab6785d23e05557a0cec72d5945467779
:info:checksum The correct checksum line may be:
:info:checksum checksums           rmd160  ed0bedf00c10d4262992ba582591e4cb34f2aff1 \
                    sha256  919227b3cfb8eb1924fb46494d24762ab6785d23e05557a0cec72d5945467779
:notice:checksum ***
:notice:checksum The non-matching file appears to be HTML. See this page for possible reasons
:notice:checksum for the checksum mismatch:
:notice:checksum <https://trac.macports.org/wiki/MisbehavingServers>
:notice:checksum ***
:error:checksum org.macports.checksum for port ImageMagick returned: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
    while executing
"$procedure $targetname"
:info:checksum Warning: targets not executed for ImageMagick: org.macports.install org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot
:notice:checksum 

Attachments (2)

patch-graphics-ImageMagick-mirrors.diff (2.9 KB) - added by pixilla (Bradley Giesbrecht) 8 years ago.
Updated mirrors from http://www.imagemagick.org/script/download.php
patch-graphics-ImageMagick-sourceforge.diff (877 bytes) - added by pixilla (Bradley Giesbrecht) 8 years ago.
Use sourceforge for mastersites

Download all attachments as: .zip

Change History (14)

comment:1 Changed 8 years ago by ldl@…

:debug:checksum checksum phase started at Tue Aug 21 11:27:04 AKDT 2012
:notice:checksum --->  Verifying checksum(s) for ImageMagick
:debug:checksum Executing org.macports.checksum (ImageMagick)
:info:checksum --->  Checksumming ImageMagick-6.7.9-0.tar.xz
:error:checksum Checksum (rmd160) mismatch for ImageMagick-6.7.9-0.tar.xz
:info:checksum Portfile checksum: ImageMagick-6.7.9-0.tar.xz rmd160 6b20ef791e8258acb188212c91fc263568b0f188
:info:checksum Distfile checksum: ImageMagick-6.7.9-0.tar.xz rmd160 ed0bedf00c10d4262992ba582591e4cb34f2aff1
:error:checksum Checksum (sha256) mismatch for ImageMagick-6.7.9-0.tar.xz
:info:checksum Portfile checksum: ImageMagick-6.7.9-0.tar.xz sha256 4414a4d0596a3cbc1574c4924562ee0723ebf3909469b81964fd1f2cd1d5e49c
:info:checksum Distfile checksum: ImageMagick-6.7.9-0.tar.xz sha256 919227b3cfb8eb1924fb46494d24762ab6785d23e05557a0cec72d5945467779
:info:checksum The correct checksum line may be:
:info:checksum checksums           rmd160  ed0bedf00c10d4262992ba582591e4cb34f2aff1 \
                    sha256  919227b3cfb8eb1924fb46494d24762ab6785d23e05557a0cec72d5945467779
:notice:checksum ***
:notice:checksum The non-matching file appears to be HTML. See this page for possible reasons
:notice:checksum for the checksum mismatch:
:notice:checksum <https://trac.macports.org/wiki/MisbehavingServers>
:notice:checksum ***
:error:checksum org.macports.checksum for port ImageMagick returned: Unable to verify file checksums
:debug:checksum Error code: NONE
:debug:checksum Backtrace: Unable to verify file checksums
    while executing
"$procedure $targetname"
:info:checksum Warning: targets not executed for ImageMagick: org.macports.install org.macports.checksum org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot
:notice:checksum 

comment:2 Changed 8 years ago by pixilla (Bradley Giesbrecht)

Keywords: ImageMagick checksum removed
Owner: changed from macports-tickets@… to ryandesign@…

Did you check out what the link in the log had to say?

https://trac.macports.org/wiki/MisbehavingServers

sudo port clean --dist ImageMagick

comment:3 Changed 8 years ago by pixilla (Bradley Giesbrecht)

Looks like linux-mirror.org dns is busted:

dig +noall +question +answer linux-mirror.org imagemagick.linux-mirror.org image_magick.veidrodis.com
;linux-mirror.org.		IN	A
;imagemagick.linux-mirror.org.	IN	A
;image_magick.veidrodis.com.	IN	A
image_magick.veidrodis.com. 1800 IN	A	85.214.90.205

You can manually download the file from another location and place at the distfile location:

port distfiles ImageMagick
--->  Distfiles for ImageMagick
[ImageMagick-6.7.9-0.tar.xz] /opt/local/var/macports/distfiles/ImageMagick/ImageMagick-6.7.9-0.tar.xz
 rmd160: 6b20ef791e8258acb188212c91fc263568b0f188
 sha256: 4414a4d0596a3cbc1574c4924562ee0723ebf3909469b81964fd1f2cd1d5e49c
  ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick-6.7.9-0.tar.xz
  http://image_magick.veidrodis.com/image_magick/ImageMagick-6.7.9-0.tar.xz
  http://imagemagick.linux-mirror.org/download/ImageMagick-6.7.9-0.tar.xz
  ftp://ftp.fifi.org/pub/ImageMagick/ImageMagick-6.7.9-0.tar.xz
  http://distfiles.macports.org/ImageMagick/ImageMagick-6.7.9-0.tar.xz
  http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/ImageMagick/ImageMagick-6.7.9-0.tar.xz
  http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/ImageMagick/ImageMagick-6.7.9-0.tar.xz
  http://jog.id.distfiles.macports.org/macports/mpdistfiles/ImageMagick/ImageMagick-6.7.9-0.tar.xz
  http://lil.fr.distfiles.macports.org/ImageMagick/ImageMagick-6.7.9-0.tar.xz
  http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/ImageMagick/ImageMagick-6.7.9-0.tar.xz
  http://svn.macports.org/repository/macports/distfiles/ImageMagick/ImageMagick-6.7.9-0.tar.xz

The default distfile location would be:

/opt/local/var/macports/distfiles/ImageMagick/ImageMagick-6.7.9-0.tar.xz

comment:4 in reply to:  2 Changed 8 years ago by ldl@…

Replying to pixilla@…:

Did you check out what the link in the log had to say?

https://trac.macports.org/wiki/MisbehavingServers

sudo port clean --dist ImageMagick

Yes. Before submitting the ticket.

Cleaned and tried again. Same result.

comment:5 in reply to:  3 ; Changed 8 years ago by ldl@…

Replying to pixilla@…:

Looks like linux-mirror.org dns is busted:

That makes sense.

You can manually download the file from another location and place at the distfile location: The default distfile location would be:

/opt/local/var/macports/distfiles/ImageMagick/ImageMagick-6.7.9-0.tar.xz

If I do that, can I just run upgrade port imagemagik or do I have to do more if the expected tar.xz file is in place?

comment:6 in reply to:  5 ; Changed 8 years ago by pixilla (Bradley Giesbrecht)

If I do that, can I just run upgrade port imagemagik or do I have to do more if the expected tar.xz file is in place?

No. Assuming default MacPorts prefix of /opt/local:

sudo curl http://image_magick.veidrodis.com/image_magick/ImageMagick-6.7.9-0.tar.xz -o /opt/local/var/macports/distfiles/ImageMagick/ImageMagick-6.7.9-0.tar.xz
sudo port upgrade ImageMagick

comment:7 in reply to:  6 Changed 8 years ago by ldl@…

Replying to pixilla@…:

Assuming default MacPorts prefix of /opt/local: sudo port upgrade ImageMagick

Thanks! Downloaded a copy of the source, did the port upgrade and now it's running.

Support is much appreciated.

There are a couple of other issues with MacPorts on OS X 10.8.

I should prolly create another ticket or two, if they are not already reported.

comment:8 Changed 8 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:9 Changed 8 years ago by pixilla (Bradley Giesbrecht)

Summary: Upgrade ImageMagick-6.7.9-0. - Unable to verify file checksumsImageMagick mirror imagemagick.linux-mirror.org has no dns

Changed 8 years ago by pixilla (Bradley Giesbrecht)

Changed 8 years ago by pixilla (Bradley Giesbrecht)

Use sourceforge for mastersites

comment:10 Changed 7 years ago by ryandesign (Ryan Schmidt)

Sorry, I appear to have missed this ticket.

Most of these, sourceforge included, suck because they don't keep old versions, and they move files around after they've been released. I want to list only URLs where a file stays put and doesn't disappear.

p5-perlmagick needs the same change made as ImageMagick, whatever we decide on.

comment:11 Changed 7 years ago by ryandesign (Ryan Schmidt)

Removed imagemagick.linux-mirror.org in r103481.

comment:12 in reply to:  10 Changed 7 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

Replying to ryandesign@…:

I want to list only URLs where a file stays put and doesn't disappear.

r103505

Note: See TracTickets for help on using tickets.