Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 791379 - dev-haskell/unicode-transforms-0.3.7 on ~x86: Data/Unicode/Internal/Bits.hs:30:37: error: Couldn't match expected type ‘GHC.Prim.Word#’ with actual type ‘GHC.Prim.Word64#’
Summary: dev-haskell/unicode-transforms-0.3.7 on ~x86: Data/Unicode/Internal/Bits.hs:3...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-22 02:25 UTC by Andrew Savchenko
Modified: 2021-05-22 09:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (build.log.gz,3.87 KB, application/gzip)
2021-05-22 02:25 UTC, Andrew Savchenko
Details
emerge --info (emerge.info,12.81 KB, text/plain)
2021-05-22 02:26 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Savchenko gentoo-dev 2021-05-22 02:25:04 UTC
Created attachment 710139 [details]
build.log.gz

Hi!

When building dev-haskell/unicode-transforms-0.3.7 on ~x86:

[ 1 of 15] Compiling Data.Unicode.Internal.Bits ( Data/Unicode/Internal/Bits.hs, dist/build/Data/Unicode/Internal/Bits.o, dist/build/Data/Unicode/Internal/Bits
.dyn_o )

Data/Unicode/Internal/Bits.hs:30:37: error:
    • Couldn't match expected type ‘GHC.Prim.Word#’
                  with actual type ‘GHC.Prim.Word64#’
    • In the first argument of ‘and#’, namely ‘word##’
      In the first argument of ‘W#’, namely ‘(word## `and#` bitMask##)’
      In the first argument of ‘(/=)’, namely
        ‘W# (word## `and#` bitMask##)’
   |
30 | lookupBit64 addr# (I# index#) = W# (word## `and#` bitMask##) /= 0
   |                                     ^^^^^^

See full build.log below.
Comment 1 Andrew Savchenko gentoo-dev 2021-05-22 02:26:01 UTC
Created attachment 710142 [details]
emerge --info
Comment 2 Andrew Savchenko gentoo-dev 2021-05-22 02:36:20 UTC
Upstream release 0.7.3.1 fixes this:
https://github.com/composewell/unicode-transforms/releases/tag/v0.3.7.1

likely with commit:
https://github.com/composewell/unicode-transforms/commit/5c552346e16fa37320fd81c2a25c23f2d8ca2bc7

Please update. Currently 0.7.3 is the only version in the tree, it is broken for ~x86 and blocks pandoc.

Just ebuild rename is sufficient for the update.
Comment 3 Larry the Git Cow gentoo-dev 2021-05-22 09:05:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0dd8529af0371c174436f8ddc1e93d9cae004be

commit b0dd8529af0371c174436f8ddc1e93d9cae004be
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2021-05-22 09:04:48 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2021-05-22 09:05:07 +0000

    dev-haskell/unicode-transforms: bump up to 0.3.7.1
    
    Reported-by: Andrew Savchenko
    Closes: https://bugs.gentoo.org/791379
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 dev-haskell/unicode-transforms/Manifest            |  1 +
 .../unicode-transforms-0.3.7.1.ebuild              | 37 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2021-05-22 09:06:30 UTC
Yeah we should have synced it from ::haskell a while ago.