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
`. `'` [email protected]
`-
signature.asc
Description: PGP signature

