Skip to content

Conversation

@elopez
Copy link
Collaborator

@elopez elopez commented Jan 8, 2026

Description

Windows build appears to be affected by kazu-yamamoto/crypton-certificate#27

Failed to build crypton-x509-store-1.6.13.
Build log (
C:\cabal\logs\ghc-9.8.4\crypton-x509-_-1.6.13-55d2f9d81a282125cd8c29d0e632261e4600cf02.log
):
Preprocessing library for crypton-x509-store-1.6.13...
Building library for crypton-x509-store-1.6.13...
Error: [Cabal-7125]

Failed to build crypton-x509-store-1.6.13 (which is required by wreq-0.5.4.3). See the build log above for details.
Data\X509\File.hs:19:35: error:

Error:      error: function-like macro 'MIN_VERSION_unix' is not defined
   |
19 | #if !defined(mingw32_HOST_OS) && (MIN_VERSION_unix(2,8,0))
   |                                   ^
#if !defined(mingw32_HOST_OS) && (MIN_VERSION_unix(2,8,0))
                                  ^

Data\X509\File.hs:31:35: error:
Error:      error: function-like macro 'MIN_VERSION_unix' is not defined
   |
31 | #if defined(mingw32_HOST_OS) || !(MIN_VERSION_unix(2,8,0))
   |                                   ^
#if defined(mingw32_HOST_OS) || !(MIN_VERSION_unix(2,8,0))
                                  ^
2 errors generated.

Data\X509\File.hs:1:1: error:
Error:     `clang.exe' failed in phase `C pre-processor'. (Exit code: 1)
  |
1 | {-# LANGUAGE CPP #-}
  | ^
Error: Process completed with exit code 1.

Checklist

  • tested locally
  • added automated tests
  • updated the docs
  • updated the changelog

@elopez elopez marked this pull request as ready for review January 8, 2026 13:38
@elopez elopez requested a review from blishko January 8, 2026 13:39
Copy link
Collaborator

@blishko blishko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@blishko blishko merged commit 1f02fd8 into main Jan 8, 2026
7 checks passed
@blishko blishko deleted the fix-win branch January 8, 2026 21:25
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.

3 participants