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-show.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-101166-65749/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 aarch64 --nodeps /builddir/build/SPECS/ghc-show.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-show-0.6-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps --nocheck /builddir/build/SPECS/ghc-show.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-101166-65749/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 aarch64 --nodeps --nocheck /builddir/build/SPECS/ghc-show.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.GAr92p + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf show-0.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/show-0.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd show-0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/show-0.4.1.2-fix-fsf-address.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ApFUuN + 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 show-0.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 ++ sed -e 's/ / -optc/g' ++ 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 ++ 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-show '--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-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/show-0.6 --global Configuring show-0.6... Warning: 'ghc-prof-options: -prof' is not necessary and will lead to problems when used on a library. Use the configure flag --enable-library-profiling and/or --enable-profiling. + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for show-0.6.. Building library for show-0.6.. [1 of 1] Compiling ShowFun ShowFun.hs:5:1: warning: [-Worphans] Orphan instance: instance (Typeable a, Typeable b) => Show (a -> b) Suggested fix: Move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 5 | instance (Typeable a, Typeable b) => Show (a -> b) where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... ShowFun.hs:8:1: warning: [-Worphans] Orphan instance: instance Typeable a => Show (IO a) Suggested fix: Move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 8 | instance Typeable a => Show (IO a) where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... + '[' -n dist/build/libHSshow-0.6-GJrHW5g5IaSBLs5R98QmM5-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for show-0.6.. Running Haddock on library for show-0.6.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: base-4.17.1.0, ghc-bignum-1.3, ghc-prim-0.9.0, syb-0.7.2.3 Warning: --source-* options are ignored when --hyperlinked-source is enabled. ShowFun.hs:5:1: warning: [-Worphans] Orphan instance: instance (Typeable a, Typeable b) => Show (a -> b) Suggested fix: Move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 5 | instance (Typeable a, Typeable b) => Show (a -> b) where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... ShowFun.hs:8:1: warning: [-Worphans] Orphan instance: instance Typeable a => Show (IO a) Suggested fix: Move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. | 8 | instance Typeable a => Show (IO a) where | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... 0% ( 0 / 1) in 'ShowFun' Missing documentation for: Module header Warning: ShowFun: could not find link destinations for: - GHC.Show.Show - GHC.Types.IO - Data.Typeable.Internal.Typeable - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList Documentation created: dist/doc/html/show/index.html, dist/doc/html/show/show.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HWasVM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64 + cd show-0.6 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64 Installing library in /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/lib64/ghc-9.4.5/lib/show-0.6 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -d show-0.6.conf ']' + install -D --mode=0644 show-0.6.conf /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/lib64/ghc-9.4.5/lib/package.conf.d/show-0.6.conf + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/lib64/ghc-9.4.5/lib/package.conf.d/show-0.6.conf ']' + rm -f ghc-show.files ghc-show-doc.files + touch ghc-show.files ghc-show-doc.files + for i in /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/lib64/ghc-9.4.5${subsubdir}/libHSshow-0.6-*ghc9.4.5.so + '[' -x /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/lib64/ghc-9.4.5/lib/libHSshow-0.6-GJrHW5g5IaSBLs5R98QmM5-ghc9.4.5.so ']' + echo /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/lib64/ghc-9.4.5/lib/libHSshow-0.6-GJrHW5g5IaSBLs5R98QmM5-ghc9.4.5.so + pkgdir=/builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/lib64/ghc-9.4.5/lib/show-0.6 + '[' -d /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/lib64/ghc-9.4.5/lib/show-0.6 ']' + find /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/lib64/ghc-9.4.5/lib/show-0.6 -type d -fprintf ghc-show-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-show-prof.files -o -fprint ghc-show-devel.files + ls /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/lib64/ghc-9.4.5/lib/package.conf.d/show-0.6.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/show-0.6 + '[' -d /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/share/doc/ghc/html/libraries/show-0.6 ']' + echo /usr/share/doc/ghc/html/libraries/show-0.6 + for i in ghc-show.files ghc-show-devel.files ghc-show-doc.files ghc-show-prof.files + '[' -f ghc-show.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64!!g' ghc-show.files + for i in ghc-show.files ghc-show-devel.files ghc-show-doc.files ghc-show-prof.files + '[' -f ghc-show-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64!!g' ghc-show-devel.files + for i in ghc-show.files ghc-show-devel.files ghc-show-doc.files ghc-show-prof.files + '[' -f ghc-show-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64!!g' ghc-show-doc.files + for i in ghc-show.files ghc-show-devel.files ghc-show-doc.files ghc-show-prof.files + '[' -f ghc-show-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64!!g' ghc-show-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/lib64/ghc-9.4.5/lib/libHSshow-0.6-GJrHW5g5IaSBLs5R98QmM5-ghc9.4.5.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/lib64/ghc-9.4.5/lib/libHSshow-0.6-GJrHW5g5IaSBLs5R98QmM5-ghc9.4.5.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/lib64/ghc-9.4.5/lib/libHSshow-0.6-GJrHW5g5IaSBLs5R98QmM5-ghc9.4.5.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.4.5/lib/aarch64-linux-ghc-9.4.5:/usr/lib64/ghc-9.4.5/lib + 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-show-0.6-1.oc9.aarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1thTpi + umask 022 + cd /builddir/build/BUILD + cd show-0.6 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/share/licenses/ghc-show + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/share/licenses/ghc-show + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/share/licenses/ghc-show + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-show = 0.6-1.oc9 ghc-show(aarch-64) = 0.6-1.oc9 libHSshow-0.6-GJrHW5g5IaSBLs5R98QmM5-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: libHSbase-4.17.1.0-ghc9.4.5.so()(64bit) libHSghc-bignum-1.3-ghc9.4.5.so()(64bit) libHSghc-prim-0.9.0-ghc9.4.5.so()(64bit) libHSsyb-0.7.2.3-J0Qw7O8gTR0DSXObDhEt8i-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-show-devel-0.6-1.oc9.aarch64 Provides: ghc-devel(show-0.6-GJrHW5g5IaSBLs5R98QmM5) ghc-show-devel = 0.6-1.oc9 ghc-show-devel(aarch-64) = 0.6-1.oc9 ghc-show-static = 0.6-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(syb-0.7.2.3-J0Qw7O8gTR0DSXObDhEt8i) Processing files: ghc-show-doc-0.6-1.oc9.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ZVwt1W + umask 022 + cd /builddir/build/BUILD + cd show-0.6 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/share/licenses/ghc-show-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/share/licenses/ghc-show-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-show-0.6-1.oc9.aarch64/usr/share/licenses/ghc-show-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-show-doc = 0.6-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-show-0.6-1.oc9.aarch64 Wrote: /builddir/build/RPMS/ghc-show-devel-0.6-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/ghc-show-0.6-1.oc9.aarch64.rpm Wrote: /builddir/build/RPMS/ghc-show-doc-0.6-1.oc9.noarch.rpm Child return code was: 0