[Haskell-cafe] install error: sym

Tom Ellis tom-lists-haskell-cafe-2017 at jaguarpaw.co.uk
Wed Dec 15 17:56:55 UTC 2021


Perhaps this is a Windows-filesystem-case-insensitive issue.  That
package has both `Stat` and `STAT`:

https://hackage.haskell.org/package/sym-0.13.0/docs/Sym-Perm-Stat.html

https://hackage.haskell.org/package/sym-0.13.0/docs/Sym-Perm-STAT.html

Tom


On Wed, Dec 15, 2021 at 05:33:24PM +0000, Gregory Guthrie wrote:
> Seems like this is a package error?
>   Sym\Perm\STAT.hs:13:8: error:
>     File name does not match module name:
>     Saw: `Sym.Perm.Stat'
>     Expected: `Sym.Perm.STAT'
> 
> 
> Install log:
> PS C:\Users\guthrie\Desktop> cabal install sym
> Resolving dependencies...
> Build profile: -w ghc-8.10.2 -O1
> In order, the following will be built (use -v for more details):
> - base-orphans-0.8.6 (lib) (requires download & build)
> - primitive-0.7.3.0 (lib) (requires download & build)
> - hashable-1.4.0.1 (lib) (requires download & build)
> - vector-0.12.3.1 (lib) (requires download & build)
> - sym-0.13.0 (lib) (requires download & build)
> Downloading  base-orphans-0.8.6
> Downloaded   base-orphans-0.8.6
> Downloading  primitive-0.7.3.0
> Starting     base-orphans-0.8.6 (lib)
> Downloaded   primitive-0.7.3.0
> Downloading  vector-0.12.3.1
> Starting     primitive-0.7.3.0 (lib)
> Downloaded   vector-0.12.3.1
> Downloading  hashable-1.4.0.1
> Downloaded   hashable-1.4.0.1
> Downloading  sym-0.13.0
> Downloaded   sym-0.13.0
> Building     base-orphans-0.8.6 (lib)
> Building     primitive-0.7.3.0 (lib)
> Installing   base-orphans-0.8.6 (lib)
> Completed    base-orphans-0.8.6 (lib)
> Starting     hashable-1.4.0.1 (lib)
> Building     hashable-1.4.0.1 (lib)
> Installing   primitive-0.7.3.0 (lib)
> Completed    primitive-0.7.3.0 (lib)
> Starting     vector-0.12.3.1 (lib)
> Installing   hashable-1.4.0.1 (lib)
> Building     vector-0.12.3.1 (lib)
> Completed    hashable-1.4.0.1 (lib)
> Installing   vector-0.12.3.1 (lib)
> Completed    vector-0.12.3.1 (lib)
> Starting     sym-0.13.0 (lib)
> Building     sym-0.13.0 (lib)
> 
> Failed to build sym-0.13.0.
> Build log (
> C:\Users\guthrie\AppData\Roaming\cabal\logs\ghc-8.10.2\sym-0.13.0-6a5a01f540d09f303c049bc421a706632878562d.log
> ):
> Preprocessing library for sym-0.13.0..
> Building library for sym-0.13.0..
> 
> Sym\Perm\STAT.hs:13:8: error:
>     File name does not match module name:
>     Saw: `Sym.Perm.Stat'
>     Expected: `Sym.Perm.STAT'
>    |
> 13 | module Sym.Perm.Stat
>    |        ^^^^^^^^^^^^^
> cabal.exe: Failed to build sym-0.13.0. See the build log above for details.
> 
> Dr. Gregory Guthrie
> 

> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.



More information about the Haskell-Cafe mailing list