jgm/texmath — Issue #4: texmath tests fail with xml 1.3.12
Author: markwright
Created: 2012-01-18 12:47:34+00:00
State: open

Hi,

The texmath tests run fine with xml 1.3.10. With xml 1.3.12
the texmath tests fail, the results are included below (for
ghc 7.2.2, they also fail with ghc 7.4.1-rc1). This is with:

LANG=en_AU.UTF-8
LC_CTYPE=en_AU.UTF-8

* Package: dev-haskell/texmath-0.5.0.4
* Repository: gentoo-haskell
* Maintainer: haskell@gentoo.org
* USE: amd64 consolekit doc elibc_glibc hoogle hscolour kernel_linux multilib policykit profile test userland_GNU
* FEATURES: nostrip sandbox splitdebug test userpriv usersandbox
>>> Unpacking source...
>>> Unpacking texmath-0.5.0.4.tar.gz to /var/tmp/portage/dev-haskell/texmath-0.5.0.4/work
>>> Source unpacked in /var/tmp/portage/dev-haskell/texmath-0.5.0.4/work
>>> Preparing source in /var/tmp/portage/dev-haskell/texmath-0.5.0.4/work/texmath-0.5.0.4 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-haskell/texmath-0.5.0.4/work/texmath-0.5.0.4 ...
* Using cabal-1.11.1.20110721.
/usr/bin/ghc -package Cabal-1.11.1.20110721 --make /var/tmp/portage/dev-haskell/texmath-0.5.0.4/work/texmath-0.5.0.4/Setup.hs -dynamic -o setup
[1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/texmath-0.5.0.4/work/texmath-0.5.0.4/Setup.hs, /var/tmp/portage/dev-haskell/texmath-0.5.0.4/work/texmath-0.5.0.4/Setup.o )

