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/ghc-ansi-wl-pprint.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-177375-11137/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fedb692d210>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-ansi-wl-pprint.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: x86_64
Building for target x86_64
Wrote: /builddir/build/SRPMS/ghc-ansi-wl-pprint-0.6.9-1.ocs23.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/ghc-ansi-wl-pprint.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-177375-11137/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0x7fedb692d210>timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-ansi-wl-pprint.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\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.bQL3kU
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf ansi-wl-pprint-0.6.9
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ansi-wl-pprint-0.6.9.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd ansi-wl-pprint-0.6.9
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cp -bp /builddir/build/SOURCES/ansi-wl-pprint-0.6.9.cabal ansi-wl-pprint.cabal
+ sed -i 's/\r$//' README.md
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ymVSkT
+ 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 ansi-wl-pprint-0.6.9
++ 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 ']'
+ chmod a-x Changelog.md
+ for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)')
+ '[' -f README.md -a -x README.md ']'
+ chmod a-x README.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.4.5/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
+ ./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 -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/ghc-ansi-wl-pprint '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/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/ansi-wl-pprint-0.6.9 --global
Configuring ansi-wl-pprint-0.6.9...
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup build -j32
Preprocessing library for ansi-wl-pprint-0.6.9..
Building library for ansi-wl-pprint-0.6.9..
[1 of 2] Compiling Text.PrettyPrint.ANSI.Leijen.Internal
Text/PrettyPrint/ANSI/Leijen/Internal.hs:34: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()
   |
34 | import Data.Monoid ((<>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^
[2 of 2] Compiling Text.PrettyPrint.ANSI.Leijen
Text/PrettyPrint/ANSI/Leijen.hs:164: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()
    |
164 | import Data.Monoid ((<>))
    | ^^^^^^^^^^^^^^^^^^^^^^^^^
+ '[' -n dist/build/libHSansi-wl-pprint-0.6.9-1uNId4TIZRh7T7KEIBVXZI-ghc9.4.5.so ']'
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup haddock --html --hyperlink-source --hoogle
Preprocessing library for ansi-wl-pprint-0.6.9..
Running Haddock on library for ansi-wl-pprint-0.6.9..
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: ansi-terminal-0.11.5,
ansi-terminal-types-0.11.5, base-4.17.1.0, colour-2.3.6, ghc-bignum-1.3,
ghc-prim-0.9.0
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
Text/PrettyPrint/ANSI/Leijen/Internal.hs:34: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()
   |
34 | import Data.Monoid ((<>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^
Text/PrettyPrint/ANSI/Leijen.hs:164: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()
    |
164 | import Data.Monoid ((<>))
    | ^^^^^^^^^^^^^^^^^^^^^^^^^
  88% (117 /132) in 'Text.PrettyPrint.ANSI.Leijen.Internal'
  Missing documentation for:
    fold (Text/PrettyPrint/ANSI/Leijen/Internal.hs:221)
    width (Text/PrettyPrint/ANSI/Leijen/Internal.hs:516)
    beside (Text/PrettyPrint/ANSI/Leijen/Internal.hs:701)
    column (Text/PrettyPrint/ANSI/Leijen/Internal.hs:720)
    nesting (Text/PrettyPrint/ANSI/Leijen/Internal.hs:720)
    columns (Text/PrettyPrint/ANSI/Leijen/Internal.hs:724)
    flatten (Text/PrettyPrint/ANSI/Leijen/Internal.hs:740)
    colorFunctions (Text/PrettyPrint/ANSI/Leijen/Internal.hs:807)
    oncolorFunctions (Text/PrettyPrint/ANSI/Leijen/Internal.hs:858)
    Docs (Text/PrettyPrint/ANSI/Leijen/Internal.hs:942)
    renderFits (Text/PrettyPrint/ANSI/Leijen/Internal.hs:991)
    fits1 (Text/PrettyPrint/ANSI/Leijen/Internal.hs:1059)
    fitsR (Text/PrettyPrint/ANSI/Leijen/Internal.hs:1078)
    spaces (Text/PrettyPrint/ANSI/Leijen/Internal.hs:1211)
    indentation (Text/PrettyPrint/ANSI/Leijen/Internal.hs:1215)
Warning: '<$>' is ambiguous. It is defined
    * in ‘Data.Functor’
    * at Text/PrettyPrint/ANSI/Leijen/Internal.hs:254:3
    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 Text/PrettyPrint/ANSI/Leijen/Internal.hs:254:3
Warning: Couldn't find .haddock for export Semigroup
  96% (136 /141) in 'Text.PrettyPrint.ANSI.Leijen'
  Missing documentation for:
    <>
    column (Text/PrettyPrint/ANSI/Leijen/Internal.hs:720)
    columns (Text/PrettyPrint/ANSI/Leijen/Internal.hs:724)
    nesting (Text/PrettyPrint/ANSI/Leijen/Internal.hs:720)
    width (Text/PrettyPrint/ANSI/Leijen/Internal.hs:516)
Warning: Text.PrettyPrint.ANSI.Leijen.Internal: could not find link destinations for:
	- GHC.Base.String
	- GHC.Types.Bool
	- GHC.Types.Int
	- GHC.Num.Integer.Integer
	- GHC.Types.Float
	- GHC.Types.Double
	- GHC.Real.Rational
	- GHC.Types.Char
	- GHC.Maybe.Maybe
	- System.Console.ANSI.Types.ConsoleLayer
	- System.Console.ANSI.Types.ColorIntensity
	- System.Console.ANSI.Types.Color
	- System.Console.ANSI.Types.ConsoleIntensity
	- System.Console.ANSI.Types.Underlining
	- GHC.Show.Show
	- Data.String.IsString
	- Data.String.fromString
	- GHC.Base.Monoid
	- GHC.Base.mempty
	- GHC.Base.mappend
	- GHC.Base.mconcat
	- GHC.Base.Semigroup
	- GHC.Base.sconcat
	- GHC.Base.NonEmpty
	- GHC.Base.stimes
	- GHC.Real.Integral
	- GHC.Show.showsPrec
	- GHC.Show.ShowS
	- GHC.Show.show
	- GHC.Show.showList
	- System.Console.ANSI.Types.SGR
	- GHC.IO.Handle.Types.Handle
	- GHC.Types.IO
Warning: Text.PrettyPrint.ANSI.Leijen: could not find link destinations for:
	- GHC.Show.Show
	- Data.String.IsString
	- Data.String.fromString
	- GHC.Base.String
	- GHC.Base.Monoid
	- GHC.Base.mempty
	- GHC.Base.mappend
	- GHC.Base.mconcat
	- GHC.Base.Semigroup
	- GHC.Base.sconcat
	- GHC.Base.NonEmpty
	- GHC.Base.stimes
	- GHC.Real.Integral
	- GHC.Show.showsPrec
	- GHC.Types.Int
	- GHC.Show.ShowS
	- GHC.Show.show
	- GHC.Show.showList
	- GHC.Types.Char
	- GHC.Num.Integer.Integer
	- GHC.Types.Float
	- GHC.Types.Double
	- GHC.Real.Rational
	- GHC.Types.Bool
	- GHC.Maybe.Maybe
	- System.Console.ANSI.Types.SGR
	- GHC.IO.Handle.Types.Handle
	- GHC.Types.IO
Documentation created: dist/doc/html/ansi-wl-pprint/index.html,
dist/doc/html/ansi-wl-pprint/ansi-wl-pprint.txt
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.wBojHq
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64
++ dirname /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64
+ cd ansi-wl-pprint-0.6.9
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64
Installing library in /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64/usr/lib64/ghc-9.4.5/lib/ansi-wl-pprint-0.6.9
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup register --gen-pkg-config
+ '[' -d /usr/lib64/ghc-9.4.5/lib ']'
+ subsubdir=/lib
+ '[' -d ansi-wl-pprint-0.6.9.conf ']'
+ install -D --mode=0644 ansi-wl-pprint-0.6.9.conf /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64/usr/lib64/ghc-9.4.5/lib/package.conf.d/ansi-wl-pprint-0.6.9.conf
+ '[' -d /usr/lib64/ghc-9.4.5/lib ']'
+ subsubdir=/lib
+ '[' '!' -f /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64/usr/lib64/ghc-9.4.5/lib/package.conf.d/ansi-wl-pprint-0.6.9.conf ']'
+ rm -f ghc-ansi-wl-pprint.files ghc-ansi-wl-pprint-doc.files
+ touch ghc-ansi-wl-pprint.files ghc-ansi-wl-pprint-doc.files
+ for i in /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64/usr/lib64/ghc-9.4.5${subsubdir}/libHSansi-wl-pprint-0.6.9-*ghc9.4.5.so
+ '[' -x /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64/usr/lib64/ghc-9.4.5/lib/libHSansi-wl-pprint-0.6.9-1uNId4TIZRh7T7KEIBVXZI-ghc9.4.5.so ']'
+ echo /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64/usr/lib64/ghc-9.4.5/lib/libHSansi-wl-pprint-0.6.9-1uNId4TIZRh7T7KEIBVXZI-ghc9.4.5.so
+ pkgdir=/builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64/usr/lib64/ghc-9.4.5/lib/ansi-wl-pprint-0.6.9
+ '[' -d /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64/usr/lib64/ghc-9.4.5/lib/ansi-wl-pprint-0.6.9 ']'
+ find /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64/usr/lib64/ghc-9.4.5/lib/ansi-wl-pprint-0.6.9 -type d -fprintf ghc-ansi-wl-pprint-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-ansi-wl-pprint-prof.files -o -fprint ghc-ansi-wl-pprint-devel.files
+ ls /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64/usr/lib64/ghc-9.4.5/lib/package.conf.d/ansi-wl-pprint-0.6.9.conf
+ haddock_dir=/usr/share/doc/ghc/html/libraries/ansi-wl-pprint-0.6.9
+ '[' -d /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64/usr/share/doc/ghc/html/libraries/ansi-wl-pprint-0.6.9 ']'
+ echo /usr/share/doc/ghc/html/libraries/ansi-wl-pprint-0.6.9
+ for i in ghc-ansi-wl-pprint.files ghc-ansi-wl-pprint-devel.files ghc-ansi-wl-pprint-doc.files ghc-ansi-wl-pprint-prof.files
+ '[' -f ghc-ansi-wl-pprint.files ']'
+ sed -i -e 's!/builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64!!g' ghc-ansi-wl-pprint.files
+ for i in ghc-ansi-wl-pprint.files ghc-ansi-wl-pprint-devel.files ghc-ansi-wl-pprint-doc.files ghc-ansi-wl-pprint-prof.files
+ '[' -f ghc-ansi-wl-pprint-devel.files ']'
+ sed -i -e 's!/builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64!!g' ghc-ansi-wl-pprint-devel.files
+ for i in ghc-ansi-wl-pprint.files ghc-ansi-wl-pprint-devel.files ghc-ansi-wl-pprint-doc.files ghc-ansi-wl-pprint-prof.files
+ '[' -f ghc-ansi-wl-pprint-doc.files ']'
+ sed -i -e 's!/builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64!!g' ghc-ansi-wl-pprint-doc.files
+ for i in ghc-ansi-wl-pprint.files ghc-ansi-wl-pprint-devel.files ghc-ansi-wl-pprint-doc.files ghc-ansi-wl-pprint-prof.files
+ '[' -f ghc-ansi-wl-pprint-prof.files ']'
+ sed -i -e 's!/builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64!!g' ghc-ansi-wl-pprint-prof.files
running ghc_delete_rpaths:
+ echo 'running ghc_delete_rpaths:'
+ type chrpath
++ find /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print
+ for i in $(find /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print)
+ '[' -x /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64/usr/lib64/ghc-9.4.5/lib/libHSansi-wl-pprint-0.6.9-1uNId4TIZRh7T7KEIBVXZI-ghc9.4.5.so ']'
++ chrpath /builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64/usr/lib64/ghc-9.4.5/lib/libHSansi-wl-pprint-0.6.9-1uNId4TIZRh7T7KEIBVXZI-ghc9.4.5.so
++ sed -e 's@^/builddir/build/BUILDROOT/ghc-ansi-wl-pprint-0.6.9-1.ocs23.x86_64/usr/lib64/ghc-9.4.5/lib/libHSansi-wl-pprint-0.6.9-1uNId4TIZRh7T7KEIBVXZI-ghc9.4.5.so: R.*PATH=@@'
+ rpath=/usr/lib64:/usr/lib64/ghc-9.4.5/lib:/usr/lib64/ghc-9.4.5/lib/x86_64-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
*******************************************************************************
*
* 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=<top-dir> /usr/lib/rpm/check-rpaths
*  
*******************************************************************************
ERROR   0001: file '/usr/lib64/ghc-9.4.5/lib/libHSansi-wl-pprint-0.6.9-1uNId4TIZRh7T7KEIBVXZI-ghc9.4.5.so' contains a standard runpath '/usr/lib64' in [/usr/lib64:/usr/lib64/ghc-9.4.5/lib:/usr/lib64/ghc-9.4.5/lib/x86_64-linux-ghc-9.4.5]
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.wBojHq (%install)
    Bad exit status from /var/tmp/rpm-tmp.wBojHq (%install)
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/ghc-ansi-wl-pprint.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/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/ghc-ansi-wl-pprint.spec