Created
March 28, 2020 18:40
-
-
Save Calvin-L/ce1e40bde893de7eaa59738c6de7c342 to your computer and use it in GitHub Desktop.
Stack LTS-7.24 alex+happy build log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ bash repro.sh | |
Cabal file warning in/Users/loncaric/sources/playground/stack-failure/please-install-alex.cabal@0:0: A package using section syntax must specify at least | |
'cabal-version: >= 1.2'. | |
alex > configure | |
alex > [1 of 2] Compiling Main ( /private/var/folders/d4/n6djsq8x5dv0jfx84hzl0v000000gn/T/stack-8d950b202098b539/alex-3.1.7/Setup.lhs, /private/var/folders/d4/n6djsq8x5dv0jfx84hzl0v000000gn/T/stack-8d950b202098b539/alex-3.1.7/.stack-work/dist/x86_64-osx/Cabal-1.24.0.0/setup/Main.o ) | |
alex > [2 of 2] Compiling StackSetupShim ( /Users/loncaric/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /private/var/folders/d4/n6djsq8x5dv0jfx84hzl0v000000gn/T/stack-8d950b202098b539/alex-3.1.7/.stack-work/dist/x86_64-osx/Cabal-1.24.0.0/setup/StackSetupShim.o ) | |
alex > Linking /private/var/folders/d4/n6djsq8x5dv0jfx84hzl0v000000gn/T/stack-8d950b202098b539/alex-3.1.7/.stack-work/dist/x86_64-osx/Cabal-1.24.0.0/setup/setup ... | |
alex > | |
alex > In file included from /var/folders/d4/n6djsq8x5dv0jfx84hzl0v000000gn/T/ghc33312_0/ghc_8.c:1:0: error: | |
alex > | |
alex > | |
alex > In file included from /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/Rts.h:217:0: error: | |
alex > | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:505:5: error: | |
alex > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
alex > #if ZERO_SLOP_FOR_LDV_PROF || ZERO_SLOP_FOR_SANITY_CHECK | |
alex > ^ | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:502:37: error: | |
alex > note: expanded from macro 'ZERO_SLOP_FOR_LDV_PROF' | |
alex > #define ZERO_SLOP_FOR_LDV_PROF (defined(PROFILING)) | |
alex > ^ | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:505:31: error: | |
alex > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
alex > #if ZERO_SLOP_FOR_LDV_PROF || ZERO_SLOP_FOR_SANITY_CHECK | |
alex > ^ | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:503:37: error: | |
alex > note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' | |
alex > #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) | |
alex > ^ | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:505:31: error: | |
alex > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:503:56: error: | |
alex > note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' | |
alex > #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) | |
alex > ^ | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:523:5: error: | |
alex > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
alex > #if ZERO_SLOP_FOR_LDV_PROF && !ZERO_SLOP_FOR_SANITY_CHECK | |
alex > ^ | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:502:37: error: | |
alex > note: expanded from macro 'ZERO_SLOP_FOR_LDV_PROF' | |
alex > #define ZERO_SLOP_FOR_LDV_PROF (defined(PROFILING)) | |
alex > ^ | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:523:32: error: | |
alex > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
alex > #if ZERO_SLOP_FOR_LDV_PROF && !ZERO_SLOP_FOR_SANITY_CHECK | |
alex > ^ | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:503:37: error: | |
alex > note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' | |
alex > #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) | |
alex > ^ | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:523:32: error: | |
alex > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:503:56: error: | |
alex > note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' | |
alex > #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) | |
alex > ^ | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:552:5: error: | |
alex > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
alex > #if ZERO_SLOP_FOR_LDV_PROF && !ZERO_SLOP_FOR_SANITY_CHECK | |
alex > ^ | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:502:37: error: | |
alex > note: expanded from macro 'ZERO_SLOP_FOR_LDV_PROF' | |
alex > #define ZERO_SLOP_FOR_LDV_PROF (defined(PROFILING)) | |
alex > ^ | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:552:32: error: | |
alex > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
alex > #if ZERO_SLOP_FOR_LDV_PROF && !ZERO_SLOP_FOR_SANITY_CHECK | |
alex > ^ | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:503:37: error: | |
alex > note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' | |
alex > #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) | |
alex > ^ | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:552:32: error: | |
alex > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
alex > | |
alex > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:503:56: error: | |
alex > note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' | |
alex > #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) | |
alex > ^ | |
alex > 9 warnings generated. | |
alex > Configuring alex-3.1.7... | |
alex > build | |
happy > configure | |
alex > Building alex-3.1.7... | |
alex > Preprocessing executable 'alex' for alex-3.1.7... | |
alex > setup: The program 'happy' is required but it could not be found | |
happy > [1 of 2] Compiling Main ( /private/var/folders/d4/n6djsq8x5dv0jfx84hzl0v000000gn/T/stack-8d950b202098b539/happy-1.19.5/Setup.lhs, /private/var/folders/d4/n6djsq8x5dv0jfx84hzl0v000000gn/T/stack-8d950b202098b539/happy-1.19.5/.stack-work/dist/x86_64-osx/Cabal-1.24.0.0/setup/Main.o ) | |
happy > | |
happy > /private/var/folders/d4/n6djsq8x5dv0jfx84hzl0v000000gn/T/stack-8d950b202098b539/happy-1.19.5/Setup.lhs:20:1: warning: [-Wtabs] | |
happy > Tab character found here, and in 39 further locations. | |
happy > Please use spaces instead. | |
happy > [2 of 2] Compiling StackSetupShim ( /Users/loncaric/.stack/setup-exe-src/setup-shim-mPHDZzAJ.hs, /private/var/folders/d4/n6djsq8x5dv0jfx84hzl0v000000gn/T/stack-8d950b202098b539/happy-1.19.5/.stack-work/dist/x86_64-osx/Cabal-1.24.0.0/setup/StackSetupShim.o ) | |
happy > Linking /private/var/folders/d4/n6djsq8x5dv0jfx84hzl0v000000gn/T/stack-8d950b202098b539/happy-1.19.5/.stack-work/dist/x86_64-osx/Cabal-1.24.0.0/setup/setup ... | |
happy > | |
happy > In file included from /var/folders/d4/n6djsq8x5dv0jfx84hzl0v000000gn/T/ghc33354_0/ghc_8.c:1:0: error: | |
happy > | |
happy > | |
happy > In file included from /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/Rts.h:217:0: error: | |
happy > | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:505:5: error: | |
happy > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
happy > #if ZERO_SLOP_FOR_LDV_PROF || ZERO_SLOP_FOR_SANITY_CHECK | |
happy > ^ | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:502:37: error: | |
happy > note: expanded from macro 'ZERO_SLOP_FOR_LDV_PROF' | |
happy > #define ZERO_SLOP_FOR_LDV_PROF (defined(PROFILING)) | |
happy > ^ | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:505:31: error: | |
happy > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
happy > #if ZERO_SLOP_FOR_LDV_PROF || ZERO_SLOP_FOR_SANITY_CHECK | |
happy > ^ | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:503:37: error: | |
happy > note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' | |
happy > #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) | |
happy > ^ | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:505:31: error: | |
happy > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:503:56: error: | |
happy > note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' | |
happy > #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) | |
happy > ^ | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:523:5: error: | |
happy > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
happy > #if ZERO_SLOP_FOR_LDV_PROF && !ZERO_SLOP_FOR_SANITY_CHECK | |
happy > ^ | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:502:37: error: | |
happy > note: expanded from macro 'ZERO_SLOP_FOR_LDV_PROF' | |
happy > #define ZERO_SLOP_FOR_LDV_PROF (defined(PROFILING)) | |
happy > ^ | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:523:32: error: | |
happy > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
happy > #if ZERO_SLOP_FOR_LDV_PROF && !ZERO_SLOP_FOR_SANITY_CHECK | |
happy > ^ | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:503:37: error: | |
happy > note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' | |
happy > #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) | |
happy > ^ | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:523:32: error: | |
happy > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:503:56: error: | |
happy > note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' | |
happy > #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) | |
happy > ^ | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:552:5: error: | |
happy > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
happy > #if ZERO_SLOP_FOR_LDV_PROF && !ZERO_SLOP_FOR_SANITY_CHECK | |
happy > ^ | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:502:37: error: | |
happy > note: expanded from macro 'ZERO_SLOP_FOR_LDV_PROF' | |
happy > #define ZERO_SLOP_FOR_LDV_PROF (defined(PROFILING)) | |
happy > ^ | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:552:32: error: | |
happy > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
happy > #if ZERO_SLOP_FOR_LDV_PROF && !ZERO_SLOP_FOR_SANITY_CHECK | |
happy > ^ | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:503:37: error: | |
happy > note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' | |
happy > #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) | |
happy > ^ | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:552:32: error: | |
happy > warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] | |
happy > | |
happy > /Users/loncaric/.stack/programs/x86_64-osx/ghc-8.0.1/lib/ghc-8.0.1/include/rts/storage/ClosureMacros.h:503:56: error: | |
happy > note: expanded from macro 'ZERO_SLOP_FOR_SANITY_CHECK' | |
happy > #define ZERO_SLOP_FOR_SANITY_CHECK (defined(DEBUG) && !defined(THREADED_RTS)) | |
happy > ^ | |
happy > 9 warnings generated. | |
happy > Configuring happy-1.19.5... | |
happy > build | |
happy > Building happy-1.19.5... | |
happy > Preprocessing executable 'happy' for happy-1.19.5... | |
happy > setup: The program 'happy' is required but it could not be found | |
-- While building package happy-1.19.5 using: | |
/private/var/folders/d4/n6djsq8x5dv0jfx84hzl0v000000gn/T/stack-8d950b202098b539/happy-1.19.5/.stack-work/dist/x86_64-osx/Cabal-1.24.0.0/setup/setup --builddir=.stack-work/dist/x86_64-osx/Cabal-1.24.0.0 build --ghc-options "" | |
Process exited with code: ExitFailure 1 | |
-- While building package alex-3.1.7 using: | |
/private/var/folders/d4/n6djsq8x5dv0jfx84hzl0v000000gn/T/stack-8d950b202098b539/alex-3.1.7/.stack-work/dist/x86_64-osx/Cabal-1.24.0.0/setup/setup --builddir=.stack-work/dist/x86_64-osx/Cabal-1.24.0.0 build --ghc-options "" | |
Process exited with code: ExitFailure 1 | |
Progress 2/3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment