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-ranges.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-101989-65928/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=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-ranges.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/ghc-ranges-0.2.4-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/ghc-ranges.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-101989-65928/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=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/ghc-ranges.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.XGzwPQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ranges-0.2.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ranges-0.2.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ranges-0.2.4 + /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.2inupl + 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 ranges-0.2.4 ++ 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 -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-ranges '--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/ranges-0.2.4 --global Warning: ranges.cabal:15:27: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. Warning: ranges.cabal:4:2: Tabs used as indentation at 4:2 Configuring ranges-0.2.4... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j32 Preprocessing library for ranges-0.2.4.. Building library for ranges-0.2.4.. [1 of 1] Compiling Data.Ranges Data/Ranges.hs:11:1: warning: [-Wtabs] Tab character found here, and in 20 further locations. Suggested fix: Please use spaces instead. | 11 | show (Single x) = concat ["(", show x, ")"] | ^^^^^^^^ Data/Ranges.hs:74:22: warning: [-Wname-shadowing] This binding for ‘x’ shadows the existing binding bound at Data/Ranges.hs:72:14 | 74 | Left x -> x : (mergeRanges xs y) | ^ + '[' -n dist/build/libHSranges-0.2.4-cXtpM8npkvEKww93MN5Gf-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for ranges-0.2.4.. Running Haddock on library for ranges-0.2.4.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.4.0, base-4.17.1.0, containers-0.6.7, deepseq-1.4.8.0, ghc-bignum-1.3, ghc-boot-th-9.4.5, ghc-prim-0.9.0, pretty-1.1.3.6, template-haskell-2.19.0.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Data/Ranges.hs:11:1: warning: [-Wtabs] Tab character found here, and in 20 further locations. Suggested fix: Please use spaces instead. | 11 | show (Single x) = concat ["(", show x, ")"] | ^^^^^^^^ Data/Ranges.hs:74:22: warning: [-Wname-shadowing] This binding for ‘x’ shadows the existing binding bound at Data/Ranges.hs:72:14 | 74 | Left x -> x : (mergeRanges xs y) | ^ 60% ( 6 / 10) in 'Data.Ranges' Missing documentation for: Module header Range (Data/Ranges.hs:9) Ranges (Data/Ranges.hs:14) addRange (Data/Ranges.hs:67) Warning: Data.Ranges: could not find link destinations for: - GHC.Classes.Ord - 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.Types.Bool - GHC.Classes./= - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - Data.Set.Internal.Set Documentation created: dist/doc/html/ranges/index.html, dist/doc/html/ranges/ranges.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.yKTct6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64 ++ dirname /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64 + cd ranges-0.2.4 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64 Installing library in /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/ranges-0.2.4 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -d ranges-0.2.4.conf ']' + install -D --mode=0644 ranges-0.2.4.conf /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/package.conf.d/ranges-0.2.4.conf + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/package.conf.d/ranges-0.2.4.conf ']' + rm -f ghc-ranges.files ghc-ranges-doc.files + touch ghc-ranges.files ghc-ranges-doc.files + for i in /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/lib64/ghc-9.4.5${subsubdir}/libHSranges-0.2.4-*ghc9.4.5.so + '[' -x /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/libHSranges-0.2.4-cXtpM8npkvEKww93MN5Gf-ghc9.4.5.so ']' + echo /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/libHSranges-0.2.4-cXtpM8npkvEKww93MN5Gf-ghc9.4.5.so + pkgdir=/builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/ranges-0.2.4 + '[' -d /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/ranges-0.2.4 ']' + find /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/ranges-0.2.4 -type d -fprintf ghc-ranges-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-ranges-prof.files -o -fprint ghc-ranges-devel.files + ls /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/package.conf.d/ranges-0.2.4.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/ranges-0.2.4 + '[' -d /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/share/doc/ghc/html/libraries/ranges-0.2.4 ']' + echo /usr/share/doc/ghc/html/libraries/ranges-0.2.4 + for i in ghc-ranges.files ghc-ranges-devel.files ghc-ranges-doc.files ghc-ranges-prof.files + '[' -f ghc-ranges.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64!!g' ghc-ranges.files + for i in ghc-ranges.files ghc-ranges-devel.files ghc-ranges-doc.files ghc-ranges-prof.files + '[' -f ghc-ranges-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64!!g' ghc-ranges-devel.files + for i in ghc-ranges.files ghc-ranges-devel.files ghc-ranges-doc.files ghc-ranges-prof.files + '[' -f ghc-ranges-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64!!g' ghc-ranges-doc.files + for i in ghc-ranges.files ghc-ranges-devel.files ghc-ranges-doc.files ghc-ranges-prof.files + '[' -f ghc-ranges-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64!!g' ghc-ranges-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/libHSranges-0.2.4-cXtpM8npkvEKww93MN5Gf-ghc9.4.5.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/libHSranges-0.2.4-cXtpM8npkvEKww93MN5Gf-ghc9.4.5.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/lib64/ghc-9.4.5/lib/libHSranges-0.2.4-cXtpM8npkvEKww93MN5Gf-ghc9.4.5.so: R.*PATH=@@' + rpath=/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 + /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-ranges-0.2.4-1.oc9.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.V95ANK + umask 022 + cd /builddir/build/BUILD + cd ranges-0.2.4 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/share/licenses/ghc-ranges + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/share/licenses/ghc-ranges + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/share/licenses/ghc-ranges + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-ranges = 0.2.4-1.oc9 ghc-ranges(x86-64) = 0.2.4-1.oc9 libHSranges-0.2.4-cXtpM8npkvEKww93MN5Gf-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) libHSbase-4.17.1.0-ghc9.4.5.so()(64bit) libHScontainers-0.6.7-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) 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.2.5)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: ghc-ranges-devel-0.2.4-1.oc9.x86_64 Provides: ghc-devel(ranges-0.2.4-cXtpM8npkvEKww93MN5Gf) ghc-ranges-devel = 0.2.4-1.oc9 ghc-ranges-devel(x86-64) = 0.2.4-1.oc9 ghc-ranges-static = 0.2.4-1.oc9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.17.1.0) ghc-devel(containers-0.6.7) Processing files: ghc-ranges-doc-0.2.4-1.oc9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lOnbum + umask 022 + cd /builddir/build/BUILD + cd ranges-0.2.4 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/share/licenses/ghc-ranges-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/share/licenses/ghc-ranges-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-ranges-0.2.4-1.oc9.x86_64/usr/share/licenses/ghc-ranges-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-ranges-doc = 0.2.4-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-ranges-0.2.4-1.oc9.x86_64 Wrote: /builddir/build/RPMS/ghc-ranges-devel-0.2.4-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/ghc-ranges-0.2.4-1.oc9.x86_64.rpm Wrote: /builddir/build/RPMS/ghc-ranges-doc-0.2.4-1.oc9.noarch.rpm Child return code was: 0