Mock Version: 5.0 Mock Version: 5.0 Mock Version: 5.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-bitarray.spec'], chrootPath='/var/lib/mock/f41-build-837444-159149/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.86n4gmeg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.86n4gmeg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'ee4e9bf4d2ff46cda7d2bdaebd521782', '-D', '/var/lib/mock/f41-build-837444-159149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.86n4gmeg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-bitarray.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1722816000 Wrote: /builddir/build/SRPMS/ghc-bitarray-0.0.1.1-21.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-bitarray.spec'], chrootPath='/var/lib/mock/f41-build-837444-159149/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=982gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.86n4gmeg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.86n4gmeg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'c0e17fff58624725b77860739d230c97', '-D', '/var/lib/mock/f41-build-837444-159149/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.86n4gmeg:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-bitarray.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1722816000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.o1YeSi + umask 022 + cd /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build + test -d /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build + /usr/bin/rm -rf /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lz8NGn + umask 022 + cd /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build + cd /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build + rm -rf bitarray-0.0.1.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bitarray-0.0.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bitarray-0.0.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -bp /builddir/build/SOURCES/bitarray-0.0.1.1.cabal bitarray.cabal + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gP77K6 + umask 022 + cd /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bitarray-0.0.1.1 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + echo -e '\n==== Build bitarray-0.0.1.1 ====' ==== Build bitarray-0.0.1.1 ==== + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.lhs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-bitarray '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.6.6/lib --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-fasynchronous-unwind-tables -optc-fno-omit-frame-pointer -optc-mno-omit-leaf-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' --enable-library-profiling --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/bitarray-0.0.1.1 --global Warning: bitarray.cabal:19:36: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. Configuring bitarray-0.0.1.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for bitarray-0.0.1.1.. Building library for bitarray-0.0.1.1.. [1 of 4] Compiling Data.BitArray.Immutable [2 of 4] Compiling Data.BitArray.IO Data/BitArray/IO.hs:49:5: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘words’ shadows the existing binding imported from ‘Prelude’ at Data/BitArray/IO.hs:4:8-23 (and originally defined in ‘base-4.18.2.1:Data.OldList’) | 49 | words <- newArray (0,k-1) w | ^^^^^ [3 of 4] Compiling Data.BitArray.ST Data/BitArray/ST.hs:51:5: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘words’ shadows the existing binding imported from ‘Prelude’ at Data/BitArray/ST.hs:4:8-23 (and originally defined in ‘base-4.18.2.1:Data.OldList’) | 51 | words <- newArray (0,k-1) w | ^^^^^ [4 of 4] Compiling Data.BitArray Data/BitArray.hs:28:1: warning: [-Wunused-imports] The import of ‘Data.Word’ is redundant except perhaps to import instances from ‘Data.Word’ To import instances alone, use: import Data.Word() | 28 | import Data.Word | ^^^^^^^^^^^^^^^^ Data/BitArray.hs:37:1: warning: [GHC-90177] [-Worphans] Orphan instance: instance Eq BitArray Suggested fix: Move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 37 | instance Eq BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:40:1: warning: [GHC-90177] [-Worphans] Orphan instance: instance Ord BitArray Suggested fix: Move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 40 | instance Ord BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:43:1: warning: [GHC-90177] [-Worphans] Orphan instance: instance Show BitArray Suggested fix: Move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 43 | instance Show BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:71:1: warning: [GHC-35827] SPECIALISE pragma for non-overloaded function ‘accumBitArray’ | 71 | {-# SPECIALIZE accumBitArray :: (Bool -> Bool -> Bool) -> Bool -> (Int,Int) -> [(Int,Bool)] -> BitArray #-} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Data/BitArray.hs:86:10: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘bs’ shadows the existing binding bound at Data/BitArray.hs:82:20 | 86 | worker bs = convert (take 64 bs) : worker (drop 64 bs) | ^^ Data/BitArray.hs:87:11: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘bs’ shadows the existing binding bound at Data/BitArray.hs:82:20 | 87 | convert bs = fst $ foldl f (0,1) bs | ^^ [1 of 4] Compiling Data.BitArray.Immutable [2 of 4] Compiling Data.BitArray.IO Data/BitArray/IO.hs:49:5: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘words’ shadows the existing binding imported from ‘Prelude’ at Data/BitArray/IO.hs:4:8-23 (and originally defined in ‘base-4.18.2.1:Data.OldList’) | 49 | words <- newArray (0,k-1) w | ^^^^^ [3 of 4] Compiling Data.BitArray.ST Data/BitArray/ST.hs:51:5: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘words’ shadows the existing binding imported from ‘Prelude’ at Data/BitArray/ST.hs:4:8-23 (and originally defined in ‘base-4.18.2.1:Data.OldList’) | 51 | words <- newArray (0,k-1) w | ^^^^^ [4 of 4] Compiling Data.BitArray Data/BitArray.hs:28:1: warning: [-Wunused-imports] The import of ‘Data.Word’ is redundant except perhaps to import instances from ‘Data.Word’ To import instances alone, use: import Data.Word() | 28 | import Data.Word | ^^^^^^^^^^^^^^^^ Data/BitArray.hs:37:1: warning: [GHC-90177] [-Worphans] Orphan instance: instance Eq BitArray Suggested fix: Move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 37 | instance Eq BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:40:1: warning: [GHC-90177] [-Worphans] Orphan instance: instance Ord BitArray Suggested fix: Move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 40 | instance Ord BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:43:1: warning: [GHC-90177] [-Worphans] Orphan instance: instance Show BitArray Suggested fix: Move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 43 | instance Show BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:71:1: warning: [GHC-35827] SPECIALISE pragma for non-overloaded function ‘accumBitArray’ | 71 | {-# SPECIALIZE accumBitArray :: (Bool -> Bool -> Bool) -> Bool -> (Int,Int) -> [(Int,Bool)] -> BitArray #-} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Data/BitArray.hs:86:10: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘bs’ shadows the existing binding bound at Data/BitArray.hs:82:20 | 86 | worker bs = convert (take 64 bs) : worker (drop 64 bs) | ^^ Data/BitArray.hs:87:11: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘bs’ shadows the existing binding bound at Data/BitArray.hs:82:20 | 87 | convert bs = fst $ foldl f (0,1) bs | ^^ + '[' -n dist/build/libHSbitarray-0.0.1.1-42zGQsmgrsd74Ka2H7KBJE-ghc9.6.6.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for bitarray-0.0.1.1.. Running Haddock on library for bitarray-0.0.1.1.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.6.0, base-4.18.2.1, ghc-bignum-1.3, ghc-prim-0.10.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Data/BitArray/IO.hs:49:5: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘words’ shadows the existing binding imported from ‘Prelude’ at Data/BitArray/IO.hs:4:8-23 (and originally defined in ‘base-4.18.2.1:Data.OldList’) | 49 | words <- newArray (0,k-1) w | ^^^^^ Data/BitArray/ST.hs:51:5: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘words’ shadows the existing binding imported from ‘Prelude’ at Data/BitArray/ST.hs:4:8-23 (and originally defined in ‘base-4.18.2.1:Data.OldList’) | 51 | words <- newArray (0,k-1) w | ^^^^^ Data/BitArray.hs:28:1: warning: [-Wunused-imports] The import of ‘Data.Word’ is redundant except perhaps to import instances from ‘Data.Word’ To import instances alone, use: import Data.Word() | 28 | import Data.Word | ^^^^^^^^^^^^^^^^ Data/BitArray.hs:37:1: warning: [GHC-90177] [-Worphans] Orphan instance: instance Eq BitArray Suggested fix: Move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 37 | instance Eq BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:40:1: warning: [GHC-90177] [-Worphans] Orphan instance: instance Ord BitArray Suggested fix: Move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 40 | instance Ord BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:43:1: warning: [GHC-90177] [-Worphans] Orphan instance: instance Show BitArray Suggested fix: Move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 43 | instance Show BitArray where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... Data/BitArray.hs:71:1: warning: [GHC-35827] SPECIALISE pragma for non-overloaded function ‘accumBitArray’ | 71 | {-# SPECIALIZE accumBitArray :: (Bool -> Bool -> Bool) -> Bool -> (Int,Int) -> [(Int,Bool)] -> BitArray #-} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Data/BitArray.hs:86:10: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘bs’ shadows the existing binding bound at Data/BitArray.hs:82:20 | 86 | worker bs = convert (take 64 bs) : worker (drop 64 bs) | ^^ Data/BitArray.hs:87:11: warning: [GHC-63397] [-Wname-shadowing] This binding for ‘bs’ shadows the existing binding bound at Data/BitArray.hs:82:20 | 87 | convert bs = fst $ foldl f (0,1) bs | ^^ 14% ( 2 / 14) in 'Data.BitArray.IO' Missing documentation for: IOBitArray (Data/BitArray/IO.hs:34) getBitArrayBounds (Data/BitArray/IO.hs:42) newBitArray (Data/BitArray/IO.hs:45) readBit (Data/BitArray/IO.hs:58) writeBit (Data/BitArray/IO.hs:69) unsafeReadBit (Data/BitArray/IO.hs:63) unsafeWriteBit (Data/BitArray/IO.hs:74) unsafeFlipBit (Data/BitArray/IO.hs:89) thawBitArray (Data/BitArray/IO.hs:101) unsafeThawBitArray (Data/BitArray/IO.hs:105) freezeBitArray (Data/BitArray/IO.hs:109) unsafeFreezeBitArray (Data/BitArray/IO.hs:113) 14% ( 2 / 14) in 'Data.BitArray.ST' Missing documentation for: STBitArray (Data/BitArray/ST.hs:36) getBitArrayBounds (Data/BitArray/ST.hs:44) newBitArray (Data/BitArray/ST.hs:47) readBit (Data/BitArray/ST.hs:60) writeBit (Data/BitArray/ST.hs:71) unsafeReadBit (Data/BitArray/ST.hs:65) unsafeWriteBit (Data/BitArray/ST.hs:76) unsafeFlipBit (Data/BitArray/ST.hs:91) thawBitArray (Data/BitArray/ST.hs:103) unsafeThawBitArray (Data/BitArray/ST.hs:107) freezeBitArray (Data/BitArray/ST.hs:111) unsafeFreezeBitArray (Data/BitArray/ST.hs:115) 50% ( 7 / 14) in 'Data.BitArray' Missing documentation for: bitArrayBounds (Data/BitArray.hs:48) lookupBit (Data/BitArray.hs:51) unsafeLookupBit (Data/BitArray.hs:56) accumBitArray (Data/BitArray.hs:72) bits (Data/BitArray.hs:90) bits01 (Data/BitArray.hs:100) listBitArray01 (Data/BitArray.hs:97) Warning: Data.BitArray.IO: could not find link destinations for: - GHC.Types.Bool - GHC.Types.Int - GHC.Types.IO Warning: Data.BitArray.ST: could not find link destinations for: - GHC.Types.Bool - GHC.Types.Int - GHC.ST.ST Warning: Data.BitArray: could not find link destinations for: - GHC.Classes.== - GHC.Classes.>= - GHC.Classes.Eq - GHC.Classes.Ord - GHC.Show.Show - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Types.Ordering - GHC.Word.Word64 - GHC.Types.False - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.compare - GHC.Classes.max - GHC.Classes.min Documentation created: dist/doc/html/bitarray/, dist/doc/html/bitarray/bitarray.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8oQ3pC + umask 022 + cd /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build + '[' /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build + mkdir /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bitarray-0.0.1.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT Installing library in /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/bitarray-0.0.1.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' -d bitarray-0.0.1.1.conf ']' + install -D --mode=0644 bitarray-0.0.1.1.conf /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/bitarray-0.0.1.1.conf + '[' -d /usr/lib64/ghc-9.6.6/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/bitarray-0.0.1.1.conf ']' + rm -f ghc-bitarray.files ghc-bitarray-doc.files + touch ghc-bitarray.files ghc-bitarray-doc.files + for i in /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/lib64/ghc-9.6.6${subsubdir}/libHSbitarray-0.0.1.1-*ghc9.6.6.so + '[' -x /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSbitarray-0.0.1.1-42zGQsmgrsd74Ka2H7KBJE-ghc9.6.6.so ']' + echo /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSbitarray-0.0.1.1-42zGQsmgrsd74Ka2H7KBJE-ghc9.6.6.so + pkgdir=/builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/bitarray-0.0.1.1 + '[' -d /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/bitarray-0.0.1.1 ']' + find /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/bitarray-0.0.1.1 -type d -fprintf ghc-bitarray-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-bitarray-prof.files -o -fprint ghc-bitarray-devel.files + ls /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/package.conf.d/bitarray-0.0.1.1.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/bitarray-0.0.1.1 + '[' -d /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/share/doc/ghc/html/libraries/bitarray-0.0.1.1 ']' + echo /usr/share/doc/ghc/html/libraries/bitarray-0.0.1.1 + for i in ghc-bitarray.files ghc-bitarray-devel.files ghc-bitarray-doc.files ghc-bitarray-prof.files + '[' -f ghc-bitarray.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT!!g' ghc-bitarray.files + for i in ghc-bitarray.files ghc-bitarray-devel.files ghc-bitarray-doc.files ghc-bitarray-prof.files + '[' -f ghc-bitarray-devel.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT!!g' ghc-bitarray-devel.files + for i in ghc-bitarray.files ghc-bitarray-devel.files ghc-bitarray-doc.files ghc-bitarray-prof.files + '[' -f ghc-bitarray-doc.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT!!g' ghc-bitarray-doc.files + for i in ghc-bitarray.files ghc-bitarray-devel.files ghc-bitarray-doc.files ghc-bitarray-prof.files + '[' -f ghc-bitarray-prof.files ']' + sed -i -e 's!/builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT!!g' ghc-bitarray-prof.files deleting rpaths: + echo 'deleting rpaths:' + type chrpath ++ find /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) ++ chrpath /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSbitarray-0.0.1.1-42zGQsmgrsd74Ka2H7KBJE-ghc9.6.6.so ++ sed -e 's@^/builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/libHSbitarray-0.0.1.1-42zGQsmgrsd74Ka2H7KBJE-ghc9.6.6.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.6.6/lib/riscv64-linux-ghc-9.6.6 + case "$rpath" in + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j64 /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/bitarray-0.0.1.1/libHSbitarray-0.0.1.1-42zGQsmgrsd74Ka2H7KBJE_p.a: replacing with normalized version /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/lib64/ghc-9.6.6/lib/bitarray-0.0.1.1/libHSbitarray-0.0.1.1-42zGQsmgrsd74Ka2H7KBJE.a: replacing with normalized version Scanned 18 directories and 35 files, processed 11 inodes, 2 modified (2 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: ghc-bitarray-0.0.1.1-21.fc41.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9F4hYh + umask 022 + cd /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build + cd bitarray-0.0.1.1 + LICENSEDIR=/builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/share/licenses/ghc-bitarray + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/share/licenses/ghc-bitarray + cp -pr /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/bitarray-0.0.1.1/LICENSE /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/share/licenses/ghc-bitarray + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-bitarray = 0.0.1.1-21.fc41 ghc-bitarray(riscv-64) = 0.0.1.1-21.fc41 libHSbitarray-0.0.1.1-42zGQsmgrsd74Ka2H7KBJE-ghc9.6.6.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libHSarray-0.5.6.0-ghc9.6.6.so()(64bit) libHSbase-4.18.2.1-ghc9.6.6.so()(64bit) libHSghc-bignum-1.3-ghc9.6.6.so()(64bit) libHSghc-prim-0.10.0-ghc9.6.6.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: ghc-bitarray-devel-0.0.1.1-21.fc41.riscv64 Provides: ghc-bitarray-devel = 0.0.1.1-21.fc41 ghc-bitarray-devel(riscv-64) = 0.0.1.1-21.fc41 ghc-bitarray-static = 0.0.1.1-21.fc41 ghc-bitarray-static(riscv-64) = 0.0.1.1-21.fc41 ghc-devel(bitarray-0.0.1.1-42zGQsmgrsd74Ka2H7KBJE) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(array-0.5.6.0) ghc-devel(base-4.18.2.1) Processing files: ghc-bitarray-doc-0.0.1.1-21.fc41.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Nuc0G7 + umask 022 + cd /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build + cd bitarray-0.0.1.1 + LICENSEDIR=/builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/share/licenses/ghc-bitarray-doc + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/share/licenses/ghc-bitarray-doc + cp -pr /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/bitarray-0.0.1.1/LICENSE /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT/usr/share/licenses/ghc-bitarray-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-bitarray-doc = 0.0.1.1-21.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-bitarray-prof-0.0.1.1-21.fc41.riscv64 Provides: ghc-bitarray-prof = 0.0.1.1-21.fc41 ghc-bitarray-prof(riscv-64) = 0.0.1.1-21.fc41 ghc-prof(bitarray-0.0.1.1-42zGQsmgrsd74Ka2H7KBJE) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(array-0.5.6.0) ghc-prof(base-4.18.2.1) Supplements: (ghc-bitarray-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/ghc-bitarray-0.0.1.1-build/BUILDROOT Wrote: /builddir/build/RPMS/ghc-bitarray-0.0.1.1-21.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-bitarray-doc-0.0.1.1-21.fc41.noarch.rpm Wrote: /builddir/build/RPMS/ghc-bitarray-devel-0.0.1.1-21.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-bitarray-prof-0.0.1.1-21.fc41.riscv64.rpm Child return code was: 0