Build #2 for JuicyPixels-jpeg-turbo-0.1.0.0

[all reports]

Package JuicyPixels-jpeg-turbo-0.1.0.0
Install DependencyFailed JuicyPixels-jpeg-turbo-0.1.0.0
Docs NotTried
Tests NotTried
Time submitted 2025-05-10 13:40:43.817197663 UTC
Compiler ghc-9.8.4
OS linux
Arch x86_64
Dependencies JuicyPixels-3.3.9, base-4.19.2.0, bytestring-0.12.1.0, jpeg-turbo-0.1.0.0, vector-0.13.2.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring colour-2.3.6...
Preprocessing library for colour-2.3.6..
Building library for colour-2.3.6..
[ 1 of 14] Compiling Data.Colour.CIE.Chromaticity ( Data/Colour/CIE/Chromaticity.hs, dist/build/Data/Colour/CIE/Chromaticity.o, dist/build/Data/Colour/CIE/Chromaticity.dyn_o )
[ 2 of 14] Compiling Data.Colour.CIE.Illuminant ( Data/Colour/CIE/Illuminant.hs, dist/build/Data/Colour/CIE/Illuminant.o, dist/build/Data/Colour/CIE/Illuminant.dyn_o )
[ 3 of 14] Compiling Data.Colour.Chan ( Data/Colour/Chan.hs, dist/build/Data/Colour/Chan.o, dist/build/Data/Colour/Chan.dyn_o )
[ 4 of 14] Compiling Data.Colour.Internal ( Data/Colour/Internal.hs, dist/build/Data/Colour/Internal.o, dist/build/Data/Colour/Internal.dyn_o )
[ 5 of 14] Compiling Data.Colour.Matrix ( Data/Colour/Matrix.hs, dist/build/Data/Colour/Matrix.o, dist/build/Data/Colour/Matrix.dyn_o )
[ 6 of 14] Compiling Data.Colour.RGB  ( Data/Colour/RGB.hs, dist/build/Data/Colour/RGB.o, dist/build/Data/Colour/RGB.dyn_o )
[ 7 of 14] Compiling Data.Colour.RGBSpace.HSL ( Data/Colour/RGBSpace/HSL.hs, dist/build/Data/Colour/RGBSpace/HSL.o, dist/build/Data/Colour/RGBSpace/HSL.dyn_o )
[ 8 of 14] Compiling Data.Colour.RGBSpace.HSV ( Data/Colour/RGBSpace/HSV.hs, dist/build/Data/Colour/RGBSpace/HSV.o, dist/build/Data/Colour/RGBSpace/HSV.dyn_o )
[ 9 of 14] Compiling Data.Colour.SRGB.Linear ( Data/Colour/SRGB/Linear.hs, dist/build/Data/Colour/SRGB/Linear.o, dist/build/Data/Colour/SRGB/Linear.dyn_o )
[10 of 14] Compiling Data.Colour.RGBSpace ( Data/Colour/RGBSpace.hs, dist/build/Data/Colour/RGBSpace.o, dist/build/Data/Colour/RGBSpace.dyn_o )
[11 of 14] Compiling Data.Colour.SRGB ( Data/Colour/SRGB.hs, dist/build/Data/Colour/SRGB.o, dist/build/Data/Colour/SRGB.dyn_o )

Data/Colour/SRGB.hs:117:8: 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."
    |
117 |   x' | head x == '#' = tail x
    |        ^^^^

Data/Colour/SRGB.hs:117:24: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
117 |   x' | head x == '#' = tail x
    |                        ^^^^

Data/Colour/SRGB.hs:127: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."
    |
127 | sRGB24read x | length rx /= 1 || not (null (snd (head rx))) =
    |                                                  ^^^^

Data/Colour/SRGB.hs:129:33: 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."
    |
129 |              | otherwise = fst (head rx)
    |                                 ^^^^
