Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Bump resolvers #1783

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Bump resolvers #1783

wants to merge 2 commits into from

Conversation

alanz
Copy link
Collaborator

@alanz alanz commented Jun 1, 2020

cabal index 2020-06-01T18:54:28Z
stack-8.8.3.yaml to lts-15.14
stack.yaml to nightly-2020-06-01

cabal index 2020-06-01T18:54:28Z
stack-8.8.3.yaml to lts-15.14
stack.yaml to nightly-2020-06-01
@alanz alanz requested review from jneira and fendor June 1, 2020 21:00
Copy link
Collaborator

@fendor fendor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you!

@jneira
Copy link
Member

jneira commented Jun 1, 2020

cabal -w ghc-8.4.4 is failing with:

Configuring library for ghc-lib-parser-8.10.1.20200523..
Preprocessing library for ghc-lib-parser-8.10.1.20200523..
In file included from /usr/include/_G_config.h:15:0,
                 from /usr/include/libio.h:31,
                 from /usr/include/stdio.h:74,
                 from /opt/ghc/8.4.4/lib/ghc-8.4.4/include/rts/Flags.h:16,
                 from /opt/ghc/8.4.4/lib/ghc-8.4.4/include/Rts.h:191,
                 from InfoTable.hsc:8:
InfoTable.hsc: In function ‘main’:
/opt/ghc/8.4.4/lib/ghc-8.4.4/template-hsc.h:75:24: error: ‘struct StgInfoTable_’ has no member named ‘srt’
                 (long) offsetof (t, f));
                        ^
InfoTable.hsc:41:5: note: in expansion of macro ‘hsc_peek’
/opt/ghc/8.4.4/lib/ghc-8.4.4/template-hsc.h:79:24: error: ‘StgInfoTable {aka struct StgInfoTable_}’ has no member named ‘srt’
                 (long) offsetof (t, f));
                        ^
InfoTable.hsc:59:5: note: in expansion of macro ‘hsc_poke’
compiling dist/build/GHC/Exts/Heap/InfoTable_hsc_make.c failed (exit code 1)
command was: /usr/bin/gcc -c dist/build/GHC/Exts/Heap/InfoTable_hsc_make.c -o dist/build/GHC/Exts/Heap/InfoTable_hsc_make.o -fno-stack-protector -fno-stack-protector -fuse-ld=gold -D__GLASGOW_HASKELL__=804 -Dlinux_BUILD_OS=1 -Dx86_64_BUILD_ARCH=1 -Dlinux_HOST_OS=1 -Dx86_64_HOST_ARCH=1 -Iincludes -Ighc-lib/stage0/lib -Ighc-lib/stage0/compiler/build -Icompiler -Idist/build/includes -Idist/build/ghc-lib/stage0/lib -Idist/build/ghc-lib/stage0/compiler/build -Idist/build/compiler -DTHREADED_RTS -DTHREADED_RTS -DGHC_IN_GHCI -Idist/build/autogen -Idist/build/global-autogen -include dist/build/autogen/cabal_macros.h -I/opt/ghc/8.4.4/lib/ghc-8.4.4/process-1.6.3.0/include -I/opt/ghc/8.4.4/lib/ghc-8.4.4/unix-2.7.2.2/include -I/opt/ghc/8.4.4/lib/ghc-8.4.4/time-1.8.0.2/include -I/opt/ghc/8.4.4/lib/ghc-8.4.4/bytestring-0.10.8.2/include -I/opt/ghc/8.4.4/lib/ghc-8.4.4/base-4.11.1.0/include -I/opt/ghc/8.4.4/lib/ghc-8.4.4/integer-gmp-1.0.2.0/include -I/opt/ghc/8.4.4/lib/ghc-8.4.4/include -I/opt/ghc/8.4.4/lib/ghc-8.4.4/include/
cabal: Failed to build ghc-lib-parser-8.10.1.20200523 (which is required by
hlint-3.1.4). See the build log above for details.

So it seems the cabal.project constraint was to make cabal avoid ghc-lib-parser-8.10.1.20200523
I would have done better to leave a comment when i added the constraint

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants