Opened 9 years ago

Closed 7 years ago

#48791 closed defect (fixed)

jarbundler 2.2.0 Unable to verify file checksums

Reported by: mario.flrs.mndz@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: haspatch Cc: ryandesign (Ryan Carsten Schmidt), b@…, subs@…, hmeine (Hans Meine), bouttier__macports@…, TBird2001 (Jason Verley), panos2310gr, trolltunga
Port: jarbundler

Description

It seems source file cannot be downloaded anymore. It attempts to download a html file instead of a zip file.

Attachments (2)

jarbundler-2-2-0-d-install-main.log (6.3 KB) - added by mario.flrs.mndz@… 9 years ago.
log file using -d install
Portfile-jarbundler.diff (1.0 KB) - added by chicagotripp (Altoine Barker) 8 years ago.
Portfile diff file to bump version from 2.2.0 to 2.3.1.

Download all attachments as: .zip

Change History (20)

Changed 9 years ago by mario.flrs.mndz@…

log file using -d install

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

Cc: ryandesign@… added
Port: jarbundler added

There are many problems here.

  • The port says the files are in the jarbundler project on SourceForge; no such SourceForge project exists
  • The main distfiles mirror doesn't have a copy of the file
  • The German mirror has an HTML file jarbundler-2.2.0.zip.html which looks like a generic SourceForge page
  • The German mirror is misconfigured in such a way that requesting the nonexistent file jarbundler-2.2.0.zip causes the file jarbundler-2.2.0.zip.html to be delivered; we need to report this misconfiguration to the German mirror's admin and get it fixed
  • Version 2.3.1 has been released at a different download URL, but the download URL is unversioned; we need to update the port and explain to the developer why they should use versioned distfiles

comment:2 in reply to:  1 ; Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

  • Version 2.3.1 has been released at a different download URL, but the download URL is unversioned; we need to update the port and explain to the developer why they should use versioned distfiles

Actually I see now that jarbundler has moved to github. They don't have any downloads there yet, but hopefully once they do they will use versioned filenames.

comment:3 Changed 9 years ago by b@…

Cc: b@… added

Cc Me!

comment:4 Changed 9 years ago by b@…

a website with some information can be found at http://informagen.com/JarBundler/ - however providing only an unversioned download URL

comment:5 Changed 9 years ago by hmeine (Hans Meine)

Is the .zip.html thing really only about "the German mirror"? When googling for "Index of /macports/distfiles/jarbundler", I only got hits with .zip.htmls.

comment:6 in reply to:  2 Changed 9 years ago by tobias.carl.fischer@…

Replying to ryandesign@…:

Replying to ryandesign@…:

  • Version 2.3.1 has been released at a different download URL, but the download URL is unversioned; we need to update the port and explain to the developer why they should use versioned distfiles

Actually I see now that jarbundler has moved to github. They don't have any downloads there yet, but hopefully once they do they will use versioned filenames.

You can now find versioned releases on the GitHub Releases page: https://github.com/UltraMixer/JarBundler/releases However, this depends on the maintainers will to maintain the releases section manually.

But as the JarBundler project is now a maven project, all downloads can also be accessed at the maven central repository page:

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

Cc: subs@… added

Has duplicate #50648.

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

Cc: hans_meine@… added

Replying to hans_meine@…:

Is the .zip.html thing really only about "the German mirror"? When googling for "Index of /macports/distfiles/jarbundler", I only got hits with .zip.htmls.

The existence of the .zip.html files was not unique to the German mirror; all mirrors should have the same content, more or less. But there was a misconfiguration of the German mirror which caused it to deliver the .zip.html file when the nonexistent .zip file was requested. This misconfiguration was corrected.

comment:9 Changed 8 years ago by bouttier__macports@…

Cc: bouttier__macports@… added

Cc Me!

comment:10 Changed 8 years ago by bouttier__macports@…

Hi,

I have possibly a similar problem with another mirror :

--->  Attempting to fetch jarbundler-2.2.0.zip from http://freefr.dl.sourceforge.net/jarbundler
--->  Verifying checksums for jarbundler                                        
Error: Checksum (md5) mismatch for jarbundler-2.2.0.zip
Error: Checksum (sha1) mismatch for jarbundler-2.2.0.zip
Error: Checksum (rmd160) mismatch for jarbundler-2.2.0.zip
***
The non-matching file appears to be HTML. See this page for possible reasons
for the checksum mismatch:
<https://trac.macports.org/wiki/MisbehavingServers>
***

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

Yes, we know. As I said above, the files the port is trying to download no longer exist on SourceForge. We need to update the port.

comment:12 in reply to:  11 Changed 8 years ago by bouttier__macports@…

Replying to ryandesign@…:

We need to update the port.

Is there hope to see this done in a reasonably close future ? jarbundler is a dependency for JabRef which I need...

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

Cc: jcverle@… added

Has duplicate #51870.

Changed 8 years ago by chicagotripp (Altoine Barker)

Attachment: Portfile-jarbundler.diff added

Portfile diff file to bump version from 2.2.0 to 2.3.1.

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

Keywords: haspatch added

Thanks. The sha1 checksum should be replaced with a sha256 checksum.

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

Cc: panos2310gr added

Has duplicate #54626.

The attached patch uses an unversioned distfile, which is undesirable.

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

As mentioned above, version 3.3.0 is available on GitHub so we should update the port to that version.

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

Cc: trolltunga added

Has duplicate #55741.

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

Resolution: fixed
Status: newclosed

In b7124d64855cf1e3c098609acd1bf3e5cbb5ee8b/macports-ports (master):

jarbundler: Update to 3.3.0

Closes: #48791

Note: See TracTickets for help on using tickets.