Bug 259469

Summary: devel/ncurses: Fails to fetch
Product: Ports & Packages Reporter: khb <khb.dev>
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed Overcome By Events    
Severity: Affects Many People CC: bapt, khb.dev, me, yasu
Priority: Normal Flags: bugzilla: maintainer-feedback? (swills)
koobs: merge-quarterly?
Version: Latest   
Hardware: amd64   
OS: Any   
Bug Depends on:    
Bug Blocks: 259449    
Attachments:
Description Flags
screengrab of the error none

Description khb 2021-10-27 00:05:45 UTC
Created attachment 229054 [details]
screengrab of the error

Running 14.0-CURRENT, and updating ports via git. Both updated today.
devel/ncurses seems like it's looking for a different file from invisible-island.net. I've tried downloading the file from the website, renaming it and moving it to /usr/ports/distfiles/ncurses, and adjusting the SHA256, but I get a missing license error.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2021-10-27 00:14:05 UTC
*** Bug 259470 has been marked as a duplicate of this bug. ***
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2021-10-27 00:15:21 UTC
Confirmed, upstream has moved/removed the snapshot file. Could not find it referenced anywhere else. GNU mirrors only contain the X.Y releases
Comment 3 commit-hook freebsd_committer freebsd_triage 2021-10-27 14:54:00 UTC
A commit in branch main references this bug:

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

commit 2d69fd1ea3384abafc03e60bb3621be2cb5961cb
Author:     Steve Wills <swills@FreeBSD.org>
AuthorDate: 2021-10-27 14:48:08 +0000
Commit:     Steve Wills <swills@FreeBSD.org>
CommitDate: 2021-10-27 14:53:25 +0000

    devel/ncurses: update to 6.3 and fix fetch

    This moves the port to a release version instead of a snapshot, where it
    will hopefully stay for the foreseeable future.

    PR:             259469
    Reported by:    khb <khb.dev@gmail.com>
    MFH:            2021Q4

 devel/ncurses/Makefile | 13 ++++++-------
 devel/ncurses/distinfo |  6 +++---
 2 files changed, 9 insertions(+), 10 deletions(-)
Comment 4 khb 2021-10-27 16:12:58 UTC
Just pulled and it works! Appreciate ya!
Comment 5 Yasuhiro Kimura freebsd_committer freebsd_triage 2021-11-08 05:03:59 UTC
(In reply to commit-hook from comment #3)

@swills Would you please merge this commit to 2021Q4 branch? With ports ad491a1d4f44 of 2021Q4 branch, `make fetch` fails as following.

----------------------------------------------------------------------
yasu@rolling-vm-freebsd2[1175]% pwd
/usr/ports/devel/ncurses
yasu@rolling-vm-freebsd2[1176]% make fetch
===>  License MIT accepted by the user
===>   ncurses-6.2.20210626 depends on file: /usr/local/sbin/pkg - found
=> ncurses-6.2-20210626.tgz doesn't seem to exist in /net/freebsd/ports/distfiles/ncurses.
=> Attempting to fetch ftp://ftp.invisible-island.net/ncurses/current/ncurses-6.2-20210626.tgz
fetch: ftp://ftp.invisible-island.net/ncurses/current/ncurses-6.2-20210626.tgz: Not Found
=> Attempting to fetch https://invisible-mirror.net/archives/ncurses/current/ncurses-6.2-20210626.tgz
fetch: https://invisible-mirror.net/archives/ncurses/current/ncurses-6.2-20210626.tgz: Not Found
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/ncurses/ncurses-6.2-20210626.tgz
fetch: http://distcache.FreeBSD.org/ports-distfiles/ncurses/ncurses-6.2-20210626.tgz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /net/freebsd/ports/distfiles/ncurses and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/ncurses
yasu@rolling-vm-freebsd2[1177]%
----------------------------------------------------------------------
Comment 6 Yasuhiro Kimura freebsd_committer freebsd_triage 2022-01-19 07:36:37 UTC
Fetch error in quarterly branch is fixed as 2022Q1 branch is cleated.