Skip to content

Testsuite fails on s390x with GHC 9.0.2 #97

@iliastsi

Description

@iliastsi

Testsuite fails on s390x, ppc64 and sparc64 with GHC 9.0.2 (see https://buildd.debian.org/status/logs.php?pkg=haskell-unicode-data&ver=0.3.1-1) with the following error:

Unicode.Char
  Unicode blocks
    Characters not in any block are unassigned
    Characters are in the definition of their corresponding block FAILED [1]
    Characters in a block definition have the corresponding block FAILED [2]
  Unicode general categories
    generalCategory
      # PENDING: Incompatible GHC Unicode version
  Character classification
    isAlpha
      # PENDING: Incompatible GHC Unicode version
    isAlphaNum
      # PENDING: Incompatible GHC Unicode version
    isControl
      # PENDING: Incompatible GHC Unicode version
    isLetter
      # PENDING: Incompatible GHC Unicode version
    isMark
      # PENDING: Incompatible GHC Unicode version
    isPrint
      # PENDING: Incompatible GHC Unicode version
    isPunctuation
      # PENDING: Incompatible GHC Unicode version
    isSeparator
      # PENDING: Incompatible GHC Unicode version
    isSpace
      # PENDING: Incompatible GHC Unicode version
    isSymbol
      # PENDING: Incompatible GHC Unicode version
  Case
    isLower
      # PENDING: Incompatible GHC Unicode version
    isUpper
      # PENDING: Incompatible GHC Unicode version
    toLower
      # PENDING: Incompatible GHC Unicode version
    toLowerString
      Examples
      Common mapping should match simple one
        # PENDING: Incompatible GHC Unicode version
      Idempotency of 'foldMap toLowerString'
    toUpper
      # PENDING: Incompatible GHC Unicode version
    toUpperString
      Examples
      Common mapping should match simple one
        # PENDING: Incompatible GHC Unicode version
      Idempotency of 'foldMap toUpperString'
    toTitle
      # PENDING: Incompatible GHC Unicode version
    toTitleString
      Examples
      Common mapping should match simple one
        # PENDING: Incompatible GHC Unicode version
    toCaseFoldString
      Examples
      Idempotency of 'foldMap toCaseFoldString'
  Numeric
    isNumber
      # PENDING: Incompatible GHC Unicode version
    isNumber implies a numeric value

Failures:

  test/Unicode/CharSpec.hs:65:30: 
  1) Unicode.Char, Unicode blocks, Characters are in the definition of their corresponding block
       Character “'\128'” is not in the block “BasicLatin”.

  To rerun use: --match "/Unicode.Char/Unicode blocks/Characters are in the definition of their corresponding block/"

  test/Unicode/CharSpec.hs:75:22: 
  2) Unicode.Char, Unicode blocks, Characters in a block definition have the corresponding block
       Block is different for “'\128'”. Expected: “Just Latin1Supplement” but got: “Just BasicLatin”.

  To rerun use: --match "/Unicode.Char/Unicode blocks/Characters in a block definition have the corresponding block/"

The previous version of this package (0.3.0) built fine on these architectures (see https://buildd.debian.org/status/logs.php?pkg=haskell-unicode-data&ver=0.3.0-2). It appears version 0.3.1 is broken on 64-bit big-endian architectures. Can you please help us identify the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions