Build #1 for bindings-GLFW-3.3.9.3

[all reports]

Package bindings-GLFW-3.3.9.3
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2025-10-13 13:31:37.530111436 UTC
Compiler ghc-9.8.4
OS linux
Arch x86_64
Dependencies base-4.19.2.0, bindings-DSL-1.0.25
Flags -exposenative macosxusechdir macosxusemenubar macosxuseretina -osmesa -system-glfw -wayland x

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring bindings-DSL-1.0.25...
Preprocessing library for bindings-DSL-1.0.25..
Building library for bindings-DSL-1.0.25..
[1 of 1] Compiling Bindings.Utilities ( Bindings/Utilities.hs, dist/build/Bindings/Utilities.o, dist/build/Bindings/Utilities.dyn_o )

Bindings/Utilities.hs:2:1: warning: [GHC-94817] [-Wtabs]
    Tab character found here, and in 11 further locations.
    Suggested fix: Please use spaces instead.
  |
2 |         storableCast,
  | ^^^^^^^^

Bindings/Utilities.hs:15:54: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
   |
15 | storableCast a = storableCastArray [a] >>= (return . head)
   |                                                      ^^^^

Bindings/Utilities.hs:33:50: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
   |
33 |         let (q,r) = divMod (length a * (sizeOf . head) a) (sizeOf u)
   |                                                  ^^^^
Preprocessing library for bindings-DSL-1.0.25..
Running Haddock on library for bindings-DSL-1.0.25..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[1 of 1] Compiling Bindings.Utilities ( Bindings/Utilities.hs, nothing )

Bindings/Utilities.hs:2:1: warning: [GHC-94817] [-Wtabs]
    Tab character found here, and in 11 further locations.
    Suggested fix: Please use spaces instead.
  |
2 |         storableCast,
  | ^^^^^^^^

Bindings/Utilities.hs:15:54: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
   |
15 | storableCast a = storableCastArray [a] >>= (return . head)
   |                                                      ^^^^

Bindings/Utilities.hs:33:50: warning: [GHC-63394] [-Wx-partial]
    In the use of head
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
   |
33 |         let (q,r) = divMod (length a * (sizeOf . head) a) (sizeOf u)
   |                                                  ^^^^
Haddock coverage:
  66% (  2 /  3) in 'Bindings.Utilities'
  Missing documentation for:
    Module header
Documentation created: dist/doc/html/bindings-DSL/,
dist/doc/html/bindings-DSL/bindings-DSL.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/bindings-DSL-1.0.25-5zaP8LdvPgGGNP1Fee6vvL
Completed    bindings-DSL-1.0.25
Downloading  bindings-GLFW-3.3.9.3
Downloaded   bindings-GLFW-3.3.9.3
Configuring bindings-GLFW-3.3.9.3...
Preprocessing library for bindings-GLFW-3.3.9.3..
Building library for bindings-GLFW-3.3.9.3..
[1 of 1] Compiling Bindings.GLFW    ( dist/build/Bindings/GLFW.hs, dist/build/Bindings/GLFW.o, dist/build/Bindings/GLFW.dyn_o )
In file included from glfw/src/x11_platform.h:33,
                 from glfw/src/internal.h:188,

                 from glfw/src/context.c:30:0: error: 

/nix/store/4lk7dvwsii9dcp11bxqbigj6549avnqy-libX11-1.8.12-dev/include/X11/Xlib.h:44:10: error:
     fatal error: X11/X.h: No such file or directory
       44 | #include <X11/X.h>
          |          ^~~~~~~~~
   |
44 | #include <X11/X.h>
   |          ^
compilation terminated.
`cc' failed in phase `C Compiler'. (Exit code: 1)
Failed to install bindings-GLFW-3.3.9.3
Error: cabal: Some packages failed to install:
bindings-GLFW-3.3.9.3-Fo4qRBsFNVF4fwBJSR7bC9 failed during the building phase.
The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.