base split in GHC 6.8.1

The following library packages on HackageDB fail with missing modules under GHC 6.8.1, usually due to the base split: bencode gd IFS pqc bktrees harpy Imlib Ranged-sets bzlib haskelldb lazysmallcheck regex-base classify HaXml libxml safecopy clevercss HCL ListLike Shellac dataenc HDBC LRU sparsecheck derive hgal metaplug StrategyLib dsp hinotify mime-string strict encoding hmarkup MonadRandom suffixtree Etherbunny hsemail numeric-quest syb-with-class fastcgi HsOpenSSL pandoc template FileManip hsql parsedate uniplate funcmp hsSqlite3 pcap vty functorm hxt plugins zlib

Hi
The following library packages on HackageDB fail with missing modules under GHC 6.8.1, usually due to the base split:
How do we fix it? Clearly making it 6.8.1 compatible is a good thing, but breaking 6.6.1 compatibility would be bad - and requiring everyone to update their Cabal is likely to be equally painful. If someone could write a brief tutorial (perhaps on the Wiki) of the recommended (TM) way to go, I'll update my packages. Thanks Neil

On Sun, Nov 04, 2007 at 03:38:55PM +0000, Neil Mitchell wrote:
How do we fix it? Clearly making it 6.8.1 compatible is a good thing, but breaking 6.6.1 compatibility would be bad - and requiring everyone to update their Cabal is likely to be equally painful.
If someone could write a brief tutorial (perhaps on the Wiki) of the recommended (TM) way to go, I'll update my packages.
http://www.haskell.org/haskellwiki/Upgrading_packages It does require that users upgrade their Cabal, but it provides compatibility with both 6.6 and 6.8.

On Sun, 2007-11-04 at 15:33 +0000, Ross Paterson wrote:
The following library packages on HackageDB fail with missing modules under GHC 6.8.1, usually due to the base split:
Thanks very much Ross for doing this survey. We probably should send an announcement on to the haskell or haskell-cafe list aimed at package maintainers with this info and the info on how to update to enable compatibility with 6.6 and 6.8. We should probably include the standard symptom, ie the build message about missing modules / hidden packages.
bencode gd IFS pqc bktrees harpy Imlib Ranged-sets bzlib haskelldb lazysmallcheck regex-base classify HaXml libxml safecopy clevercss HCL ListLike Shellac dataenc HDBC LRU sparsecheck derive hgal metaplug StrategyLib dsp hinotify mime-string strict encoding hmarkup MonadRandom suffixtree Etherbunny hsemail numeric-quest syb-with-class fastcgi HsOpenSSL pandoc template FileManip hsql parsedate uniplate funcmp hsSqlite3 pcap vty functorm hxt plugins zlib
Was this testing the latest version of each package? I updated the zlib and bzlib packages on hackage to work with 6.8.1 the other day. Maybe it's missing header files rather than package version / configuration failures. Duncan

On Sun, Nov 04, 2007 at 04:41:59PM +0000, Duncan Coutts wrote:
Was this testing the latest version of each package? I updated the zlib and bzlib packages on hackage to work with 6.8.1 the other day. Maybe it's missing header files rather than package version / configuration failures.
bzlib-0.4.0.1 and zlib-0.4.0.1 both use Data.ByteString.Base, which is absent from bytestring-0.9.0.1.

On Sun, 2007-11-04 at 17:21 +0000, Ross Paterson wrote:
On Sun, Nov 04, 2007 at 04:41:59PM +0000, Duncan Coutts wrote:
Was this testing the latest version of each package? I updated the zlib and bzlib packages on hackage to work with 6.8.1 the other day. Maybe it's missing header files rather than package version / configuration failures.
bzlib-0.4.0.1 and zlib-0.4.0.1 both use Data.ByteString.Base, which is absent from bytestring-0.9.0.1.
Did it fail to build or did you just grep for Data.ByteString.Base. It uses cpp to work with the bytestring code in base-2.0 or the separate bytestring package. I just tested it again and the zlib and bzlib tarballs from hackage build ok for me with ghc 6.4.2, 6.6.1 and 6.8.1. BTW, thanks also for uploading all the extralib packages to hackage. I've updated the gentoo ebuilds to work from those packages rather than the ghc-6.8.1 extralibs tarball. They all work fine except the regex-posix one as it's missing the regex-posix.buildinfo.in file from the tarball. It'll have to be listed in the extra-source-files field and re-upload the tarball with a micro version bump. I can do this if you like. Duncan

On Sun, 2007-11-04 at 18:53 +0000, Duncan Coutts wrote:
They all work fine except the regex-posix one as it's missing the regex-posix.buildinfo.in file from the tarball. It'll have to be listed in the extra-source-files field and re-upload the tarball with a micro version bump. I can do this if you like.
Done. Duncan

On Sun, Nov 04, 2007 at 06:53:49PM +0000, Duncan Coutts wrote:
Did it fail to build or did you just grep for Data.ByteString.Base. It uses cpp to work with the bytestring code in base-2.0 or the separate bytestring package. I just tested it again and the zlib and bzlib tarballs from hackage build ok for me with ghc 6.4.2, 6.6.1 and 6.8.1.
I used the wrong version of cabal-setup. It's OK with one compiled with GHC 6.8.1.
participants (3)
-
Duncan Coutts
-
Neil Mitchell
-
Ross Paterson