Bug 284592 - databases/mongodb-tools: Fetched file size mismatch
Summary: databases/mongodb-tools: Fetched file size mismatch
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Ronald Klop
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-05 14:24 UTC by hey.its.my.virtual.me
Modified: 2025-02-06 08:01 UTC (History)
1 user (show)

See Also:
ronald: maintainer-feedback+


Attachments
Patchfile to fix size an checksum (464 bytes, patch)
2025-02-05 14:24 UTC, hey.its.my.virtual.me
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description hey.its.my.virtual.me 2025-02-05 14:24:17 UTC
Created attachment 257260 [details]
Patchfile to fix size an checksum

The build of mongodb-tools fails, because the information in distinfo (size and sha256 checksum of the file => https://codeload.github.com/mongodb/mongo-tools/tar.gz/100.11.0?dummy=/mongodb-mongo-tools-100.11.0_GH0.tar.gz) doesn't match

Appears since the last update to Version 100.11.0

The error i get is:

=> Attempting to fetch https://codeload.github.com/mongodb/mongo-tools/tar.gz/100.11.0?dummy=/mongodb-mongo-tools-100.11.0_GH0.tar.gz
fetch: https://codeload.github.com/mongodb/mongo-tools/tar.gz/100.11.0?dummy=/mongodb-mongo-tools-100.11.0_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/mongodb/mongo-tools/tar.gz/100.11.0?dummy=/mongodb-mongo-tools-100.11.0_GH0.tar.gz: size of remote file is not known
mongodb-mongo-tools-100.11.0_GH0.tar.gz               6137 kB 6962 kBps    01s
=> Fetched file size mismatch (expected 6284375, actual 6284696)


See attachment for fix
Comment 1 commit-hook freebsd_committer freebsd_triage 2025-02-06 08:00:42 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bf38b7d55ddffcef522e12fd8dcd6998311fe5ea

commit bf38b7d55ddffcef522e12fd8dcd6998311fe5ea
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2025-02-06 07:56:05 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2025-02-06 08:00:02 +0000

    databases/mongodb-tools: fix distinfo

    Tag changed after my test builds.

    PR:     284592

 databases/mongodb-tools/distinfo | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 2 Ronald Klop freebsd_committer freebsd_triage 2025-02-06 08:01:32 UTC
fixed, thanks for the report