haskell / haskell/cabal

`--exact-conf` complains about unspecified flags, even when they're default and/or explicitly given

Open
#4,769 6 comments 1 reaction 0 assignees View on GitHub
cabal-install: v2-build system type: bug
Dominant language
Haskell
Stars
1.7k
Forks
750
Avg merge
4d 3h
Merged PRs (30d)
28

Description

With the c480f69 version of cabal-install:
```
$ cabal install distributive-0.5.3 --flags="semigroups tagged"
Resolving dependencies...
Configuring distributive-0.5.3...
Failed to install distributive-0.5.3
Build log ( /home/sagemuej/.cabal/logs/ghc-7.10.2/distributive-0.5.3-1mEGskitVaeLQN6CJ7QtG8.log ):
cabal: Entering directory '/tmp/cabal-tmp-31691/distributive-0.5.3'
[1 of 1] Compiling Main ( /tmp/cabal-tmp-31691/distributive-0.5.3/dist/setup/setup.hs, /tmp/cabal-tmp-31691/distributive-0.5.3/dist/setup/Main.o )
Linking /tmp/cabal-tmp-31691/distributive-0.5.3/dist/setup/setup ...
Configuring distributive-0.5.3...
setup: '--exact-configuration' was given, but the following flags were not
specified: FlagName "semigroups", FlagName "tagged"
cabal: Leaving directory '/tmp/cabal-tmp-31691/distributive-0.5.3'
cabal: Error: some packages failed to install:
distributive-0.5.3-1mEGskitVaeLQN6CJ7QtG8 failed during the configure step.
The exception was:
ExitFailure 1
```
It doesn't actually make any difference here whether I add the `--flags="semigroups tagged"`, the error is the same without that. (Which isn't completely surprising because the flags [should anyway be on by default](http://hackage.haskell.org/package/distributive-0.5.3/distributive.cabal), what's surprising is that, allegedly, they aren't on.)

Verbose version:
```
$ cabal install distributive-0.5.3 -v
/home/sagemuej/.cabal/bin/alex --version
/home/sagemuej/.cabal/bin/c2hs --numeric-version
/home/sagemuej/.cabal/bin/cpphs --version
/usr/bin/gcc -dumpversion
looking for tool haddock near compiler in /usr/local/bin
found haddock in /usr/local/haskell/ghc-7.10.2-x86_64/bin/haddock-ghc-7.10.2
/usr/local/haskell/ghc-7.10.2-x86_64/bin/haddock-ghc-7.10.2 --version
/home/sagemuej/.cabal/bin/happy --version
looking for tool hpc near compiler in /usr/local/bin
found hpc in /usr/local/bin/hpc
/usr/local/bin/hpc version
looking for tool hsc2hs near compiler in /usr/local/bin
found hsc2hs in /usr/local/bin/hsc2hs
/usr/local/bin/hsc2hs --version
/usr/local/bin/HsColour -version
/usr/local/bin/ghc-7.10 -hide-all-packages -c /tmp/1804289383846930886.c -o /tmp/16816927771714636915.o
/usr/bin/ld -x -r /tmp/16816927771714636915.o -o /tmp/1957747793424238335.o
/usr/bin/pkg-config --version
looking for tool runghc near compiler in /usr/local/bin
found runghc in /usr/local/bin/runghc-7.10
/usr/local/bin/runghc-7.10 --version
/bin/tar --help
Reading available packages...
index-state(hackage.haskell.org) = 2017-09-14T14:30:08Z
/usr/bin/pkg-config --list-all
/usr/bin/pkg-config --modversion sqlite3 libpci ompi-fort gmodule-export-2.0 pixman-1 cairo-svg libdrm_intel recordproto iso-codes nettle gnutls libpcreposix lapack-netlib ompi-c cairo-tee dri dbus-1 mobile-broadband-provider-info xcb-render libzmq fftw3 xkbcommon systemd python-3.5m adwaita-icon-theme gnome-icon-theme-symbolic cairo-png curlpp libcurl pangoxft xcursor xft libidn glu kdb xtrans gdk-pixbuf-2.0 xf86vidmodeproto neon lapack xbuild12 gnome-system-tools damageproto libpulse mono-options expat cairo-xlib mit-krb5-gssapi libavformat kbproto krb5 mpi mpi-c fontutil xcb-dri2 xcb-dri3 panel randrproto xrandr bash-completion gdk-2.0 dri2proto libtasn1 xcomposite icu-i18n sm system.web.mvc xorg-sgml-doctools dotnet libswresample-ffmpeg cairo-ps p11-kit-1 libpulse-mainloop-glib python libgdiplus gssrpc python2 python3 gnome-icon-theme gmodule-2.0 gdk-pixbuf-xlib-2.0 libavcodec libdrm_radeon libdrm reactive libpulse-simple pango fixesproto flac pangoft2 xineramaproto wavpack compositeproto icu-uc aspnetwebstack ompi-cxx libpcre libpcre16 cairo-xcb-shm glproto cairo-pdf pangocairo pm-utils krb5-gssapi x11-xcb gthread-2.0 xcb-glx libssl intel-gen4asm libpcrecpp cairo-xcb menu gl xorg-wacom ibus-table libspreadsheet-1.12 libcrypto shared-desktop-ontologies libxml-2.0 mit-krb5 libdrm_nouveau yelp-xsl nix-expr cairo-gobject dotnet35 gmodule-no-export-2.0 sndfile libdrm_amdgpu x11 xextproto system.web.extensions.design_1.0 xtst libpcre32 'libcrypto++' 'gtk+-unix-print-2.0' libxfce4sensors-1.0 hogweed libavresample poppler-data xi udev cecil hwloc xbitmaps xt cairo-fc cairo glib-2.0 icu-io cairo-ft libquvi-scripts xcb-sync gio-unix-2.0 vorbisfile libswresample libavutil-ffmpeg system.web.mvc2 system.web.mvc3 xfixes nix-main kadm-client vorbisenc mpi-cxx xcb-xfixes nix-store librtmp hdf5 tic xinerama tinfo hdf5-serial libpng usbutils blas-netlib nunit wcf gdk-x11-2.0 kadm-server mono-2 xshmfence xcb-randr libudev freetype2 system.web.extensions_1.0 xext libjpeg harfbuzz vorbis xau fftw3f xcb-present ice xdamage xkbcomp fftw3l openssl atk xxf86vm mono-cairo fftw3q python-2.7 cairo-script icu-le libffi xkeyboard-config xcb-shape harfbuzz-icu libavcodec-ffmpeg pthread-stubs shared-mime-info xrender xproto inputproto icu-lx xcb-shm libpng12 orte audacious xcb libmpg123 mono liblzma libavutil ogg mono-lineeditor 'gtk+-2.0' ftgl dbus-python ncurses form fontconfig ompi cairo-xlib-xrender mono-nunit libavresample-ffmpeg avahi-client harfbuzz-gobject mpi-fort zlib python-3.5 xfce4-session-2.0 com_err 'ncurses++' gobject-2.0 gio-2.0 xdmcp notify-python 'gtk+-x11-2.0' blas libavformat-ffmpeg renderproto
Resolving dependencies...
Number of threads used: 4.
Extracting
/home/sagemuej/.cabal/packages/hackage.haskell.org/distributive/0.5.3/distributive-0.5.3.tar.gz
to /tmp/cabal-tmp-32675...
Updating distributive.cabal with the latest revision from the index.
Configuring distributive-0.5.3...
creating /tmp/cabal-tmp-32675/distributive-0.5.3/dist/setup
creating /tmp/cabal-tmp-32675/distributive-0.5.3/dist
creating /tmp/cabal-tmp-32675/distributive-0.5.3/dist/setup
/usr/local/bin/ghc-7.10 --make -fbuilding-cabal-package -odir /tmp/cabal-tmp-32675/distributive-0.5.3/dist/setup -hidir /tmp/cabal-tmp-32675/distributive-0.5.3/dist/setup -i -i/tmp/cabal-tmp-32675/distributive-0.5.3 -optP-include -optP/tmp/cabal-tmp-32675/distributive-0.5.3/dist/setup/setup_macros.h -hide-all-packages -package-id Cabal-2.0.0.0-KfRsIWUESRz3N8wgvEXYEQ -package-id base-4.8.1.0-4f7206fd964c629946bb89db72c80011 -package-id cabal-doctest-1.0.2-CH5fDOtVSeVAqQZ2btDGTe /tmp/cabal-tmp-32675/distributive-0.5.3/dist/setup/setup.hs -o /tmp/cabal-tmp-32675/distributive-0.5.3/dist/setup/setup -threaded
/tmp/cabal-tmp-32675/distributive-0.5.3/dist/setup/setup configure --verbose=2
--builddir=dist --ghc --with-compiler=ghc-7.10 --prefix=/home/sagemuej/.cabal
--bindir=/home/sagemuej/.cabal/bin --libdir=/home/sagemuej/.cabal/lib
--libsubdir=x86_64-linux-ghc-7.10.2/distributive-0.5.3-1mEGskitVaeLQN6CJ7QtG8
--dynlibdir=/home/sagemuej/.cabal/lib/x86_64-linux-ghc-7.10.2
--libexecdir=/home/sagemuej/.cabal/libexec
--libexecsubdir=x86_64-linux-ghc-7.10.2/distributive-0.5.3
--datadir=/home/sagemuej/.cabal/share
--datasubdir=x86_64-linux-ghc-7.10.2/distributive-0.5.3
--docdir=/home/sagemuej/.cabal/share/doc/x86_64-linux-ghc-7.10.2/distributive-0.5.3
--htmldir=/home/sagemuej/.cabal/share/doc/x86_64-linux-ghc-7.10.2/distributive-0.5.3/html
--haddockdir=/home/sagemuej/.cabal/share/doc/x86_64-linux-ghc-7.10.2/distributive-0.5.3/html
--sysconfdir=/home/sagemuej/.cabal/etc --user --flags=+tagged
--flags=+semigroups --ipid=distributive-0.5.3-1mEGskitVaeLQN6CJ7QtG8
--extra-prog-path=/home/sagemuej/.cabal/bin
--dependency=base=base-4.8.1.0-4f7206fd964c629946bb89db72c80011
--dependency=base-orphans=base-orphans-0.6-JKAsos7UV8fJte6xxGjQwj
--dependency=semigroups=semigroups-0.18.3-37ba9cd112a45347ebe76962263810a8
--dependency=tagged=tagged-0.8.5-0957f60f8cd68cf114870e329ecfc239
--dependency=transformers=transformers-0.4.2.0-21dcbf13c43f5d8cf6a1f54dee6c5bff
--dependency=transformers-compat=transformers-compat-0.5.1.4-a51b30d5b0aa7815f38934d69beb47de
--disable-tests --exact-configuration --disable-benchmarks
Redirecting build log to {handle:
/home/sagemuej/.cabal/logs/ghc-7.10.2/distributive-0.5.3-1mEGskitVaeLQN6CJ7QtG8.log}
Failed to install distributive-0.5.3
Build log ( /home/sagemuej/.cabal/logs/ghc-7.10.2/distributive-0.5.3-1mEGskitVaeLQN6CJ7QtG8.log ):
cabal: Entering directory '/tmp/cabal-tmp-32675/distributive-0.5.3'
[1 of 1] Compiling Main ( /tmp/cabal-tmp-32675/distributive-0.5.3/dist/setup/setup.hs, /tmp/cabal-tmp-32675/distributive-0.5.3/dist/setup/Main.o )
Linking /tmp/cabal-tmp-32675/distributive-0.5.3/dist/setup/setup ...
Configuring distributive-0.5.3...
?callStack, called at ./Distribution/Compat/Stack.hs:45:13 in KfRsIWUESRz3N8wgvEXYEQ:Distribution.Compat.Stack
callStack, called at ./Distribution/Simple/Utils.hs:588:44 in KfRsIWUESRz3N8wgvEXYEQ:Distribution.Simple.Utils
withCallStackPrefix, called at ./Distribution/Simple/Utils.hs:625:7 in KfRsIWUESRz3N8wgvEXYEQ:Distribution.Simple.Utils
withMetadata, called at ./Distribution/Simple/Utils.hs:350:15 in KfRsIWUESRz3N8wgvEXYEQ:Distribution.Simple.Utils
die', called at ./Distribution/Simple/Configure.hs:809:9 in KfRsIWUESRz3N8wgvEXYEQ:Distribution.Simple.Configure
checkExactConfiguration, called at ./Distribution/Simple/Configure.hs:372:5 in KfRsIWUESRz3N8wgvEXYEQ:Distribution.Simple.Configure
configure, called at ./Distribution/Simple.hs:570:20 in KfRsIWUESRz3N8wgvEXYEQ:Distribution.Simple
confHook, called at ./Distribution/Simple/UserHooks.hs:67:5 in KfRsIWUESRz3N8wgvEXYEQ:Distribution.Simple.UserHooks
confHook, called at ./Distribution/Simple.hs:214:24 in KfRsIWUESRz3N8wgvEXYEQ:Distribution.Simple
configureAction, called at ./Distribution/Simple.hs:174:19 in KfRsIWUESRz3N8wgvEXYEQ:Distribution.Simple

setup: '--exact-configuration' was given, but the following flags were not
specified: FlagName "semigroups", FlagName "tagged"
cabal: Leaving directory '/tmp/cabal-tmp-32675/distributive-0.5.3'
World file is already up to date.
CallStack (from HasCallStack):
die', called at ./Distribution/Client/Install.hs:996:15 in main:Distribution.Client.Install
cabal: Error: some packages failed to install:
distributive-0.5.3-1mEGskitVaeLQN6CJ7QtG8 failed during the configure step.
The exception was:
ExitFailure 1
```
This originally happened when I (for the first time) tried to `new-build` one of my packages instead of old-style `install`ing it, namely [free-vector-spaces](https://github.com/leftaroundabout/free-vector-spaces). This attempt can't have broken any global configuration that now causes the issue even with standard `install` for `distributive` and `bytes`, can it?
```
$ cabal new-build -v
In order, the following will be built:
- bytes-0.15.3 (lib:bytes) (requires build)
- distributive-0.5.3 (lib:distributive) (requires build)
- comonad-5.0.2 (lib:comonad) (requires build)
- bifunctors-5.2 (lib) (requires build)
- semigroupoids-5.0.1 (lib:semigroupoids) (requires build)
- profunctors-5.2.1 (lib) (requires build)
- free-4.12.4 (lib) (requires build)
- adjunctions-4.3 (lib:adjunctions) (requires build)
- kan-extensions-5.0.2 (lib:kan-extensions) (requires build)
- lens-4.15.4 (lib:lens) (requires build)
- linear-1.20.6 (lib:linear) (requires build)
- free-vector-spaces-0.1.4.0 (lib) (first run)
creating /tmp/ccd/free-vector-spaces/dist-newstyle/build
creating /tmp/ccd/free-vector-spaces/dist-newstyle/tmp
Extracting
/home/sagemuej/.cabal/packages/hackage.haskell.org/bytes/0.15.3/bytes-0.15.3.tar.gz
to /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32056...
Extracting
/home/sagemuej/.cabal/packages/hackage.haskell.org/distributive/0.5.3/distributive-0.5.3.tar.gz
to /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32057...
Updating bytes.cabal with the latest revision from the index.
creating dist
Configuring bytes-0.15.3 (all, legacy fallback)...
creating
/tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32056/bytes-0.15.3/dist/setup
creating
/tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32056/bytes-0.15.3/dist
creating
/tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32056/bytes-0.15.3/dist/setup
Updating distributive.cabal with the latest revision from the index.
creating dist
Configuring distributive-0.5.3 (all, legacy fallback)...
creating
/tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32057/distributive-0.5.3/dist/setup
creating
/tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32057/distributive-0.5.3/dist
creating
/tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32057/distributive-0.5.3/dist/setup
/usr/local/bin/ghc-7.10 --make -fbuilding-cabal-package -odir /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32056/bytes-0.15.3/dist/setup -hidir /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32056/bytes-0.15.3/dist/setup -i -i/tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32056/bytes-0.15.3 -optP-include -optP/tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32056/bytes-0.15.3/dist/setup/setup_macros.h -hide-all-packages -no-user-package-db -package-db /home/sagemuej/.cabal/store/ghc-7.10.2/package.db -package-id Cabal-1.22.4.0-43c3ae30d75ac742e521d26b63721876 -package-id base-4.8.1.0-4f7206fd964c629946bb89db72c80011 -package-id cabal-doctest-1.0.2-2b420224427d66d705e2390320daea5d44068d5d126dc2b1c56cecf21b20e507 /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32056/bytes-0.15.3/dist/setup/setup.hs -o /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32056/bytes-0.15.3/dist/setup/setup -threaded
/usr/local/bin/ghc-7.10 --make -fbuilding-cabal-package -odir /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32057/distributive-0.5.3/dist/setup -hidir /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32057/distributive-0.5.3/dist/setup -i -i/tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32057/distributive-0.5.3 -optP-include -optP/tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32057/distributive-0.5.3/dist/setup/setup_macros.h -hide-all-packages -no-user-package-db -package-db /home/sagemuej/.cabal/store/ghc-7.10.2/package.db -package-id Cabal-1.22.4.0-43c3ae30d75ac742e521d26b63721876 -package-id base-4.8.1.0-4f7206fd964c629946bb89db72c80011 -package-id cabal-doctest-1.0.2-2b420224427d66d705e2390320daea5d44068d5d126dc2b1c56cecf21b20e507 /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32057/distributive-0.5.3/dist/setup/setup.hs -o /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32057/distributive-0.5.3/dist/setup/setup -threaded
/tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32056/bytes-0.15.3/dist/setup/setup
configure --verbose=2 --builddir=dist --ghc
--prefix=/home/sagemuej/.cabal/store/ghc-7.10.2/bytes-0.15.3-f3512c63176080b74817c73e4c6175e31ade54498dfc5f44cb381ed3a82c41ee
--bindir=/home/sagemuej/.cabal/store/ghc-7.10.2/bytes-0.15.3-f3512c63176080b74817c73e4c6175e31ade54498dfc5f44cb381ed3a82c41ee/bin
--libdir=/home/sagemuej/.cabal/store/ghc-7.10.2/bytes-0.15.3-f3512c63176080b74817c73e4c6175e31ade54498dfc5f44cb381ed3a82c41ee/lib
--libsubdir=
--libexecdir=/home/sagemuej/.cabal/store/ghc-7.10.2/bytes-0.15.3-f3512c63176080b74817c73e4c6175e31ade54498dfc5f44cb381ed3a82c41ee/libexec/
--datadir=/home/sagemuej/.cabal/store/ghc-7.10.2/bytes-0.15.3-f3512c63176080b74817c73e4c6175e31ade54498dfc5f44cb381ed3a82c41ee/share
--datasubdir=
--docdir=/home/sagemuej/.cabal/store/ghc-7.10.2/bytes-0.15.3-f3512c63176080b74817c73e4c6175e31ade54498dfc5f44cb381ed3a82c41ee/share/doc
--htmldir=/home/sagemuej/.cabal/store/ghc-7.10.2/bytes-0.15.3-f3512c63176080b74817c73e4c6175e31ade54498dfc5f44cb381ed3a82c41ee/share/doc/html
--haddockdir=/home/sagemuej/.cabal/store/ghc-7.10.2/bytes-0.15.3-f3512c63176080b74817c73e4c6175e31ade54498dfc5f44cb381ed3a82c41ee/share/doc/html
--sysconfdir=/home/sagemuej/.cabal/store/ghc-7.10.2/bytes-0.15.3-f3512c63176080b74817c73e4c6175e31ade54498dfc5f44cb381ed3a82c41ee/etc
--enable-library-vanilla --disable-library-profiling --enable-shared
--disable-executable-dynamic --disable-executable-profiling
--enable-optimization --disable-debug-info --disable-library-for-ghci
--disable-split-objs --disable-executable-stripping
--disable-library-stripping --package-db=clear --package-db=global
--package-db=/home/sagemuej/.cabal/store/ghc-7.10.2/package.db
--flags=+test-doctests
--dependency=base=base-4.8.1.0-4f7206fd964c629946bb89db72c80011
--dependency=binary=binary-0.7.5.0-07214b304bb0a2c4cbf50d9dc7914ee6
--dependency=bytestring=bytestring-0.10.6.0-2362d1f36f1255e85478e7793e15b170
--dependency=cereal=cereal-0.5.4.0-e33533d9679f1ee63c41f399bd6bd85157d24960a60cf74441df2c839b683349
--dependency=containers=containers-0.5.6.2-2de75421d746ab474b330e43191bb31b
--dependency=hashable=hashable-1.2.3.3-80550537c7909140be870afef59b4dda
--dependency=mtl=mtl-2.2.1-5cf332b11edb88a6040af20fd6a58acb
--dependency=text=text-1.2.1.3-202edba6fea901191194d38d810da662
--dependency=time=time-1.5.0.1-c208e8fcb3277879fd30f1140654d53e
--dependency=transformers=transformers-0.4.2.0-21dcbf13c43f5d8cf6a1f54dee6c5bff
--dependency=transformers-compat=transformers-compat-0.4.0.4-3ca5cbcec233c17da785d5f27705643c
--dependency=unordered-containers=unordered-containers-0.2.5.1-716f4718f442df81f737706b1d02ca94
--dependency=scientific=scientific-0.3.3.8-2190dafd2ec38a81410f6c29843a631d
--dependency=void=void-0.7.2-7a4a9bdb85fe1af44c3d4403729105d69ea5b3df142a44730ac50cea655ffcc2
--disable-tests --disable-coverage --exact-configuration --disable-benchmarks
--with-ghc=/usr/local/bin/ghc-7.10 --with-ghc-pkg=/usr/local/bin/ghc-pkg-7.10
Redirecting build log to {handle:
/home/sagemuej/.cabal/logs/ghc-7.10.2/bytes-0.15.3-f3512c63176080b74817c73e4c6175e31ade54498dfc5f44cb381ed3a82c41ee.log}
/tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32057/distributive-0.5.3/dist/setup/setup
configure --verbose=2 --builddir=dist --ghc
--prefix=/home/sagemuej/.cabal/store/ghc-7.10.2/distributive-0.5.3-aa3561fb340a35a8e5613c7e67b30fa1443946a18b49819351cd07cdd39a5818
--bindir=/home/sagemuej/.cabal/store/ghc-7.10.2/distributive-0.5.3-aa3561fb340a35a8e5613c7e67b30fa1443946a18b49819351cd07cdd39a5818/bin
--libdir=/home/sagemuej/.cabal/store/ghc-7.10.2/distributive-0.5.3-aa3561fb340a35a8e5613c7e67b30fa1443946a18b49819351cd07cdd39a5818/lib
--libsubdir=
--libexecdir=/home/sagemuej/.cabal/store/ghc-7.10.2/distributive-0.5.3-aa3561fb340a35a8e5613c7e67b30fa1443946a18b49819351cd07cdd39a5818/libexec/
--datadir=/home/sagemuej/.cabal/store/ghc-7.10.2/distributive-0.5.3-aa3561fb340a35a8e5613c7e67b30fa1443946a18b49819351cd07cdd39a5818/share
--datasubdir=
--docdir=/home/sagemuej/.cabal/store/ghc-7.10.2/distributive-0.5.3-aa3561fb340a35a8e5613c7e67b30fa1443946a18b49819351cd07cdd39a5818/share/doc
--htmldir=/home/sagemuej/.cabal/store/ghc-7.10.2/distributive-0.5.3-aa3561fb340a35a8e5613c7e67b30fa1443946a18b49819351cd07cdd39a5818/share/doc/html
--haddockdir=/home/sagemuej/.cabal/store/ghc-7.10.2/distributive-0.5.3-aa3561fb340a35a8e5613c7e67b30fa1443946a18b49819351cd07cdd39a5818/share/doc/html
--sysconfdir=/home/sagemuej/.cabal/store/ghc-7.10.2/distributive-0.5.3-aa3561fb340a35a8e5613c7e67b30fa1443946a18b49819351cd07cdd39a5818/etc
--enable-library-vanilla --disable-library-profiling --enable-shared
--disable-executable-dynamic --disable-executable-profiling
--enable-optimization --disable-debug-info --disable-library-for-ghci
--disable-split-objs --disable-executable-stripping
--disable-library-stripping --package-db=clear --package-db=global
--package-db=/home/sagemuej/.cabal/store/ghc-7.10.2/package.db --flags=+tagged
--flags=+semigroups
--dependency=base=base-4.8.1.0-4f7206fd964c629946bb89db72c80011
--dependency=base-orphans=base-orphans-0.6-d41395e02536fe1010491715839d682c4a9d06718c900b2fc7fd0bdaf8158ba9
--dependency=transformers=transformers-0.4.2.0-21dcbf13c43f5d8cf6a1f54dee6c5bff
--dependency=transformers-compat=transformers-compat-0.4.0.4-3ca5cbcec233c17da785d5f27705643c
--dependency=tagged=tagged-0.8.4-0664ad27a7c42776fbfa10863d9ade72fc58707ae86725e5d3198575556e6010
--dependency=semigroups=semigroups-0.18.2-4e26769fe496e89f836760a7cd7fc5cf76fa4103d9e96f74b253420de88cd908
--disable-tests --disable-coverage --exact-configuration --disable-benchmarks
--with-ghc=/usr/local/bin/ghc-7.10 --with-ghc-pkg=/usr/local/bin/ghc-pkg-7.10
Redirecting build log to {handle:
/home/sagemuej/.cabal/logs/ghc-7.10.2/distributive-0.5.3-aa3561fb340a35a8e5613c7e67b30fa1443946a18b49819351cd07cdd39a5818.log}

Failed to build
bytes-0.15.3-f3512c63176080b74817c73e4c6175e31ade54498dfc5f44cb381ed3a82c41ee.
The failure occurred during the configure step.
Build log (
/home/sagemuej/.cabal/logs/ghc-7.10.2/bytes-0.15.3-f3512c63176080b74817c73e4c6175e31ade54498dfc5f44cb381ed3a82c41ee.log
):
[1 of 1] Compiling Main ( /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32056/bytes-0.15.3/dist/setup/setup.hs, /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32056/bytes-0.15.3/dist/setup/Main.o )
Linking /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32056/bytes-0.15.3/dist/setup/setup ...
Warning: bytes.cabal: Ignoring unknown section type: custom-setup
Configuring bytes-0.15.3...
setup: '--exact-conf' was given, but the following flags were not specified:
FlagName "test-doctests"

Failed to build
distributive-0.5.3-aa3561fb340a35a8e5613c7e67b30fa1443946a18b49819351cd07cdd39a5818.
The failure occurred during the configure step.
Build log (
/home/sagemuej/.cabal/logs/ghc-7.10.2/distributive-0.5.3-aa3561fb340a35a8e5613c7e67b30fa1443946a18b49819351cd07cdd39a5818.log
):
[1 of 1] Compiling Main ( /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32057/distributive-0.5.3/dist/setup/setup.hs, /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32057/distributive-0.5.3/dist/setup/Main.o )
Linking /tmp/ccd/free-vector-spaces/dist-newstyle/tmp/src-32057/distributive-0.5.3/dist/setup/setup ...
Warning: distributive.cabal: Ignoring unknown section type: custom-setup
Configuring distributive-0.5.3...
setup: '--exact-conf' was given, but the following flags were not specified:
FlagName "semigroups", FlagName "tagged"
CallStack (from HasCallStack):
die', called at ./Distribution/Client/ProjectOrchestration.hs:790:8 in main:Distribution.Client.ProjectOrchestration
cabal: Failed to build adjunctions-4.3 because it depends on adjunctions-4.3
which itself failed to build.
Failed to build bifunctors-5.2 because it depends on bifunctors-5.2 which
itself failed to build.
Failed to build
bytes-0.15.3-f3512c63176080b74817c73e4c6175e31ade54498dfc5f44cb381ed3a82c41ee.
The failure occurred during the configure step.
Failed to build comonad-5.0.2 because it depends on comonad-5.0.2 which itself
failed to build.
Failed to build
distributive-0.5.3-aa3561fb340a35a8e5613c7e67b30fa1443946a18b49819351cd07cdd39a5818.
The failure occurred during the configure step.
Failed to build free-4.12.4 because it depends on free-4.12.4 which itself
failed to build.
Failed to build free-vector-spaces-0.1.4.0 because it depends on
free-vector-spaces-0.1.4.0 which itself failed to build.
Failed to build kan-extensions-5.0.2 because it depends on
kan-extensions-5.0.2 which itself failed to build.
Failed to build lens-4.15.4 because it depends on lens-4.15.4 which itself
failed to build.
Failed to build linear-1.20.6 because it depends on linear-1.20.6 which itself
failed to build.
Failed to build profunctors-5.2.1 because it depends on profunctors-5.2.1
which itself failed to build.
Failed to build semigroupoids-5.0.1 because it depends on semigroupoids-5.0.1
which itself failed to build.
```
At least I reckon it was the `new-build` that turned on `--exact-conf`, but what that really means I don't understand.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.