Re: Building HEAD with HEAD fails
Hi Edward, I commented in the phab. Btw., this looks like a copy-paste error: git show 6338a1cc commit 6338a1cc6df2c7fd8a62eeb4c5240dd90ee74a6c Author: Edward Z. Yang Date: Sun Oct 11 13:41:20 2015 -0700 Rename PACKAGE_KEY and LIB_NAME in build system. Signed-off-by: Edward Z. Yang diff --git a/compiler/ghc.mk b/compiler/ghc.mk index 8172ca6..fc9e891 100644 --- a/compiler/ghc.mk +++ b/compiler/ghc.mk @@ -441,11 +441,11 @@ ifeq "$(compiler_stage1_VERSION_MUNGED)" "YES" compiler_stage1_MUNGED_VERSION = $(subst .$(ProjectPatchLevel),,$(ProjectVersion)) define compiler_PACKAGE_MAGIC compiler_stage1_VERSION = $(compiler_stage1_MUNGED_VERSION) -compiler_stage1_PACKAGE_KEY = $(subst .$(ProjectPatchLevel),,$(compiler_stage1_PACKAGE_KEY)) -compiler_stage1_LIB_NAME = $(subst .$(ProjectPatchLevel),,$(compiler_stage1_LIB_NAME)) +compiler_stage1_COMPONENT_ID = $(subst .$(ProjectPatchLevel),,$(compiler_stage1_COMPONENT_ID)) +compiler_stage1_COMPONENT_ID = $(subst .$(ProjectPatchLevel),,$(compiler_stage1_COMPONENT_ID)) endef Cheers, Gabor On 10/22/15, Edward Z. Yang wrote: > Phab here: https://phabricator.haskell.org/D1355 > > Excerpts from Edward Z. Yang's message of 2015-10-22 13:09:25 -0700: >> Scratch that, I managed to reproduced. (As you said, it occurs only when >> you do the bindist.) I'll debug. >> >> Edward >> >> Excerpts from Gabor Greif's message of 2015-10-21 23:47:37 -0700: >> > I did not use an inplace-stage2 but had a 'make install' before and >> > did a boot/reconfigure. >> > >> > Not sure whether this detail is relevant. >> > >> > How can I debug this problem? What does the error message say >> > precisely? >> > >> > Cheers, >> > >> > Gabor >> > >> > On 10/22/15, Edward Z. Yang wrote: >> > > So... I can't reproduce this. I validated a copy of GHC HEAD, >> > > and then used the inplace ghc-stage2 to build another using >> > > ./configure --with-ghc=... and it built fine. >> > > >> > > Maybe, do you have some more details? >> > > >> > > Edward >> > > >> > > Excerpts from Edward Z. Yang's message of 2015-10-21 11:44:26 -0700: >> > >> This is likely my fault, w.r.t. to the recent Cabal submodule >> > >> update. >> > >> I'm a bit confused why there are things in the DB that don't have >> > >> ABI >> > >> hashes though... >> > >> >> > >> Edward >> > >> >> > >> Excerpts from Gabor Greif's message of 2015-10-21 03:51:02 -0700: >> > >> > Hi devs, >> > >> > >> > >> > just a heads-up (pun intended...) >> > >> > >> > >> > (After updating to TOT, boot and configure with a freshly >> > >> > installed >> > >> > TOT ghc as bootstrap compiler. Then 'make clean'.) >> > >> > >> > >> > Running 'make' gives: >> > >> > >> > >> > ... >> > >> > Creating includes/ghcplatform.h... >> > >> > Done. >> > >> > "rm" -f utils/hsc2hs/dist/build/.depend.haskell.tmp >> > >> > "/home/ggreif/bin/ghc" -M -static -H64m -O0 -fasm -package-db >> > >> > libraries/bootstrapping.conf -hide-all-packages -i >> > >> > -iutils/hsc2hs/. >> > >> > -iutils/hsc2hs/dist/build -iutils/hsc2hs/dist/build/autogen >> > >> > -Iutils/hsc2hs/dist/build -Iutils/hsc2hs/dist/build/autogen >> > >> > -optP-include -optPutils/hsc2hs/dist/build/autogen/cabal_macros.h >> > >> > -package-id base-4.8.2.0 -package-id containers-0.5.6.2 >> > >> > -package-id >> > >> > directory-1.2.2.0 -package-id filepath-1.4.0.0 -package-id >> > >> > process-1.2.3.0 -XHaskell2010 -no-user-package-db -rtsopts >> > >> > -odir >> > >> > utils/hsc2hs/dist/build -hidir utils/hsc2hs/dist/build -stubdir >> > >> > utils/hsc2hs/dist/build -dep-makefile >> > >> > utils/hsc2hs/dist/build/.depend.haskell.tmp -dep-suffix "" >> > >> > -include-pkg-deps utils/hsc2hs/./Main.hs utils/hsc2hs/./C.hs >> > >> > utils/hsc2hs/./Common.hs utils/hsc2hs/./CrossCodegen.hs >> > >> > utils/hsc2hs/./DirectCodegen.hs utils/hsc2hs/./Flags.hs >> > >> > utils/hsc2hs/./HSCParser.hs utils/hsc2hs/./UtilsCodegen.hs >> > >> > : package db: duplicate packages with incompatible >> > >> > ABIs: >> > >> > binary-0.7.5.0 has ABIs: , c28f822c21e75eb270eca0870e42aaac >> > >> > Cabal-1.23.0.0 has ABIs: , a0a6af8f1dd909f2ee719ddb2cd65779 >> > >> > hpc-0.6.0.2 has ABIs: , 3434375974d4bc6d14952a90ec97d0c4 >> > >> > ghc-boot-0.0.0.0 has ABIs: , f422fc19421064f81c42815f25a11e6e >> > >> > hoopl-3.10.0.2 has ABIs: , 8968e2731ff8d529c37c048d65e94bf2 >> > >> > transformers-0.4.3.0 has ABIs: , >> > >> > 812457c97c58693d7f8a813b1ba19a33 >> > >> > template-haskell-2.11.0.0 has ABIs: , >> > >> > 0ef51476100e9bdf96d1bf59696b98a1 >> > >> > terminfo-0.4.0.1 has ABIs: , aa24f544c0e3614d419e63fa170ac467 >> > >> > >> > >> > >> > >> > The only solution I could come up for now is >> > >> > >> > >> > cd libraries >> > >> > ln -s /home/ggreif/lib/ghc-7.11.20151020/package.conf.d >> > >> > bootstrapping.conf >> > >> > >> > >> > then resuming 'make' leads to success. >> > >> > >> > >> > What could this be? Has somebody seen such an error? >> > >> > >> > >> > Cheers and thanks, >> >
Re: Building HEAD with HEAD fails
Phab here: https://phabricator.haskell.org/D1355 Excerpts from Edward Z. Yang's message of 2015-10-22 13:09:25 -0700: > Scratch that, I managed to reproduced. (As you said, it occurs only when > you do the bindist.) I'll debug. > > Edward > > Excerpts from Gabor Greif's message of 2015-10-21 23:47:37 -0700: > > I did not use an inplace-stage2 but had a 'make install' before and > > did a boot/reconfigure. > > > > Not sure whether this detail is relevant. > > > > How can I debug this problem? What does the error message say precisely? > > > > Cheers, > > > > Gabor > > > > On 10/22/15, Edward Z. Yang wrote: > > > So... I can't reproduce this. I validated a copy of GHC HEAD, > > > and then used the inplace ghc-stage2 to build another using > > > ./configure --with-ghc=... and it built fine. > > > > > > Maybe, do you have some more details? > > > > > > Edward > > > > > > Excerpts from Edward Z. Yang's message of 2015-10-21 11:44:26 -0700: > > >> This is likely my fault, w.r.t. to the recent Cabal submodule update. > > >> I'm a bit confused why there are things in the DB that don't have ABI > > >> hashes though... > > >> > > >> Edward > > >> > > >> Excerpts from Gabor Greif's message of 2015-10-21 03:51:02 -0700: > > >> > Hi devs, > > >> > > > >> > just a heads-up (pun intended...) > > >> > > > >> > (After updating to TOT, boot and configure with a freshly installed > > >> > TOT ghc as bootstrap compiler. Then 'make clean'.) > > >> > > > >> > Running 'make' gives: > > >> > > > >> > ... > > >> > Creating includes/ghcplatform.h... > > >> > Done. > > >> > "rm" -f utils/hsc2hs/dist/build/.depend.haskell.tmp > > >> > "/home/ggreif/bin/ghc" -M -static -H64m -O0 -fasm -package-db > > >> > libraries/bootstrapping.conf -hide-all-packages -i -iutils/hsc2hs/. > > >> > -iutils/hsc2hs/dist/build -iutils/hsc2hs/dist/build/autogen > > >> > -Iutils/hsc2hs/dist/build -Iutils/hsc2hs/dist/build/autogen > > >> > -optP-include -optPutils/hsc2hs/dist/build/autogen/cabal_macros.h > > >> > -package-id base-4.8.2.0 -package-id containers-0.5.6.2 -package-id > > >> > directory-1.2.2.0 -package-id filepath-1.4.0.0 -package-id > > >> > process-1.2.3.0 -XHaskell2010 -no-user-package-db -rtsopts -odir > > >> > utils/hsc2hs/dist/build -hidir utils/hsc2hs/dist/build -stubdir > > >> > utils/hsc2hs/dist/build -dep-makefile > > >> > utils/hsc2hs/dist/build/.depend.haskell.tmp -dep-suffix "" > > >> > -include-pkg-deps utils/hsc2hs/./Main.hs utils/hsc2hs/./C.hs > > >> > utils/hsc2hs/./Common.hs utils/hsc2hs/./CrossCodegen.hs > > >> > utils/hsc2hs/./DirectCodegen.hs utils/hsc2hs/./Flags.hs > > >> > utils/hsc2hs/./HSCParser.hs utils/hsc2hs/./UtilsCodegen.hs > > >> > : package db: duplicate packages with incompatible ABIs: > > >> > binary-0.7.5.0 has ABIs: , c28f822c21e75eb270eca0870e42aaac > > >> > Cabal-1.23.0.0 has ABIs: , a0a6af8f1dd909f2ee719ddb2cd65779 > > >> > hpc-0.6.0.2 has ABIs: , 3434375974d4bc6d14952a90ec97d0c4 > > >> > ghc-boot-0.0.0.0 has ABIs: , f422fc19421064f81c42815f25a11e6e > > >> > hoopl-3.10.0.2 has ABIs: , 8968e2731ff8d529c37c048d65e94bf2 > > >> > transformers-0.4.3.0 has ABIs: , 812457c97c58693d7f8a813b1ba19a33 > > >> > template-haskell-2.11.0.0 has ABIs: , > > >> > 0ef51476100e9bdf96d1bf59696b98a1 > > >> > terminfo-0.4.0.1 has ABIs: , aa24f544c0e3614d419e63fa170ac467 > > >> > > > >> > > > >> > The only solution I could come up for now is > > >> > > > >> > cd libraries > > >> > ln -s /home/ggreif/lib/ghc-7.11.20151020/package.conf.d > > >> > bootstrapping.conf > > >> > > > >> > then resuming 'make' leads to success. > > >> > > > >> > What could this be? Has somebody seen such an error? > > >> > > > >> > Cheers and thanks, > > >> > > > >> > Gabor > > > ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Re: Building HEAD with HEAD fails
Scratch that, I managed to reproduced. (As you said, it occurs only when you do the bindist.) I'll debug. Edward Excerpts from Gabor Greif's message of 2015-10-21 23:47:37 -0700: > I did not use an inplace-stage2 but had a 'make install' before and > did a boot/reconfigure. > > Not sure whether this detail is relevant. > > How can I debug this problem? What does the error message say precisely? > > Cheers, > > Gabor > > On 10/22/15, Edward Z. Yang wrote: > > So... I can't reproduce this. I validated a copy of GHC HEAD, > > and then used the inplace ghc-stage2 to build another using > > ./configure --with-ghc=... and it built fine. > > > > Maybe, do you have some more details? > > > > Edward > > > > Excerpts from Edward Z. Yang's message of 2015-10-21 11:44:26 -0700: > >> This is likely my fault, w.r.t. to the recent Cabal submodule update. > >> I'm a bit confused why there are things in the DB that don't have ABI > >> hashes though... > >> > >> Edward > >> > >> Excerpts from Gabor Greif's message of 2015-10-21 03:51:02 -0700: > >> > Hi devs, > >> > > >> > just a heads-up (pun intended...) > >> > > >> > (After updating to TOT, boot and configure with a freshly installed > >> > TOT ghc as bootstrap compiler. Then 'make clean'.) > >> > > >> > Running 'make' gives: > >> > > >> > ... > >> > Creating includes/ghcplatform.h... > >> > Done. > >> > "rm" -f utils/hsc2hs/dist/build/.depend.haskell.tmp > >> > "/home/ggreif/bin/ghc" -M -static -H64m -O0 -fasm -package-db > >> > libraries/bootstrapping.conf -hide-all-packages -i -iutils/hsc2hs/. > >> > -iutils/hsc2hs/dist/build -iutils/hsc2hs/dist/build/autogen > >> > -Iutils/hsc2hs/dist/build -Iutils/hsc2hs/dist/build/autogen > >> > -optP-include -optPutils/hsc2hs/dist/build/autogen/cabal_macros.h > >> > -package-id base-4.8.2.0 -package-id containers-0.5.6.2 -package-id > >> > directory-1.2.2.0 -package-id filepath-1.4.0.0 -package-id > >> > process-1.2.3.0 -XHaskell2010 -no-user-package-db -rtsopts -odir > >> > utils/hsc2hs/dist/build -hidir utils/hsc2hs/dist/build -stubdir > >> > utils/hsc2hs/dist/build -dep-makefile > >> > utils/hsc2hs/dist/build/.depend.haskell.tmp -dep-suffix "" > >> > -include-pkg-deps utils/hsc2hs/./Main.hs utils/hsc2hs/./C.hs > >> > utils/hsc2hs/./Common.hs utils/hsc2hs/./CrossCodegen.hs > >> > utils/hsc2hs/./DirectCodegen.hs utils/hsc2hs/./Flags.hs > >> > utils/hsc2hs/./HSCParser.hs utils/hsc2hs/./UtilsCodegen.hs > >> > : package db: duplicate packages with incompatible ABIs: > >> > binary-0.7.5.0 has ABIs: , c28f822c21e75eb270eca0870e42aaac > >> > Cabal-1.23.0.0 has ABIs: , a0a6af8f1dd909f2ee719ddb2cd65779 > >> > hpc-0.6.0.2 has ABIs: , 3434375974d4bc6d14952a90ec97d0c4 > >> > ghc-boot-0.0.0.0 has ABIs: , f422fc19421064f81c42815f25a11e6e > >> > hoopl-3.10.0.2 has ABIs: , 8968e2731ff8d529c37c048d65e94bf2 > >> > transformers-0.4.3.0 has ABIs: , 812457c97c58693d7f8a813b1ba19a33 > >> > template-haskell-2.11.0.0 has ABIs: , > >> > 0ef51476100e9bdf96d1bf59696b98a1 > >> > terminfo-0.4.0.1 has ABIs: , aa24f544c0e3614d419e63fa170ac467 > >> > > >> > > >> > The only solution I could come up for now is > >> > > >> > cd libraries > >> > ln -s /home/ggreif/lib/ghc-7.11.20151020/package.conf.d > >> > bootstrapping.conf > >> > > >> > then resuming 'make' leads to success. > >> > > >> > What could this be? Has somebody seen such an error? > >> > > >> > Cheers and thanks, > >> > > >> > Gabor > > ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Re: Building HEAD with HEAD fails
I did not use an inplace-stage2 but had a 'make install' before and did a boot/reconfigure. Not sure whether this detail is relevant. How can I debug this problem? What does the error message say precisely? Cheers, Gabor On 10/22/15, Edward Z. Yang wrote: > So... I can't reproduce this. I validated a copy of GHC HEAD, > and then used the inplace ghc-stage2 to build another using > ./configure --with-ghc=... and it built fine. > > Maybe, do you have some more details? > > Edward > > Excerpts from Edward Z. Yang's message of 2015-10-21 11:44:26 -0700: >> This is likely my fault, w.r.t. to the recent Cabal submodule update. >> I'm a bit confused why there are things in the DB that don't have ABI >> hashes though... >> >> Edward >> >> Excerpts from Gabor Greif's message of 2015-10-21 03:51:02 -0700: >> > Hi devs, >> > >> > just a heads-up (pun intended...) >> > >> > (After updating to TOT, boot and configure with a freshly installed >> > TOT ghc as bootstrap compiler. Then 'make clean'.) >> > >> > Running 'make' gives: >> > >> > ... >> > Creating includes/ghcplatform.h... >> > Done. >> > "rm" -f utils/hsc2hs/dist/build/.depend.haskell.tmp >> > "/home/ggreif/bin/ghc" -M -static -H64m -O0 -fasm -package-db >> > libraries/bootstrapping.conf -hide-all-packages -i -iutils/hsc2hs/. >> > -iutils/hsc2hs/dist/build -iutils/hsc2hs/dist/build/autogen >> > -Iutils/hsc2hs/dist/build -Iutils/hsc2hs/dist/build/autogen >> > -optP-include -optPutils/hsc2hs/dist/build/autogen/cabal_macros.h >> > -package-id base-4.8.2.0 -package-id containers-0.5.6.2 -package-id >> > directory-1.2.2.0 -package-id filepath-1.4.0.0 -package-id >> > process-1.2.3.0 -XHaskell2010 -no-user-package-db -rtsopts -odir >> > utils/hsc2hs/dist/build -hidir utils/hsc2hs/dist/build -stubdir >> > utils/hsc2hs/dist/build -dep-makefile >> > utils/hsc2hs/dist/build/.depend.haskell.tmp -dep-suffix "" >> > -include-pkg-deps utils/hsc2hs/./Main.hs utils/hsc2hs/./C.hs >> > utils/hsc2hs/./Common.hs utils/hsc2hs/./CrossCodegen.hs >> > utils/hsc2hs/./DirectCodegen.hs utils/hsc2hs/./Flags.hs >> > utils/hsc2hs/./HSCParser.hs utils/hsc2hs/./UtilsCodegen.hs >> > : package db: duplicate packages with incompatible ABIs: >> > binary-0.7.5.0 has ABIs: , c28f822c21e75eb270eca0870e42aaac >> > Cabal-1.23.0.0 has ABIs: , a0a6af8f1dd909f2ee719ddb2cd65779 >> > hpc-0.6.0.2 has ABIs: , 3434375974d4bc6d14952a90ec97d0c4 >> > ghc-boot-0.0.0.0 has ABIs: , f422fc19421064f81c42815f25a11e6e >> > hoopl-3.10.0.2 has ABIs: , 8968e2731ff8d529c37c048d65e94bf2 >> > transformers-0.4.3.0 has ABIs: , 812457c97c58693d7f8a813b1ba19a33 >> > template-haskell-2.11.0.0 has ABIs: , >> > 0ef51476100e9bdf96d1bf59696b98a1 >> > terminfo-0.4.0.1 has ABIs: , aa24f544c0e3614d419e63fa170ac467 >> > >> > >> > The only solution I could come up for now is >> > >> > cd libraries >> > ln -s /home/ggreif/lib/ghc-7.11.20151020/package.conf.d >> > bootstrapping.conf >> > >> > then resuming 'make' leads to success. >> > >> > What could this be? Has somebody seen such an error? >> > >> > Cheers and thanks, >> > >> > Gabor > ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Re: Building HEAD with HEAD fails
So... I can't reproduce this. I validated a copy of GHC HEAD, and then used the inplace ghc-stage2 to build another using ./configure --with-ghc=... and it built fine. Maybe, do you have some more details? Edward Excerpts from Edward Z. Yang's message of 2015-10-21 11:44:26 -0700: > This is likely my fault, w.r.t. to the recent Cabal submodule update. > I'm a bit confused why there are things in the DB that don't have ABI > hashes though... > > Edward > > Excerpts from Gabor Greif's message of 2015-10-21 03:51:02 -0700: > > Hi devs, > > > > just a heads-up (pun intended...) > > > > (After updating to TOT, boot and configure with a freshly installed > > TOT ghc as bootstrap compiler. Then 'make clean'.) > > > > Running 'make' gives: > > > > ... > > Creating includes/ghcplatform.h... > > Done. > > "rm" -f utils/hsc2hs/dist/build/.depend.haskell.tmp > > "/home/ggreif/bin/ghc" -M -static -H64m -O0 -fasm -package-db > > libraries/bootstrapping.conf -hide-all-packages -i -iutils/hsc2hs/. > > -iutils/hsc2hs/dist/build -iutils/hsc2hs/dist/build/autogen > > -Iutils/hsc2hs/dist/build -Iutils/hsc2hs/dist/build/autogen > > -optP-include -optPutils/hsc2hs/dist/build/autogen/cabal_macros.h > > -package-id base-4.8.2.0 -package-id containers-0.5.6.2 -package-id > > directory-1.2.2.0 -package-id filepath-1.4.0.0 -package-id > > process-1.2.3.0 -XHaskell2010 -no-user-package-db -rtsopts -odir > > utils/hsc2hs/dist/build -hidir utils/hsc2hs/dist/build -stubdir > > utils/hsc2hs/dist/build -dep-makefile > > utils/hsc2hs/dist/build/.depend.haskell.tmp -dep-suffix "" > > -include-pkg-deps utils/hsc2hs/./Main.hs utils/hsc2hs/./C.hs > > utils/hsc2hs/./Common.hs utils/hsc2hs/./CrossCodegen.hs > > utils/hsc2hs/./DirectCodegen.hs utils/hsc2hs/./Flags.hs > > utils/hsc2hs/./HSCParser.hs utils/hsc2hs/./UtilsCodegen.hs > > : package db: duplicate packages with incompatible ABIs: > > binary-0.7.5.0 has ABIs: , c28f822c21e75eb270eca0870e42aaac > > Cabal-1.23.0.0 has ABIs: , a0a6af8f1dd909f2ee719ddb2cd65779 > > hpc-0.6.0.2 has ABIs: , 3434375974d4bc6d14952a90ec97d0c4 > > ghc-boot-0.0.0.0 has ABIs: , f422fc19421064f81c42815f25a11e6e > > hoopl-3.10.0.2 has ABIs: , 8968e2731ff8d529c37c048d65e94bf2 > > transformers-0.4.3.0 has ABIs: , 812457c97c58693d7f8a813b1ba19a33 > > template-haskell-2.11.0.0 has ABIs: , 0ef51476100e9bdf96d1bf59696b98a1 > > terminfo-0.4.0.1 has ABIs: , aa24f544c0e3614d419e63fa170ac467 > > > > > > The only solution I could come up for now is > > > > cd libraries > > ln -s /home/ggreif/lib/ghc-7.11.20151020/package.conf.d bootstrapping.conf > > > > then resuming 'make' leads to success. > > > > What could this be? Has somebody seen such an error? > > > > Cheers and thanks, > > > > Gabor ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Re: Building HEAD with HEAD fails
This is likely my fault, w.r.t. to the recent Cabal submodule update. I'm a bit confused why there are things in the DB that don't have ABI hashes though... Edward Excerpts from Gabor Greif's message of 2015-10-21 03:51:02 -0700: > Hi devs, > > just a heads-up (pun intended...) > > (After updating to TOT, boot and configure with a freshly installed > TOT ghc as bootstrap compiler. Then 'make clean'.) > > Running 'make' gives: > > ... > Creating includes/ghcplatform.h... > Done. > "rm" -f utils/hsc2hs/dist/build/.depend.haskell.tmp > "/home/ggreif/bin/ghc" -M -static -H64m -O0 -fasm -package-db > libraries/bootstrapping.conf -hide-all-packages -i -iutils/hsc2hs/. > -iutils/hsc2hs/dist/build -iutils/hsc2hs/dist/build/autogen > -Iutils/hsc2hs/dist/build -Iutils/hsc2hs/dist/build/autogen > -optP-include -optPutils/hsc2hs/dist/build/autogen/cabal_macros.h > -package-id base-4.8.2.0 -package-id containers-0.5.6.2 -package-id > directory-1.2.2.0 -package-id filepath-1.4.0.0 -package-id > process-1.2.3.0 -XHaskell2010 -no-user-package-db -rtsopts -odir > utils/hsc2hs/dist/build -hidir utils/hsc2hs/dist/build -stubdir > utils/hsc2hs/dist/build -dep-makefile > utils/hsc2hs/dist/build/.depend.haskell.tmp -dep-suffix "" > -include-pkg-deps utils/hsc2hs/./Main.hs utils/hsc2hs/./C.hs > utils/hsc2hs/./Common.hs utils/hsc2hs/./CrossCodegen.hs > utils/hsc2hs/./DirectCodegen.hs utils/hsc2hs/./Flags.hs > utils/hsc2hs/./HSCParser.hs utils/hsc2hs/./UtilsCodegen.hs > : package db: duplicate packages with incompatible ABIs: > binary-0.7.5.0 has ABIs: , c28f822c21e75eb270eca0870e42aaac > Cabal-1.23.0.0 has ABIs: , a0a6af8f1dd909f2ee719ddb2cd65779 > hpc-0.6.0.2 has ABIs: , 3434375974d4bc6d14952a90ec97d0c4 > ghc-boot-0.0.0.0 has ABIs: , f422fc19421064f81c42815f25a11e6e > hoopl-3.10.0.2 has ABIs: , 8968e2731ff8d529c37c048d65e94bf2 > transformers-0.4.3.0 has ABIs: , 812457c97c58693d7f8a813b1ba19a33 > template-haskell-2.11.0.0 has ABIs: , 0ef51476100e9bdf96d1bf59696b98a1 > terminfo-0.4.0.1 has ABIs: , aa24f544c0e3614d419e63fa170ac467 > > > The only solution I could come up for now is > > cd libraries > ln -s /home/ggreif/lib/ghc-7.11.20151020/package.conf.d bootstrapping.conf > > then resuming 'make' leads to success. > > What could this be? Has somebody seen such an error? > > Cheers and thanks, > > Gabor ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Building HEAD with HEAD fails
Hi devs, just a heads-up (pun intended...) (After updating to TOT, boot and configure with a freshly installed TOT ghc as bootstrap compiler. Then 'make clean'.) Running 'make' gives: ... Creating includes/ghcplatform.h... Done. "rm" -f utils/hsc2hs/dist/build/.depend.haskell.tmp "/home/ggreif/bin/ghc" -M -static -H64m -O0 -fasm -package-db libraries/bootstrapping.conf -hide-all-packages -i -iutils/hsc2hs/. -iutils/hsc2hs/dist/build -iutils/hsc2hs/dist/build/autogen -Iutils/hsc2hs/dist/build -Iutils/hsc2hs/dist/build/autogen -optP-include -optPutils/hsc2hs/dist/build/autogen/cabal_macros.h -package-id base-4.8.2.0 -package-id containers-0.5.6.2 -package-id directory-1.2.2.0 -package-id filepath-1.4.0.0 -package-id process-1.2.3.0 -XHaskell2010 -no-user-package-db -rtsopts -odir utils/hsc2hs/dist/build -hidir utils/hsc2hs/dist/build -stubdir utils/hsc2hs/dist/build -dep-makefile utils/hsc2hs/dist/build/.depend.haskell.tmp -dep-suffix "" -include-pkg-deps utils/hsc2hs/./Main.hs utils/hsc2hs/./C.hs utils/hsc2hs/./Common.hs utils/hsc2hs/./CrossCodegen.hs utils/hsc2hs/./DirectCodegen.hs utils/hsc2hs/./Flags.hs utils/hsc2hs/./HSCParser.hs utils/hsc2hs/./UtilsCodegen.hs : package db: duplicate packages with incompatible ABIs: binary-0.7.5.0 has ABIs: , c28f822c21e75eb270eca0870e42aaac Cabal-1.23.0.0 has ABIs: , a0a6af8f1dd909f2ee719ddb2cd65779 hpc-0.6.0.2 has ABIs: , 3434375974d4bc6d14952a90ec97d0c4 ghc-boot-0.0.0.0 has ABIs: , f422fc19421064f81c42815f25a11e6e hoopl-3.10.0.2 has ABIs: , 8968e2731ff8d529c37c048d65e94bf2 transformers-0.4.3.0 has ABIs: , 812457c97c58693d7f8a813b1ba19a33 template-haskell-2.11.0.0 has ABIs: , 0ef51476100e9bdf96d1bf59696b98a1 terminfo-0.4.0.1 has ABIs: , aa24f544c0e3614d419e63fa170ac467 The only solution I could come up for now is cd libraries ln -s /home/ggreif/lib/ghc-7.11.20151020/package.conf.d bootstrapping.conf then resuming 'make' leads to success. What could this be? Has somebody seen such an error? Cheers and thanks, Gabor ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
Re: Building head with head
Hello Moritz, I tried to do this relatively recently and recorded the problems here: https://ghc.haskell.org/trac/ghc/ticket/9652 I didn't finish diagnosing the further error. Edward Excerpts from Moritz Angermann's message of 2014-11-04 10:28:18 -0800: > Hi, > > today I tried to build head with head on os x. The result was: > > Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal ... > "touch" utils/ghc-cabal/dist/build/tmp/ghc-cabal > "cp" utils/ghc-cabal/dist/build/tmp/ghc-cabal inplace/bin/ghc-cabal > "inplace/bin/ghc-cabal" configure libraries/binary dist-boot "" > --with-ghc="/usr/local/bin/ghc" --with-ghc-pkg="/usr/local/bin/ghc-pkg" > --package-db=/Users/angerman/code/ghc/libraries/bootstrapping.conf > --disable-library-for-ghci --enable-library-vanilla > --disable-library-profiling --disable-shared --configure-option=CFLAGS=" -m64 > -fno-stack-protector " --configure-option=LDFLAGS=" -m64 " > --configure-option=CPPFLAGS=" -m64 " --gcc-options=" -m64 > -fno-stack-protector -m64 " --constraint "binary == 0.7.1.0" > --constraint "Cabal == 1.21.1.0" --constraint "hpc == 0.6.0.2" > --constraint "bin-package-db == 0.0.0.0" --constraint "hoopl == 3.10.0.2" > --constraint "transformers == 0.4.1.0" --constraint "terminfo == 0.4.0.0" > --with-gcc="/usr/bin/gcc" --configure-option=--with-cc="/usr/bin/gcc" > --with-ar="/usr/bin/ar" --with-alex="/Users/angerman/.cabal/bin/alex" > --with-happy="/Users/angerman/.cabal/bin/happy" > "inplace/bin/ghc-cabal" configure utils/hsc2hs dist "" > --with-ghc="/usr/local/bin/ghc" --with-ghc-pkg="/usr/local/bin/ghc-pkg" > --package-db=/Users/angerman/code/ghc/libraries/bootstrapping.conf > --disable-library-for-ghci --disable-library-vanilla > --disable-library-profiling --disable-shared --configure-option=CFLAGS=" -m64 > -fno-stack-protector " --configure-option=LDFLAGS=" -m64 " > --configure-option=CPPFLAGS=" -m64 " --gcc-options=" -m64 > -fno-stack-protector -m64 " --constraint "binary == 0.7.1.0" > --constraint "Cabal == 1.21.1.0" --constraint "hpc == 0.6.0.2" > --constraint "bin-package-db == 0.0.0.0" --constraint "hoopl == 3.10.0.2" > --constraint "transformers == 0.4.1.0" --constraint "terminfo == 0.4.0.0" > --with-gcc="/usr/bin/gcc" --configure-option=--with-cc="/usr/bin/gcc" > --with-ar="/usr/bin/ar" --with-alex="/Users/angerman/.cabal/bin/alex" > --with-happy="/Users/angerman/.cabal/bin/happy" > Configuring hsc2hs-0.67... > Configuring binary-0.7.1.0... > ghc-cabal: '/usr/local/bin/ghc-pkg' exited with an error: > ghc-pkg: ghc no longer supports single-file style package databases > (/Users/angerman/code/ghc/libraries/bootstrapping.conf) > use 'ghc-pkg init' to create the database with the correct format. > make[1]: *** [utils/hsc2hs/dist/package-data.mk] Error 1 > make[1]: *** Waiting for unfinished jobs > ghc-cabal: '/usr/local/bin/ghc-pkg' exited with an error: > ghc-pkg: ghc no longer supports single-file style package databases > (/Users/angerman/code/ghc/libraries/bootstrapping.conf) > use 'ghc-pkg init' to create the database with the correct format. > make[1]: *** [libraries/binary/dist-boot/package-data.mk] Error 1 > > Does anyone know what needs to be done to make this work? > > Best, > Moritz ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs
Building head with head
Hi, today I tried to build head with head on os x. The result was: Linking utils/ghc-cabal/dist/build/tmp/ghc-cabal ... "touch" utils/ghc-cabal/dist/build/tmp/ghc-cabal "cp" utils/ghc-cabal/dist/build/tmp/ghc-cabal inplace/bin/ghc-cabal "inplace/bin/ghc-cabal" configure libraries/binary dist-boot "" --with-ghc="/usr/local/bin/ghc" --with-ghc-pkg="/usr/local/bin/ghc-pkg" --package-db=/Users/angerman/code/ghc/libraries/bootstrapping.conf --disable-library-for-ghci --enable-library-vanilla --disable-library-profiling --disable-shared --configure-option=CFLAGS=" -m64 -fno-stack-protector " --configure-option=LDFLAGS=" -m64 " --configure-option=CPPFLAGS=" -m64 " --gcc-options=" -m64 -fno-stack-protector -m64 " --constraint "binary == 0.7.1.0" --constraint "Cabal == 1.21.1.0" --constraint "hpc == 0.6.0.2" --constraint "bin-package-db == 0.0.0.0" --constraint "hoopl == 3.10.0.2" --constraint "transformers == 0.4.1.0" --constraint "terminfo == 0.4.0.0" --with-gcc="/usr/bin/gcc" --configure-option=--with-cc="/usr/bin/gcc" --with-ar="/usr/bin/ar" --with-alex="/Users/angerman/.cabal/bin/alex" --with-happy="/Users/angerman/.cabal/bin/happy" "inplace/bin/ghc-cabal" configure utils/hsc2hs dist "" --with-ghc="/usr/local/bin/ghc" --with-ghc-pkg="/usr/local/bin/ghc-pkg" --package-db=/Users/angerman/code/ghc/libraries/bootstrapping.conf --disable-library-for-ghci --disable-library-vanilla --disable-library-profiling --disable-shared --configure-option=CFLAGS=" -m64 -fno-stack-protector " --configure-option=LDFLAGS=" -m64 " --configure-option=CPPFLAGS=" -m64 " --gcc-options=" -m64 -fno-stack-protector -m64 " --constraint "binary == 0.7.1.0" --constraint "Cabal == 1.21.1.0" --constraint "hpc == 0.6.0.2" --constraint "bin-package-db == 0.0.0.0" --constraint "hoopl == 3.10.0.2" --constraint "transformers == 0.4.1.0" --constraint "terminfo == 0.4.0.0" --with-gcc="/usr/bin/gcc" --configure-option=--with-cc="/usr/bin/gcc" --with-ar="/usr/bin/ar" --with-alex="/Users/angerman/.cabal/bin/alex" --with-happy="/Users/angerman/.cabal/bin/happy" Configuring hsc2hs-0.67... Configuring binary-0.7.1.0... ghc-cabal: '/usr/local/bin/ghc-pkg' exited with an error: ghc-pkg: ghc no longer supports single-file style package databases (/Users/angerman/code/ghc/libraries/bootstrapping.conf) use 'ghc-pkg init' to create the database with the correct format. make[1]: *** [utils/hsc2hs/dist/package-data.mk] Error 1 make[1]: *** Waiting for unfinished jobs ghc-cabal: '/usr/local/bin/ghc-pkg' exited with an error: ghc-pkg: ghc no longer supports single-file style package databases (/Users/angerman/code/ghc/libraries/bootstrapping.conf) use 'ghc-pkg init' to create the database with the correct format. make[1]: *** [libraries/binary/dist-boot/package-data.mk] Error 1 Does anyone know what needs to be done to make this work? Best, Moritz ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs