Skip to content

Ghc910 update#15

Open
blackgnezdo wants to merge 13 commits intomasterfrom
ghc910-update
Open

Ghc910 update#15
blackgnezdo wants to merge 13 commits intomasterfrom
ghc910-update

Conversation

@blackgnezdo
Copy link
Owner

@blackgnezdo blackgnezdo commented Feb 9, 2026

I made the mistake of touching ghc upgrade before the hackathon and mere
3.5 days later it's done. This time around I had Opus record the
journey. If somebody feels inspired it's available[^1].

The full set of patches is attached. The majority of it is
machine-generated version updates. Some things are not completely boring
as git-annex and darcs needed upstream patches or even fixing things up
upstream where they didn't test it on BSDs themselves.

I'm happy to take your feedback here or in the PR if you don't mind github:
#15

Highlights beyond the usual version bumps:

  • lang/ghc: new files/plan-openbsd.json created, bootstrap binaries updated
    from 9.8.3 to 9.10.3
  • devel/darcs: patches from upcoming darcs release to support ghc-9.10.3
  • devel/git-annex: upgraded to 10.20260115 with Kqueue patch updates; docs
    removed as newer hackage versions don't include them
  • net/matterhorn: dependency bounds relaxed for brick, vty, vty-crossplatform,
    data-clist, random, and aeson; new patches added
  • textproc/pandoc: upgraded to 3.9
  • x11/xmonad: new data-default dependency, data-default-class version updated

All of this is tested on amd64 and I'm still building it on aarch64.

I dropped the prebuilt binaries on github so people who feel inspired
can play with them. There's a copy for kili@ in cvs:~gnezdo/snapshot

[^1] https://github.com/openbsd/ports/blob/3e2915757e9ccec8b573cf07487c0555673491df/lang/ghc/UPGRADING.md

blackgnezdo and others added 13 commits February 9, 2026 12:33
Update bootstrap binaries from 9.8.3.20250914 to 9.10.3.20260203.
Patches are from darcs future release.
Relax dependency bounds for brick, vty, vty-crossplatform, data-clist,
random, and aeson to support GHC 9.10.3. Update cabal.inc with new
dependency versions and regenerate distinfo.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
There's no obvious place outside main git repository to get the docs.
@blackgnezdo
Copy link
Owner Author

To make it easy to use bootstraps:

--- a/lang/ghc/Makefile                                                                                                                                                     
+++ b/lang/ghc/Makefile                                                                                                                                                     
@@ -44,7 +44,7 @@ BUILD_DEPENDS =               archivers/bzip2 \                                                                                                           
 TEST_DEPENDS =         shells/bash                                                                                                                                         
                                                                                                                                                                            
 SITES =                        https://downloads.haskell.org/ghc/${GHC_VERSION}/                                                                                           
-SITES.boot =           https://openbsd.dead-parrot.de/distfiles/                                                                                                           
+SITES.boot =           https://github.com/blackgnezdo/ports/releases/download/ghc-9.10.3-20260203-bootstrap/                                                               
                                                                                                                                                                            
 DIST_SUBDIR =          ghc                                                                                                                                                 
                                                                                                                                                                            
@@ -59,7 +59,7 @@ DISTFILES =           ghc-${GHC_VERSION}-src.tar.xz \                                                                                                     
 DISTFILES.boot =       ${BINDISTFILE-${MACHINE_ARCH}}                                                                                                                      
                                                                                                                                                                            
 DISTFILES.noextract =  hadrian-sources-${BIN_VER}.tar.gz                                                                                                                   
-SITES.noextract =      https://openbsd.dead-parrot.de/distfiles/                                                                                                           
+SITES.noextract =      ${SITES.boot}                                                                                                                                       
                                                                                                                                                                            
 EXTRACT_ONLY =         ${DISTFILES} ${DISTFILES.boot}                                                                                                                      

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant