Bug 273079 - devel/hs-haskell-language-server fetch fails 14.0-CURRENT
Summary: devel/hs-haskell-language-server fetch fails 14.0-CURRENT
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-haskell (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-11 23:22 UTC by Bryan Baldwin
Modified: 2023-08-12 10:38 UTC (History)
2 users (show)

See Also:
arrowd: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bryan Baldwin 2023-08-11 23:22:00 UTC
Fetch fails on svg-builder-0.1.1/svg-builder-0.1.1.tar.gz
Tested on two machines with same result

OUTPUT 2023-08-12
----------
===>  License APACHE20 accepted by the user
===>   hs-haskell-language-server-2.0.0.0 depends on file: /usr/local/sbin/pkg - found
=> svg-builder-0.1.1/svg-builder-0.1.1.tar.gz doesn't seem to exist in /usr/ports/distfiles/cabal.
=> Attempting to fetch http://aman.arda.net/freebsd/distfiles/cabal/svg-builder-0.1.1/svg-builder-0.1.1.tar.gz
fetch: svg-builder-0.1.1/svg-builder-0.1.1.tar.gz is not a directory
=> Attempting to fetch https://hackage.haskell.org/package/svg-builder-0.1.1/svg-builder-0.1.1.tar.gz
fetch: svg-builder-0.1.1/svg-builder-0.1.1.tar.gz is not a directory
=> Attempting to fetch http://hackage.haskell.org/package/svg-builder-0.1.1/svg-builder-0.1.1.tar.gz
fetch: svg-builder-0.1.1/svg-builder-0.1.1.tar.gz is not a directory
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/cabal and try again.
*** Error code 1

OUTPUT from 14.0-CURRENT around Nov 2022:
----------
=> Attempting to fetch https://hackage.haskell.org/package/svg-builder-0.1.1/svg-builder-0.1.1.tar.gz
svg-builder-0.1.1/svg-builder-0.1.1.tar.gz              11 kB  136 MBps    00s
=> svg-builder-0.1.1/revision/6.cabal doesn't seem to exist in /usr/ports/distfiles/cabal.
=> Attempting to fetch https://hackage.haskell.org/package/svg-builder-0.1.1/revision/6.cabal
fetch: https://hackage.haskell.org/package/svg-builder-0.1.1/revision/6.cabal: size unknown
fetch: https://hackage.haskell.org/package/svg-builder-0.1.1/revision/6.cabal: size of remote file is not known
svg-builder-0.1.1/revision/6.cabal                    1580  B   18 MBps    00s
Comment 1 Bryan Baldwin 2023-08-11 23:23:02 UTC
Checked this URL https://hackage.haskell.org/package/svg-builder-0.1.1/svg-builder-0.1.1.tar.gz

It is still valid
Comment 2 Gleb Popov freebsd_committer freebsd_triage 2023-08-12 09:12:42 UTC
I reproduced the issue, but have no idea what's causing it. This is really strange.
Comment 3 commit-hook freebsd_committer freebsd_triage 2023-08-12 09:47:41 UTC
A commit in branch main references this bug:

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

commit 90e2b284130343fa6cd7eba56f051e245a13ed95
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-08-12 09:46:08 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-08-12 09:46:08 +0000

    devel/hs-haskell-language-server: Bump PORTREVISION after GHC update.

    While there, fix make fetch.

    PR:             273079

 devel/hs-haskell-language-server/Makefile | 1 +
 devel/hs-haskell-language-server/distinfo | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-08-12 10:38:50 UTC
A commit in branch 2023Q3 references this bug:

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

commit 2c88ad59c3200f194856717537a1924ba08a08e3
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-08-12 09:46:08 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-08-12 10:37:41 +0000

    devel/hs-haskell-language-server: Bump PORTREVISION after GHC update.

    While there, fix make fetch.

    PR:             273079
    (cherry picked from commit 90e2b284130343fa6cd7eba56f051e245a13ed95)

 devel/hs-haskell-language-server/Makefile | 1 +
 devel/hs-haskell-language-server/distinfo | 2 --
 2 files changed, 1 insertion(+), 2 deletions(-)