You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lethaskell-nix=import(builtins.fetchTarball{url="https://github.com/input-output-hk/haskell.nix/archive/5051bfa9d6b7c07d30f4d8eee23c49d9631ced7c.tar.gz";sha256="0labmjfiv5rslgw4ybgkcb18vd457aybdsh0vshf60rlz0ypnnb1";}){};pkgs=haskell-nix.pkgs;pkgSet=pkgs.haskell-nix.mkStackPkgSet{stack-pkgs={resolver="lts-19.2";extras=_: {};};modules=# https://github.com/input-output-hk/haskell.nix/issues/1278# All components in the snapshot are planned[{planned=true;}];};inpkgSet.config.hsPkgs.ghc-lib-parser.components.library
(Trying to build pkgs.haskell-nix.snapshots."lts-19.2".ghc-lib-parser.components.library fails much earlier trying to reinstall stm-2.5.0.0; it quite rightly complains about bounds on base; raised as #1435).
Build error:
unpacking sources
unpacking source archive /nix/store/fsz8r2qzmxlj07whjs27rk52p57yqk30-ghc-lib-parser-9.0.2.20211226.tar.gz
source root is ghc-lib-parser-9.0.2.20211226
setting SOURCE_DATE_EPOCH to timestamp 1640481001 of file ghc-lib-parser-9.0.2.20211226/ghc-lib-parser.cabal
patching sources
applying patch /nix/store/hryal633hhqw3w81nxh3a9insnyyp8m8-ghc-lib-parser-8.10-global-unique-counters-in-rts.patch
patching file compiler/cbits/genSym.c
configuring
Configure flags:
--prefix=/nix/store/vvbdaqp1jf0pn42d9944a3p4yhj41x2s-ghc-lib-parser-lib-ghc-lib-parser-9.0.2.20211226 lib:ghc-lib-parser --package-db=clear --package-db=/nix/store/a8v99pniwr72hlb43dkx9il0l8x9cdzc-ghc-lib-parser->
Warning: ghc-lib-parser.cabal:138:5: The field "autogen-modules" is available
only since the Cabal specification version 2.0. This field will be ignored.
Warning: ghc-lib-parser.cabal:1:22: Packages with 'cabal-version: 1.12' or
later should specify a specific version of the Cabal spec of the form
'cabal-version: x.y'. Use 'cabal-version: 1.22'.
Configuring library for ghc-lib-parser-9.0.2.20211226..
building
Preprocessing library for ghc-lib-parser-9.0.2.20211226..
Building library for ghc-lib-parser-9.0.2.20211226..
[...]
[264 of 264] Compiling GHC.Driver.Hooks ( compiler/GHC/Driver/Hooks.hs, dist/build/GHC/Driver/Hooks.o, dist/build/GHC/Driver/Hooks.dyn_o )
compiler/cbits/genSym.c: In function ‘ghc_lib_parser_genSym’:
compiler/cbits/genSym.c:27:9: error:
error: ‘GenSymCounter’ undeclared (first use in this function)
27 | GenSymCounter = (GenSymCounter + GenSymInc) & UNIQUE_MASK;
| ^~~~~~~~~~~~~
|
27 | GenSymCounter = (GenSymCounter + GenSymInc) & UNIQUE_MASK;
| ^
compiler/cbits/genSym.c:27:9: error:
note: each undeclared identifier is reported only once for each function it appears in
|
27 | GenSymCounter = (GenSymCounter + GenSymInc) & UNIQUE_MASK;
| ^
compiler/cbits/genSym.c:27:42: error:
error: ‘GenSymInc’ undeclared (first use in this function)
27 | GenSymCounter = (GenSymCounter + GenSymInc) & UNIQUE_MASK;
| ^~~~~~~~~
|
27 | GenSymCounter = (GenSymCounter + GenSymInc) & UNIQUE_MASK;
| ^
compiler/cbits/genSym.c: In function ‘ghc_lib_parser_initGenSym’:
compiler/cbits/genSym.c:44:3: error:
error: ‘GenSymCounter’ undeclared (first use in this function); did you mean ‘NewGenSymCounter’?
44 | GenSymCounter = NewGenSymCounter;
| ^~~~~~~~~~~~~
| NewGenSymCounter
|
44 | GenSymCounter = NewGenSymCounter;
| ^
compiler/cbits/genSym.c:45:3: error:
error: ‘GenSymInc’ undeclared (first use in this function); did you mean ‘NewGenSymInc’?
45 | GenSymInc = NewGenSymInc;
| ^~~~~~~~~
| NewGenSymInc
|
45 | GenSymInc = NewGenSymInc;
| ^
`cc' failed in phase `C Compiler'. (Exit code: 1)
builder for '/nix/store/35sxl9hmfg8vmvp8gkk9nxzvbdiwdbnr-ghc-lib-parser-lib-ghc-lib-parser-9.0.2.20211226.drv' failed with exit code 1
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
The patch to ghc-lib-parser introduced in #1311 does not seem to work on a GHC 9.0.2 build.
Workaround: add the following module
Repro:
(Trying to build
pkgs.haskell-nix.snapshots."lts-19.2".ghc-lib-parser.components.library
fails much earlier trying to reinstallstm-2.5.0.0
; it quite rightly complains about bounds onbase
; raised as #1435).Build error:
The text was updated successfully, but these errors were encountered: