Building the algebraic-graphs package with GHC 9.2 hangs when compiling Algebra.Graph.NonEmpty.AdjacencyMap
and Algebra.Graph.NonEmpty
. This is seems to be caused by configuring with --enable-debug-info
. This flag appears to interfere with the "transpose/overlays1"
and "transpose/connects1"
rewrite rules in both Algebra.Graph.NonEmpty.AdjacencyMap
and Algebra.Graph.NonEmpty
(commenting out those rules allows the compilation to succeed).
$ runghc Setup configure --verbose=1 --builddir=dist --exact-configuration --dependency=containers=containers-0.6.4.1 --dependency=base=base-4.16.0.0 --dependency=transformers=transformers-0.5.6.2 --dependency=array=array-0.5.4.0 --dependency=mtl=mtl-2.2.2 --dependency=deepseq=deepseq-1.4.6.0 --package-db=clear --package-db=global --enable-debug-info
...
$ runghc Setup build --verbose=1 --builddir=dist '--ghc-options= +RTS -A128M -n4m -RTS'
[12 of 27] Compiling Algebra.Graph.NonEmpty.AdjacencyMap ( src/Algebra/Graph/NonEmpty/AdjacencyMap.hs, dist/build/Algebra/Graph/NonEmpty/AdjacencyMap.o )
dist
dir$ runghc Setup configure --verbose=1 --builddir=dist --exact-configuration --dependency=containers=containers-0.6.4.1 --dependency=base=base-4.16.0.0 --dependency=transformers=transformers-0.5.6.2 --dependency=array=array-0.5.4.0 --dependency=mtl=mtl-2.2.2 --dependency=deepseq=deepseq-1.4.6.0 --package-db=clear --package-db=global
...
$ runghc Setup build --verbose=1 --builddir=dist '--ghc-options= +RTS -A128M -n4m -RTS'
"transpose/overlays1"
and "transpose/connects1"
in src/Algebra/Graph/NonEmpty/AdjacencyMap.hs
.--enable-debug-info
as before.Algebra.Graph.NonEmpty.AdjacencyMap
.Compiling with --enable-debug-info
should not cause GHC to hang on rewrite rules.
Optional: