Bug 282261 - net/delegate: does not fetch
Summary: net/delegate: does not fetch
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Robert Clausecker
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-22 08:34 UTC by Robert Clausecker
Modified: 2024-11-14 08:55 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (portmaster)
fuz: merge-quarterly?


Attachments
update MASTER_SITES (607 bytes, patch)
2024-10-23 01:13 UTC, mew14930xvi
no flags Details | Diff
update MASTER_SITES (684 bytes, patch)
2024-10-23 09:04 UTC, mew14930xvi
fuz: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker freebsd_committer freebsd_triage 2024-10-22 08:34:37 UTC
The port fails to fetch:

$ make checksum
===>  License AIST accepted by the user
===>   delegate-9.9.13_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by delegate-9.9.13_3 for building
=> SHA256 Checksum mismatch for delegate9.9.13.tar.gz.
===>  Refetch for 1 more times files:  delegate9.9.13.tar.gz 
===>  License AIST accepted by the user
===>   delegate-9.9.13_3 depends on file: /usr/local/sbin/pkg - found
=> delegate9.9.13.tar.gz doesn't seem to exist in /data/distfiles/.
=> Attempting to fetch http://www.delegate.org/anonftp/DeleGate/delegate9.9.13.tar.gz
delegate9.9.13.tar.gz                          99% of 2450 kB  520 kBps    04s
fetch: delegate9.9.13.tar.gz appears to be truncated: 2507115/2509163 bytes
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/delegate9.9.13.tar.gz
delegate9.9.13.tar.gz                                 2450 kB   11 MBps    00s
===> Fetching all distfiles required by delegate-9.9.13_3 for building
===>  License AIST accepted by the user
===>   delegate-9.9.13_3 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by delegate-9.9.13_3 for building
=> SHA256 Checksum mismatch for delegate9.9.13.tar.gz.
===>  Giving up on fetching files:  delegate9.9.13.tar.gz 
Make sure the Makefile and distinfo file (/usr/home/ports/main.ports/net/delegate/distinfo)
are up to date.  If you are absolutely sure you want to override this
check, type "make NO_CHECKSUM=yes [other args]".
*** Error code 1

Stop.
make[1]: stopped making "checksum" in /usr/home/ports/main.ports/net/delegate
*** Error code 1

Stop.
make: stopped making "checksum" in /usr/home/ports/main.ports/net/delegate


It is possible upstream has rerolled the distfile or something to this effect.  Please check.
Comment 1 mew14930xvi 2024-10-23 01:13:48 UTC
Created attachment 254455 [details]
update  MASTER_SITES

update WWW
Comment 2 Robert Clausecker freebsd_committer freebsd_triage 2024-10-23 07:33:30 UTC
(In reply to mew14930xvi from comment #1)

Size and checksum of the file served by the MASTER_SITES in that patch do not match what is recorded in distinfo.  This is the first time I've seen you contribute here and I am not able to verify if that site is authentic.  Please understand that I cannot commit your patch under these circumstances.
Comment 3 mew14930xvi 2024-10-23 08:07:48 UTC
As far as I have tried, it matches distinfo.
Comment 4 mew14930xvi 2024-10-23 08:15:02 UTC
ITS MORE President Yutaka Sato created DeleGate.

https://ja.wikipedia.org/wiki/DeleGate
https://its-more.jp/ja_jp/?page_id=20
Comment 5 Robert Clausecker freebsd_committer freebsd_triage 2024-10-23 08:46:45 UTC
(In reply to mew14930xvi from comment #3)

The file in distinfo has the following properties:

SHA256 (delegate9.9.13.tar.gz) = 2448de9dc63f3caf52c695de9f80a1c133df805925fc8dba4a61998656f853e6
SIZE (delegate9.9.13.tar.gz) = 2509163

However, the file delivered by that site has instead size 2507115 and is thus not the same file.
Comment 6 Robert Clausecker freebsd_committer freebsd_triage 2024-10-23 08:53:21 UTC
Comment on attachment 254455 [details]
update  MASTER_SITES

Sorry, I tried again and it works now.

Thank you for supplying this patch, we'll have to wait for the maintainer to approve it though.
Comment 7 mew14930xvi 2024-10-23 09:04:43 UTC
Created attachment 254459 [details]
update MASTER_SITES

Added aist.go.jp.
AIST is a research organisation under the jurisdiction of Japan's Ministry of Economy, Trade and Industry.
Delegate is software developed at AIST.
Comment 8 Robert Clausecker freebsd_committer freebsd_triage 2024-11-06 12:54:47 UTC
Comment on attachment 254459 [details]
update MASTER_SITES

maintainer timeout
Comment 9 Robert Clausecker freebsd_committer freebsd_triage 2024-11-06 12:56:14 UTC
Would you like to become maintainer of this port?  The current maintainer frequently does not respond to emails.
Comment 10 commit-hook freebsd_committer freebsd_triage 2024-11-06 15:19:22 UTC
A commit in branch main references this bug:

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

commit 52f20643f2882de5c6085e8f89432325eed50a13
Author:     mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2024-11-06 13:18:48 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-11-06 15:14:32 +0000

    net/delegate: fix fetch

    PR:             282261
    Approved by:    portmaster@bsdforge.com (maintainer timeout)
    MFH:            2024Q4

 net/delegate/Makefile | 5 +++--
 net/delegate/distinfo | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)
Comment 11 commit-hook freebsd_committer freebsd_triage 2024-11-06 15:21:23 UTC
A commit in branch 2024Q4 references this bug:

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

commit 7fa87597124386bcadfdbebf0d2df90dafd3d6a8
Author:     mew14930xvi <mew14930xvi@inbox.lv>
AuthorDate: 2024-11-06 13:18:48 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-11-06 15:20:53 +0000

    net/delegate: fix fetch

    PR:             282261
    Approved by:    portmaster@bsdforge.com (maintainer timeout)
    MFH:            2024Q4

    (cherry picked from commit 52f20643f2882de5c6085e8f89432325eed50a13)

 net/delegate/Makefile | 5 +++--
 net/delegate/distinfo | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)
Comment 12 Robert Clausecker freebsd_committer freebsd_triage 2024-11-06 15:22:12 UTC
Thank you for your submission.
Comment 13 mew14930xvi 2024-11-07 06:21:18 UTC
(In reply to Robert Clausecker from comment #9)
Me?
I don't mind becoming the maintainer, but do I meet the criteria for a maintainer change?
Comment 14 Robert Clausecker freebsd_committer freebsd_triage 2024-11-07 08:16:25 UTC
(In reply to mew14930xvi from comment #13)

There are no hard and fast criteria.  What's important is that you care about the port, which you seem to.

I'll add you as maintainer with my next commit batch.
Comment 15 commit-hook freebsd_committer freebsd_triage 2024-11-14 08:45:39 UTC
A commit in branch main references this bug:

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

commit fa00a8245951327e10a60be8a3bc000f49687094
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2024-11-07 08:19:08 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-11-14 08:41:02 +0000

    net/delegate: reassign maintainership

     - old maintainer has a history of timeouts in various ports,
       including this one
     - new maintainer submitted previous patch

    PR:             282261

 net/delegate/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 16 Robert Clausecker freebsd_committer freebsd_triage 2024-11-14 08:55:20 UTC
Thank you for your contribution.