Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#32385 closed defect (worksforme)

expat: checksum mismatch because HTML file

Reported by: bgdotmail+macports@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: expat

Description

trying to install expat on fresh macports installation.

Attachments (1)

main.log (3.6 KB) - added by bgdotmail+macports@… 12 years ago.
installation log

Download all attachments as: .zip

Change History (11)

Changed 12 years ago by bgdotmail+macports@…

Attachment: main.log added

installation log

comment:1 Changed 12 years ago by bgdotmail+macports@…

Cc: bgdotmail+macports@… added

Cc Me!

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Cc: bgdotmail+macports@… removed
Milestone: MacPorts 2.0.4
Owner: changed from macports-tickets@… to ryandesign@…
Port: expat added

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: [Lion] expat installation errorexpat: checksum mismatch because HTML file

Did you read the page MisbehavingServers to which the error message referred you? What is in the HTML file that got downloaded?

comment:4 in reply to:  3 Changed 12 years ago by bgdotmail+macports@…

Replying to ryandesign@…:

Did you read the page MisbehavingServers to which the error message referred you? What is in the HTML file that got downloaded?

I am getting 404 as http://packages.macports.org/expat does not have required file. It has "expat-2.0.1_1.darwin_10.x86_64.tbz2" but macports are trying to fetch "expat-2.0.1_1.darwin_11.x86_64.tbz2"

comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

That has nothing to do with the problem. Those are packages; we're talking about distfiles. What does the file /opt/local/var/macports/distfiles/expat/expat-2.0.1.tar.gz contain? It's supposed to be a gzipped tar archive of the expat source, but the error message tells us it's actually an HTML file, so for example copy that file to your desktop, rename it with .html at the end of the filename, and open it in a text editor or a web browser and tell us what it says. Or just attach it here.

comment:6 Changed 12 years ago by bgdotmail+macports@…

$ cat /opt/local/var/macports/distfiles/expat/expat-2.0.1.tar.gz

<html><head><meta name='robots' content='noindex'><title>SourceForge - Download Problem</title></head><body style='width:50%;margin:1em auto'><h1><img src='//a.fsdn.com/con/img/sftheme/logo.png'></h1><h1 style='margin-top:2em'>Download Problem</h1><h2>Please <a href='javascript:window.history.back()'>try again</a></h2><p>There was a problem serving the download, please hit the 'back' button and try again.  If that still does not work, try selecting a different mirror -- there is a link in the header of the download page.</p><p><p></body></html>

I can fix this by manual download, but, maybe, is other way to fix

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

Resolution: worksforme
Status: newclosed

Ok, looks like there was a problem downloading from SourceForge. Too bad their error message didn't tell us which mirror it was that was having the problem. Clean and try again. Hopefully they've resolved the problem by now. If not, talk to SourceForge.

sudo port clean --all expat

Curiously, a Google search for "There was a problem serving the download" yields only this ticket. So it would appear to be a problem nobody else has ever documented before.

comment:8 Changed 12 years ago by bgdotmail+macports@…

Thanks a lot. It would be nice if macports were able to provide more information. I was able to install this package.

comment:9 in reply to:  8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to bgdotmail+macports@…:

It would be nice if macports were able to provide more information.

What specifically would you have MacPorts do differently?

comment:10 Changed 12 years ago by bgdotmail+macports@…

I'd like the installation log to be more verbose. I could not figure out that the problem had been on sourceforge mirror by lookin into.

Note: See TracTickets for help on using tickets.