Bug 260414 - java/netbeans 12.3 fails to fetch: fetch: https://dlcdn.apache.org/netbeans/netbeans/12.3/netbeans-12.3-bin.zip: Not Found
Summary: java/netbeans 12.3 fails to fetch: fetch: https://dlcdn.apache.org/netbeans/n...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Koop Mast
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2021-12-14 12:57 UTC by Marko Cupać
Modified: 2021-12-30 22:29 UTC (History)
0 users

See Also:
kwm: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Cupać 2021-12-14 12:57:24 UTC
Hi,

I can't build java/netbeans, it appears that distfiles are missing on all mirrors:

=> netbeans-12.3-bin.zip doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://dlcdn.apache.org/netbeans/netbeans/12.3/netbeans-12.3-bin.zip
fetch: https://dlcdn.apache.org/netbeans/netbeans/12.3/netbeans-12.3-bin.zip: Not Found
=> Attempting to fetch https://mirror.netcologne.de/apache.org/netbeans/netbeans/12.3/netbeans-12.3-bin.zip
fetch: https://mirror.netcologne.de/apache.org/netbeans/netbeans/12.3/netbeans-12.3-bin.zip: Not Found
=> Attempting to fetch https://ftp.wayne.edu/apache/netbeans/netbeans/12.3/netbeans-12.3-bin.zip
fetch: https://ftp.wayne.edu/apache/netbeans/netbeans/12.3/netbeans-12.3-bin.zip: Not Found
=> Attempting to fetch https://mirror.its.dal.ca/apache/netbeans/netbeans/12.3/netbeans-12.3-bin.zip
fetch: https://mirror.its.dal.ca/apache/netbeans/netbeans/12.3/netbeans-12.3-bin.zip: Not Found
=> Attempting to fetch http://mirror.cogentco.com/pub/apache/netbeans/netbeans/12.3/netbeans-12.3-bin.zip
fetch: http://mirror.cogentco.com/pub/apache/netbeans/netbeans/12.3/netbeans-12.3-bin.zip: Not Found
=> Attempting to fetch http://mirror.navercorp.com/apache/netbeans/netbeans/12.3/netbeans-12.3-bin.zip
fetch: http://mirror.navercorp.com/apache/netbeans/netbeans/12.3/netbeans-12.3-bin.zip: Not Found
=> Attempting to fetch http://ftp.kddi-research.jp/infosystems/apache/netbeans/netbeans/12.3/netbeans-12.3-bin.zip
fetch: http://ftp.kddi-research.jp/infosystems/apache/netbeans/netbeans/12.3/netbeans-12.3-bin.zip: Not Found
=> Attempting to fetch http://miroir.univ-lorraine.fr/apache/netbeans/netbeans/12.3/netbeans-12.3-bin.zip
fetch: http://miroir.univ-lorraine.fr/apache/netbeans/netbeans/12.3/netbeans-12.3-bin.zip: Not Found
=> Attempting to fetch ftp://ftp.acc.umu.se/mirror/apache.org/netbeans/netbeans/12.3/netbeans-12.3-bin.zip
fetch: ftp://ftp.acc.umu.se/mirror/apache.org/netbeans/netbeans/12.3/netbeans-12.3-bin.zip: File unavailable (e.g., file not found, no access)
=> Attempting to fetch ftp://ftp.nluug.nl/internet/apache/netbeans/netbeans/12.3/netbeans-12.3-bin.zip
fetch: ftp://ftp.nluug.nl/internet/apache/netbeans/netbeans/12.3/netbeans-12.3-bin.zip: File unavailable (e.g., file not found, no access)
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/netbeans-12.3-bin.zip
fetch: http://distcache.FreeBSD.org/ports-distfiles/netbeans-12.3-bin.zip: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles/ and try again.
*** Error code 1
Comment 1 Koop Mast freebsd_committer freebsd_triage 2021-12-23 09:22:27 UTC
All the dist files prior to 12.6 where removed. I'm working on a update to resolve this.
Comment 2 commit-hook freebsd_committer freebsd_triage 2021-12-30 22:28:53 UTC
A commit in branch main references this bug:

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

commit 1af70d2d34b496f74953e136573e5b0d7e333e1c
Author:     Koop Mast <kwm@FreeBSD.org>
AuthorDate: 2021-12-30 22:25:59 +0000
Commit:     Koop Mast <kwm@FreeBSD.org>
CommitDate: 2021-12-30 22:25:59 +0000

    java/netbeans: Update to 12.6

    For the replacing of the python command, use the default python 3 version instead of hardcoding python 2.7.
    Drop the netbeans version from the .desktop file.
    Don't use absolute path for the symlink and add a non-versioned.

    This also makes netbeans fetchable again, all distfiles prior to 12.6 where removed upsteam [1].

    PR:             ports/260414 [1]
    Reported by:    Marko Cupać <marko.cupac@mimar.rs> [1]

 java/netbeans/Makefile  |  11 +-
 java/netbeans/distinfo  |   6 +-
 java/netbeans/pkg-plist | 437 ++++++++++++++++++++++++++++++++++--------------
 3 files changed, 323 insertions(+), 131 deletions(-)
Comment 3 Koop Mast freebsd_committer freebsd_triage 2021-12-30 22:29:35 UTC
Thanks for the report.