Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-asn1-encoding.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-182423-12258/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-asn1-encoding.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'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ghc-asn1-encoding-0.9.6-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-asn1-encoding.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-182423-12258/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-asn1-encoding.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'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2UoZU5 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf asn1-encoding-0.9.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/asn1-encoding-0.9.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd asn1-encoding-0.9.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -bp /builddir/build/SOURCES/asn1-encoding-0.9.6.cabal asn1-encoding.cabal + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.y0nlMc + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 asn1-encoding-0.9.6 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.hs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 + ./Setup --version Cabal library version 3.8.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-asn1-encoding '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --enable-tests --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-D_FORTIFY_SOURCE=2 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -optc-fstack-protector-strong -optc-mbranch-protection=standard -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-Wl,--build-id=sha1 -fhide-source-paths' --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/asn1-encoding-0.9.6 --global Configuring asn1-encoding-0.9.6... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for asn1-encoding-0.9.6.. Building library for asn1-encoding-0.9.6.. [ 1 of 12] Compiling Data.ASN1.Error [ 2 of 12] Compiling Data.ASN1.Get Data/ASN1/Get.hs:31:29: warning: [-Wunused-imports] The import of ‘Applicative’ from module ‘Control.Applicative’ is redundant | 31 | import Control.Applicative (Applicative(..),Alternative(..)) | ^^^^^^^^^^^^^^^ Data/ASN1/Get.hs:92:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative Get’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 92 | pure = return | ^^^^^^^^^^^^^^ Data/ASN1/Get.hs:101:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad Get’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 101 | return a = Get $ \ s0 b0 m0 p0 _ ks -> ks s0 b0 m0 p0 a | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 3 of 12] Compiling Data.ASN1.Internal [ 4 of 12] Compiling Data.ASN1.Object [ 5 of 12] Compiling Data.ASN1.Serialize Data/ASN1/Serialize.hs:17:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 17 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 6 of 12] Compiling Data.ASN1.BinaryEncoding.Writer [ 7 of 12] Compiling Data.ASN1.BinaryEncoding.Parse [ 8 of 12] Compiling Data.ASN1.BinaryEncoding.Raw [ 9 of 12] Compiling Data.ASN1.Stream [10 of 12] Compiling Data.ASN1.Prim Data/ASN1/Prim.hs:55:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 55 | import Data.Monoid | ^^^^^^^^^^^^^^^^^^ Data/ASN1/Prim.hs:65:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 65 | import Control.Applicative | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Data/ASN1/Prim.hs:259:11: warning: [-Wname-shadowing] This binding for ‘exponent’ shadows the existing binding imported from ‘Prelude’ at Data/ASN1/Prim.hs:13:8-21 (and originally defined in ‘GHC.Float’) | 259 | exponent = exp' - fromIntegral scaleFactor | ^^^^^^^^ Data/ASN1/Prim.hs:296:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Word8]’ not matched: [] | 296 | (x:xs) = B.unpack s | ^^^^^^^^^^^^^^^^^^^ Data/ASN1/Prim.hs:428:9: warning: [-Wname-shadowing] This binding for ‘exp’ shadows the existing binding imported from ‘Prelude’ at Data/ASN1/Prim.hs:13:8-21 (and originally defined in ‘GHC.Float’) | 428 | (man, exp) = decodeFloat d | ^^^ Data/ASN1/Prim.hs:429:14: warning: [-Wname-shadowing] This binding for ‘exponent’ shadows the existing binding imported from ‘Prelude’ at Data/ASN1/Prim.hs:13:8-21 (and originally defined in ‘GHC.Float’) | 429 | (mantissa, exponent) = normalize (fromIntegral $ mkUnsigned man, exp) | ^^^^^^^^ Data/ASN1/Prim.hs:441:22: warning: [-Wname-shadowing] This binding for ‘exponent’ shadows the existing binding imported from ‘Prelude’ at Data/ASN1/Prim.hs:13:8-21 (and originally defined in ‘GHC.Float’) | 441 | normalize (mantissa, exponent) = (mantissa `shiftR` sh, exponent + sh) | ^^^^^^^^ [11 of 12] Compiling Data.ASN1.Encoding [12 of 12] Compiling Data.ASN1.BinaryEncoding Preprocessing test suite 'tests-asn1-encoding' for asn1-encoding-0.9.6.. Building test suite 'tests-asn1-encoding' for asn1-encoding-0.9.6.. : warning: [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules for ‘main’ : Data.ASN1.BinaryEncoding Data.ASN1.BinaryEncoding.Parse Data.ASN1.BinaryEncoding.Writer Data.ASN1.Encoding Data.ASN1.Error Data.ASN1.Get Data.ASN1.Internal Data.ASN1.Prim Data.ASN1.Serialize Data.ASN1.Stream [ 1 of 11] Compiling Data.ASN1.Error [ 2 of 11] Compiling Data.ASN1.Get Data/ASN1/Get.hs:31:29: warning: [-Wunused-imports] The import of ‘Applicative’ from module ‘Control.Applicative’ is redundant | 31 | import Control.Applicative (Applicative(..),Alternative(..)) | ^^^^^^^^^^^^^^^ Data/ASN1/Get.hs:92:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative Get’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 92 | pure = return | ^^^^^^^^^^^^^^ Data/ASN1/Get.hs:101:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad Get’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 101 | return a = Get $ \ s0 b0 m0 p0 _ ks -> ks s0 b0 m0 p0 a | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 3 of 11] Compiling Data.ASN1.Internal [ 4 of 11] Compiling Data.ASN1.Serialize Data/ASN1/Serialize.hs:17:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 17 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 5 of 11] Compiling Data.ASN1.BinaryEncoding.Writer [ 6 of 11] Compiling Data.ASN1.BinaryEncoding.Parse [ 7 of 11] Compiling Data.ASN1.Stream [ 8 of 11] Compiling Data.ASN1.Prim Data/ASN1/Prim.hs:55:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 55 | import Data.Monoid | ^^^^^^^^^^^^^^^^^^ Data/ASN1/Prim.hs:65:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 65 | import Control.Applicative | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Data/ASN1/Prim.hs:259:11: warning: [-Wname-shadowing] This binding for ‘exponent’ shadows the existing binding imported from ‘Prelude’ at Data/ASN1/Prim.hs:13:8-21 (and originally defined in ‘GHC.Float’) | 259 | exponent = exp' - fromIntegral scaleFactor | ^^^^^^^^ Data/ASN1/Prim.hs:296:9: warning: [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type ‘[Word8]’ not matched: [] | 296 | (x:xs) = B.unpack s | ^^^^^^^^^^^^^^^^^^^ Data/ASN1/Prim.hs:428:9: warning: [-Wname-shadowing] This binding for ‘exp’ shadows the existing binding imported from ‘Prelude’ at Data/ASN1/Prim.hs:13:8-21 (and originally defined in ‘GHC.Float’) | 428 | (man, exp) = decodeFloat d | ^^^ Data/ASN1/Prim.hs:429:14: warning: [-Wname-shadowing] This binding for ‘exponent’ shadows the existing binding imported from ‘Prelude’ at Data/ASN1/Prim.hs:13:8-21 (and originally defined in ‘GHC.Float’) | 429 | (mantissa, exponent) = normalize (fromIntegral $ mkUnsigned man, exp) | ^^^^^^^^ Data/ASN1/Prim.hs:441:22: warning: [-Wname-shadowing] This binding for ‘exponent’ shadows the existing binding imported from ‘Prelude’ at Data/ASN1/Prim.hs:13:8-21 (and originally defined in ‘GHC.Float’) | 441 | normalize (mantissa, exponent) = (mantissa `shiftR` sh, exponent + sh) | ^^^^^^^^ [ 9 of 11] Compiling Data.ASN1.Encoding [10 of 11] Compiling Data.ASN1.BinaryEncoding [11 of 11] Compiling Main tests/Tests.hs:4:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 4 | import Control.Applicative | ^^^^^^^^^^^^^^^^^^^^^^^^^^ tests/Tests.hs:35:25: warning: [-Wunused-local-binds] Defined but not used: ‘nbBytes’ | 35 | nbBytes nb = if nb > 255 then 1 + nbBytes (nb `div` 256) else 1 | ^^^^^^^ : warning: [-Wmissing-home-modules] These modules are needed for compilation but not listed in your .cabal file's other-modules for ‘main’ : Data.ASN1.BinaryEncoding Data.ASN1.BinaryEncoding.Parse Data.ASN1.BinaryEncoding.Writer Data.ASN1.Encoding Data.ASN1.Error Data.ASN1.Get Data.ASN1.Internal Data.ASN1.Prim Data.ASN1.Serialize Data.ASN1.Stream [12 of 12] Linking dist/build/tests-asn1-encoding/tests-asn1-encoding + '[' -n dist/build/libHSasn1-encoding-0.9.6-LJjmQmPQyAwJTAZOdbvXlM-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for asn1-encoding-0.9.6.. Running Haddock on library for asn1-encoding-0.9.6.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.4.0, asn1-types-0.3.4, base-4.17.1.0, basement-0.0.16, bytestring-0.11.4.0, deepseq-1.4.8.0, ghc-bignum-1.3, ghc-boot-th-9.4.5, ghc-prim-0.9.0, hourglass-0.2.12, memory-0.18.0, pretty-1.1.3.6, template-haskell-2.19.0.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Data/ASN1/Get.hs:31:29: warning: [-Wunused-imports] The import of ‘Applicative’ from module ‘Control.Applicative’ is redundant | 31 | import Control.Applicative (Applicative(..),Alternative(..)) | ^^^^^^^^^^^^^^^ Data/ASN1/Get.hs:92:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative Get’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 92 | pure = return | ^^^^^^^^^^^^^^ Data/ASN1/Get.hs:101:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad Get’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 101 | return a = Get $ \ s0 b0 m0 p0 _ ks -> ks s0 b0 m0 p0 a | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Data/ASN1/Serialize.hs:17:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 17 | import Control.Applicative ((<$>)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Data/ASN1/Prim.hs:55:1: warning: [-Wunused-imports] The import of ‘Data.Monoid’ is redundant except perhaps to import instances from ‘Data.Monoid’ To import instances alone, use: import Data.Monoid() | 55 | import Data.Monoid | ^^^^^^^^^^^^^^^^^^ Data/ASN1/Prim.hs:65:1: warning: [-Wunused-imports] The import of ‘Control.Applicative’ is redundant except perhaps to import instances from ‘Control.Applicative’ To import instances alone, use: import Control.Applicative() | 65 | import Control.Applicative | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Data/ASN1/Prim.hs:259:11: warning: [-Wname-shadowing] This binding for ‘exponent’ shadows the existing binding imported from ‘Prelude’ at Data/ASN1/Prim.hs:13:8-21 (and originally defined in ‘GHC.Float’) | 259 | exponent = exp' - fromIntegral scaleFactor | ^^^^^^^^ Data/ASN1/Prim.hs:428:9: warning: [-Wname-shadowing] This binding for ‘exp’ shadows the existing binding imported from ‘Prelude’ at Data/ASN1/Prim.hs:13:8-21 (and originally defined in ‘GHC.Float’) | 428 | (man, exp) = decodeFloat d | ^^^ Data/ASN1/Prim.hs:429:14: warning: [-Wname-shadowing] This binding for ‘exponent’ shadows the existing binding imported from ‘Prelude’ at Data/ASN1/Prim.hs:13:8-21 (and originally defined in ‘GHC.Float’) | 429 | (mantissa, exponent) = normalize (fromIntegral $ mkUnsigned man, exp) | ^^^^^^^^ Data/ASN1/Prim.hs:441:22: warning: [-Wname-shadowing] This binding for ‘exponent’ shadows the existing binding imported from ‘Prelude’ at Data/ASN1/Prim.hs:13:8-21 (and originally defined in ‘GHC.Float’) | 441 | normalize (mantissa, exponent) = (mantissa `shiftR` sh, exponent + sh) | ^^^^^^^^ 100% ( 3 / 3) in 'Data.ASN1.Error' Warning: 'get' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: Couldn't find .haddock for export ASN1Object 50% ( 1 / 2) in 'Data.ASN1.Object' Missing documentation for: ASN1Object Warning: Couldn't find .haddock for export ASN1Header Warning: Couldn't find .haddock for export ASN1Class Warning: Couldn't find .haddock for export ASN1Tag Warning: Couldn't find .haddock for export ASN1Length Warning: Couldn't find .haddock for export ASN1Event 61% ( 8 / 13) in 'Data.ASN1.BinaryEncoding.Raw' Missing documentation for: ASN1Header ASN1Class ASN1Tag ASN1Length ASN1Event 25% ( 1 / 4) in 'Data.ASN1.Stream' Missing documentation for: ASN1Repr (Data/ASN1/Stream.hs:20) getConstructedEnd (Data/ASN1/Stream.hs:22) getConstructedEndRepr (Data/ASN1/Stream.hs:30) Warning: Couldn't find .haddock for export ASN1 Warning: Couldn't find .haddock for export ASN1ConstructionType 21% ( 6 / 28) in 'Data.ASN1.Prim' Missing documentation for: ASN1 ASN1ConstructionType encodeHeader (Data/ASN1/Prim.hs:68) encodePrimitiveHeader (Data/ASN1/Prim.hs:98) encodePrimitive (Data/ASN1/Prim.hs:115) decodePrimitive (Data/ASN1/Prim.hs:164) encodeConstructed (Data/ASN1/Prim.hs:146) encodeList (Data/ASN1/Prim.hs:132) encodeOne (Data/ASN1/Prim.hs:128) mkSmallestLength (Data/ASN1/Prim.hs:156) getBoolean (Data/ASN1/Prim.hs:196) getDouble (Data/ASN1/Prim.hs:228) getBitString (Data/ASN1/Prim.hs:272) getOctetString (Data/ASN1/Prim.hs:284) getNull (Data/ASN1/Prim.hs:287) getTime (Data/ASN1/Prim.hs:311) putTime (Data/ASN1/Prim.hs:381) putInteger (Data/ASN1/Prim.hs:393) putDouble (Data/ASN1/Prim.hs:416) putBitString (Data/ASN1/Prim.hs:396) putString (Data/ASN1/Prim.hs:401) putOID (Data/ASN1/Prim.hs:405) 100% ( 9 / 9) in 'Data.ASN1.Encoding' 100% ( 3 / 3) in 'Data.ASN1.BinaryEncoding' Warning: Data.ASN1.Error: could not find link destinations for: - GHC.Base.String - GHC.Exception.Type.Exception - GHC.Exception.Type.toException - GHC.Exception.Type.SomeException - GHC.Exception.Type.fromException - GHC.Maybe.Maybe - GHC.Exception.Type.displayException - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= Warning: Data.ASN1.Object: could not find link destinations for: - Data.ASN1.Types.ASN1S - Data.Either.Either - GHC.Base.String Warning: Data.ASN1.BinaryEncoding.Raw: could not find link destinations for: - GHC.Types.Bool - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Classes./= - GHC.Enum.Enum - GHC.Enum.succ - GHC.Enum.pred - GHC.Enum.toEnum - GHC.Enum.fromEnum - GHC.Enum.enumFrom - GHC.Enum.enumFromThen - GHC.Enum.enumFromTo - GHC.Enum.enumFromThenTo - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.ByteString - Data.Either.Either Warning: Data.ASN1.Stream: could not find link destinations for: - GHC.Types.Int Warning: Data.ASN1.Prim: could not find link destinations for: - GHC.Types.Bool - GHC.Num.Integer.Integer - Data.ASN1.BitArray.BitArray - Data.ByteString.Internal.Type.ByteString - Data.ASN1.OID.OID - GHC.Types.Double - Data.ASN1.Types.String.ASN1CharacterString - Data.ASN1.Types.ASN1TimeType - Time.Types.DateTime - GHC.Maybe.Maybe - Time.Types.TimezoneOffset - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Classes./= - Data.ASN1.Prim.ASN1Ret - Data.Either.Either Warning: Data.ASN1.Encoding: could not find link destinations for: - Data.ByteString.Lazy.Internal.ByteString - Data.Either.Either - Data.ByteString.Internal.Type.ByteString Warning: Data.ASN1.BinaryEncoding: could not find link destinations for: - Data.ByteString.Lazy.Internal.ByteString - Data.Either.Either Documentation created: dist/doc/html/asn1-encoding/index.html, dist/doc/html/asn1-encoding/asn1-encoding.txt Preprocessing test suite 'tests-asn1-encoding' for asn1-encoding-0.9.6.. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UpNQP8 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64 ++ dirname /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64 + cd asn1-encoding-0.9.6 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64 Installing library in /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/asn1-encoding-0.9.6 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -d asn1-encoding-0.9.6.conf ']' + install -D --mode=0644 asn1-encoding-0.9.6.conf /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/package.conf.d/asn1-encoding-0.9.6.conf + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/package.conf.d/asn1-encoding-0.9.6.conf ']' + rm -f ghc-asn1-encoding.files ghc-asn1-encoding-doc.files + touch ghc-asn1-encoding.files ghc-asn1-encoding-doc.files + for i in /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5${subsubdir}/libHSasn1-encoding-0.9.6-*ghc9.4.5.so + '[' -x /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/libHSasn1-encoding-0.9.6-LJjmQmPQyAwJTAZOdbvXlM-ghc9.4.5.so ']' + echo /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/libHSasn1-encoding-0.9.6-LJjmQmPQyAwJTAZOdbvXlM-ghc9.4.5.so + pkgdir=/builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/asn1-encoding-0.9.6 + '[' -d /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/asn1-encoding-0.9.6 ']' + find /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/asn1-encoding-0.9.6 -type d -fprintf ghc-asn1-encoding-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-asn1-encoding-prof.files -o -fprint ghc-asn1-encoding-devel.files + ls /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/package.conf.d/asn1-encoding-0.9.6.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/asn1-encoding-0.9.6 + '[' -d /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/share/doc/ghc/html/libraries/asn1-encoding-0.9.6 ']' + echo /usr/share/doc/ghc/html/libraries/asn1-encoding-0.9.6 + for i in ghc-asn1-encoding.files ghc-asn1-encoding-devel.files ghc-asn1-encoding-doc.files ghc-asn1-encoding-prof.files + '[' -f ghc-asn1-encoding.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64!!g' ghc-asn1-encoding.files + for i in ghc-asn1-encoding.files ghc-asn1-encoding-devel.files ghc-asn1-encoding-doc.files ghc-asn1-encoding-prof.files + '[' -f ghc-asn1-encoding-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64!!g' ghc-asn1-encoding-devel.files + for i in ghc-asn1-encoding.files ghc-asn1-encoding-devel.files ghc-asn1-encoding-doc.files ghc-asn1-encoding-prof.files + '[' -f ghc-asn1-encoding-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64!!g' ghc-asn1-encoding-doc.files + for i in ghc-asn1-encoding.files ghc-asn1-encoding-devel.files ghc-asn1-encoding-doc.files ghc-asn1-encoding-prof.files + '[' -f ghc-asn1-encoding-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64!!g' ghc-asn1-encoding-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/libHSasn1-encoding-0.9.6-LJjmQmPQyAwJTAZOdbvXlM-ghc9.4.5.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/libHSasn1-encoding-0.9.6-LJjmQmPQyAwJTAZOdbvXlM-ghc9.4.5.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/lib64/ghc-9.4.5/lib/libHSasn1-encoding-0.9.6-LJjmQmPQyAwJTAZOdbvXlM-ghc9.4.5.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.4.5/lib:/usr/lib64/ghc-9.4.5/lib/aarch64-linux-ghc-9.4.5 + case "$rpath" in + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/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/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.AzNrRR + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 asn1-encoding-0.9.6 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup test Running 1 test suites... Test suite tests-asn1-encoding: RUNNING... Test suite tests-asn1-encoding: PASS Test suite logged to: dist/test/asn1-encoding-0.9.6-tests-asn1-encoding.log 1 of 1 test suites (1 of 1 test cases) passed. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ghc-asn1-encoding-0.9.6-1.ocs23.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.eDeATM + umask 022 + cd /builddir/build/BUILD + cd asn1-encoding-0.9.6 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/share/licenses/ghc-asn1-encoding + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/share/licenses/ghc-asn1-encoding + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/share/licenses/ghc-asn1-encoding + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-asn1-encoding = 0.9.6-1.ocs23 ghc-asn1-encoding(aarch-64) = 0.9.6-1.ocs23 libHSasn1-encoding-0.9.6-LJjmQmPQyAwJTAZOdbvXlM-ghc9.4.5.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.4.0-ghc9.4.5.so()(64bit) libHSasn1-types-0.3.4-7K4CLabrMVIEYRiIaoUuDm-ghc9.4.5.so()(64bit) libHSbase-4.17.1.0-ghc9.4.5.so()(64bit) libHSbasement-0.0.16-J8UFRjmsTYU7wBgfpjdWQn-ghc9.4.5.so()(64bit) libHSbytestring-0.11.4.0-ghc9.4.5.so()(64bit) libHSdeepseq-1.4.8.0-ghc9.4.5.so()(64bit) libHSghc-bignum-1.3-ghc9.4.5.so()(64bit) libHSghc-boot-th-9.4.5-ghc9.4.5.so()(64bit) libHSghc-prim-0.9.0-ghc9.4.5.so()(64bit) libHShourglass-0.2.12-3PFbUFQLMNb8Ad2s9SU5p3-ghc9.4.5.so()(64bit) libHSmemory-0.18.0-BlEEr4I2pf1C6AnGmCyaxp-ghc9.4.5.so()(64bit) libHSpretty-1.1.3.6-ghc9.4.5.so()(64bit) libHStemplate-haskell-2.19.0.0-ghc9.4.5.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: ghc-asn1-encoding-devel-0.9.6-1.ocs23.aarch64 Provides: ghc-asn1-encoding-devel = 0.9.6-1.ocs23 ghc-asn1-encoding-devel(aarch-64) = 0.9.6-1.ocs23 ghc-asn1-encoding-static = 0.9.6-1.ocs23 ghc-devel(asn1-encoding-0.9.6-LJjmQmPQyAwJTAZOdbvXlM) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(asn1-types-0.3.4-7K4CLabrMVIEYRiIaoUuDm) ghc-devel(base-4.17.1.0) ghc-devel(bytestring-0.11.4.0) ghc-devel(hourglass-0.2.12-3PFbUFQLMNb8Ad2s9SU5p3) Processing files: ghc-asn1-encoding-doc-0.9.6-1.ocs23.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Wq6yi0 + umask 022 + cd /builddir/build/BUILD + cd asn1-encoding-0.9.6 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/share/licenses/ghc-asn1-encoding-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/share/licenses/ghc-asn1-encoding-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64/usr/share/licenses/ghc-asn1-encoding-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-asn1-encoding-doc = 0.9.6-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64 Wrote: /builddir/build/RPMS/ghc-asn1-encoding-0.9.6-1.ocs23.aarch64.rpm Wrote: /builddir/build/RPMS/ghc-asn1-encoding-doc-0.9.6-1.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/ghc-asn1-encoding-devel-0.9.6-1.ocs23.aarch64.rpm Child return code was: 0