Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-libffi.spec'], chrootPath='/var/lib/mock/f38-build-725648-99707/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-libffi.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1687392000 Wrote: /builddir/build/SRPMS/ghc-libffi-0.2.1-3.rvre0.fc38.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-libffi.spec'], chrootPath='/var/lib/mock/f38-build-725648-99707/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=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-libffi.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1687392000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2ICAd7 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libffi-0.2.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libffi-0.2.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libffi-0.2.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.CJbApq + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 libffi-0.2.1 ++ 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,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.2.6/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.hs, Setup.o ) Linking Setup ... + LANG=C.utf8 + ./Setup --version Cabal library version 3.6.3.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-libffi '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.2.6/lib --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -optc-fno-omit-frame-pointer -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optl-Wl,--build-id=sha1 -fhide-source-paths' -p --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/libffi-0.2.1 --global Configuring libffi-0.2.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j4 Preprocessing library for libffi-0.2.1.. Building library for libffi-0.2.1.. [1 of 5] Compiling Foreign.LibFFI.Internal [2 of 5] Compiling Foreign.LibFFI.FFITypes [3 of 5] Compiling Foreign.LibFFI.Base [4 of 5] Compiling Foreign.LibFFI.Types [5 of 5] Compiling Foreign.LibFFI [1 of 5] Compiling Foreign.LibFFI.Internal [2 of 5] Compiling Foreign.LibFFI.FFITypes [3 of 5] Compiling Foreign.LibFFI.Base [4 of 5] Compiling Foreign.LibFFI.Types [5 of 5] Compiling Foreign.LibFFI + '[' -n dist/build/libHSlibffi-0.2.1-8o5k5SPX7e37DtQzBjWM0y-ghc9.2.6.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for libffi-0.2.1.. Running Haddock on library for libffi-0.2.1.. 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.16.4.0, bytestring-0.11.4.0, deepseq-1.4.6.1, ghc-bignum-1.2, ghc-boot-th-9.2.6, ghc-prim-0.8.0, pretty-1.1.3.6, template-haskell-2.18.0.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. 7% ( 1 / 14) in 'Foreign.LibFFI.Internal' Missing documentation for: CValue (Foreign/LibFFI/Internal.hsc:13) CType (Foreign/LibFFI/Internal.hsc:14) CIF (Foreign/LibFFI/Internal.hsc:15) C_ffi_status (Foreign/LibFFI/Internal.hsc:17) C_ffi_abi (Foreign/LibFFI/Internal.hsc:18) ffi_default_abi (Foreign/LibFFI/Internal.hsc:20) ffi_ok (Foreign/LibFFI/Internal.hsc:23) sizeOf_cif (Foreign/LibFFI/Internal.hsc:26) sizeOf_ffi_type (Foreign/LibFFI/Internal.hsc:29) init_ffi_type (Foreign/LibFFI/Internal.hsc:32) ffi_type_size_and_alignment (Foreign/LibFFI/Internal.hsc:39) ffi_prep_cif (Foreign/LibFFI/Internal.hsc:45) ffi_call (Foreign/LibFFI/Internal.hsc:48) 4% ( 1 / 24) in 'Foreign.LibFFI.FFITypes' Missing documentation for: ffi_type_void (Foreign/LibFFI/FFITypes.hs:13) ffi_type_sint8 (Foreign/LibFFI/FFITypes.hs:14) ffi_type_uint8 (Foreign/LibFFI/FFITypes.hs:15) ffi_type_uint16 (Foreign/LibFFI/FFITypes.hs:16) ffi_type_sint16 (Foreign/LibFFI/FFITypes.hs:17) ffi_type_uint32 (Foreign/LibFFI/FFITypes.hs:18) ffi_type_sint32 (Foreign/LibFFI/FFITypes.hs:19) ffi_type_uint64 (Foreign/LibFFI/FFITypes.hs:20) ffi_type_sint64 (Foreign/LibFFI/FFITypes.hs:21) ffi_type_float (Foreign/LibFFI/FFITypes.hs:22) ffi_type_double (Foreign/LibFFI/FFITypes.hs:23) ffi_type_pointer (Foreign/LibFFI/FFITypes.hs:24) ffi_type_uchar (Foreign/LibFFI/FFITypes.hs:26) ffi_type_schar (Foreign/LibFFI/FFITypes.hs:29) ffi_type_wchar (Foreign/LibFFI/FFITypes.hs:32) ffi_type_size (Foreign/LibFFI/FFITypes.hs:39) ffi_type_time (Foreign/LibFFI/FFITypes.hs:45) ffi_type_uint (Foreign/LibFFI/FFITypes.hs:51) ffi_type_sint (Foreign/LibFFI/FFITypes.hs:57) ffi_type_ulong (Foreign/LibFFI/FFITypes.hs:63) ffi_type_slong (Foreign/LibFFI/FFITypes.hs:69) ffi_type_hs_int (Foreign/LibFFI/FFITypes.hs:75) ffi_type_hs_word (Foreign/LibFFI/FFITypes.hs:81) 9% ( 1 / 11) in 'Foreign.LibFFI.Base' Missing documentation for: Arg (Foreign/LibFFI/Base.hs:15) customPointerArg (Foreign/LibFFI/Base.hs:17) mkStorableArg (Foreign/LibFFI/Base.hs:23) RetType (Foreign/LibFFI/Base.hs:28) withRetType (Foreign/LibFFI/Base.hs:33) mkStorableRetType (Foreign/LibFFI/Base.hs:36) newStorableStructArgRet (Foreign/LibFFI/Base.hs:40) newStructCType (Foreign/LibFFI/Base.hs:45) sizeAndAlignmentOfCType (Foreign/LibFFI/Base.hs:52) callFFI (Foreign/LibFFI/Base.hs:67) 29% ( 18 / 61) in 'Foreign.LibFFI.Types' Missing documentation for: argCInt (Foreign/LibFFI/Types.hs:82) argCUInt (Foreign/LibFFI/Types.hs:84) argCLong (Foreign/LibFFI/Types.hs:86) argCULong (Foreign/LibFFI/Types.hs:88) argInt16 (Foreign/LibFFI/Types.hs:94) argInt32 (Foreign/LibFFI/Types.hs:96) argInt64 (Foreign/LibFFI/Types.hs:98) argWord8 (Foreign/LibFFI/Types.hs:101) argWord16 (Foreign/LibFFI/Types.hs:103) argWord32 (Foreign/LibFFI/Types.hs:105) argWord64 (Foreign/LibFFI/Types.hs:107) argCFloat (Foreign/LibFFI/Types.hs:110) argCDouble (Foreign/LibFFI/Types.hs:112) argCSize (Foreign/LibFFI/Types.hs:115) argCTime (Foreign/LibFFI/Types.hs:117) argCChar (Foreign/LibFFI/Types.hs:120) argCUChar (Foreign/LibFFI/Types.hs:122) argCWchar (Foreign/LibFFI/Types.hs:125) argPtr (Foreign/LibFFI/Types.hs:128) argFunPtr (Foreign/LibFFI/Types.hs:131) retVoid (Foreign/LibFFI/Types.hs:147) retCInt (Foreign/LibFFI/Types.hs:150) retCUInt (Foreign/LibFFI/Types.hs:152) retCLong (Foreign/LibFFI/Types.hs:154) retCULong (Foreign/LibFFI/Types.hs:156) retInt8 (Foreign/LibFFI/Types.hs:159) retInt16 (Foreign/LibFFI/Types.hs:161) retInt32 (Foreign/LibFFI/Types.hs:163) retInt64 (Foreign/LibFFI/Types.hs:165) retWord8 (Foreign/LibFFI/Types.hs:168) retWord16 (Foreign/LibFFI/Types.hs:170) retWord32 (Foreign/LibFFI/Types.hs:172) retWord64 (Foreign/LibFFI/Types.hs:174) retCFloat (Foreign/LibFFI/Types.hs:177) retCDouble (Foreign/LibFFI/Types.hs:179) retCSize (Foreign/LibFFI/Types.hs:182) retCTime (Foreign/LibFFI/Types.hs:184) retCChar (Foreign/LibFFI/Types.hs:187) retCUChar (Foreign/LibFFI/Types.hs:189) retCWchar (Foreign/LibFFI/Types.hs:192) retPtr (Foreign/LibFFI/Types.hs:198) retFunPtr (Foreign/LibFFI/Types.hs:195) retCString (Foreign/LibFFI/Types.hs:201) 33% ( 2 / 6) in 'Foreign.LibFFI' Missing documentation for: Arg (Foreign/LibFFI/Base.hs:15) RetType (Foreign/LibFFI/Base.hs:28) callFFI (Foreign/LibFFI/Base.hs:67) withRetType (Foreign/LibFFI/Base.hs:33) Warning: Foreign.LibFFI.Internal: could not find link destinations for: - GHC.Word.Word32 - GHC.Types.Int - GHC.Ptr.Ptr - GHC.Types.IO - Foreign.C.Types.CSize - Foreign.C.Types.CUShort - Foreign.C.Types.CUInt - GHC.Ptr.FunPtr Warning: Foreign.LibFFI.FFITypes: could not find link destinations for: - GHC.Ptr.Ptr Warning: Foreign.LibFFI.Base: could not find link destinations for: - GHC.Ptr.Ptr - GHC.Types.IO - Foreign.Storable.Storable - GHC.Base.Functor - GHC.Types.Type - GHC.Base.fmap - GHC.Base.<$ - GHC.Types.Int - GHC.Ptr.FunPtr Warning: Foreign.LibFFI.Types: could not find link destinations for: - Foreign.C.Types.CInt - Foreign.C.Types.CUInt - Foreign.C.Types.CLong - Foreign.C.Types.CULong - GHC.Int.Int8 - GHC.Int.Int16 - GHC.Int.Int32 - GHC.Int.Int64 - GHC.Word.Word8 - GHC.Word.Word16 - GHC.Word.Word32 - GHC.Word.Word64 - Foreign.C.Types.CFloat - Foreign.C.Types.CDouble - Foreign.C.Types.CSize - Foreign.C.Types.CTime - Foreign.C.Types.CChar - Foreign.C.Types.CUChar - Foreign.C.Types.CWchar - GHC.Ptr.Ptr - GHC.Ptr.FunPtr - GHC.Base.String - Data.ByteString.Internal.Type.ByteString - Foreign.C.String.CString Warning: Foreign.LibFFI: could not find link destinations for: - GHC.Base.Functor - GHC.Types.Type - GHC.Base.fmap - GHC.Base.<$ - GHC.Ptr.FunPtr - GHC.Types.IO Documentation created: dist/doc/html/libffi/index.html, dist/doc/html/libffi/libffi.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XOwmRk + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 libffi-0.2.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64 Installing library in /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libffi-0.2.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.2.6/lib ']' + subsubdir=/lib + '[' -d libffi-0.2.1.conf ']' + install -D --mode=0644 libffi-0.2.1.conf /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/libffi-0.2.1.conf + '[' -d /usr/lib64/ghc-9.2.6/lib ']' + subsubdir=/lib ++ ls /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/libffi-0.2.1.conf + '[' -z /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/libffi-0.2.1.conf ']' + rm -f ghc-libffi.files ghc-libffi-doc.files + touch ghc-libffi.files ghc-libffi-doc.files + for i in /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6${subsubdir}/libHSlibffi-0.2.1-*ghc9.2.6.so + '[' -x /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSlibffi-0.2.1-8o5k5SPX7e37DtQzBjWM0y-ghc9.2.6.so ']' + echo /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSlibffi-0.2.1-8o5k5SPX7e37DtQzBjWM0y-ghc9.2.6.so + pkgdir=/usr/lib64/ghc-9.2.6/lib/libffi-0.2.1 + '[' -d /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libffi-0.2.1 ']' + find /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libffi-0.2.1 -type d -fprintf ghc-libffi-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-libffi-prof.files -o -fprint ghc-libffi-devel.files + ls /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/package.conf.d/libffi-0.2.1.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/libffi-0.2.1 + '[' -d /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/share/doc/ghc/html/libraries/libffi-0.2.1 ']' + echo /usr/share/doc/ghc/html/libraries/libffi-0.2.1 + for i in ghc-libffi.files ghc-libffi-devel.files ghc-libffi-doc.files ghc-libffi-prof.files + '[' -f ghc-libffi.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64!!g' ghc-libffi.files + for i in ghc-libffi.files ghc-libffi-devel.files ghc-libffi-doc.files ghc-libffi-prof.files + '[' -f ghc-libffi-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64!!g' ghc-libffi-devel.files + for i in ghc-libffi.files ghc-libffi-devel.files ghc-libffi-doc.files ghc-libffi-prof.files + '[' -f ghc-libffi-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64!!g' ghc-libffi-doc.files + for i in ghc-libffi.files ghc-libffi-devel.files ghc-libffi-doc.files ghc-libffi-prof.files + '[' -f ghc-libffi-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64!!g' ghc-libffi-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSlibffi-0.2.1-8o5k5SPX7e37DtQzBjWM0y-ghc9.2.6.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSlibffi-0.2.1-8o5k5SPX7e37DtQzBjWM0y-ghc9.2.6.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/lib64/ghc-9.2.6/lib/libHSlibffi-0.2.1-8o5k5SPX7e37DtQzBjWM0y-ghc9.2.6.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.2.6/lib/riscv64-linux-ghc-9.2.6 + case "$rpath" in + /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/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ghc-libffi-0.2.1-3.rvre0.fc38.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Pd1MFW + umask 022 + cd /builddir/build/BUILD + cd libffi-0.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/share/licenses/ghc-libffi + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/share/licenses/ghc-libffi + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/share/licenses/ghc-libffi + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-libffi = 0.2.1-3.rvre0.fc38 ghc-libffi(riscv-64) = 0.2.1-3.rvre0.fc38 libHSlibffi-0.2.1-8o5k5SPX7e37DtQzBjWM0y-ghc9.2.6.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.2.6.so()(64bit) libHSbase-4.16.4.0-ghc9.2.6.so()(64bit) libHSbytestring-0.11.4.0-ghc9.2.6.so()(64bit) libHSdeepseq-1.4.6.1-ghc9.2.6.so()(64bit) libHSghc-bignum-1.2-ghc9.2.6.so()(64bit) libHSghc-boot-th-9.2.6-ghc9.2.6.so()(64bit) libHSghc-prim-0.8.0-ghc9.2.6.so()(64bit) libHSpretty-1.1.3.6-ghc9.2.6.so()(64bit) libHStemplate-haskell-2.18.0.0-ghc9.2.6.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) rtld(GNU_HASH) Processing files: ghc-libffi-devel-0.2.1-3.rvre0.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SR343v + umask 022 + cd /builddir/build/BUILD + cd libffi-0.2.1 + DOCDIR=/builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/share/doc/ghc-libffi-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/share/doc/ghc-libffi-devel + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/share/doc/ghc-libffi-devel + cp -pr README.md /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/share/doc/ghc-libffi-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-devel(libffi-0.2.1-8o5k5SPX7e37DtQzBjWM0y) ghc-libffi-devel = 0.2.1-3.rvre0.fc38 ghc-libffi-devel(riscv-64) = 0.2.1-3.rvre0.fc38 ghc-libffi-static = 0.2.1-3.rvre0.fc38 ghc-libffi-static(riscv-64) = 0.2.1-3.rvre0.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.16.4.0) ghc-devel(bytestring-0.11.4.0) Processing files: ghc-libffi-doc-0.2.1-3.rvre0.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.66t4lU + umask 022 + cd /builddir/build/BUILD + cd libffi-0.2.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/share/licenses/ghc-libffi-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/share/licenses/ghc-libffi-doc + cp -pr LICENSE /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64/usr/share/licenses/ghc-libffi-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-libffi-doc = 0.2.1-3.rvre0.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-libffi-prof-0.2.1-3.rvre0.fc38.riscv64 Provides: ghc-libffi-prof = 0.2.1-3.rvre0.fc38 ghc-libffi-prof(riscv-64) = 0.2.1-3.rvre0.fc38 ghc-prof(libffi-0.2.1-8o5k5SPX7e37DtQzBjWM0y) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(base-4.16.4.0) ghc-prof(bytestring-0.11.4.0) Supplements: (ghc-libffi-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64 Wrote: /builddir/build/RPMS/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-libffi-doc-0.2.1-3.rvre0.fc38.noarch.rpm Wrote: /builddir/build/RPMS/ghc-libffi-prof-0.2.1-3.rvre0.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-libffi-devel-0.2.1-3.rvre0.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NRtXga + umask 022 + cd /builddir/build/BUILD + cd libffi-0.2.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-libffi-0.2.1-3.rvre0.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.BBXZt3 + umask 022 + cd /builddir/build/BUILD + rm -rf libffi-0.2.1 libffi-0.2.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0