[ 113s] + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-store-core '--libsubdir=$compiler/$pkgkey' '--datasubdir=$pkgid' --ghc '--ghc-options= ' -v -p --enable-shared --htmldir=/usr/share/doc/ghc-8.4.2/html/libraries/store-core-0.4.1 --global
[ 114s] Using Parsec parser
[ 114s] Configuring store-core-0.4.1...
[ 114s] Flags chosen: force-alignment=False
[ 114s] Dependency base >=4.7 && <5: using base-4.11.1.0
[ 114s] Dependency bytestring >=0.10.4.0 && <1.0: using bytestring-0.10.8.2
[ 114s] Dependency fail -any: using fail-4.9.0.0
[ 114s] Dependency ghc-prim >=0.3.1.0 && <1.0: using ghc-prim-0.5.2.0
[ 114s] Dependency primitive >=0.6 && <1.0: using primitive-0.6.4.0
[ 114s] Dependency text >=1.2.0.4 && <2.0: using text-1.2.3.0
[ 114s] Dependency transformers >=0.3.0.0 && <1.0: using transformers-0.5.5.0
[ 114s] Source component graph: component lib
[ 114s] Configured component graph:
[ 114s] component store-core-0.4.1-3hluViONqKF9f4TfFo1j9q
[ 114s] include base-4.11.1.0
[ 114s] include primitive-0.6.4.0-39Pwmm1zkQX6bM7xFUT3Jc
[ 114s] include bytestring-0.10.8.2
[ 114s] include fail-4.9.0.0-BAHmj60kS5K7NVhhKpm9J5
[ 114s] include transformers-0.5.5.0
[ 114s] include ghc-prim-0.5.2.0
[ 114s] include text-1.2.3.0
[ 114s] Linked component graph:
[ 114s] unit store-core-0.4.1-3hluViONqKF9f4TfFo1j9q
[ 114s] include base-4.11.1.0
[ 114s] include primitive-0.6.4.0-39Pwmm1zkQX6bM7xFUT3Jc
[ 114s] include bytestring-0.10.8.2
[ 114s] include fail-4.9.0.0-BAHmj60kS5K7NVhhKpm9J5
[ 114s] include transformers-0.5.5.0
[ 114s] include ghc-prim-0.5.2.0
[ 114s] include text-1.2.3.0
[ 114s] Data.Store.Core=store-core-0.4.1-3hluViONqKF9f4TfFo1j9q:Data.Store.Core
[ 114s] Ready component graph:
[ 114s] definite store-core-0.4.1-3hluViONqKF9f4TfFo1j9q
[ 114s] depends base-4.11.1.0
[ 114s] depends primitive-0.6.4.0-39Pwmm1zkQX6bM7xFUT3Jc
[ 114s] depends bytestring-0.10.8.2
[ 114s] depends fail-4.9.0.0-BAHmj60kS5K7NVhhKpm9J5
[ 114s] depends transformers-0.5.5.0
[ 114s] depends ghc-prim-0.5.2.0
[ 114s] depends text-1.2.3.0
[ 114s] Using Cabal-2.2.0.1 compiled by ghc-8.4
[ 114s] Using compiler: ghc-8.4.2
[ 114s] Using install prefix: /usr
[ 114s] Executables installed in: /usr/bin
[ 114s] Libraries installed in:
[ 114s] /usr/lib64/ghc-8.4.2/store-core-0.4.1-3hluViONqKF9f4TfFo1j9q
[ 114s] Dynamic Libraries installed in:
[ 114s] /usr/lib64/ghc-8.4.2/store-core-0.4.1-3hluViONqKF9f4TfFo1j9q
[ 114s] Private executables installed in:
[ 114s] /usr/libexec/x86_64-linux-ghc-8.4.2/store-core-0.4.1
[ 114s] Data files installed in: /usr/share/store-core-0.4.1
[ 114s] Documentation installed in: /usr/share/licenses/ghc-store-core
[ 114s] Configuration files installed in: /usr/etc
[ 114s] No alex found
[ 114s] Using ar found on system at: /usr/bin/ar
[ 114s] No c2hs found
[ 114s] No cpphs found
[ 114s] No doctest found
[ 114s] Using gcc version 7 found on system at: /usr/bin/gcc
[ 114s] Using ghc version 8.4.2 found on system at: /usr/bin/ghc
[ 114s] Using ghc-pkg version 8.4.2 found on system at: /usr/bin/ghc-pkg
[ 114s] No ghcjs found
[ 114s] No ghcjs-pkg found
[ 114s] No greencard found
[ 114s] Using haddock version 2.20.0 found on system at: /usr/bin/haddock
[ 114s] No happy found
[ 114s] Using haskell-suite found on system at: haskell-suite-dummy-location
[ 114s] Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
[ 114s] No hmake found
[ 114s] Using hpc version 0.67 found on system at: /usr/bin/hpc
[ 114s] Using hsc2hs version 0.68.3 found on system at: /usr/bin/hsc2hs
[ 114s] No hscolour found
[ 114s] No jhc found
[ 114s] Using ld found on system at: /usr/bin/ld
[ 114s] No lhc found
[ 114s] No lhc-pkg found
[ 114s] Using pkg-config version 0.29.2 found on system at: /usr/bin/pkg-config
[ 114s] Using runghc version 8.4.2 found on system at: /usr/bin/runghc
[ 114s] Using strip version 2.30 found on system at: /usr/bin/strip
[ 114s] Using tar found on system at: /usr/bin/tar
[ 114s] No uhc found
[ 114s] + '[' -x Setup ']'
[ 114s] + LANG=en_US.utf8
[ 114s] + ./Setup build -v
[ 114s] Component build order: library
[ 114s] /usr/bin/ghc-pkg init dist/package.conf.inplace
[ 114s] creating dist/build
[ 114s] creating dist/build/autogen
[ 114s] creating dist/build/autogen
[ 114s] Preprocessing library for store-core-0.4.1..
[ 114s] Building library for store-core-0.4.1..
[ 114s] creating dist/build
[ 114s] /usr/bin/ghc --make -fbuilding-cabal-package -O -static -dynamic-too -dynosuf dyn_o -dynhisuf dyn_hi -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -isrc -idist/build/autogen -idist/build/global-autogen -Idist/build/autogen -Idist/build/global-autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -this-unit-id store-core-0.4.1-3hluViONqKF9f4TfFo1j9q -hide-all-packages -Wmissing-home-modules -no-user-package-db -package-db dist/package.conf.inplace -package-id base-4.11.1.0 -package-id primitive-0.6.4.0-39Pwmm1zkQX6bM7xFUT3Jc -package-id bytestring-0.10.8.2 -package-id fail-4.9.0.0-BAHmj60kS5K7NVhhKpm9J5 -package-id transformers-0.5.5.0 -package-id ghc-prim-0.5.2.0 -package-id text-1.2.3.0 -XHaskell2010 Data.Store.Core -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns -fwarn-incomplete-record-updates -O2
[ 115s] [1 of 1] Compiling Data.Store.Core ( src/Data/Store/Core.hs, dist/build/Data/Store/Core.o )
[ 115s]
[ 115s] src/Data/Store/Core.hs:520:9: error:
[ 115s] Ambiguous occurrence ‘copyByteArrayToAddr’
[ 115s] It could refer to either ‘Data.Primitive.ByteArray.copyByteArrayToAddr’,
[ 115s] imported from ‘Data.Primitive.ByteArray’ at src/Data/Store/Core.hs:43:1-41
[ 115s] or ‘Data.Store.Core.copyByteArrayToAddr’,
[ 115s] defined at src/Data/Store/Core.hs:542:1
[ 115s] |
[ 115s] 520 | copyByteArrayToAddr sourceArr sourceOffset target len
[ 115s] | ^^^^^^^^^^^^^^^^^^^
[ 115s] error: Bad exit status from /var/tmp/rpm-tmp.ewNUua (%build)
The complete build log on 64-bit Linux is: