
The haxml version of hackage.haskell.org relied on the deprecated function 'ByteString.join' which has been replaced with 'ByteString.intercalate' since the last release. This means haxml doesn't build with bytestring 0.9.1.0, which some people might have updated to. Malcolm, what should we do ? I can reintroduce 'join' and leave it deprecated for another year, or is there a new haxml release on the horizon? A non-working haxml affects an awful lot of hackage. -- Don

Don Stewart
This means haxml doesn't build with bytestring 0.9.1.0, which some people might have updated to.
I have updated the HaXml package on Hackage to 1.19.3, changing the dependency on 'join' to 'intercalate'. Thanks for the prompt to fix this. Regards, Malcolm

Malcolm.Wallace:
Don Stewart
wrote: This means haxml doesn't build with bytestring 0.9.1.0, which some people might have updated to.
I have updated the HaXml package on Hackage to 1.19.3, changing the dependency on 'join' to 'intercalate'. Thanks for the prompt to fix this.
Hmm, when I try to build this via cabal install, it fails at: src/tools/Xtract.hs:19:7: Could not find module `Text.XML.HaXml.Util': Use -v to see a list of the files searched for. hackage also failed at this point. Any ideas? -- Don

Don Stewart
I have updated the HaXml package on Hackage to 1.19.3
src/tools/Xtract.hs:19:7: Could not find module `Text.XML.HaXml.Util':
Oops. The perils of accepting patches from third parties, without subsequently checking all possible ways of building and installing. Yet another new version (1.19.4) uploaded to fix this. Regards, Malcolm

Malcolm.Wallace:
Don Stewart
wrote: I have updated the HaXml package on Hackage to 1.19.3
src/tools/Xtract.hs:19:7: Could not find module `Text.XML.HaXml.Util':
Oops. The perils of accepting patches from third parties, without subsequently checking all possible ways of building and installing.
Yet another new version (1.19.4) uploaded to fix this.
Great, thanks Malcolm! It's in Arch Linux now, http://aur.archlinux.org/packages.php?ID=17803 And this all the things that use HaXml will likely build automatically now. -- Don

Don Stewart wrote:
The haxml version of hackage.haskell.org relied on the deprecated function 'ByteString.join' which has been replaced with 'ByteString.intercalate' since the last release.
This means haxml doesn't build with bytestring 0.9.1.0, which some people might have updated to.
In Gentoo we apply this patch before compiling: http://haskell.org/~gentoo/gentoo-haskell/dev-haskell/haxml/files/haxml-1.19... as join and intercalcate seems to be the same functions with different names. The interesting part is the comment in the header of the patch...
Malcolm, what should we do ? I can reintroduce 'join' and leave it deprecated for another year, or is there a new haxml release on the horizon?
-- kolmodin
participants (3)
-
Don Stewart
-
Lennart Kolmodin
-
Malcolm Wallace