Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-data-default.spec'], chrootPath='/var/lib/mock/f33-build-287238-53789/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-data-default.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Wrote: /builddir/build/SRPMS/ghc-data-default-0.7.1.1-17.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-data-default.spec'], chrootPath='/var/lib/mock/f33-build-287238-53789/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-data-default.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595808000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9wBnjS + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf data-default-0.7.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/data-default-0.7.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd data-default-0.7.1.1 + /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.QiTZQS + umask 022 + cd /builddir/build/BUILD + cd data-default-0.7.1.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed ' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.lhs, Setup.o ) Linking Setup ... + LANG=C.utf8 + ./Setup --version Cabal library version 2.4.0.1 + '[' -x Setup ']' + LANG=C.utf8 ++ sed -e 's/ / -optc/g' ++ echo ' -O2' -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection ++ echo ' -Wl,-z,relro' -Wl,--as-needed ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-data-default '--libsubdir=$compiler/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64 --global '--ghc-options= -optc-O2 -optc-flto=auto -optc-ffat-lto-objects -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/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optl-Wl,-z,relro -optl-Wl,--as-needed' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/data-default-0.7.1.1 --global Configuring data-default-0.7.1.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build Preprocessing library for data-default-0.7.1.1.. Building library for data-default-0.7.1.1.. [1 of 1] Compiling Data.Default ( Data/Default.hs, dist/build/Data/Default.o ) [1 of 1] Compiling Data.Default ( Data/Default.hs, dist/build/Data/Default.p_o ) /tmp/ghc33997_0/ghc_3.c:8:19: error: warning: type of ‘datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc’ does not match original declaration [-Wlto-type-mismatch] 8 | extern CostCentre datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc[]; | ^ | 8 | extern CostCentre datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc[]; | ^ /tmp/ghc33997_0/ghc_2.hc:11:9: error: note: type ‘StgWord’ should match type ‘struct CostCentre’ 11 | StgWord datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc[]__attribute__((aligned(8)))= { | ^ | 11 | StgWord datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc[]__attribute__((aligned(8)))= { | ^ /tmp/ghc33997_0/ghc_2.hc:11:9: error: note: ‘datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc’ was previously declared here | 11 | StgWord datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc[]__attribute__((aligned(8)))= { | ^ /tmp/ghc33997_0/ghc_2.hc:11:9: error: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used | 11 | StgWord datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc[]__attribute__((aligned(8)))= { | ^ /tmp/ghc33997_0/ghc_3.c:9:24: error: warning: type of ‘datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc_ccs’ does not match original declaration [-Wlto-type-mismatch] 9 | extern CostCentreStack datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc_ccs[]; | ^ | 9 | extern CostCentreStack datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc_ccs[]; | ^ /tmp/ghc33997_0/ghc_2.hc:17:9: error: note: type ‘StgWord’ should match type ‘struct CostCentreStack’ 17 | StgWord datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc_ccs[]__attribute__((aligned(8)))= { | ^ | 17 | StgWord datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc_ccs[]__attribute__((aligned(8)))= { | ^ /tmp/ghc33997_0/ghc_2.hc:17:9: error: note: ‘datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc_ccs’ was previously declared here | 17 | StgWord datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc_ccs[]__attribute__((aligned(8)))= { | ^ /usr/bin/ld.bfd: warning: incremental linking of LTO and non-LTO objects; using -flinker-output=nolto-rel which will bypass whole program optimization /tmp/ghc33997_0/ghc_2.hc:17:9: error: note: code may be misoptimized unless ‘-fno-strict-aliasing’ is used | 17 | StgWord datazmdefaultzm0zi7zi1zi1zm7T8jtbYfKenBC2zzHrJqPaJ_DataziDefault_CAFs_cc_ccs[]__attribute__((aligned(8)))= { | ^ + '[' -n dist/build/libHSdata-default-0.7.1.1-7T8jtbYfKenBC2zHrJqPaJ-ghc8.6.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for data-default-0.7.1.1.. Running Haddock on library for data-default-0.7.1.1.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.3.0, base-4.12.0.0, containers-0.6.0.1, data-default-class-0.1.2.0, data-default-instances-containers-0.0.1, data-default-instances-dlist-0.0.1, data-default-instances-old-locale-0.0.1, deepseq-1.4.4.0, dlist-0.8.0.7, ghc-prim-0.5.3, integer-gmp-1.0.2.0, old-locale-1.0.0.7 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Haddock coverage: Warning: Couldn't find .haddock for export Default 33% ( 1 / 3) in 'Data.Default' Missing documentation for: Module header Default Warning: Data.Default: could not find link destinations for: Int Integer Float Double Int8 Int16 Int32 Int64 Ordering Word Word8 Word16 Word32 Word64 All Any CClock CDouble CFloat CInt CIntMax CIntPtr CLLong CLong CPtrdiff CSUSeconds CShort CSigAtomic CSize CTime CUInt CUIntMax CUIntPtr CULLong CULong CUSeconds CUShort Maybe Ratio Integral IO Complex RealFloat Dual Endo First Last Product Num Sum Documentation created: dist/doc/html/data-default/index.html, dist/doc/html/data-default/data-default.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GW0mDR + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64 + cd data-default-0.7.1.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64 Installing library in /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/lib64/ghc-8.6.5/data-default-0.7.1.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d data-default-0.7.1.1.conf ']' + install -D --mode=0644 data-default-0.7.1.1.conf /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/lib64/ghc-8.6.5/package.conf.d/data-default-0.7.1.1.conf ++ ls /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/lib64/ghc-8.6.5/package.conf.d/data-default-0.7.1.1.conf + '[' -z /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/lib64/ghc-8.6.5/package.conf.d/data-default-0.7.1.1.conf ']' + rm -f ghc-data-default.files ghc-data-default-doc.files + touch ghc-data-default.files ghc-data-default-doc.files + for i in /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/lib64/libHSdata-default-0.7.1.1-*ghc8.6.5.so + echo /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/lib64/libHSdata-default-0.7.1.1-7T8jtbYfKenBC2zHrJqPaJ-ghc8.6.5.so + pkgdir=/usr/lib64/ghc-8.6.5/data-default-0.7.1.1 + '[' -d /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/lib64/ghc-8.6.5/data-default-0.7.1.1 ']' + find /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/lib64/ghc-8.6.5/data-default-0.7.1.1 -type d -fprintf ghc-data-default-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-data-default-prof.files -o -fprint ghc-data-default-devel.files + ls /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/lib64/ghc-8.6.5/package.conf.d/data-default-0.7.1.1.conf + '[' -d /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/share/doc/ghc/html/libraries/data-default-0.7.1.1 ']' + echo %dir /usr/share/doc/ghc + echo %dir /usr/share/doc/ghc/html + echo %dir /usr/share/doc/ghc/html/libraries + echo /usr/share/doc/ghc/html/libraries/data-default-0.7.1.1 + for i in ghc-data-default.files ghc-data-default-devel.files ghc-data-default-doc.files ghc-data-default-prof.files + '[' -f ghc-data-default.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64!!g' ghc-data-default.files + for i in ghc-data-default.files ghc-data-default-devel.files ghc-data-default-doc.files ghc-data-default-prof.files + '[' -f ghc-data-default-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64!!g' ghc-data-default-devel.files + for i in ghc-data-default.files ghc-data-default-devel.files ghc-data-default-doc.files ghc-data-default-prof.files + '[' -f ghc-data-default-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64!!g' ghc-data-default-doc.files + for i in ghc-data-default.files ghc-data-default-devel.files ghc-data-default-doc.files ghc-data-default-prof.files + '[' -f ghc-data-default-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64!!g' ghc-data-default-prof.files + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: ghc-data-default-0.7.1.1-17.fc33.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.nOZ8ZR + umask 022 + cd /builddir/build/BUILD + cd data-default-0.7.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/share/licenses/ghc-data-default + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/share/licenses/ghc-data-default + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/share/licenses/ghc-data-default + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-data-default = 0.7.1.1-17.fc33 ghc-data-default(riscv-64) = 0.7.1.1-17.fc33 libHSdata-default-0.7.1.1-7T8jtbYfKenBC2zHrJqPaJ-ghc8.6.5.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libHSghc-prim-0.5.3-ghc8.6.5.so()(64bit) rtld(GNU_HASH) Processing files: ghc-data-default-devel-0.7.1.1-17.fc33.riscv64 Provides: ghc-data-default-devel = 0.7.1.1-17.fc33 ghc-data-default-devel(riscv-64) = 0.7.1.1-17.fc33 ghc-data-default-static = 0.7.1.1-17.fc33 ghc-data-default-static(riscv-64) = 0.7.1.1-17.fc33 ghc-devel(data-default-0.7.1.1-7T8jtbYfKenBC2zHrJqPaJ) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.12.0.0) ghc-devel(data-default-class-0.1.2.0-FeIQ5tLoVZBHMSgrT9zptQ) ghc-devel(data-default-instances-containers-0.0.1-9yvw8HF06tiAXuxm5U8KjO) ghc-devel(data-default-instances-dlist-0.0.1-ChJB8w77IlrBqMZTaOZ6m4) ghc-devel(data-default-instances-old-locale-0.0.1-GRzcBvmea5LLGj3CNDMpIw) Processing files: ghc-data-default-doc-0.7.1.1-17.fc33.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HipSGS + umask 022 + cd /builddir/build/BUILD + cd data-default-0.7.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/share/licenses/ghc-data-default-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/share/licenses/ghc-data-default-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64/usr/share/licenses/ghc-data-default-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-data-default-doc = 0.7.1.1-17.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-data-default-prof-0.7.1.1-17.fc33.riscv64 Provides: ghc-data-default-prof = 0.7.1.1-17.fc33 ghc-data-default-prof(riscv-64) = 0.7.1.1-17.fc33 ghc-prof(data-default-0.7.1.1-7T8jtbYfKenBC2zHrJqPaJ) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(base-4.12.0.0) ghc-prof(data-default-class-0.1.2.0-FeIQ5tLoVZBHMSgrT9zptQ) ghc-prof(data-default-instances-containers-0.0.1-9yvw8HF06tiAXuxm5U8KjO) ghc-prof(data-default-instances-dlist-0.0.1-ChJB8w77IlrBqMZTaOZ6m4) ghc-prof(data-default-instances-old-locale-0.0.1-GRzcBvmea5LLGj3CNDMpIw) Supplements: (ghc-data-default-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64 Wrote: /builddir/build/RPMS/ghc-data-default-prof-0.7.1.1-17.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-data-default-devel-0.7.1.1-17.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-data-default-0.7.1.1-17.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-data-default-doc-0.7.1.1-17.fc33.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.V9dOsS + umask 022 + cd /builddir/build/BUILD + cd data-default-0.7.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-data-default-0.7.1.1-17.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0