Unicode Support version of Text.Regex, using regex-tdfa
#1Broken regex-compat-tdfa.tar.gz on Hackage
the release tarball for regex-compat-tdfa on Hackage doesn't look right:
$ tar tfv regex-compat-tdfa-0.95.1.3.tar.gz
drwxr-xr-x 0/0 0 2068-09-19 11:30 regex-compat-tdfa-0.95.1.3/
-rw-r--r-- 0/0 46 2068-09-19 04:34 regex-compat-tdfa-0.95.1.3/Setup.hs
-rw-r--r-- 0/0 2102 2068-09-19 04:34 regex-compat-tdfa-0.95.1.3/regex-compat-tdfa.cabal
-rw-r--r-- 0/0 1537 2068-09-18 21:37 regex-compat-tdfa-0.95.1.3/LICENSE
drwxr-xr-x 0/0 0 2068-09-18 21:37 regex-compat-tdfa-0.95.1.3/Text/
-rw-r--r-- 0/0 7567 2068-09-18 21:37 regex-compat-tdfa-0.95.1.3/Text/Regex.hs
Those date stamps are far in the future, which causes trouble on some systems: the Cabal build systems believes that "regex-compat-tdfa.cabal" changes between build steps, because its modification time is newer than that of the objects which have just been built.
It seems that cabal-1.18.0 on Windows causes this problem.
$ cabal --version cabal-install version 1.18.0.2 using version 1.18.1 of the Cabal library $ cabal configure Resolving dependencies... Configuring regex-compat-tdfa-0.95.1.4... $ cabal sdist Source tarball created: dist\regex-compat-tdfa-0.95.1.4.tar.gz $ cd dist $ tar tfv regex-compat-tdfa-0.95.1.4.tar.gz drwxr-xr-x 0/0 0 2036-12-27 04:32 regex-compat-tdfa-0.95.1.4/ -rw-r--r-- 0/0 46 2036-12-26 22:59 regex-compat-tdfa-0.95.1.4/Setup.hs -rw-r--r-- 0/0 2102 2036-12-27 01:45 regex-compat-tdfa-0.95.1.4/regex-compat-tdfa.cabal -rw-r--r-- 0/0 1537 2036-12-26 20:12 regex-compat-tdfa-0.95.1.4/LICENSE drwxr-xr-x 0/0 0 2036-12-26 20:12 regex-compat-tdfa-0.95.1.4/Text/ -rw-r--r-- 0/0 7567 2036-12-26 17:25 regex-compat-tdfa-0.95.1.4/Text/Regex.hs
cabal-1.16.0 on Windows doesn't causes this problem.
$ cabal-1.16 --version cabal-install version 1.16.0.2 using version 1.16.0.3 of the Cabal library $ cabal-1.16 configure Resolving dependencies... Configuring regex-compat-tdfa-0.95.1.4... $ cabal-1.16 sdist Distribution quality warnings: 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users. Building source dist for regex-compat-tdfa-0.95.1.4... Preprocessing library regex-compat-tdfa-0.95.1.4... Source tarball created: dist\regex-compat-tdfa-0.95.1.4.tar.gz $ cd dist $ tar tfv regex-compat-tdfa-0.95.1.4.tar.gz drwxr-xr-x 0/0 0 2013-10-04 02:09 regex-compat-tdfa-0.95.1.4/ -rw-r--r-- 0/0 46 2013-10-04 02:09 regex-compat-tdfa-0.95.1.4/Setup.hs -rw-r--r-- 0/0 2102 2013-10-04 02:09 regex-compat-tdfa-0.95.1.4/regex-compat-tdfa.cabal -rw-r--r-- 0/0 1537 2013-10-04 02:09 regex-compat-tdfa-0.95.1.4/LICENSE drwxr-xr-x 0/0 0 2013-10-04 02:09 regex-compat-tdfa-0.95.1.4/Text/ -rw-r--r-- 0/0 7567 2013-10-04 02:09 regex-compat-tdfa-0.95.1.4/Text/Regex.hs
And cabal on Mac OS X doesn't causes this problem.
I don't know why, But I can solve problem by using cabal-1.16.0 on Windows or cabal on Mac OS X.
I uploaded newer version to fix this problem. (I used cabal on Mac to generate tarball, and I checked modification time before uploading. So, I think this problem is fixed now.)
Please check that.
- status set to closed
I think this problem is sloved. So, I'll close this issue. If regex-compat-tdfa 0.95.1.4 has same problem, please reopen this issue.