is lang/ghc92 broken ?

Code:
[00:00:03] =======================<phase: fetch          >============================
[00:00:03] ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
[00:00:03] ===>  License BSD3CLAUSE accepted by the user
[00:00:03] => ghc-9.2.8-src.tar.xz doesn't seem to exist in /portdistfiles/.
[00:00:03] => Attempting to fetch https://www.haskell.org/ghc/dist/9.2.8/ghc-9.2.8-src.tar.xz
[00:00:03] ghc-9.2.8-src.tar.xz                                    23 MB   10 MBps    02s
[00:00:06] => ghc-8.10.7-boot-amd64-freebsd.tar.xz doesn't seem to exist in /portdistfiles/.
[00:00:06] => Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/arrowd/ghc-8.10.7-boot-amd64-freebsd.tar.xz
[00:00:06] fetch: http://distcache.FreeBSD.org/local-distfiles/arrowd/ghc-8.10.7-boot-amd64-freebsd.tar.xz: size mismatch: expected 70607916, actual 70284268
[00:00:06] => Attempting to fetch http://distcache.us-east.FreeBSD.org/local-distfiles/arrowd/ghc-8.10.7-boot-amd64-freebsd.tar.xz
[00:00:06] fetch: http://distcache.us-east.FreeBSD.org/local-distfiles/arrowd/ghc-8.10.7-boot-amd64-freebsd.tar.xz: size mismatch: expected 70607916, actual 70284268
[00:00:06] => Attempting to fetch http://distcache.eu.FreeBSD.org/local-distfiles/arrowd/ghc-8.10.7-boot-amd64-freebsd.tar.xz
[00:00:07] fetch: http://distcache.eu.FreeBSD.org/local-distfiles/arrowd/ghc-8.10.7-boot-amd64-freebsd.tar.xz: size mismatch: expected 70607916, actual 70284268
[00:00:07] => Attempting to fetch http://distcache.us-west.FreeBSD.org/local-distfiles/arrowd/ghc-8.10.7-boot-amd64-freebsd.tar.xz
[00:00:07] fetch: http://distcache.us-west.FreeBSD.org/local-distfiles/arrowd/ghc-8.10.7-boot-amd64-freebsd.tar.xz: size mismatch: expected 70607916, actual 70284268
[00:00:07] => Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/ghc-8.10.7-boot-amd64-freebsd.tar.xz
[00:00:08] fetch: http://distcache.FreeBSD.org/ports-distfiles/ghc-8.10.7-boot-amd64-freebsd.tar.xz: size mismatch: expected 70607916, actual 70284268
[00:00:08] => Couldn't fetch it - please try to retrieve this
[00:00:08] => port manually into /portdistfiles/ and try again.
[00:00:08] *** Error code 1
[00:00:08] 
[00:00:08] Stop.
[00:00:08] make: stopped in /usr/ports/lang/ghc92
[00:00:08] =>> Cleaning up wrkdir
[00:00:08] ===>  Cleaning for ghc92-9.2.8
[00:00:08] build of lang/ghc92 | ghc92-9.2.8 ended at Thu Jul 20 14:38:04 UTC 2023
[00:00:08] build time: 00:00:08
[00:00:08] !!! build failure encountered !!!
 
It looks like this issue occurs in the 2023Q3 ports branch because changes in the main branch re-rolled files with the same name.

I opened PR 272776 to report this.

If you also have this problem on the 2023Q3 ports branch, you can work around it by copying the distinfo file from the main branch. I don't know if the other changes matter. If you know a lot about Haskell, you might be able to determine that.
 
Back
Top