-
Notifications
You must be signed in to change notification settings - Fork 847
Closed
Description
Our CI server automatically upgrades to new releases and this happened:
NOTE: the test command is functionally equivalent to 'build --test'
Progress: 0/11 frontrow-entities-0.0.1.1: configure
Progress: 0/11 frontrow-entities-0.0.1.1: build
Progress: 0/11 P
-- While building package frontrow-entities-0.0.1.1 using:
/opt/ghc/7.8.4/bin/runhaskell -package=Cabal-1.18.1.5 -clear-package-db -global-package-db -package-db=/home/ubuntu/.stack/snapshots/x86_64-linux/lts-2.3/7.8.4/pkgdb/ /tmp/stack14295/Setup.hs --builddir=.stack-work/dist/x86_64-linux/Cabal-1.18.1.5/ build exe:entities --ghc-options -hpcdir .stack-work/dist/x86_64-linux/Cabal-1.18.1.5/hpc/.hpc/ -ddump-hi -ddump-to-file
Process exited with code: ExitFailure 1
Logs have been written to: /home/ubuntu/backend/.stack-work/logs/frontrow-entities-0.0.1.1.log
Configuring frontrow-entities-0.0.1.1...
Setup.hs: Cannot build the executable 'entities' because the component is
marked as disabled in the .cabal file.
stack test returned exit code 1
cabal file in question has this
executable entities
if flag(executable-too)
Buildable: True
else
Buildable: False
This is a multi-cabal file project, and it works if I build just the individual cabal file.
fails: stack test
passes: stack test frontrow-entities
Metadata
Metadata
Assignees
Labels
No labels