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 x86_64 --nodeps /builddir/build/SPECS/dhall-json.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-228786-81232/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dhall-json.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dhall-json-1.7.12-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dhall-json.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-228786-81232/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dhall-json.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.61p0By + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dhall-json-1.7.12 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dhall-json-1.7.12.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dhall-json-1.7.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + dos2unix -k -n /builddir/build/SOURCES/dhall-json-1.7.12.cabal dhall-json.cabal dos2unix: converting file /builddir/build/SOURCES/dhall-json-1.7.12.cabal to file dhall-json.cabal in Unix format... + cabal-tweak-dep-ver aeson '< 2.2' '< 2.3' + cabal-tweak-dep-ver bytestring '< 0.12' '< 0.13' + cabal-tweak-dep-ver text '< 2.1' '< 2.2' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZOxr2Q + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 dhall-json-1.7.12 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f CHANGELOG.md -a -x CHANGELOG.md ']' + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.8.4/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.10.3.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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/dhall-json '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.8.4/lib --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-m64 -optc-march=x86-64-v2 -optc-mtune=generic -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optc-fcf-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/dhall-json-1.7.12 --global Configuring dhall-json-1.7.12... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j32 Preprocessing library for dhall-json-1.7.12.. Building library for dhall-json-1.7.12.. [1 of 6] Compiling Dhall.JSON.Compat [2 of 6] Compiling Dhall.JSON.Util [3 of 6] Compiling Dhall.JSON [4 of 6] Compiling Dhall.JSON.Yaml [5 of 6] Compiling Dhall.DhallToYaml.Main [6 of 6] Compiling Dhall.JSONToDhall Preprocessing executable 'dhall-to-yaml' for dhall-json-1.7.12.. Building executable 'dhall-to-yaml' for dhall-json-1.7.12.. [1 of 2] Compiling Paths_dhall_json [2 of 2] Compiling Main [3 of 3] Linking dist/build/dhall-to-yaml/dhall-to-yaml Preprocessing executable 'json-to-dhall' for dhall-json-1.7.12.. Building executable 'json-to-dhall' for dhall-json-1.7.12.. [1 of 2] Compiling Paths_dhall_json [2 of 2] Compiling Main [3 of 3] Linking dist/build/json-to-dhall/json-to-dhall Preprocessing executable 'dhall-to-json' for dhall-json-1.7.12.. Building executable 'dhall-to-json' for dhall-json-1.7.12.. [1 of 2] Compiling Paths_dhall_json [2 of 2] Compiling Main [3 of 3] Linking dist/build/dhall-to-json/dhall-to-json + '[' -n dist/build/libHSdhall-json-1.7.12-1iVj9umGY7Gyy7zV0vn5O-ghc9.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for dhall-json-1.7.12.. Running Haddock on library for dhall-json-1.7.12.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: Diff-0.5, OneTuple-0.4.2, QuickCheck-2.14.3, StateVar-1.2.2, aeson-2.2.3.0, aeson-pretty-0.8.10, aeson-yaml-1.1.0.1, ansi-terminal-1.1.2, ansi-terminal-types-1.1, appar-0.1.8, array-0.5.8.0, asn1-encoding-0.9.6, asn1-parse-0.9.5, asn1-types-0.3.4, assoc-1.1.1, async-2.2.5, atomic-write-0.2.1.1, attoparsec-0.14.4, attoparsec-0.14.4, base-4.19.2.0, base-compat-0.13.1, base-orphans-0.9.3, base16-bytestring-1.0.2.0, base64-bytestring-1.2.1.0, basement-0.0.16, bifunctors-5.6.2, binary-0.8.9.1, blaze-builder-0.4.2.3, byteorder-1.0.4, bytestring-0.12.1.0, case-insensitive-1.2.1.0, cborg-0.2.10.0, cborg-json-0.2.6.0, cereal-0.5.8.3, character-ps-0.1, charset-0.3.11, colour-2.3.6, comonad-5.0.9, containers-0.6.8, contravariant-1.5.5, cookie-0.5.0, cryptohash-sha256-0.11.102.1, crypton-0.34, crypton-connection-0.4.3, crypton-x509-1.7.7, crypton-x509-store-1.6.10, crypton-x509-system-1.6.7, crypton-x509-validation-1.6.14, data-default-0.7.1.3, data-default-class-0.1.2.2, data-default-instances-containers-0.1.0.3, data-default-instances-dlist-0.0.1.2, data-default-instances-old-locale-0.0.1.2, data-fix-0.3.4, deepseq-1.5.1.0, dhall-1.42.2, directory-1.3.8.5, distributive-0.6.2.1, dlist-1.0, dotgen-0.4.3, either-5.0.2, exceptions-0.10.7, filepath-1.4.301.0, generically-0.1.1, ghc-bignum-1.3, ghc-boot-th-9.8.4, ghc-prim-0.11.0, half-0.3.2, hashable-1.4.7.0, haskeline-0.8.2.1, hourglass-0.2.12, http-client-0.7.19, http-client-tls-0.3.6.4, http-types-0.12.4, indexed-traversable-0.1.4, indexed-traversable-instances-0.1.2, integer-conversion-0.1.1, integer-gmp-1.1, integer-logarithms-1.0.3.1, iproute-1.7.15, lens-family-core-2.1.3, megaparsec-9.6.1, memory-0.18.0, mime-types-0.1.2.0, mmorph-1.2.0, mtl-2.3.1, network-3.2.7.0, network-uri-2.6.4.2, old-locale-1.0.0.7, old-time-1.1.0.3, optparse-applicative-0.18.1.0, os-string-2.0.7, parsec-3.1.17.0, parser-combinators-1.3.0, parsers-0.12.12, pem-0.2.4, pretty-1.1.3.6, pretty-simple-4.1.3.0, prettyprinter-1.7.1, prettyprinter-ansi-terminal-1.1.3, primitive-0.9.0.0, process-1.6.25.0, profunctors-5.6.2, random-1.2.1.3, repline-0.4.2.0, scientific-0.3.8.0, semialign-1.3.1, semigroupoids-6.0.1, serialise-0.2.6.1, socks-0.6.1, splitmix-0.1.1, stm-2.5.3.1, streaming-commons-0.2.3.0, strict-0.5.1, tagged-0.8.8, template-haskell-2.21.0.0, temporary-1.3, terminfo-0.4.1.6, text-2.1.1, text-iso8601-0.1.1, text-manipulate-0.3.1.0, text-short-0.1.6, th-abstraction-0.7.1.0, th-compat-0.1.6, th-lift-0.8.6, th-lift-instances-0.1.20, these-1.2.1, time-1.12.2, time-compat-1.9.6.1, tls-2.1.1, transformers-0.6.1.0, transformers-compat-0.7.2, unix-2.8.6.0, unix-compat-0.7.3, unix-time-0.4.16, unordered-containers-0.2.20, uuid-types-1.0.6, vector-0.13.1.0, vector-stream-0.1.0.1, witherable-0.5, zlib-0.7.1.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 6] Compiling Dhall.JSON.Compat ( src/Dhall/JSON/Compat.hs, nothing ) [2 of 6] Compiling Dhall.JSON.Util ( src/Dhall/JSON/Util.hs, nothing ) [3 of 6] Compiling Dhall.JSON ( src/Dhall/JSON.hs, nothing ) [4 of 6] Compiling Dhall.JSON.Yaml ( src/Dhall/JSON/Yaml.hs, nothing ) [5 of 6] Compiling Dhall.DhallToYaml.Main ( src/Dhall/DhallToYaml/Main.hs, nothing ) [6 of 6] Compiling Dhall.JSONToDhall ( src/Dhall/JSONToDhall.hs, nothing ) Haddock coverage: Warning: 'Header' is ambiguous. It is defined * in ‘Dhall.Parser’ * in ‘Dhall.Parser’ You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined in ‘Dhall.Parser’ 93% ( 15 / 16) in 'Dhall.JSON' Missing documentation for: defaultConversion (src/Dhall/JSON.hs:704) 50% ( 4 / 8) in 'Dhall.JSON.Yaml' Missing documentation for: Options (src/Dhall/JSON/Yaml.hs:34) parseDocuments (src/Dhall/JSON/Yaml.hs:60) parseQuoted (src/Dhall/JSON/Yaml.hs:67) defaultOptions (src/Dhall/JSON/Yaml.hs:47) 0% ( 0 / 2) in 'Dhall.DhallToYaml.Main' Missing documentation for: Module header main (src/Dhall/DhallToYaml/Main.hs:94) Warning: 'Text' is ambiguous. It is defined * at src/Dhall/JSONToDhall.hs:665:7 * in ‘Data.Text.Internal’ You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Dhall/JSONToDhall.hs:665:7 Warning: 'Type' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'Conversion' is ambiguous. It is defined * at src/Dhall/JSONToDhall.hs:462:19 * at src/Dhall/JSONToDhall.hs:462:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Dhall/JSONToDhall.hs:462:1 88% ( 15 / 17) in 'Dhall.JSONToDhall' Missing documentation for: CompileError (src/Dhall/JSONToDhall.hs:1134) showCompileError (src/Dhall/JSONToDhall.hs:1160) Warning: Dhall.JSON: could not find link destinations for: - GHC.Show.Show - GHC.Base.String - GHC.Types.Double - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - Data.Either.Either - GHC.Base.Void - GHC.IO.FilePath - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - Data.Aeson.Types.Internal.Value - Data.Text.Internal.Text - GHC.Exception.Type.SomeException - GHC.Exception.Type.Exception - Dhall.Syntax.Expr.Expr - GHC.Exception.Type.toException - GHC.Exception.Type.displayException - GHC.Exception.Type.fromException - Dhall.Parser.Header - Options.Applicative.Types.Parser Warning: Dhall.JSON.Yaml: could not find link destinations for: - GHC.Types.Bool - GHC.Maybe.Maybe - GHC.Types.IO - GHC.IO.FilePath - Data.Aeson.Types.Internal.Value - Data.ByteString.Internal.Type.ByteString - Data.Text.Internal.Text - Options.Applicative.Types.Parser Warning: Dhall.DhallToYaml.Main: could not find link destinations for: - GHC.Maybe.Maybe - GHC.Types.IO - GHC.IO.FilePath - Data.ByteString.Internal.Type.ByteString - Data.Text.Internal.Text - Data.Version.Version Warning: Dhall.JSONToDhall: could not find link destinations for: - GHC.Classes.== - GHC.Base.<> - GHC.Base.mempty - GHC.Base.mappend - GHC.Base.mconcat - GHC.Classes.Eq - GHC.Real.Integral - GHC.Show.Show - GHC.Base.Semigroup - GHC.Base.Monoid - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Maybe.Maybe - GHC.Types.IO - Data.Either.Either - GHC.Base.Void - GHC.Base.NonEmpty - GHC.Types.True - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Classes./= - Data.Aeson.Types.Internal.JSONPath - Data.Aeson.Types.Internal.Value - Data.Text.Internal.Text - GHC.Exception.Type.SomeException - Data.Map.Internal.Map - Data.Semigroup.Internal.Any - GHC.Base.sconcat - GHC.Base.stimes - GHC.Exception.Type.Exception - Dhall.Syntax.Expr.Expr - Dhall.Src.Src - GHC.Exception.Type.toException - GHC.Exception.Type.displayException - GHC.Exception.Type.fromException - Dhall.TypeCheck.TypeError - Options.Applicative.Types.Parser - Control.Monad.Catch.MonadCatch - Dhall.JSONToDhall.UnionNumber - Dhall.JSONToDhall.ExprX - Dhall.JSONToDhall.UnionConv Documentation created: dist/doc/html/dhall-json/, dist/doc/html/dhall-json/dhall-json.txt Preprocessing executable 'dhall-to-yaml' for dhall-json-1.7.12.. Preprocessing executable 'json-to-dhall' for dhall-json-1.7.12.. Preprocessing executable 'dhall-to-json' for dhall-json-1.7.12.. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.R69cug + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64 + cd dhall-json-1.7.12 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64 Installing library in /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/dhall-json-1.7.12 Installing executable dhall-to-yaml in /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin Warning: Executable installed in /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin Installing executable json-to-dhall in /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin Warning: Executable installed in /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin Installing executable dhall-to-json in /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin Warning: Executable installed in /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' -d dhall-json-1.7.12.conf ']' + install -D --mode=0644 dhall-json-1.7.12.conf /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/package.conf.d/dhall-json-1.7.12.conf + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/package.conf.d/dhall-json-1.7.12.conf ']' + rm -f ghc-dhall-json.files ghc-dhall-json-doc.files + touch ghc-dhall-json.files ghc-dhall-json-doc.files + for i in /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/lib64/ghc-9.8.4${subsubdir}/libHSdhall-json-1.7.12-*ghc9.8.4.so + '[' -x /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSdhall-json-1.7.12-1iVj9umGY7Gyy7zV0vn5O-ghc9.8.4.so ']' + echo /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSdhall-json-1.7.12-1iVj9umGY7Gyy7zV0vn5O-ghc9.8.4.so + pkgdir=/builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/dhall-json-1.7.12 + '[' '!' -d /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/dhall-json-1.7.12 ']' + '[' -d /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/dhall-json-1.7.12 ']' + find /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/dhall-json-1.7.12 -type d -fprintf ghc-dhall-json-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-dhall-json-prof.files -o -fprint ghc-dhall-json-devel.files + ls /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/package.conf.d/dhall-json-1.7.12.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/dhall-json-1.7.12 + '[' -d /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/share/doc/ghc/html/libraries/dhall-json-1.7.12 ']' + echo /usr/share/doc/ghc/html/libraries/dhall-json-1.7.12 + for i in ghc-dhall-json.files ghc-dhall-json-devel.files ghc-dhall-json-doc.files ghc-dhall-json-prof.files + '[' -f ghc-dhall-json.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64!!g' ghc-dhall-json.files + for i in ghc-dhall-json.files ghc-dhall-json-devel.files ghc-dhall-json-doc.files ghc-dhall-json-prof.files + '[' -f ghc-dhall-json-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64!!g' ghc-dhall-json-devel.files + for i in ghc-dhall-json.files ghc-dhall-json-devel.files ghc-dhall-json-doc.files ghc-dhall-json-prof.files + '[' -f ghc-dhall-json-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64!!g' ghc-dhall-json-doc.files + for i in ghc-dhall-json.files ghc-dhall-json-devel.files ghc-dhall-json-doc.files ghc-dhall-json-prof.files + '[' -f ghc-dhall-json-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64!!g' ghc-dhall-json-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/dhall-to-yaml ']' ++ chrpath /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/dhall-to-yaml ++ sed -e 's@^/builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/dhall-to-yaml: R.*PATH=@@' + rpath='/builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/dhall-to-yaml: no rpath or runpath tag found.' + case "$rpath" in + for i in $(find /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/dhall-to-json ']' ++ chrpath /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/dhall-to-json ++ sed -e 's@^/builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/dhall-to-json: R.*PATH=@@' + rpath='/builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/dhall-to-json: no rpath or runpath tag found.' + case "$rpath" in + for i in $(find /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/json-to-dhall ']' ++ chrpath /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/json-to-dhall ++ sed -e 's@^/builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/json-to-dhall: R.*PATH=@@' + rpath='/builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/json-to-dhall: no rpath or runpath tag found.' + case "$rpath" in + for i in $(find /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSdhall-json-1.7.12-1iVj9umGY7Gyy7zV0vn5O-ghc9.8.4.so ']' ++ chrpath /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSdhall-json-1.7.12-1iVj9umGY7Gyy7zV0vn5O-ghc9.8.4.so ++ sed -e 's@^/builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/lib64/ghc-9.8.4/lib/libHSdhall-json-1.7.12-1iVj9umGY7Gyy7zV0vn5O-ghc9.8.4.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4:/usr/lib64/ghc-9.8.4/lib:/usr/lib64 + case "$rpath" in + set noclobber + mkdir -p /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/share/bash-completion/completions + /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/dhall-to-json --bash-completion-script dhall-to-json + sed s/filenames/default/ + /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/dhall-to-yaml --bash-completion-script dhall-to-yaml + sed s/filenames/default/ + /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/json-to-dhall --bash-completion-script json-to-dhall + sed s/filenames/default/ + mkdir -p /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/share/man/man1/ + help2man --no-info /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/dhall-to-json + help2man --no-info /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/dhall-to-yaml + help2man --no-info /builddir/build/BUILDROOT/dhall-json-1.7.12-1.oc9.x86_64/usr/bin/json-to-dhall + /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 ******************************************************************************* * * WARNING: 'check-rpaths' detected a broken RPATH OR RUNPATH and will cause * 'rpmbuild' to fail. To ignore these errors, you can set the * '$QA_RPATHS' environment variable which is a bitmask allowing the * values below. The current value of QA_RPATHS is 0x0000. * * 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor * issue but are introducing redundant searchpaths without * providing a benefit. They can also cause errors in multilib * environments. * 0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute * nor relative filenames and can therefore be a SECURITY risk * 0x0004 ... insecure RPATHs; these are relative RPATHs which are a * SECURITY risk * 0x0008 ... the special '$ORIGIN' RPATHs are appearing after other * RPATHs; this is just a minor issue but usually unwanted * 0x0010 ... the RPATH is empty; there is no reason for such RPATHs * and they cause unneeded work while loading libraries * 0x0020 ... an RPATH references '..' of an absolute path; this will break * the functionality when the path before '..' is a symlink * * * Examples: * - to ignore standard and empty RPATHs, execute 'rpmbuild' like * $ QA_RPATHS=$(( 0x0001|0x0010 )) rpmbuild my-package.src.rpm * - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like * $ RPM_BUILD_ROOT= /usr/lib/rpm/check-rpaths * ******************************************************************************* ERROR 0001: file '/usr/lib64/ghc-9.8.4/lib/libHSdhall-json-1.7.12-1iVj9umGY7Gyy7zV0vn5O-ghc9.8.4.so' contains a standard runpath '/usr/lib64' in [/usr/lib64/ghc-9.8.4/lib/x86_64-linux-ghc-9.8.4:/usr/lib64/ghc-9.8.4/lib:/usr/lib64] error: Bad exit status from /var/tmp/rpm-tmp.R69cug (%install) Bad exit status from /var/tmp/rpm-tmp.R69cug (%install) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dhall-json.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dhall-json.spec