Opened 13 years ago

Closed 13 years ago

#33063 closed defect (fixed)

libusb, libusb-compat fetch fails because HTML file

Reported by: lo.knut@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: rwilcox (Ryan Wilcox), tobypeterson, brett@…
Port: libusb, libusb-compat

Description

--->  Fetching archive for libusb
--->  Attempting to fetch libusb-1.0.8_0.darwin_10.x86_64.tgz from http://packages.macports.org/libusb
--->  Fetching libusb
--->  Verifying checksum(s) for libusb
Error: Checksum (md5) mismatch for libusb-1.0.8.tar.bz2
Error: Checksum (sha1) mismatch for libusb-1.0.8.tar.bz2
Error: Checksum (rmd160) mismatch for libusb-1.0.8.tar.bz2
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<https://trac.macports.org/wiki/MisbehavingServers>
***
Error: Target org.macports.checksum returned: Unable to verify file checksums
Log for libusb is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libusb/libusb/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (5)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rwilcox@… toby@… added; rwilcox@… removed
Port: libusb-compat added
Summary: libusb, libusb-compat fetch failslibusb, libusb-compat fetch fails because HTML file

And what is in the HTML files that were downloaded? What server was it trying to download from? Did you read the MisbehavingServers page?

comment:2 Changed 13 years ago by rwilcox (Ryan Wilcox)

I just tried this (sorry for the late response) and it worked for me

--->  Fetching archive for libusb
--->  Attempting to fetch libusb-1.0.8_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/libusb
--->  Fetching libusb
--->  Attempting to fetch libusb-1.0.8.tar.bz2 from http://voxel.dl.sourceforge.net/libusb
--->  Verifying checksum(s) for libusb
--->  Extracting libusb
--->  Configuring libusb
--->  Building libusb
--->  Staging libusb into destroot
--->  Installing libusb @1.0.8_0
--->  Activating libusb @1.0.8_0
--->  Cleaning libusb

Perhaps this is a temporary error and it went away?

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

Well, all that tells us is that the server voxel.dl.sourceforge.net is not the problem. Who knows what server it tried to download from on your original attempt.

comment:4 Changed 13 years ago by adfernandes (Andrew Fernandes)

Repos for libusb have changed. There are incoming patches that fix this.

comment:5 Changed 13 years ago by adfernandes (Andrew Fernandes)

Resolution: fixed
Status: newclosed

I just committed a major revision to libusb and friends in #34338 (r92944). The libusb-devel was replaced by libusb, and the repository servers were updated.

Note: See TracTickets for help on using tickets.