ANN: Bugfixes for regex-posix and regex-pcre ByteString use

I got a bug report from the #haskell IRC channel last night that empty ByteStrings were broken. The new bugfixed versions of the affected packages are: regex-posix-0.92 regex-posix-0.72 regex-pcre-0.92 regex-pcre-0.81 All the above have been uploaded to http://hackage.haskell.org/ and are available via darcs (see below). Details: regex-posix-0.92 replaces the "unstable" regex-posix-0.91 that I announced yesterday. The bug fix also applied to ByteString.Lazy repository: http://darcs.haskell.org/packages/regex-unstable/regex-posix/ regex-posix-0.72 replaces the regex-posix-0.71 that came with GHC 6.6 repository: http://darcs.haskell.org/packages/regex-posix/ The repository version is setup to compile alongside GHC in some way that I cannot easily package, so the tarball on hackage has edited Wrap.hsc and cabal files. regex-pcre-0.92 replaces the "unstable" regex-pcre-0.91 that I announced yesterday. The bug fix also applied to ByteString.Lazy repository: http://darcs.haskell.org/packages/regex-unstable/regex-pcre/ regex-pcre-0.81 replaces the "stable" regex-pcre-0.80 that is compatible with the regex-base-0.71 supplied with GHC or regex-base-0.72 that I announced yesterday. repository: http://darcs.haskell.org/packages/regex-pcre/

I'm having trouble building regex-pcre from
http://darcs.haskell.org/packages/regex-unstable/regex-pcre/
thartman@linodewhyou:~/haskellInstalls/regex-pcre$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.6
First (after darcs pulling) it complained
thartman@linodewhyou:~/haskellInstalls/regex-pcre$ sudo runghc
Setup.hs configure
Configuring regex-pcre-0.81...
.....
Setup.hs: cannot satisfy dependency fps>=0.7
I went ahead and
dards got fps:
darcs get --partial http://www.cse.unsw.edu.au/~dons/code/fps
and built that, seemed to go ok. (Maybe that's the wrong repo though?)
Then went back to regex-pcre, configure went ok, but build complained
it didn't know which of two modules to use.
thartman@linodewhyou:~/haskellInstalls/regex-pcre$ sudo runghc Setup.hs build
Preprocessing library regex-pcre-0.81...
Building regex-pcre-0.81...
Text/Regex/PCRE/ByteString.hs:51:17:
Could not find module `Data.ByteString.Base':
it was found in multiple packages: fps-0.8 base
thartman@linodewhyou:~/haskellInstalls/regex-pcre$
I would really like to get this working. Thanks for any help!
2007/3/6, Chris Kuklewicz
I got a bug report from the #haskell IRC channel last night that empty ByteStrings were broken. The new bugfixed versions of the affected packages are:
regex-posix-0.92 regex-posix-0.72 regex-pcre-0.92 regex-pcre-0.81
All the above have been uploaded to http://hackage.haskell.org/ and are available via darcs (see below).
Details:
regex-posix-0.92 replaces the "unstable" regex-posix-0.91 that I announced yesterday. The bug fix also applied to ByteString.Lazy repository: http://darcs.haskell.org/packages/regex-unstable/regex-posix/
regex-posix-0.72 replaces the regex-posix-0.71 that came with GHC 6.6 repository: http://darcs.haskell.org/packages/regex-posix/
The repository version is setup to compile alongside GHC in some way that I cannot easily package, so the tarball on hackage has edited Wrap.hsc and cabal files.
regex-pcre-0.92 replaces the "unstable" regex-pcre-0.91 that I announced yesterday. The bug fix also applied to ByteString.Lazy repository: http://darcs.haskell.org/packages/regex-unstable/regex-pcre/
regex-pcre-0.81 replaces the "stable" regex-pcre-0.80 that is compatible with the regex-base-0.71 supplied with GHC or regex-base-0.72 that I announced yesterday. repository: http://darcs.haskell.org/packages/regex-pcre/ _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On Mar 7, 2007, at 7:02 , Thomas Hartman wrote:
I'm having trouble building regex-pcre from
http://darcs.haskell.org/packages/regex-unstable/regex-pcre/
thartman@linodewhyou:~/haskellInstalls/regex-pcre$ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.6
First (after darcs pulling) it complained
thartman@linodewhyou:~/haskellInstalls/regex-pcre$ sudo runghc Setup.hs configure Configuring regex-pcre-0.81... ..... Setup.hs: cannot satisfy dependency fps>=0.7
The Cabal file is for ghc 6.4; in ghc 6.6 fps is part of base. ghc-pkg unregister fps-0.8 edit the Cabal file and remove the fps dependency rebuild regex-pcre -- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH

1) Chris was correct, I wasn't pulling from unstable, but stable. My bad.
thartman@linodewhyou:~/haskellInstalls/regex-pcre$ darcs pull
Pulling from "http://darcs.haskell.org/packages/regex-pcre"...
No remote changes to pull in!
2) When I did as brandon suggested, it seems to have built ok.
thartman@linodewhyou:~/haskellInstalls/regex-pcre$ darcs whatsnew
{
hunk ./regex-pcre.cabal 22
-Build-Depends: regex-base, base, fps >= 0.7
+Build-Depends: regex-base, base
}
So, maybe this should be merged into the trunk.
2007/3/7, Brandon S. Allbery KF8NH
On Mar 7, 2007, at 7:02 , Thomas Hartman wrote:
I'm having trouble building regex-pcre from
http://darcs.haskell.org/packages/regex-unstable/regex-pcre/
thartman@linodewhyou:~/haskellInstalls/regex-pcre$ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.6
First (after darcs pulling) it complained
thartman@linodewhyou:~/haskellInstalls/regex-pcre$ sudo runghc Setup.hs configure Configuring regex-pcre-0.81... ..... Setup.hs: cannot satisfy dependency fps>=0.7
The Cabal file is for ghc 6.4; in ghc 6.6 fps is part of base.
ghc-pkg unregister fps-0.8
edit the Cabal file and remove the fps dependency
rebuild regex-pcre
-- brandon s. allbery [linux,solaris,freebsd,perl] allbery@kf8nh.com system administrator [openafs,heimdal,too many hats] allbery@ece.cmu.edu electrical and computer engineering, carnegie mellon university KF8NH
participants (3)
-
Brandon S. Allbery KF8NH
-
Chris Kuklewicz
-
Thomas Hartman