/var/tmp/portage/dev-haskell/texmath-0.5.0.4/work/texmath-0.5.0.4/Setup.hs:1:1:
Warning: In the use of `runTests'
(imported from Distribution.Simple, but defined in Distribution.Simple.UserHooks):
Deprecated: "Please use the new testing interface instead!"
Linking setup ...
./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=texmath-0.5.0.4/ghc-7.2.2 --datadir=/usr/share/ --datasubdir=texmath-0.5.0.4/ghc-7.2.2 --with-haddock=/usr/bin/haddock --enable-library-profiling --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --disable-executable-stripping --docdir=/usr/share/doc/texmath-0.5.0.4 --verbose --flags=-cgi --flags=test
Configuring texmath-0.5.0.4...
Flags chosen: test=True, cgi=False
Dependency base ==4.*: using base-4.4.1.0
Dependency containers -any: using containers-0.4.1.0
Dependency parsec >=2: using parsec-3.1.2
Dependency syb -any: using syb-0.3.6
Dependency xml -any: using xml-1.3.12
Using Cabal-1.11.1.20110721 compiled by ghc-7.2
Using compiler: ghc-7.2.2
Using install prefix: /usr
Binaries installed in: /usr/bin
Libraries installed in: /usr/lib64/texmath-0.5.0.4/ghc-7.2.2
Private binaries installed in: /usr/libexec
Data files installed in: /usr/share/texmath-0.5.0.4/ghc-7.2.2
Documentation installed in: /usr/share/doc/texmath-0.5.0.4
Using alex version 3.0.1 found on system at: /usr/bin/alex
Using ar found on system at: /usr/bin/ar
Using c2hs version 0.16.3 found on system at: /usr/bin/c2hs
Using cpphs version 1.12 found on system at: /usr/bin/cpphs
No ffihugs found
Using gcc version 4.5.3 found on system at: /usr/bin/gcc
Using ghc version 7.2.2 given by user at: /usr/bin/ghc
Using ghc-pkg version 7.2.2 given by user at: /usr/bin/ghc-pkg
No greencard found
Using haddock version 2.9.4 given by user at: /usr/bin/haddock
Using happy version 1.18.8 found on system at: /usr/bin/happy
No hmake found
Using hsc2hs version 0.67 found on system at: /usr/bin/hsc2hs
Using hscolour version 1.19 found on system at: /usr/bin/HsColour
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.26 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
Using texmath found on system at: dist/build/texmath/texmath
Using texmath-cgi found on system at: dist/build/texmath-cgi/texmath-cgi
No uhc found
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-haskell/texmath-0.5.0.4/work/texmath-0.5.0.4 ...
./setup build
Building texmath-0.5.0.4...
Preprocessing executable 'texmath' for texmath-0.5.0.4...
[1 of 6] Compiling Text.TeXMath.Types ( Text/TeXMath/Types.hs, dist/build/texmath/texmath-tmp/Text/TeXMath/Types.o )
[2 of 6] Compiling Text.TeXMath.MathML ( Text/TeXMath/MathML.hs, dist/build/texmath/texmath-tmp/Text/TeXMath/MathML.o )
[3 of 6] Compiling Text.TeXMath.Parser ( Text/TeXMath/Parser.hs, dist/build/texmath/texmath-tmp/Text/TeXMath/Parser.o )
[4 of 6] Compiling Text.TeXMath.Macros ( Text/TeXMath/Macros.hs, dist/build/texmath/texmath-tmp/Text/TeXMath/Macros.o )
[5 of 6] Compiling Text.TeXMath ( Text/TeXMath.hs, dist/build/texmath/texmath-tmp/Text/TeXMath.o )
[6 of 6] Compiling Main ( texmath.hs, dist/build/texmath/texmath-tmp/Main.o )
Linking dist/build/texmath/texmath ...
Preprocessing library texmath-0.5.0.4...
[1 of 5] Compiling Text.TeXMath.Macros ( Text/TeXMath/Macros.hs, dist/build/Text/TeXMath/Macros.o )
[2 of 5] Compiling Text.TeXMath.Types ( Text/TeXMath/Types.hs, dist/build/Text/TeXMath/Types.o )
[3 of 5] Compiling Text.TeXMath.MathML ( Text/TeXMath/MathML.hs, dist/build/Text/TeXMath/MathML.o )
[4 of 5] Compiling Text.TeXMath.Parser ( Text/TeXMath/Parser.hs, dist/build/Text/TeXMath/Parser.o )
[5 of 5] Compiling Text.TeXMath ( Text/TeXMath.hs, dist/build/Text/TeXMath.o )
[1 of 5] Compiling Text.TeXMath.Macros ( Text/TeXMath/Macros.hs, dist/build/Text/TeXMath/Macros.p_o )
[2 of 5] Compiling Text.TeXMath.Types ( Text/TeXMath/Types.hs, dist/build/Text/TeXMath/Types.p_o )
[3 of 5] Compiling Text.TeXMath.MathML ( Text/TeXMath/MathML.hs, dist/build/Text/TeXMath/MathML.p_o )
[4 of 5] Compiling Text.TeXMath.Parser ( Text/TeXMath/Parser.hs, dist/build/Text/TeXMath/Parser.p_o )
[5 of 5] Compiling Text.TeXMath ( Text/TeXMath.hs, dist/build/Text/TeXMath.p_o )
Registering texmath-0.5.0.4...
./setup haddock --hyperlink-source
Running Haddock for texmath-0.5.0.4...
Running hscolour for texmath-0.5.0.4...
Preprocessing executable 'texmath' for texmath-0.5.0.4...
Preprocessing library texmath-0.5.0.4...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: ffi-1.0, rts-1.0, syb-0.3.6
Preprocessing executable 'texmath' for texmath-0.5.0.4...
Preprocessing library texmath-0.5.0.4...
Haddock coverage:
75% ( 3 / 4) in 'Text.TeXMath.Macros'
20% ( 1 / 5) in 'Text.TeXMath.Types'
25% ( 1 / 4) in 'Text.TeXMath.MathML'
100% ( 2 / 2) in 'Text.TeXMath.Parser'
33% ( 1 / 3) in 'Text.TeXMath'
Documentation created: dist/doc/html/texmath/index.html
./setup haddock --hoogle
Running Haddock for texmath-0.5.0.4...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: ffi-1.0, rts-1.0, syb-0.3.6
Preprocessing executable 'texmath' for texmath-0.5.0.4...
Preprocessing library texmath-0.5.0.4...
Haddock coverage:
75% ( 3 / 4) in 'Text.TeXMath.Macros'
20% ( 1 / 5) in 'Text.TeXMath.Types'
25% ( 1 / 4) in 'Text.TeXMath.MathML'
100% ( 2 / 2) in 'Text.TeXMath.Parser'
33% ( 1 / 3) in 'Text.TeXMath'
Documentation created: dist/doc/html/texmath/texmath.txt
>>> Source compiled.
* >>> Test phase [cabal test]: dev-haskell/texmath-0.5.0.4
./setup test
Test 01 FAILED (< expected, > actual):
13c13
< −
---
> −
15c15
< ±
---
> ±
22c22
< −
---
> −
Test 02 FAILED (< expected, > actual):
18c18
< −
---
> −
22c22
< ×
---
> ×
27c27
< −
---
> −
Test 03 PASSED
Test 04 FAILED (< expected, > actual):
18c18
< −
---
> −
24c24
< −
---
> −
Test 05 FAILED (< expected, > actual):
10c10
< ∫
---
> ∫
18c18
< ∫
---
> ∫
34c34
< ∫
---
> ∫
44c44
< −
---
> −
Test 06 FAILED (< expected, > actual):
10c10
< ∑
---
> ∑
16c16
< ∞
---
> ∞
19c19
< ∑
---
> ∑
25c25
< ∞
---
> ∞
Test 07 FAILED (< expected, > actual):
10c10
< ʺ
---
> ʺ
17c17
< ʹ
---
> ʹ
Test 08 FAILED (< expected, > actual):
9c9
< ∣
---
> ∣
12c12
< ‾
---
> ‾
14c14
< ∣
---
> ∣
16c16
< ∣
---
> ∣
18c18
< ∣
---
> ∣
20c20
< ∣
---
> ∣
24c24
< ‾
---
> ‾
30c30
< ∣
---
> ∣
32c32
< ∣
---
> ∣
35c35
< ∣
---
> ∣
Test 09 FAILED (< expected, > actual):
13c13
< →
---
> →
Test 10 FAILED (< expected, > actual):
10c10
< φ
---
> φ
14c14