Bug#536925: hmake: FTBFS: MkProg: user error (Can't find ghc includes at /usr/lib/ghc-6.10.3/./imports)
Lucas Nussbaum wrote: During a rebuild of all packages in sid, your package failed to build on amd64. This is a GHC 6.10 issue. There is a problem with the calculation of ghcsym in Config.hs as it results in ghcsym having a value of 601, instead of (perhaps) 610. GHC 6.8 generated a value of 608. This can be fixed with: --- hmake-3.13.orig/src/hmake/Config.hs +++ hmake-3.13/src/hmake/Config.hs @@ -230,5 +230,5 @@ ) let ghcsym = let v = (read (take 3 (filter isDigit ghcversi [..] -in if v = 600 then v +in if v = 610 then v else let hundreds = (v`div`100)*100 in hundreds + ((v-hundreds)`div`10) This stops Hmake looking in /usr/lib/ghc-6.10.4/imports, but it simply makes it look at the equally missing-on-ghc-610 /usr/lib/ghc-6.10.4/lib instead of /usr/lib/ghc-6.10.4/. If you hack that, then you run into ghc-pkg calling issues. hmake currently tries to call `ghc-pkg -l` (instead of `ghc list`) and `ghc --show-package=X` instead of `ghc list X`). It also calls with the --field=import_dirs option, which doesn't exist anymore. I gave up here. Enjoy. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org `- signature.asc Description: PGP signature
Bug#536925: hmake: FTBFS: MkProg: user error (Can't find ghc includes at /usr/lib/ghc-6.10.3/./imports)
Package: hmake Version: 3.13-0.1 Severity: serious User: debian...@lists.debian.org Usertags: qa-ftbfs-20090713 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part: make[2]: Entering directory `/build/user-hmake_3.13-0.1-amd64-oqwhHe/hmake-3.13/src/interpreter' mkdir -p /build/user-hmake_3.13-0.1-amd64-oqwhHe/hmake-3.13/targets/debian/obj/interpreter /build/user-hmake_3.13-0.1-amd64-oqwhHe/hmake-3.13/script/hmake -hc=/usr/bin/haskell-compiler HInteractive -d/build/user-hmake_3.13-0.1-amd64-oqwhHe/hmake-3.13/targets/debian/obj/interpreter \ -i../hmake -package base -package readline MkProg: user error (Can't find ghc includes at /usr/lib/ghc-6.10.3/./imports) Stop - hmake dependency error. make[2]: *** [/build/user-hmake_3.13-0.1-amd64-oqwhHe/hmake-3.13/lib/debian/HInteractive] Error 1 The full build log is available from: http://people.debian.org/~lucas/logs/2009/07/13/hmake_3.13-0.1_lsid64.buildlog A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on about 50 AMD64 nodes of the Grid'5000 platform, using a clean chroot. Internet was not accessible from the build systems. -- | Lucas Nussbaum | lu...@lucas-nussbaum.net http://www.lucas-nussbaum.net/ | | jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org