Bug 259469 - devel/ncurses: Fails to fetch
Summary: devel/ncurses: Fails to fetch
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: Normal Affects Many People
Assignee: Steve Wills
: 259470 (view as bug list)
Depends on:
Blocks: 259449
  Show dependency treegraph
Reported: 2021-10-27 00:05 UTC by khb
Modified: 2021-11-08 05:35 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (swills)
koobs: merge-quarterly?

screengrab of the error (158.84 KB, image/jpeg)
2021-10-27 00:05 UTC, khb
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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 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 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
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

make: stopped in /usr/ports/devel/ncurses