I was trying to install freetype2 after trying to use brillo.
(base) myname@My-computer Documents % cabal install freetype2
Cabal install warning
Resolving dependencies...
Build profile: -w ghc-9.14.1 -O1
In order, the following will be built (use -v for more details):
- freetype2-0.2.0 (lib) (requires build)
Warning:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: Installation might not be completed as desired! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
The command "cabal install [TARGETS]" doesn't expose libraries.
* You might have wanted to add them as dependencies to your package. In this
case add "freetype2" to the build-depends field(s) of your package's .cabal
file.
* You might have wanted to add them to a GHC environment. In this case use
"cabal install --lib freetype2". The "--lib" flag is provisional: see
https://github.com/haskell/cabal/issues/6481 for more information.
Starting freetype2-0.2.0 (lib)
Building freetype2-0.2.0 (lib)
Error message
Failed to build freetype2-0.2.0.
Build log (
/Users/myname/.cache/cabal/logs/ghc-9.14.1/frtyp2-0.2.0-2bb885a5.log ):
Configuring library for freetype2-0.2.0...
Warning: [git-protocol] Cloning over git:// might lead to an arbitrary code
execution vulnerability. Furthermore, popular forges like GitHub do not
support it. Use https:// or ssh:// instead.
Cabal module compilation log
Preprocessing library for freetype2-0.2.0...
Building library for freetype2-0.2.0...
[ 1 of 106] Compiling FreeType.Core.Mac ( dist/build/FreeType/Core/Mac.hs, dist/build/FreeType/Core/Mac.o, dist/build/FreeType/Core/Mac.dyn_o )
[ 2 of 106] Compiling FreeType.Core.Mac.Internal ( dist/build/FreeType/Core/Mac/Internal.hs, dist/build/FreeType/Core/Mac/Internal.o, dist/build/FreeType/Core/Mac/Internal.dyn_o )
[ 3 of 106] Compiling FreeType.Core.Mac.Types ( FreeType/Core/Mac/Types.hs, dist/build/FreeType/Core/Mac/Types.o, dist/build/FreeType/Core/Mac/Types.dyn_o )
[ 4 of 106] Compiling FreeType.Error.Values ( dist/build/FreeType/Error/Values.hs, dist/build/FreeType/Error/Values.o, dist/build/FreeType/Error/Values.dyn_o )
[ 5 of 106] Compiling FreeType.Exception.Types ( dist/build/FreeType/Exception/Types.hs, dist/build/FreeType/Exception/Types.o, dist/build/FreeType/Exception/Types.dyn_o )
FreeType/Exception/Types.hsc:21:25: warning: [GHC-90584] [-Wderiving-typeable]
• Deriving ‘Typeable’ has no effect: all types now auto-derive Typeable
• In the data type declaration for ‘FtError’
|
21 | deriving Typeable
| ^^^^^^^^
[ 6 of 106] Compiling FreeType.Exception.Internal ( dist/build/FreeType/Exception/Internal.hs, dist/build/FreeType/Exception/Internal.o, dist/build/FreeType/Exception/Internal.dyn_o )
[ 7 of 106] Compiling FreeType.Exception ( FreeType/Exception.hs, dist/build/FreeType/Exception.o, dist/build/FreeType/Exception.dyn_o )
[ 8 of 106] Compiling FreeType.Core.Types.Types ( dist/build/FreeType/Core/Types/Types.hs, dist/build/FreeType/Core/Types/Types.o, dist/build/FreeType/Core/Types/Types.dyn_o )
[ 9 of 106] Compiling FreeType.Error.Enumerations.Internal ( dist/build/FreeType/Error/Enumerations/Internal.hs, dist/build/FreeType/Error/Enumerations/Internal.o, dist/build/FreeType/Error/Enumerations/Internal.dyn_o )
[ 10 of 106] Compiling FreeType.Error.Enumerations ( dist/build/FreeType/Error/Enumerations.hs, dist/build/FreeType/Error/Enumerations.o, dist/build/FreeType/Error/Enumerations.dyn_o )
[ 11 of 106] Compiling FreeType.Core.Types ( dist/build/FreeType/Core/Types.hs, dist/build/FreeType/Core/Types.o, dist/build/FreeType/Core/Types.dyn_o )
[ 12 of 106] Compiling FreeType.Core.Layer.Types ( dist/build/FreeType/Core/Layer/Types.hs, dist/build/FreeType/Core/Layer/Types.o, dist/build/FreeType/Core/Layer/Types.dyn_o )
[ 13 of 106] Compiling FreeType.Core.Color.Types ( dist/build/FreeType/Core/Color/Types.hs, dist/build/FreeType/Core/Color/Types.o, dist/build/FreeType/Core/Color/Types.dyn_o )
[ 14 of 106] Compiling FreeType.Control.Subpixel.Types ( dist/build/FreeType/Control/Subpixel/Types.hs, dist/build/FreeType/Control/Subpixel/Types.o, dist/build/FreeType/Control/Subpixel/Types.dyn_o )
[ 15 of 106] Compiling FreeType.Control.Parameter.Internal ( dist/build/FreeType/Control/Parameter/Internal.hs, dist/build/FreeType/Control/Parameter/Internal.o, dist/build/FreeType/Control/Parameter/Internal.dyn_o )
[ 16 of 106] Compiling FreeType.Control.Parameter ( dist/build/FreeType/Control/Parameter.hs, dist/build/FreeType/Control/Parameter.o, dist/build/FreeType/Control/Parameter.dyn_o )
[ 17 of 106] Compiling FreeType.Circular.Types ( dist/build/FreeType/Circular/Types.hs, dist/build/FreeType/Circular/Types.o, dist/build/FreeType/Circular/Types.dyn_o )
[ 18 of 106] Compiling FreeType.Core.Unicode ( dist/build/FreeType/Core/Unicode.hs, dist/build/FreeType/Core/Unicode.o, dist/build/FreeType/Core/Unicode.dyn_o )
[ 19 of 106] Compiling FreeType.Core.Base.Types ( dist/build/FreeType/Core/Base/Types.hs, dist/build/FreeType/Core/Base/Types.o, dist/build/FreeType/Core/Base/Types.dyn_o )
[ 20 of 106] Compiling FreeType.Core.Size.Internal ( dist/build/FreeType/Core/Size/Internal.hs, dist/build/FreeType/Core/Size/Internal.o, dist/build/FreeType/Core/Size/Internal.dyn_o )
[ 21 of 106] Compiling FreeType.Core.Size ( dist/build/FreeType/Core/Size.hs, dist/build/FreeType/Core/Size.o, dist/build/FreeType/Core/Size.dyn_o )
[ 22 of 106] Compiling FreeType.Core.Layer ( dist/build/FreeType/Core/Layer.hs, dist/build/FreeType/Core/Layer.o, dist/build/FreeType/Core/Layer.dyn_o )
[ 23 of 106] Compiling FreeType.Core.Color.Internal ( dist/build/FreeType/Core/Color/Internal.hs, dist/build/FreeType/Core/Color/Internal.o, dist/build/FreeType/Core/Color/Internal.dyn_o )
[ 24 of 106] Compiling FreeType.Core.Color ( dist/build/FreeType/Core/Color.hs, dist/build/FreeType/Core/Color.o, dist/build/FreeType/Core/Color.dyn_o )
[ 25 of 106] Compiling FreeType.Control.Driver.Types ( dist/build/FreeType/Control/Driver/Types.hs, dist/build/FreeType/Control/Driver/Types.o, dist/build/FreeType/Control/Driver/Types.dyn_o )
[ 26 of 106] Compiling FreeType.Control.Driver ( dist/build/FreeType/Control/Driver.hs, dist/build/FreeType/Control/Driver.o, dist/build/FreeType/Control/Driver.dyn_o )
[ 27 of 106] Compiling FreeType.Core.Base.Internal ( dist/build/FreeType/Core/Base/Internal.hs, dist/build/FreeType/Core/Base/Internal.o, dist/build/FreeType/Core/Base/Internal.dyn_o )
[ 28 of 106] Compiling FreeType.Core.Base ( dist/build/FreeType/Core/Base.hs, dist/build/FreeType/Core/Base.o, dist/build/FreeType/Core/Base.dyn_o )
[ 29 of 106] Compiling FreeType.Core.Version.Internal ( dist/build/FreeType/Core/Version/Internal.hs, dist/build/FreeType/Core/Version/Internal.o, dist/build/FreeType/Core/Version/Internal.dyn_o )
[ 30 of 106] Compiling FreeType.Core.Version ( dist/build/FreeType/Core/Version.hs, dist/build/FreeType/Core/Version.o, dist/build/FreeType/Core/Version.dyn_o )
[ 31 of 106] Compiling FreeType.Control.Subpixel.Internal ( dist/build/FreeType/Control/Subpixel/Internal.hs, dist/build/FreeType/Control/Subpixel/Internal.o, dist/build/FreeType/Control/Subpixel/Internal.dyn_o )
[ 32 of 106] Compiling FreeType.Control.Subpixel ( dist/build/FreeType/Control/Subpixel.hs, dist/build/FreeType/Control/Subpixel.o, dist/build/FreeType/Control/Subpixel.dyn_o )
[ 33 of 106] Compiling FreeType.Cache.Types ( dist/build/FreeType/Cache/Types.hs, dist/build/FreeType/Cache/Types.o, dist/build/FreeType/Cache/Types.dyn_o )
[ 34 of 106] Compiling FreeType.Format.BDF.Types ( dist/build/FreeType/Format/BDF/Types.hs, dist/build/FreeType/Format/BDF/Types.o, dist/build/FreeType/Format/BDF/Types.dyn_o )
[ 35 of 106] Compiling FreeType.Format.BDF.Internal ( dist/build/FreeType/Format/BDF/Internal.hs, dist/build/FreeType/Format/BDF/Internal.o, dist/build/FreeType/Format/BDF/Internal.dyn_o )
[ 36 of 106] Compiling FreeType.Format.BDF ( dist/build/FreeType/Format/BDF.hs, dist/build/FreeType/Format/BDF.o, dist/build/FreeType/Format/BDF.dyn_o )
[ 37 of 106] Compiling FreeType.Format.CID.Internal ( dist/build/FreeType/Format/CID/Internal.hs, dist/build/FreeType/Format/CID/Internal.o, dist/build/FreeType/Format/CID/Internal.dyn_o )
[ 38 of 106] Compiling FreeType.Format.CID ( dist/build/FreeType/Format/CID.hs, dist/build/FreeType/Format/CID.o, dist/build/FreeType/Format/CID.dyn_o )
[ 39 of 106] Compiling FreeType.Format.Font.Internal ( dist/build/FreeType/Format/Font/Internal.hs, dist/build/FreeType/Format/Font/Internal.o, dist/build/FreeType/Format/Font/Internal.dyn_o )
[ 40 of 106] Compiling FreeType.Format.Font ( dist/build/FreeType/Format/Font.hs, dist/build/FreeType/Format/Font.o, dist/build/FreeType/Format/Font.dyn_o )
[ 41 of 106] Compiling FreeType.Format.Gasp ( dist/build/FreeType/Format/Gasp.hs, dist/build/FreeType/Format/Gasp.o, dist/build/FreeType/Format/Gasp.dyn_o )
[ 42 of 106] Compiling FreeType.Format.Multiple.Types ( dist/build/FreeType/Format/Multiple/Types.hs, dist/build/FreeType/Format/Multiple/Types.o, dist/build/FreeType/Format/Multiple/Types.dyn_o )
[ 43 of 106] Compiling FreeType.Format.Multiple.Internal ( dist/build/FreeType/Format/Multiple/Internal.hs, dist/build/FreeType/Format/Multiple/Internal.o, dist/build/FreeType/Format/Multiple/Internal.dyn_o )
[ 44 of 106] Compiling FreeType.Format.Multiple ( dist/build/FreeType/Format/Multiple.hs, dist/build/FreeType/Format/Multiple.o, dist/build/FreeType/Format/Multiple.dyn_o )
[ 45 of 106] Compiling FreeType.Format.PFR.Internal ( dist/build/FreeType/Format/PFR/Internal.hs, dist/build/FreeType/Format/PFR/Internal.o, dist/build/FreeType/Format/PFR/Internal.dyn_o )
[ 46 of 106] Compiling FreeType.Format.PFR ( dist/build/FreeType/Format/PFR.hs, dist/build/FreeType/Format/PFR.o, dist/build/FreeType/Format/PFR.dyn_o )
[ 47 of 106] Compiling FreeType.Format.SFNT.Types ( dist/build/FreeType/Format/SFNT/Types.hs, dist/build/FreeType/Format/SFNT/Types.o, dist/build/FreeType/Format/SFNT/Types.dyn_o )
[ 48 of 106] Compiling FreeType.Format.SFNT.Internal ( dist/build/FreeType/Format/SFNT/Internal.hs, dist/build/FreeType/Format/SFNT/Internal.o, dist/build/FreeType/Format/SFNT/Internal.dyn_o )
[ 49 of 106] Compiling FreeType.Format.SFNT ( dist/build/FreeType/Format/SFNT.hs, dist/build/FreeType/Format/SFNT.o, dist/build/FreeType/Format/SFNT.dyn_o )
[ 50 of 106] Compiling FreeType.Format.TrueType.Types ( dist/build/FreeType/Format/TrueType/Types.hs, dist/build/FreeType/Format/TrueType/Types.o, dist/build/FreeType/Format/TrueType/Types.dyn_o )
[ 51 of 106] Compiling FreeType.Format.TrueType.Internal ( dist/build/FreeType/Format/TrueType/Internal.hs, dist/build/FreeType/Format/TrueType/Internal.o, dist/build/FreeType/Format/TrueType/Internal.dyn_o )
[ 52 of 106] Compiling FreeType.Format.TrueType ( dist/build/FreeType/Format/TrueType.hs, dist/build/FreeType/Format/TrueType.o, dist/build/FreeType/Format/TrueType.dyn_o )
[ 53 of 106] Compiling FreeType.Format.Type1.Types ( dist/build/FreeType/Format/Type1/Types.hs, dist/build/FreeType/Format/Type1/Types.o, dist/build/FreeType/Format/Type1/Types.dyn_o )
[ 54 of 106] Compiling FreeType.Format.Type1.Internal ( dist/build/FreeType/Format/Type1/Internal.hs, dist/build/FreeType/Format/Type1/Internal.o, dist/build/FreeType/Format/Type1/Internal.dyn_o )
[ 55 of 106] Compiling FreeType.Format.Type1 ( dist/build/FreeType/Format/Type1.hs, dist/build/FreeType/Format/Type1.o, dist/build/FreeType/Format/Type1.dyn_o )
[ 56 of 106] Compiling FreeType.Format.WinFNT.Types ( dist/build/FreeType/Format/WinFNT/Types.hs, dist/build/FreeType/Format/WinFNT/Types.o, dist/build/FreeType/Format/WinFNT/Types.dyn_o )
[ 57 of 106] Compiling FreeType.Format.WinFNT.Internal ( dist/build/FreeType/Format/WinFNT/Internal.hs, dist/build/FreeType/Format/WinFNT/Internal.o, dist/build/FreeType/Format/WinFNT/Internal.dyn_o )
[ 58 of 106] Compiling FreeType.Format.WinFNT ( dist/build/FreeType/Format/WinFNT.hs, dist/build/FreeType/Format/WinFNT.o, dist/build/FreeType/Format/WinFNT.dyn_o )
[ 59 of 106] Compiling FreeType.Miscellaneous.Incremental.Types ( dist/build/FreeType/Miscellaneous/Incremental/Types.hs, dist/build/FreeType/Miscellaneous/Incremental/Types.o, dist/build/FreeType/Miscellaneous/Incremental/Types.dyn_o )
[ 60 of 106] Compiling FreeType.Miscellaneous.Incremental.Internal ( dist/build/FreeType/Miscellaneous/Incremental/Internal.hs, dist/build/FreeType/Miscellaneous/Incremental/Internal.o, dist/build/FreeType/Miscellaneous/Incremental/Internal.dyn_o )
[ 61 of 106] Compiling FreeType.Miscellaneous.Incremental ( dist/build/FreeType/Miscellaneous/Incremental.hs, dist/build/FreeType/Miscellaneous/Incremental.o, dist/build/FreeType/Miscellaneous/Incremental.dyn_o )
[ 62 of 106] Compiling FreeType.Miscellaneous.OpenType.Internal ( dist/build/FreeType/Miscellaneous/OpenType/Internal.hs, dist/build/FreeType/Miscellaneous/OpenType/Internal.o, dist/build/FreeType/Miscellaneous/OpenType/Internal.dyn_o )
[ 63 of 106] Compiling FreeType.Miscellaneous.OpenType ( dist/build/FreeType/Miscellaneous/OpenType.hs, dist/build/FreeType/Miscellaneous/OpenType.o, dist/build/FreeType/Miscellaneous/OpenType.dyn_o )
[ 64 of 106] Compiling FreeType.Miscellaneous.TrueType.Types ( dist/build/FreeType/Miscellaneous/TrueType/Types.hs, dist/build/FreeType/Miscellaneous/TrueType/Types.o, dist/build/FreeType/Miscellaneous/TrueType/Types.dyn_o )
[ 65 of 106] Compiling FreeType.Miscellaneous.TrueType.Internal ( dist/build/FreeType/Miscellaneous/TrueType/Internal.hs, dist/build/FreeType/Miscellaneous/TrueType/Internal.o, dist/build/FreeType/Miscellaneous/TrueType/Internal.dyn_o )
[ 66 of 106] Compiling FreeType.Miscellaneous.TrueType ( dist/build/FreeType/Miscellaneous/TrueType.hs, dist/build/FreeType/Miscellaneous/TrueType.o, dist/build/FreeType/Miscellaneous/TrueType.dyn_o )
[ 67 of 106] Compiling FreeType.Miscellaneous.TrueTypeGX.Internal ( dist/build/FreeType/Miscellaneous/TrueTypeGX/Internal.hs, dist/build/FreeType/Miscellaneous/TrueTypeGX/Internal.o, dist/build/FreeType/Miscellaneous/TrueTypeGX/Internal.dyn_o )
[ 68 of 106] Compiling FreeType.Miscellaneous.TrueTypeGX ( dist/build/FreeType/Miscellaneous/TrueTypeGX.hs, dist/build/FreeType/Miscellaneous/TrueTypeGX.o, dist/build/FreeType/Miscellaneous/TrueTypeGX.dyn_o )
[ 69 of 106] Compiling FreeType.Support.Advance.Internal ( dist/build/FreeType/Support/Advance/Internal.hs, dist/build/FreeType/Support/Advance/Internal.o, dist/build/FreeType/Support/Advance/Internal.dyn_o )
[ 70 of 106] Compiling FreeType.Support.Advance ( dist/build/FreeType/Support/Advance.hs, dist/build/FreeType/Support/Advance.o, dist/build/FreeType/Support/Advance.dyn_o )
[ 71 of 106] Compiling FreeType.Support.Bitmap.Internal ( dist/build/FreeType/Support/Bitmap/Internal.hs, dist/build/FreeType/Support/Bitmap/Internal.o, dist/build/FreeType/Support/Bitmap/Internal.dyn_o )
[ 72 of 106] Compiling FreeType.Support.Bitmap ( dist/build/FreeType/Support/Bitmap.hs, dist/build/FreeType/Support/Bitmap.o, dist/build/FreeType/Support/Bitmap.dyn_o )
[ 73 of 106] Compiling FreeType.Support.Computations.Types ( dist/build/FreeType/Support/Computations/Types.hs, dist/build/FreeType/Support/Computations/Types.o, dist/build/FreeType/Support/Computations/Types.dyn_o )
[ 74 of 106] Compiling FreeType.Support.Computations.Internal ( dist/build/FreeType/Support/Computations/Internal.hs, dist/build/FreeType/Support/Computations/Internal.o, dist/build/FreeType/Support/Computations/Internal.dyn_o )
[ 75 of 106] Compiling FreeType.Support.Computations ( dist/build/FreeType/Support/Computations.hs, dist/build/FreeType/Support/Computations.o, dist/build/FreeType/Support/Computations.dyn_o )
[ 76 of 106] Compiling FreeType.Support.Glyph.Types ( dist/build/FreeType/Support/Glyph/Types.hs, dist/build/FreeType/Support/Glyph/Types.o, dist/build/FreeType/Support/Glyph/Types.dyn_o )
[ 77 of 106] Compiling FreeType.Support.List.Types ( FreeType/Support/List/Types.hs, dist/build/FreeType/Support/List/Types.o, dist/build/FreeType/Support/List/Types.dyn_o )
[ 78 of 106] Compiling FreeType.Support.Outline.Types ( dist/build/FreeType/Support/Outline/Types.hs, dist/build/FreeType/Support/Outline/Types.o, dist/build/FreeType/Support/Outline/Types.dyn_o )
[ 79 of 106] Compiling FreeType.Core.Glyph.Types ( dist/build/FreeType/Core/Glyph/Types.hs, dist/build/FreeType/Core/Glyph/Types.o, dist/build/FreeType/Core/Glyph/Types.dyn_o )
[ 80 of 106] Compiling FreeType.Core.Glyph.Internal ( dist/build/FreeType/Core/Glyph/Internal.hs, dist/build/FreeType/Core/Glyph/Internal.o, dist/build/FreeType/Core/Glyph/Internal.dyn_o )
[ 81 of 106] Compiling FreeType.Core.Glyph ( dist/build/FreeType/Core/Glyph.hs, dist/build/FreeType/Core/Glyph.o, dist/build/FreeType/Core/Glyph.dyn_o )
[ 82 of 106] Compiling FreeType.Cache.Internal ( dist/build/FreeType/Cache/Internal.hs, dist/build/FreeType/Cache/Internal.o, dist/build/FreeType/Cache/Internal.dyn_o )
[ 83 of 106] Compiling FreeType.Cache ( dist/build/FreeType/Cache.hs, dist/build/FreeType/Cache.o, dist/build/FreeType/Cache.dyn_o )
[ 84 of 106] Compiling FreeType.Support.Scanline.Types ( dist/build/FreeType/Support/Scanline/Types.hs, dist/build/FreeType/Support/Scanline/Types.o, dist/build/FreeType/Support/Scanline/Types.dyn_o )
[ 85 of 106] Compiling FreeType.Support.Scanline.Internal ( dist/build/FreeType/Support/Scanline/Internal.hs, dist/build/FreeType/Support/Scanline/Internal.o, dist/build/FreeType/Support/Scanline/Internal.dyn_o )
[ 86 of 106] Compiling FreeType.Support.Scanline ( dist/build/FreeType/Support/Scanline.hs, dist/build/FreeType/Support/Scanline.o, dist/build/FreeType/Support/Scanline.dyn_o )
[ 87 of 106] Compiling FreeType.Support.Outline.Internal ( dist/build/FreeType/Support/Outline/Internal.hs, dist/build/FreeType/Support/Outline/Internal.o, dist/build/FreeType/Support/Outline/Internal.dyn_o )
[ 88 of 106] Compiling FreeType.Support.Outline ( dist/build/FreeType/Support/Outline.hs, dist/build/FreeType/Support/Outline.o, dist/build/FreeType/Support/Outline.dyn_o )
[ 89 of 106] Compiling FreeType.Support.Glyph.Internal ( dist/build/FreeType/Support/Glyph/Internal.hs, dist/build/FreeType/Support/Glyph/Internal.o, dist/build/FreeType/Support/Glyph/Internal.dyn_o )
[ 90 of 106] Compiling FreeType.Support.Glyph ( dist/build/FreeType/Support/Glyph.hs, dist/build/FreeType/Support/Glyph.o, dist/build/FreeType/Support/Glyph.dyn_o )
[ 91 of 106] Compiling FreeType.Support.Module.Types ( dist/build/FreeType/Support/Module/Types.hs, dist/build/FreeType/Support/Module/Types.o, dist/build/FreeType/Support/Module/Types.dyn_o )
[ 92 of 106] Compiling FreeType.Support.System.Types ( FreeType/Support/System/Types.hs, dist/build/FreeType/Support/System/Types.o, dist/build/FreeType/Support/System/Types.dyn_o )
[ 93 of 106] Compiling FreeType.Support.System.Internal ( FreeType/Support/System/Internal.hs, dist/build/FreeType/Support/System/Internal.o, dist/build/FreeType/Support/System/Internal.dyn_o )
[ 94 of 106] Compiling FreeType.Support.System ( FreeType/Support/System.hs, dist/build/FreeType/Support/System.o, dist/build/FreeType/Support/System.dyn_o )
[ 95 of 106] Compiling FreeType.Support.List.Internal ( FreeType/Support/List/Internal.hs, dist/build/FreeType/Support/List/Internal.o, dist/build/FreeType/Support/List/Internal.dyn_o )
[ 96 of 106] Compiling FreeType.Support.List ( dist/build/FreeType/Support/List.hs, dist/build/FreeType/Support/List.o, dist/build/FreeType/Support/List.dyn_o )
[ 97 of 106] Compiling FreeType.Support.GZIP.Internal ( dist/build/FreeType/Support/GZIP/Internal.hs, dist/build/FreeType/Support/GZIP/Internal.o, dist/build/FreeType/Support/GZIP/Internal.dyn_o )
[ 98 of 106] Compiling FreeType.Support.Module.Internal ( dist/build/FreeType/Support/Module/Internal.hs, dist/build/FreeType/Support/Module/Internal.o, dist/build/FreeType/Support/Module/Internal.dyn_o )
[ 99 of 106] Compiling FreeType.Support.Module ( dist/build/FreeType/Support/Module.hs, dist/build/FreeType/Support/Module.o, dist/build/FreeType/Support/Module.dyn_o )
[100 of 106] Compiling FreeType.Support.LZW.Internal ( dist/build/FreeType/Support/LZW/Internal.hs, dist/build/FreeType/Support/LZW/Internal.o, dist/build/FreeType/Support/LZW/Internal.dyn_o )
[101 of 106] Compiling FreeType.Support.LZW ( dist/build/FreeType/Support/LZW.hs, dist/build/FreeType/Support/LZW.o, dist/build/FreeType/Support/LZW.dyn_o )
[102 of 106] Compiling FreeType.Support.GZIP ( dist/build/FreeType/Support/GZIP.hs, dist/build/FreeType/Support/GZIP.o, dist/build/FreeType/Support/GZIP.dyn_o )
[103 of 106] Compiling FreeType.Support.BZIP2.Internal ( dist/build/FreeType/Support/BZIP2/Internal.hs, dist/build/FreeType/Support/BZIP2/Internal.o, dist/build/FreeType/Support/BZIP2/Internal.dyn_o )
[104 of 106] Compiling FreeType.Internal ( FreeType/Internal.hs, dist/build/FreeType/Internal.o, dist/build/FreeType/Internal.dyn_o )
[105 of 106] Compiling FreeType.Support.BZIP2 ( dist/build/FreeType/Support/BZIP2.hs, dist/build/FreeType/Support/BZIP2.o, dist/build/FreeType/Support/BZIP2.dyn_o )
[106 of 106] Compiling FreeType ( FreeType.hs, dist/build/FreeType.o, dist/build/FreeType.dyn_o )
Error message
In file included from freetype2/src/gzip/ftgzip.c:73:0: error:
In file included from freetype2/src/gzip/zlib.h:34:0: error:
freetype2/src/gzip/ftzconf.h:228:12: error:
error: unknown type name 'Byte'
228 | typedef Byte FAR Bytef;
| ^
|
228 | typedef Byte FAR Bytef;
| ^
In file included from freetype2/src/gzip/ftgzip.c:91:0: error:
freetype2/src/gzip/inftrees.h:22:7: error:
error: unknown type name 'Byte'
22 | Byte Exop; /* number of extra bits or operation */
| ^
|
22 | Byte Exop; /* number of extra bits or operation */
| ^
freetype2/src/gzip/inftrees.h:23:7: error:
error: unknown type name 'Byte'
23 | Byte Bits; /* number of bits in this code or subcode */
| ^
|
23 | Byte Bits; /* number of bits in this code or subcode */
| ^
In file included from freetype2/src/gzip/ftgzip.c:99:0: error:
freetype2/src/gzip/inftrees.c:247:21: error:
error: use of undeclared identifier 'Byte'
247 | r.bits = (Byte)l; /* bits to dump before this table */
| ^
|
247 | r.bits = (Byte)l; /* bits to dump before this table */
| ^
freetype2/src/gzip/inftrees.c:248:21: error:
error: use of undeclared identifier 'Byte'
248 | r.exop = (Byte)j; /* bits in this table */
| ^
|
248 | r.exop = (Byte)j; /* bits in this table */
| ^
freetype2/src/gzip/inftrees.c:258:17: error:
error: use of undeclared identifier 'Byte'
258 | r.bits = (Byte)(k - w);
| ^
|
258 | r.bits = (Byte)(k - w);
| ^
freetype2/src/gzip/inftrees.c:263:19: error:
error: use of undeclared identifier 'Byte'
263 | r.exop = (Byte)(*p < 256 ? 0 : 32 + 64); /* 256 is end-of-block */
| ^
|
263 | r.exop = (Byte)(*p < 256 ? 0 : 32 + 64); /* 256 is end-of-block */
| ^
freetype2/src/gzip/inftrees.c:268:19: error:
error: use of undeclared identifier 'Byte'
268 | r.exop = (Byte)(e[*p - s] + 16 + 64);/* non-simple--look up in lists */
| ^
|
268 | r.exop = (Byte)(e[*p - s] + 16 + 64);/* non-simple--look up in lists */
| ^
In file included from freetype2/src/gzip/ftgzip.c:101:0: error:
freetype2/src/gzip/infcodes.c:50:3: error:
error: unknown type name 'Byte'
50 | Byte lbits; /* ltree bits decoded per branch */
| ^
|
50 | Byte lbits; /* ltree bits decoded per branch */
| ^
freetype2/src/gzip/infcodes.c:51:3: error:
error: unknown type name 'Byte'
51 | Byte dbits; /* dtree bits decoder per branch */
| ^
|
51 | Byte dbits; /* dtree bits decoder per branch */
| ^
freetype2/src/gzip/infcodes.c:70:17: error:
error: use of undeclared identifier 'Byte'
70 | c->lbits = (Byte)bl;
| ^
|
70 | c->lbits = (Byte)bl;
| ^
freetype2/src/gzip/infcodes.c:71:17: error:
error: use of undeclared identifier 'Byte'
71 | c->dbits = (Byte)bd;
| ^
|
71 | c->dbits = (Byte)bd;
| ^
freetype2/src/gzip/infcodes.c:207:9: error:
error: use of undeclared identifier 'Byte'
207 | OUTBYTE(*f++)
| ^
|
207 | OUTBYTE(*f++)
| ^
freetype2/src/gzip/infutil.h:83:27: error:
note: expanded from macro 'OUTBYTE'
83 | #define OUTBYTE(a) {*q++=(Byte)(a);m--;}
| ^
|
83 | #define OUTBYTE(a) {*q++=(Byte)(a);m--;}
| ^
In file included from freetype2/src/gzip/ftgzip.c:101:0: error:
freetype2/src/gzip/infcodes.c:216:7: error:
error: use of undeclared identifier 'Byte'
216 | OUTBYTE(c->sub.lit)
| ^
|
216 | OUTBYTE(c->sub.lit)
| ^
freetype2/src/gzip/infutil.h:83:27: error:
note: expanded from macro 'OUTBYTE'
83 | #define OUTBYTE(a) {*q++=(Byte)(a);m--;}
| ^
|
83 | #define OUTBYTE(a) {*q++=(Byte)(a);m--;}
| ^
freetype2/src/gzip/ftgzip.c:313:23: error:
warning: incompatible pointer types assigning to 'Bytef *' (aka 'int *') from 'FT_Byte[4096]' (aka 'unsigned char[4096]') [-Wincompatible-pointer-types]
313 | zstream->next_in = zip->buffer;
| ^ ~~~~~~~~~~~
|
313 | zstream->next_in = zip->buffer;
| ^
freetype2/src/gzip/ftgzip.c:362:26: error:
warning: incompatible pointer types assigning to 'Bytef *' (aka 'int *') from 'FT_Byte[4096]' (aka 'unsigned char[4096]') [-Wincompatible-pointer-types]
362 | zstream->next_in = zip->input;
| ^ ~~~~~~~~~~
|
362 | zstream->next_in = zip->input;
| ^
freetype2/src/gzip/ftgzip.c:364:26: error:
warning: incompatible pointer types assigning to 'Bytef *' (aka 'int *') from 'FT_Byte[4096]' (aka 'unsigned char[4096]') [-Wincompatible-pointer-types]
364 | zstream->next_out = zip->buffer;
| ^ ~~~~~~~~~~~
|
364 | zstream->next_out = zip->buffer;
| ^
freetype2/src/gzip/ftgzip.c:409:23: error:
warning: incompatible pointer types assigning to 'Bytef *' (aka 'int *') from 'FT_Byte[4096]' (aka 'unsigned char[4096]') [-Wincompatible-pointer-types]
409 | zstream->next_in = zip->input;
| ^ ~~~~~~~~~~
|
409 | zstream->next_in = zip->input;
| ^
freetype2/src/gzip/ftgzip.c:424:24: error:
warning: incompatible pointer types assigning to 'Bytef *' (aka 'int *') from 'FT_Byte *' (aka 'unsigned char *') [-Wincompatible-pointer-types]
424 | zstream->next_out = zip->cursor;
| ^ ~~~~~~~~~~~
|
424 | zstream->next_out = zip->cursor;
| ^
freetype2/src/gzip/ftgzip.c:443:20: error:
warning: incompatible pointer types assigning to 'FT_Byte *' (aka 'unsigned char *') from 'Bytef *' (aka 'int *') [-Wincompatible-pointer-types]
443 | zip->limit = zstream->next_out;
| ^ ~~~~~~~~~~~~~~~~~
|
443 | zip->limit = zstream->next_out;
| ^
freetype2/src/gzip/ftgzip.c:742:22: error:
warning: incompatible pointer types assigning to 'Bytef *' (aka 'int *') from 'FT_Byte *' (aka 'unsigned char *') [-Wincompatible-pointer-types]
742 | stream.next_out = output;
| ^ ~~~~~~
|
742 | stream.next_out = output;
| ^
7 warnings and 14 errors generated.
`gcc' failed in phase `C Compiler'. (Exit code: 1)
Error: [Cabal-7125]
Failed to build freetype2-0.2.0. See the build log above for details.
GCC Version
(base) myname@My-computer Documents % gcc --version
Apple clang version 17.0.0 (clang-1700.6.3.2)
Target: arm64-apple-darwin24.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
GHC Version
The Glorious Glasgow Haskell Compilation System, version 9.14.1
MacOs version
(base) myname@My-computer Documents % sw_vers
ProductName: macOS
ProductVersion: 15.6
BuildVersion: 24G84