Describe the bug
Following the instructions with Ubuntu 20.04, I get a build failure without much extra useful information.
To Reproduce
Steps to reproduce the behavior:
- Clone the repository and
cd
to the directory
- Install the required packages with
apt
- Run
stack install
Result
(with the beginning parts snipped)
gi-gio > [292 of 295] Compiling GI.Gio.Functions
gi-gio > [293 of 295] Compiling GI.Gio.Structs.UnixMountPoint
gi-gio > [294 of 295] Compiling GI.Gio.Structs
gi-gio > [295 of 295] Compiling GI.Gio
gi-gio >
gi-gio > copy/register
gi-gio > Installing library in /home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/lib/x86_64-linux-ghc-8.6.5/gi-gio-2.0.19-6YnyLUfkNsRHAcvmPNu5xd
gi-gio > Registering library for gi-gio-2.0.19..
-- While building package gi-pango-1.0.19 using:
/tmp/stack-8c0e45e255bec831/gi-pango-1.0.19/.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1/setup/setup --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1 configure --user --package-db=clear --package-db=global --package-db=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/pkgdb --libdir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/lib --bindir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/bin --datadir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/share --libexecdir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/libexec --sysconfdir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/etc --docdir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/doc/gi-pango-1.0.19 --htmldir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/doc/gi-pango-1.0.19 --haddockdir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/doc/gi-pango-1.0.19 --dependency=Cabal=Cabal-2.4.1.0-IBbax5zHztPeovxF8fJKx --dependency=base=base-4.12.0.0 --dependency=bytestring=bytestring-0.10.8.2 --dependency=containers=containers-0.6.0.1 --dependency=gi-glib=gi-glib-2.0.17-He3SeHEEYb1DWiT4TpX9ev --dependency=gi-gobject=gi-gobject-2.0.19-HLSOgyjJxUE2zYdtgISec5 --dependency=haskell-gi=haskell-gi-0.21.5-B7oEYie8Wik99xbtCPMhIP --dependency=haskell-gi-base=haskell-gi-base-0.21.5-B7L3HQFSPkOFeLcsLCK63O --dependency=haskell-gi-overloading=haskell-gi-overloading-1.0-6w3IXGDooXgu3RA2LfTuf --dependency=text=text-1.2.3.1 --dependency=transformers=transformers-0.5.6.2 --exact-configuration --ghc-option=-fhide-source-paths
Process exited with code: ExitFailure 1
Progress 109/114
If I retry, I get this:
❯ stack install
gi-pango > configure
gi-pango > [1 of 2] Compiling Main ( /tmp/stack-35742d06c6636296/gi-pango-1.0.19/Setup.hs, /tmp/stack-35742d06c6636296/gi-pango-1.0.19/.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1/setup/Main.o )
gi-pango > [2 of 2] Compiling StackSetupShim ( /home/eleanor/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /tmp/stack-35742d06c6636296/gi-pango-1.0.19/.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1/setup/StackSetupShim.o )
gi-pango > Linking /tmp/stack-35742d06c6636296/gi-pango-1.0.19/.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1/setup/setup ...
gi-pango > Configuring gi-pango-1.0.19...
gi-pango > setup: An 'autogen-module' is neither on 'exposed-modules' or 'other-modules'.
gi-pango >
-- While building package gi-pango-1.0.19 using:
/tmp/stack-35742d06c6636296/gi-pango-1.0.19/.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1/setup/setup --builddir=.stack-work/dist/x86_64-linux-tinfo6/Cabal-2.4.0.1 configure --user --package-db=clear --package-db=global --package-db=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/pkgdb --libdir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/lib --bindir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/bin --datadir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/share --libexecdir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/libexec --sysconfdir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/etc --docdir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/doc/gi-pango-1.0.19 --htmldir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/doc/gi-pango-1.0.19 --haddockdir=/home/eleanor/.stack/snapshots/x86_64-linux-tinfo6/47db9579f749287cd890242a9ca37d7fb30e52ec4cf61fe5af8aa4e3a51e7db2/8.6.5/doc/gi-pango-1.0.19 --dependency=Cabal=Cabal-2.4.1.0-IBbax5zHztPeovxF8fJKx --dependency=base=base-4.12.0.0 --dependency=bytestring=bytestring-0.10.8.2 --dependency=containers=containers-0.6.0.1 --dependency=gi-glib=gi-glib-2.0.17-He3SeHEEYb1DWiT4TpX9ev --dependency=gi-gobject=gi-gobject-2.0.19-HLSOgyjJxUE2zYdtgISec5 --dependency=haskell-gi=haskell-gi-0.21.5-B7oEYie8Wik99xbtCPMhIP --dependency=haskell-gi-base=haskell-gi-base-0.21.5-B7L3HQFSPkOFeLcsLCK63O --dependency=haskell-gi-overloading=haskell-gi-overloading-1.0-6w3IXGDooXgu3RA2LfTuf --dependency=text=text-1.2.3.1 --dependency=transformers=transformers-0.5.6.2 --exact-configuration --ghc-option=-fhide-source-paths
Process exited with code: ExitFailure 1
Progress 1/5
Desktop (please complete the following information):
- OS: Ubuntu 20.04
- Komposition version or commit [e.g. 0.1.0]: commit 64893d5
- Build environment [e.g. Stack on msys]: Stack 2.3.3 on zsh