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-haskell-gi-overloading.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-91292-59173/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 0x7fa4b043f4a8>timeout=86400uid=991gid=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-haskell-gi-overloading.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-haskell-gi-overloading-1.0-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 --nocheck /builddir/build/SPECS/ghc-haskell-gi-overloading.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-91292-59173/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 0x7fa4b043f4a8>timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps --nocheck /builddir/build/SPECS/ghc-haskell-gi-overloading.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.Jxbb3J
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf haskell-gi-overloading-1.0
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/haskell-gi-overloading-1.0.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd haskell-gi-overloading-1.0
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7lisXQ
+ 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 haskell-gi-overloading-1.0
++ 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 ']'
+ for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)')
+ '[' -f README.md -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.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 -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-haskell-gi-overloading '--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/haskell-gi-overloading-1.0 --global
Configuring haskell-gi-overloading-1.0...
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup build -j32
Preprocessing library for haskell-gi-overloading-1.0..
Building library for haskell-gi-overloading-1.0..
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.CO4ew1
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64 '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64
++ dirname /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64
+ cd haskell-gi-overloading-1.0
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64
Installing library in /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/haskell-gi-overloading-1.0
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup register --gen-pkg-config
+ '[' -d /usr/lib64/ghc-9.4.5/lib ']'
+ subsubdir=/lib
+ '[' -d haskell-gi-overloading-1.0.conf ']'
+ install -D --mode=0644 haskell-gi-overloading-1.0.conf /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/package.conf.d/haskell-gi-overloading-1.0.conf
+ '[' -d /usr/lib64/ghc-9.4.5/lib ']'
+ subsubdir=/lib
+ '[' '!' -f /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/package.conf.d/haskell-gi-overloading-1.0.conf ']'
+ rm -f ghc-haskell-gi-overloading.files ghc-haskell-gi-overloading-doc.files
+ touch ghc-haskell-gi-overloading.files ghc-haskell-gi-overloading-doc.files
/builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/libHShaskell-gi-overloading-1.0-*ghc9.4.5.so: not found
+ for i in /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/lib64/ghc-9.4.5${subsubdir}/libHShaskell-gi-overloading-1.0-*ghc9.4.5.so
+ '[' -x '/builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/libHShaskell-gi-overloading-1.0-*ghc9.4.5.so' ']'
+ echo '/builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/libHShaskell-gi-overloading-1.0-*ghc9.4.5.so:' not found
+ pkgdir=/builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/haskell-gi-overloading-1.0
+ '[' -d /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/haskell-gi-overloading-1.0 ']'
+ rm -f ghc-haskell-gi-overloading-devel.files ghc-haskell-gi-overloading-prof.files
+ touch ghc-haskell-gi-overloading-devel.files ghc-haskell-gi-overloading-prof.files
+ ls /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/package.conf.d/haskell-gi-overloading-1.0.conf
+ haddock_dir=/usr/share/doc/ghc/html/libraries/haskell-gi-overloading-1.0
+ '[' -d /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/share/doc/ghc/html/libraries/haskell-gi-overloading-1.0 ']'
+ for i in ghc-haskell-gi-overloading.files ghc-haskell-gi-overloading-devel.files ghc-haskell-gi-overloading-doc.files ghc-haskell-gi-overloading-prof.files
+ '[' -f ghc-haskell-gi-overloading.files ']'
+ sed -i -e 's!/builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64!!g' ghc-haskell-gi-overloading.files
+ for i in ghc-haskell-gi-overloading.files ghc-haskell-gi-overloading-devel.files ghc-haskell-gi-overloading-doc.files ghc-haskell-gi-overloading-prof.files
+ '[' -f ghc-haskell-gi-overloading-devel.files ']'
+ sed -i -e 's!/builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64!!g' ghc-haskell-gi-overloading-devel.files
+ for i in ghc-haskell-gi-overloading.files ghc-haskell-gi-overloading-devel.files ghc-haskell-gi-overloading-doc.files ghc-haskell-gi-overloading-prof.files
+ '[' -f ghc-haskell-gi-overloading-doc.files ']'
+ sed -i -e 's!/builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64!!g' ghc-haskell-gi-overloading-doc.files
+ for i in ghc-haskell-gi-overloading.files ghc-haskell-gi-overloading-devel.files ghc-haskell-gi-overloading-doc.files ghc-haskell-gi-overloading-prof.files
+ '[' -f ghc-haskell-gi-overloading-prof.files ']'
+ sed -i -e 's!/builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64!!g' ghc-haskell-gi-overloading-prof.files
running ghc_delete_rpaths:
+ echo 'running ghc_delete_rpaths:'
+ type chrpath
++ find /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print
+ mv /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/share/licenses/ghc-haskell-gi-overloading /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/share/licenses/ghc-haskell-gi-overloading-devel
+ /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
Processing files: ghc-haskell-gi-overloading-devel-1.0-1.oc9.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fJXt2x
+ umask 022
+ cd /builddir/build/BUILD
+ cd haskell-gi-overloading-1.0
+ DOCDIR=/builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/share/doc/ghc-haskell-gi-overloading-devel
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/share/doc/ghc-haskell-gi-overloading-devel
+ cp -pr ChangeLog.md /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/share/doc/ghc-haskell-gi-overloading-devel
+ cp -pr README.md /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/share/doc/ghc-haskell-gi-overloading-devel
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.iNPHiN
+ umask 022
+ cd /builddir/build/BUILD
+ cd haskell-gi-overloading-1.0
+ LICENSEDIR=/builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/share/licenses/ghc-haskell-gi-overloading-devel
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/share/licenses/ghc-haskell-gi-overloading-devel
+ cp -pr LICENSE /builddir/build/BUILDROOT/ghc-haskell-gi-overloading-1.0-1.oc9.x86_64/usr/share/licenses/ghc-haskell-gi-overloading-devel
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: ghc-devel(haskell-gi-overloading-1.0-6w3IXGDooXgu3RA2LfTuf) ghc-haskell-gi-overloading-devel = 1.0-1.oc9 ghc-haskell-gi-overloading-devel(x86-64) = 1.0-1.oc9
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-haskell-gi-overloading-1.0-1.oc9.x86_64
Wrote: /builddir/build/RPMS/ghc-haskell-gi-overloading-devel-1.0-1.oc9.x86_64.rpm
Child return code was: 0