Bug#867792: haskell-megaparsec FTBFS: Test suite tests: FAIL

Adrian Bunk bunk at debian.org
Sun Jul 9 14:14:50 UTC 2017


Source: haskell-megaparsec
Version: 5.2.0-1
Severity: serious

https://buildd.debian.org/status/package.php?p=haskell-megaparsec&suite=sid

...
[11 of 11] Compiling Main             ( tests/Spec.hs, dist-ghc/build/tests/tests-tmp/Main.o )
Linking dist-ghc/build/tests/tests ...
touch build-ghc-stamp
. /usr/share/haskell-devscripts/Dh_Haskell.sh && \
check_recipe
Running debian/hlibrary.setup test --builddir=dist-ghc --show-details=direct
Running 1 test suites...
Test suite tests: RUNNING...

Text.Megaparsec.Char
  newline
    when stream begins with newline
      parses the newline
    when stream does not begin with newline
      signals correct parse error
    when stream is empty
      signals correct parse error
  csrf
    when stream begins with crlf newline
      parses the crlf newline
    when stream does not begin with crlf newline
      signals correct parse error
    when stream is empty
      signals correct parse error
  eol
    when stream begins with a newline
      succeeds returning the newline
    when stream begins with CRLF sequence
      parses the CRLF sequence
    when stream begins with '\r', but it's not followed by '\n'
      signals correct parse error
    when input stream is '\r'
      signals correct parse error
    when stream does not begin with newline or CRLF sequence
      signals correct parse error
    when stream is empty
      signals correct parse error
  tab
    when stream begins with tab
      parses the tab
    when stream does not begin with tab
      signals correct parse error
    when stream is empty
      signals correct parse error
  space
    consumes it up to first non-space character
  controlChar
    when stream begins with control character
      parses the control character
    when stream does not begin with control character
      signals correct parse error
    when stream is empty
      signals correct parse error
  spaceChar
    when stream begins with space
      parses the space
    when stream begins with non-breaking space
      parses the non-breaking space
    when stream begins with tab
      parses the tab
    when stream begins with newline
      parses the newline
    when stream begins with carriage return
      parses the carriage return
    when stream begins with form feed (control character)
      parses the form feed (control character)
    when stream begins with vertical tab
      parses the vertical tab
    when stream does not begin with white space
      signals correct parse error
    when stream is empty
      signals correct parse error
  upperChar
    when stream begins with uppercase letter
      parses the uppercase letter
    when stream does not begin with uppercase letter
      signals correct parse error
    when stream is empty
      signals correct parse error
  lowerChar
    when stream begins with lowercase letter
      parses the lowercase letter
    when stream does not begin with lowercase letter
      signals correct parse error
    when stream is empty
      signals correct parse error
  letterChar
    when stream begins with letter
      parses the letter
    when stream does not begin with letter
      signals correct parse error
    when stream is empty
      signals correct parse error
  alphaNumChar
    when stream begins with alphanumeric character
      parses the alphanumeric character
    when stream does not begin with alphanumeric character
      signals correct parse error
    when stream is empty
      signals correct parse error
  printChar
    when stream begins with printable character
      parses the printable character
    when stream does not begin with printable character
      signals correct parse error
    when stream is empty
      signals correct parse error
  digitChar
    when stream begins with '0'
      parses the '0'
    when stream begins with '1'
      parses the '1'
    when stream begins with '2'
      parses the '2'
    when stream begins with '3'
      parses the '3'
    when stream begins with '4'
      parses the '4'
    when stream begins with '5'
      parses the '5'
    when stream begins with '6'
      parses the '6'
    when stream begins with '7'
      parses the '7'
    when stream begins with '8'
      parses the '8'
    when stream begins with '9'
      parses the '9'
    when stream does not begin with digit
      signals correct parse error
    when stream is empty
      signals correct parse error
  octDigitChar
    when stream begins with '0'
      parses the '0'
    when stream begins with '1'
      parses the '1'
    when stream begins with '2'
      parses the '2'
    when stream begins with '3'
      parses the '3'
    when stream begins with '4'
      parses the '4'
    when stream begins with '5'
      parses the '5'
    when stream begins with '6'
      parses the '6'
    when stream begins with '7'
      parses the '7'
    when stream does not begin with octal digit
      signals correct parse error
    when stream is empty
      signals correct parse error
  hexDigitChar
    when stream begins with '0'
      parses the '0'
    when stream begins with '1'
      parses the '1'
    when stream begins with '2'
      parses the '2'
    when stream begins with '3'
      parses the '3'
    when stream begins with '4'
      parses the '4'
    when stream begins with '5'
      parses the '5'
    when stream begins with '6'
      parses the '6'
    when stream begins with '7'
      parses the '7'
    when stream begins with '8'
      parses the '8'
    when stream begins with '9'
      parses the '9'
    when stream begins with 'a'
      parses the 'a'
    when stream begins with 'b'
      parses the 'b'
    when stream begins with 'c'
      parses the 'c'
    when stream begins with 'd'
      parses the 'd'
    when stream begins with 'e'
      parses the 'e'
    when stream begins with 'f'
      parses the 'f'
    when stream begins with 'A'
      parses the 'A'
    when stream begins with 'B'
      parses the 'B'
    when stream begins with 'C'
      parses the 'C'
    when stream begins with 'D'
      parses the 'D'
    when stream begins with 'E'
      parses the 'E'
    when stream begins with 'F'
      parses the 'F'
    when stream does not begin with hexadecimal digit
      signals correct parse error
    when stream is empty
      signals correct parse error
  markChar
    when stream does not begin with mark character
      signals correct parse error
    when stream is empty
      signals correct parse error
  numberChar
    when stream begins with 'tests: <stdout>: commitBuffer: invalid argument (invalid character)
Test suite tests: FAIL
Test suite logged to: dist-ghc/test/megaparsec-5.2.0-tests.log
0 of 1 test suites (0 of 1 test cases) passed.
/usr/share/cdbs/1/class/hlibrary.mk:154: recipe for target 'check-ghc-stamp' failed
make: *** [check-ghc-stamp] Error 1



More information about the Pkg-haskell-maintainers mailing list