
Hi List, I pulled ghc repo (568d7279a) and trying to build with following env: Ghc from stack (8.8.3). I made links to ghc and ghc-pkg in /usr/bin ./boot is passing well, but ./configure breaks on ghc-boot step. I have no idea how could I fix this issue. I manually modified dep versions in to what I have for ghc-8.8.3 and issue with ghc-boot-th disappeared and appeared parsec libraries/bootstrapping.conf/binary-0.8.7.0.conf depends: array-0.5.4.0 base-4.13.0.0 bytestring-0.10.10.0 containers-0.6.2.1 but there was depends: array-0.5.3.0 base-4.12.0.0 bytestring-0.10.8.2 containers-0.6.0.1 Where is actual problem? Old cabal? 10:45$ cabal --version cabal-install version 1.24.0.2 compiled using version 1.24.2.0 of the Cabal library Configuring ghc-boot-th-8.11.0.20200520... "/usr/bin/ghc-pkg" update -v0 --force --package-db=libraries/bootstrapping.conf libraries/ghc-boot-th/dist-boot/inplace-pkg-config "inplace/bin/ghc-cabal" configure libraries/ghc-boot dist-boot --with-ghc="/usr/bin/ghc" --with-ghc-pkg="/usr/bin/ghc-pkg" --package-db=/home/dan/demo/haskell/compiler/ghc/libraries/bootstrapping.conf --disable-library-for-ghci --enable-library-vanilla --enable-library-for-ghci --disable-library-profiling --disable-shared --with-hscolour="/home/dan/.cabal/bin/HsColour" --configure-option=CFLAGS="-Wall -Werror=unused-but-set-variable -Wno-error=inline -iquote /home/dan/demo/haskell/compiler/ghc/libraries/ghc-boot" --configure-option=LDFLAGS=" " --configure-option=CPPFLAGS=" " --gcc-options="-Wall -Werror=unused-but-set-variable -Wno-error=inline -iquote /home/dan/demo/haskell/compiler/ghc/libraries/ghc-boot " --constraint "binary == 0.8.7.0" --constraint "transformers == 0.5.6.2" --constraint "mtl == 2.2.2" --constraint "hpc == 0.6.1.0" --constraint "ghc-boot-th == 8.11.0.20200520" --constraint "ghc-boot == 8.11.0.20200520" --constraint "template-haskell == 2.17.0.0" --constraint "text == 1.2.4.0" --constraint "parsec == 3.1.14.0" --constraint "Cabal == 3.3.0.0" --constraint "ghc-heap == 8.11.0.20200520" --constraint "exceptions == 0.10.4" --constraint "ghci == 8.11.0.20200520" --constraint "terminfo == 0.4.1.4" --with-gcc="gcc" --with-ld="ld.gold" --with-ar="ar" --with-alex="/home/dan/.cabal/bin/alex" --with-happy="/home/dan/.cabal/bin/happy" Configuring ghc-boot-8.11.0.20200520... Error: The following packages are broken because other packages they depend on are missing. These broken packages must be rebuilt before they can be used. installed package binary-0.8.7.0 is broken due to missing package array-0.5.3.0, base-4.12.0.0, bytestring-0.10.8.2, containers-0.6.0.1 libraries/ghc-boot/ghc.mk:3: recipe for target 'libraries/ghc-boot/dist-boot/package-data.mk' failed make[1]: *** [libraries/ghc-boot/dist-boot/package-data.mk] Error 1 Makefile:123: recipe for target 'all' failed make: *** [all] Error 2 -- Best regards, Daniil Iaitskov