[12 of 14] Compiling Data.Colour      ( Data/Colour.hs, dist/build/Data/Colour.o, dist/build/Data/Colour.dyn_o )
[13 of 14] Compiling Data.Colour.Names ( Data/Colour/Names.hs, dist/build/Data/Colour/Names.o, dist/build/Data/Colour/Names.dyn_o )
[14 of 14] Compiling Data.Colour.CIE  ( Data/Colour/CIE.hs, dist/build/Data/Colour/CIE.o, dist/build/Data/Colour/CIE.dyn_o )
Preprocessing library for colour-2.3.6..
Running Haddock on library for colour-2.3.6..
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
[ 1 of 14] Compiling Data.Colour.CIE.Chromaticity ( Data/Colour/CIE/Chromaticity.hs, nothing )
[ 2 of 14] Compiling Data.Colour.CIE.Illuminant ( Data/Colour/CIE/Illuminant.hs, nothing )
[ 3 of 14] Compiling Data.Colour.Chan ( Data/Colour/Chan.hs, nothing )
[ 4 of 14] Compiling Data.Colour.Internal ( Data/Colour/Internal.hs, nothing )
[ 5 of 14] Compiling Data.Colour.Matrix ( Data/Colour/Matrix.hs, nothing )
[ 6 of 14] Compiling Data.Colour.RGB  ( Data/Colour/RGB.hs, nothing )
[ 7 of 14] Compiling Data.Colour.RGBSpace.HSL ( Data/Colour/RGBSpace/HSL.hs, nothing )
[ 8 of 14] Compiling Data.Colour.RGBSpace.HSV ( Data/Colour/RGBSpace/HSV.hs, nothing )
[ 9 of 14] Compiling Data.Colour.SRGB.Linear ( Data/Colour/SRGB/Linear.hs, nothing )
[10 of 14] Compiling Data.Colour.RGBSpace ( Data/Colour/RGBSpace.hs, nothing )
[11 of 14] Compiling Data.Colour.SRGB ( Data/Colour/SRGB.hs, nothing )

Data/Colour/SRGB.hs:117:8: 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."
    |
117 |   x' | head x == '#' = tail x
    |        ^^^^

Data/Colour/SRGB.hs:117:24: warning: [GHC-63394] [-Wx-partial]
    In the use of tail
    (imported from Prelude, but defined in GHC.List):
    "This is a partial function, it throws an error on empty lists. Replace it with drop 1, or use pattern matching or Data.List.uncons instead. Consider refactoring to use Data.List.NonEmpty."
    |
117 |   x' | head x == '#' = tail x
    |                        ^^^^

Data/Colour/SRGB.hs:127: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."
    |
127 | sRGB24read x | length rx /= 1 || not (null (snd (head rx))) =
    |                                                  ^^^^

Data/Colour/SRGB.hs:129:33: 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."
    |
129 |              | otherwise = fst (head rx)
    |                                 ^^^^
[12 of 14] Compiling Data.Colour      ( Data/Colour.hs, nothing )
[13 of 14] Compiling Data.Colour.Names ( Data/Colour/Names.hs, nothing )
[14 of 14] Compiling Data.Colour.CIE  ( Data/Colour/CIE.hs, nothing )
Haddock coverage:
 100% ( 21 / 21) in 'Data.Colour.CIE.Illuminant'
Warning: 'RGBGamut' is ambiguous. It is defined
    * at Data/Colour/RGB.hs:54:17
    * at Data/Colour/RGB.hs:54:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at Data/Colour/RGB.hs:54:1
Warning: 'RGB' is ambiguous. It is defined
    * at Data/Colour/RGB.hs:30:14
    * at Data/Colour/RGB.hs:30:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at Data/Colour/RGB.hs:30:1
Warning: 'RGB' is ambiguous. It is defined
    * at Data/Colour/RGB.hs:30:14
    * at Data/Colour/RGB.hs:30:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at Data/Colour/RGB.hs:30:1
  85% (  6 /  7) in 'Data.Colour.RGBSpace.HSL'
  Missing documentation for:
    Module header
Warning: 'RGB' is ambiguous. It is defined
    * at Data/Colour/RGB.hs:30:14
    * at Data/Colour/RGB.hs:30:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at Data/Colour/RGB.hs:30:1
  85% (  6 /  7) in 'Data.Colour.RGBSpace.HSV'
  Missing documentation for:
    Module header
 100% (  6 /  6) in 'Data.Colour.SRGB.Linear'
Warning: 'RGBSpace' is ambiguous. It is defined
    * at Data/Colour/RGBSpace.hs:122:19
    * at Data/Colour/RGBSpace.hs:122:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at Data/Colour/RGBSpace.hs:122:1
Warning: 'TransferFunction' is ambiguous. It is defined
    * at Data/Colour/RGBSpace.hs:92:27
    * at Data/Colour/RGBSpace.hs:92:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at Data/Colour/RGBSpace.hs:92:1
Warning: 'RGB' is ambiguous. It is defined
    * at Data/Colour/RGB.hs:30:14
    * at Data/Colour/RGB.hs:30:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at Data/Colour/RGB.hs:30:1
Warning: 'RGBGamut' is ambiguous. It is defined
    * at Data/Colour/RGB.hs:54:17
    * at Data/Colour/RGB.hs:54:1
    You may be able to disambiguate the identifier by qualifying it or
    by specifying the type/value namespace explicitly.
    Defaulting to the one defined at Data/Colour/RGB.hs:54:1
  83% ( 20 / 24) in 'Data.Colour.RGBSpace'
  Missing documentation for:
    primaries
    whitePoint
    gamut
    transferFunction
 100% ( 14 / 14) in 'Data.Colour.SRGB'
  85% ( 17 / 20) in 'Data.Colour'
  Missing documentation for:
    black (Data/Colour/Internal.hs:53)
    AffineSpace (Data/Colour/Internal.hs:110)
    ColourOps (Data/Colour/Internal.hs:147)
   0% (  1 /149) in 'Data.Colour.Names'
  Missing documentation for:
    readColourName (Data/Colour/Names.hs:190)
    aliceblue (Data/Colour/Names.hs:341)
    antiquewhite (Data/Colour/Names.hs:344)
    aqua (Data/Colour/Names.hs:347)
    aquamarine (Data/Colour/Names.hs:350)
    azure (Data/Colour/Names.hs:353)
    beige (Data/Colour/Names.hs:356)
    bisque (Data/Colour/Names.hs:359)
    black (Data/Colour/Internal.hs:53)
    blanchedalmond (Data/Colour/Names.hs:364)
    blue (Data/Colour/Names.hs:367)
    blueviolet (Data/Colour/Names.hs:370)
    brown (Data/Colour/Names.hs:373)
    burlywood (Data/Colour/Names.hs:376)
    cadetblue (Data/Colour/Names.hs:379)
    chartreuse (Data/Colour/Names.hs:382)
    chocolate (Data/Colour/Names.hs:385)
    coral (Data/Colour/Names.hs:388)
    cornflowerblue (Data/Colour/Names.hs:391)
    cornsilk (Data/Colour/Names.hs:394)
    crimson (Data/Colour/Names.hs:397)
    cyan (Data/Colour/Names.hs:400)
    darkblue (Data/Colour/Names.hs:403)
    darkcyan (Data/Colour/Names.hs:406)
    darkgoldenrod (Data/Colour/Names.hs:409)
    darkgray (Data/Colour/Names.hs:412)
    darkgreen (Data/Colour/Names.hs:415)
    darkgrey (Data/Colour/Names.hs:418)
    darkkhaki (Data/Colour/Names.hs:421)
    darkmagenta (Data/Colour/Names.hs:424)
    darkolivegreen (Data/Colour/Names.hs:427)
    darkorange (Data/Colour/Names.hs:430)
    darkorchid (Data/Colour/Names.hs:433)
    darkred (Data/Colour/Names.hs:436)
    darksalmon (Data/Colour/Names.hs:439)
    darkseagreen (Data/Colour/Names.hs:442)
    darkslateblue (Data/Colour/Names.hs:445)
    darkslategray (Data/Colour/Names.hs:448)
    darkslategrey (Data/Colour/Names.hs:451)
    darkturquoise (Data/Colour/Names.hs:454)
    darkviolet (Data/Colour/Names.hs:457)
    deeppink (Data/Colour/Names.hs:460)
    deepskyblue (Data/Colour/Names.hs:463)
    dimgray (Data/Colour/Names.hs:466)
    dimgrey (Data/Colour/Names.hs:469)
    dodgerblue (Data/Colour/Names.hs:472)
    firebrick (Data/Colour/Names.hs:475)
    floralwhite (Data/Colour/Names.hs:478)
    forestgreen (Data/Colour/Names.hs:481)
    fuchsia (Data/Colour/Names.hs:484)
    gainsboro (Data/Colour/Names.hs:487)
    ghostwhite (Data/Colour/Names.hs:490)
    gold (Data/Colour/Names.hs:493)
    goldenrod (Data/Colour/Names.hs:496)
    gray (Data/Colour/Names.hs:499)
    grey (Data/Colour/Names.hs:502)
    green (Data/Colour/Names.hs:505)
    greenyellow (Data/Colour/Names.hs:508)
    honeydew (Data/Colour/Names.hs:511)
    hotpink (Data/Colour/Names.hs:514)
    indianred (Data/Colour/Names.hs:517)
    indigo (Data/Colour/Names.hs:520)
    ivory (Data/Colour/Names.hs:523)
    khaki (Data/Colour/Names.hs:526)
    lavender (Data/Colour/Names.hs:529)
    lavenderblush (Data/Colour/Names.hs:532)
    lawngreen (Data/Colour/Names.hs:535)
    lemonchiffon (Data/Colour/Names.hs:538)
    lightblue (Data/Colour/Names.hs:541)
    lightcoral (Data/Colour/Names.hs:544)
    lightcyan (Data/Colour/Names.hs:547)
    lightgoldenrodyellow (Data/Colour/Names.hs:550)
    lightgray (Data/Colour/Names.hs:553)
    lightgreen (Data/Colour/Names.hs:556)
    lightgrey (Data/Colour/Names.hs:559)
    lightpink (Data/Colour/Names.hs:562)
    lightsalmon (Data/Colour/Names.hs:565)
    lightseagreen (Data/Colour/Names.hs:568)
    lightskyblue (Data/Colour/Names.hs:571)
    lightslategray (Data/Colour/Names.hs:574)
    lightslategrey (Data/Colour/Names.hs:577)
    lightsteelblue (Data/Colour/Names.hs:580)
    lightyellow (Data/Colour/Names.hs:583)
    lime (Data/Colour/Names.hs:586)
    limegreen (Data/Colour/Names.hs:589)
    linen (Data/Colour/Names.hs:592)
    magenta (Data/Colour/Names.hs:595)
    maroon (Data/Colour/Names.hs:598)
    mediumaquamarine (Data/Colour/Names.hs:601)
    mediumblue (Data/Colour/Names.hs:604)
    mediumorchid (Data/Colour/Names.hs:607)
    mediumpurple (Data/Colour/Names.hs:610)
    mediumseagreen (Data/Colour/Names.hs:613)
    mediumslateblue (Data/Colour/Names.hs:616)
    mediumspringgreen (Data/Colour/Names.hs:619)
    mediumturquoise (Data/Colour/Names.hs:622)
    mediumvioletred (Data/Colour/Names.hs:625)
    midnightblue (Data/Colour/Names.hs:628)
    mintcream (Data/Colour/Names.hs:631)
    mistyrose (Data/Colour/Names.hs:634)
    moccasin (Data/Colour/Names.hs:637)
    navajowhite (Data/Colour/Names.hs:640)
    navy (Data/Colour/Names.hs:643)
    oldlace (Data/Colour/Names.hs:646)
    olive (Data/Colour/Names.hs:649)
    olivedrab (Data/Colour/Names.hs:652)
    orange (Data/Colour/Names.hs:655)
    orangered (Data/Colour/Names.hs:658)
    orchid (Data/Colour/Names.hs:661)
    palegoldenrod (Data/Colour/Names.hs:664)
    palegreen (Data/Colour/Names.hs:667)
    paleturquoise (Data/Colour/Names.hs:670)
    palevioletred (Data/Colour/Names.hs:673)
    papayawhip (Data/Colour/Names.hs:676)
    peachpuff (Data/Colour/Names.hs:679)
    peru (Data/Colour/Names.hs:682)
    pink (Data/Colour/Names.hs:685)
    plum (Data/Colour/Names.hs:688)
    powderblue (Data/Colour/Names.hs:691)
    purple (Data/Colour/Names.hs:694)
    red (Data/Colour/Names.hs:697)
    rosybrown (Data/Colour/Names.hs:700)
    royalblue (Data/Colour/Names.hs:703)
    saddlebrown (Data/Colour/Names.hs:706)
    salmon (Data/Colour/Names.hs:709)
    sandybrown (Data/Colour/Names.hs:712)
    seagreen (Data/Colour/Names.hs:715)
    seashell (Data/Colour/Names.hs:718)
    sienna (Data/Colour/Names.hs:721)
    silver (Data/Colour/Names.hs:724)
    skyblue (Data/Colour/Names.hs:727)
    slateblue (Data/Colour/Names.hs:730)
    slategray (Data/Colour/Names.hs:733)
    slategrey (Data/Colour/Names.hs:736)
    snow (Data/Colour/Names.hs:739)
    springgreen (Data/Colour/Names.hs:742)
    steelblue (Data/Colour/Names.hs:745)
    tan (Data/Colour/Names.hs:748)
    teal (Data/Colour/Names.hs:751)
    thistle (Data/Colour/Names.hs:754)
    tomato (Data/Colour/Names.hs:757)
    turquoise (Data/Colour/Names.hs:760)
    violet (Data/Colour/Names.hs:763)
    wheat (Data/Colour/Names.hs:766)
    white (Data/Colour/Names.hs:769)
    whitesmoke (Data/Colour/Names.hs:772)
    yellow (Data/Colour/Names.hs:775)
    yellowgreen (Data/Colour/Names.hs:778)
Warning: 'toCIEXYZ' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'cieXYZView' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
  88% ( 15 / 17) in 'Data.Colour.CIE'
  Missing documentation for:
    toCIEXYZ (Data/Colour/CIE.hs:65)
    Chromaticity (Data/Colour/CIE/Chromaticity.hs:25)
Documentation created: dist/doc/html/colour/, dist/doc/html/colour/colour.txt
Installing library in /var/lib/hackage-doc-builder/build-cache/tmp-install/lib/x86_64-linux-ghc-9.8.4/colour-2.3.6-JegldMtiv9a8c4VaIBFkGx
Warning: Unable to strip executable or library
'libHScolour-2.3.6-JegldMtiv9a8c4VaIBFkGx' (missing the 'strip' program)
Warning: Unable to strip executable or library
'libHScolour-2.3.6-JegldMtiv9a8c4VaIBFkGx-ghc9.8.4' (missing the 'strip'
program)
Completed    colour-2.3.6
Configuring jpeg-turbo-0.1.0.0...
Preprocessing library for jpeg-turbo-0.1.0.0..
compiling dist/build/TurboJPEG2_hsc_make.c failed (exit code 1)
rsp file was: "dist/build/hsc2hscall3086523-0.rsp"
command was: /nix/store/8v6k283dpbc0qkdq81nb6mrxrgcb10i1-gcc-wrapper-14-20241116/bin/cc -c dist/build/TurboJPEG2_hsc_make.c -o dist/build/TurboJPEG2_hsc_make.o -fuse-ld=gold -D__GLASGOW_HASKELL__=908 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Idist/build/autogen -Idist/build/global-autogen -include dist/build/autogen/cabal_macros.h -I/nix/store/gnr4hpc97ixaddjqbzrxg37xb169pxrq-ghc-9.8.4/lib/ghc-9.8.4/lib/../lib/x86_64-linux-ghc-9.8.4/bytestring-0.12.1.0-inplace/include -I/nix/store/gnr4hpc97ixaddjqbzrxg37xb169pxrq-ghc-9.8.4/lib/ghc-9.8.4/lib/../lib/x86_64-linux-ghc-9.8.4/base-4.19.2.0-inplace/include -I/nix/store/5rj14f8rsv82krh3fnswrg63wq0rl2lp-gmp-with-cxx-6.3.0-dev/include -I/nix/store/gnr4hpc97ixaddjqbzrxg37xb169pxrq-ghc-9.8.4/lib/ghc-9.8.4/lib/../lib/x86_64-linux-ghc-9.8.4/ghc-bignum-1.3-inplace/include -I/nix/store/286lipxqzz7s1arwb22rx2yy4s32gd9y-elfutils-0.192-dev/include -I/nix/store/7vf76fscw4v7h90pb8ai2mrs0bgk5qli-libffi-3.4.6-dev/include -I/nix/store/gnr4hpc97ixaddjqbzrxg37xb169pxrq-ghc-9.8.4/lib/ghc-9.8.4/lib/../lib/x86_64-linux-ghc-9.8.4/rts-1.0.2/include -I/nix/store/gnr4hpc97ixaddjqbzrxg37xb169pxrq-ghc-9.8.4/include/include/
error: TurboJPEG2.hsc:11:10: fatal error: turbojpeg.h: No such file or directory
compilation terminated.

Failed to install jpeg-turbo-0.1.0.0
Error: cabal: Some packages failed to install:
JuicyPixels-jpeg-turbo-0.1.0.0-545T0gu8JldEyGL3Rriiig depends on
JuicyPixels-jpeg-turbo-0.1.0.0 which failed to install.
jpeg-turbo-0.1.0.0-IwHaiocwhNgJSFSJwYvdaj failed during the building phase.
The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.