
Hi, speaking of binary dists, does anybody know of some Debian Etch packages of GHC 6.8.2? If nothing else is available, I'm ready to repackage a .tar.gz as a .deb, but I wonder if there's anything better available already... -- Thanks, Feri.

Well... I built some (not all) of the 6.8.2-related packages in
Haskell Unsafe on etch. It's a little tricky because you need to get
some build dependencies from unstable and some from Haskell Unsafe (as
source and then build them on etch), but it is possible to work that
out. I could reconstruct the details, if you're interested (or just
put the .debs somewhere they can be downloaded).
I should also add that you need to be careful about uninstalling ghc
libraries before changing ghc versions. Otherwise the wrong ghc-pkg is
used and the uninstallation (or upgrade when you are installing new
packages) fails. I wonder if libghc6 libraries shouldn't depend on the
particular version of ghc they were compiled with (so they
automatically go if you change ghc versions).
- Ravi
On 1/7/08, Wagner Ferenc
Hi,
speaking of binary dists, does anybody know of some Debian Etch packages of GHC 6.8.2? If nothing else is available, I'm ready to repackage a .tar.gz as a .deb, but I wonder if there's anything better available already... -- Thanks, Feri. _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

"Ravi Nanavati"
Well... I built some (not all) of the 6.8.2-related packages in Haskell Unsafe on etch.
Hmm. I couldn't find 6.8 stuff on Haskell Unsafe at all. Where is it? Don't you mean Sid instead? Ian uploaded 6.8.2 the day before yesterday... Maybe when he's finished with this work, a rebuild on Etch won't be too difficult.
It's a little tricky because you need to get some build dependencies from unstable and some from Haskell Unsafe (as source and then build them on etch), but it is possible to work that out. I could reconstruct the details, if you're interested (or just put the .debs somewhere they can be downloaded).
I think it's better to wait a little bit for the dust to settle, maybe Ian will also provide some info on this subject. But thanks for the offer, I'll ask you for the packages if that will seem like the best route.
I should also add that you need to be careful about uninstalling ghc libraries before changing ghc versions. Otherwise the wrong ghc-pkg is used and the uninstallation (or upgrade when you are installing new packages) fails. I wonder if libghc6 libraries shouldn't depend on the particular version of ghc they were compiled with (so they automatically go if you change ghc versions).
Thanks for the warning, I'll take care. -- Regards, Feri.

On Jan 8, 2008 5:23 AM, Wagner Ferenc
"Ravi Nanavati"
writes: Hmm. I couldn't find 6.8 stuff on Haskell Unsafe at all. Where is it? Don't you mean Sid instead? Ian uploaded 6.8.2 the day before yesterday... Maybe when he's finished with this work, a rebuild on Etch won't be too difficult.
No. I meant Haskell Unsafe. I built the packages I spoke of last week (there was an earlier upload, as I recall). The binary packages are only there for amd64, but since I was building from source anyway, that didn't make a difference.
I think it's better to wait a little bit for the dust to settle, maybe Ian will also provide some info on this subject. But thanks for the offer, I'll ask you for the packages if that will seem like the best route.
If they're in unstable, that helps. The tricky thing turns out to be that some of 6.8.2's build-deps are only in unstable as well (like the most recent haddock), so you need to spend some time chasing down and building dependencies. That's certainly easier if you're not jumping back between unstable and Haskell Unsafe as I was. - Ravi

On Tue, Jan 08, 2008 at 11:23:59AM +0100, Wagner Ferenc wrote:
"Ravi Nanavati"
writes: Well... I built some (not all) of the 6.8.2-related packages in Haskell Unsafe on etch.
Ian uploaded 6.8.2 the day before yesterday... Maybe when he's finished with this work, a rebuild on Etch won't be too difficult.
I do plan to do this at some point, but it's not imminent I'm afraid.
I wonder if libghc6 libraries shouldn't depend on the particular version of ghc they were compiled with (so they automatically go if you change ghc versions).
They should, e.g. $ dpkg -s libghc6-mtl-dev | grep Dep Depends: ghc6 (>= 6.8.2), ghc6 (<< 6.8.2+), libghc6-base-dev If any don't, please let us know! Thanks Ian

Ian Lynagh
On Tue, Jan 08, 2008 at 11:23:59AM +0100, Wagner Ferenc wrote:
Ian uploaded 6.8.2 the day before yesterday... Maybe when he's finished with this work, a rebuild on Etch won't be too difficult.
I do plan to do this at some point, but it's not imminent I'm afraid.
Maybe I can lend you a hand if you describe the plan. I've got some packaging experience, but not with beasts of this complexity. -- Regards, Feri.

On Fri, Jan 11, 2008 at 06:07:35PM +0100, Ferenc Wagner wrote:
Ian Lynagh
writes: On Tue, Jan 08, 2008 at 11:23:59AM +0100, Wagner Ferenc wrote:
Ian uploaded 6.8.2 the day before yesterday... Maybe when he's finished with this work, a rebuild on Etch won't be too difficult.
I do plan to do this at some point, but it's not imminent I'm afraid.
Maybe I can lend you a hand if you describe the plan. I've got some packaging experience, but not with beasts of this complexity.
I don't think the packaging should need to be changed much, if at all. The problem is just to rebuild all the packages in the right order. This message has a little more detail, and links to the script I use to do the "build in the right order" part for the libraries (for unstable/amd64, with pbuilder): http://urchin.earth.li/pipermail/debian-haskell/2008-January/000357.html Either the script would have to be generalised, or an alternative would have to be used (perhaps the software used by Debian's buildds?). Thanks Ian
participants (4)
-
Ferenc Wagner
-
Ian Lynagh
-
Ravi Nanavati
-
Wagner Ferenc