Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target ppc64le --nodeps /builddir/build/SPECS/ghc-libffi.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1671865952.669029/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 0x7fff89611dd0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gclnbxq9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gclnbxq9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'fdc02ddedb90465ba93876ad840c16f0', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1671865952.669029/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gclnbxq9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs  --target ppc64le --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: ppc64le
Building for target ppc64le
setting SOURCE_DATE_EPOCH=1658361600
Wrote: /builddir/build/SRPMS/ghc-libffi-0.1-30.fc38.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb  --target ppc64le --nodeps /builddir/build/SPECS/ghc-libffi.spec'], chrootPath='/var/lib/mock/fedora-rawhide-ppc64le-1671865952.669029/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 0x7fff89611dd0>timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gclnbxq9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True)
Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gclnbxq9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']
Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0efc0d975eb04150b4fa59ee46fde15c', '-D', '/var/lib/mock/fedora-rawhide-ppc64le-1671865952.669029/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gclnbxq9:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;<mock-chroot>\\007"', '--setenv=PS1=<mock-chroot> \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb  --target ppc64le --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;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False
Building target platforms: ppc64le
Building for target ppc64le
setting SOURCE_DATE_EPOCH=1658361600
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ztqOj8
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf libffi-0.1
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libffi-0.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libffi-0.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.DDTY7w
+ 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mcpu=power8 -mtune=power8 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mcpu=power8 -mtune=power8 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mcpu=power8 -mtune=power8 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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.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 TODO -a -x 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection'
+ 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 ']'
+ '[' -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.2.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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection
++ 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/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64 --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/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-m64 -optc-mcpu=power8 -optc-mtune=power8 -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection  -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.1 --global
Configuring libffi-0.1...
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup build
Preprocessing library for libffi-0.1..
Building library for libffi-0.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.1-9TWOHMZSoWzH0kgWVwcgFP-ghc8.10.7.so ']'
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup haddock --html --hyperlink-source --hoogle
Preprocessing library for libffi-0.1..
Running Haddock on library for libffi-0.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.14.3.0,
bytestring-0.10.12.0, deepseq-1.4.4.0, ghc-prim-0.6.1, integer-gmp-1.0.3.0
Warning: --source-* options are ignored when --hyperlinked-source is enabled.
Haddock coverage:
   7% (  1 / 13) 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_prep_cif (Foreign/LibFFI/Internal.hsc:39)
    ffi_call (Foreign/LibFFI/Internal.hsc:42)
   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)
  10% (  1 / 10) in 'Foreign.LibFFI.Base'
  Missing documentation for:
    Arg (Foreign/LibFFI/Base.hs:21)
    customPointerArg (Foreign/LibFFI/Base.hs:23)
    mkStorableArg (Foreign/LibFFI/Base.hs:29)
    RetType (Foreign/LibFFI/Base.hs:35)
    withRetType (Foreign/LibFFI/Base.hs:40)
    mkStorableRetType (Foreign/LibFFI/Base.hs:44)
    newStorableStructArgRet (Foreign/LibFFI/Base.hs:49)
    newStructCType (Foreign/LibFFI/Base.hs:54)
    callFFI (Foreign/LibFFI/Base.hs:61)
  27% ( 18 / 65) in 'Foreign.LibFFI.Types'
  Missing documentation for:
    argCInt (Foreign/LibFFI/Types.hs:86)
    argCUInt (Foreign/LibFFI/Types.hs:88)
    argCLong (Foreign/LibFFI/Types.hs:90)
    argCULong (Foreign/LibFFI/Types.hs:92)
    argInt8 (Foreign/LibFFI/Types.hs:98)
    argInt16 (Foreign/LibFFI/Types.hs:100)
    argInt32 (Foreign/LibFFI/Types.hs:102)
    argInt64 (Foreign/LibFFI/Types.hs:104)
    argWord (Foreign/LibFFI/Types.hs:107)
    argWord8 (Foreign/LibFFI/Types.hs:109)
    argWord16 (Foreign/LibFFI/Types.hs:111)
    argWord32 (Foreign/LibFFI/Types.hs:113)
    argWord64 (Foreign/LibFFI/Types.hs:115)
    argCFloat (Foreign/LibFFI/Types.hs:118)
    argCDouble (Foreign/LibFFI/Types.hs:120)
    argCSize (Foreign/LibFFI/Types.hs:123)
    argCTime (Foreign/LibFFI/Types.hs:125)
    argCChar (Foreign/LibFFI/Types.hs:128)
    argCUChar (Foreign/LibFFI/Types.hs:130)
    argCWchar (Foreign/LibFFI/Types.hs:133)
    argPtr (Foreign/LibFFI/Types.hs:136)
    argFunPtr (Foreign/LibFFI/Types.hs:139)
    retVoid (Foreign/LibFFI/Types.hs:155)
    retCInt (Foreign/LibFFI/Types.hs:158)
    retCUInt (Foreign/LibFFI/Types.hs:160)
    retCLong (Foreign/LibFFI/Types.hs:162)
    retCULong (Foreign/LibFFI/Types.hs:164)
    retInt (Foreign/LibFFI/Types.hs:167)
    retInt8 (Foreign/LibFFI/Types.hs:169)
    retInt16 (Foreign/LibFFI/Types.hs:171)
    retInt32 (Foreign/LibFFI/Types.hs:173)
    retInt64 (Foreign/LibFFI/Types.hs:175)
    retWord (Foreign/LibFFI/Types.hs:178)
    retWord8 (Foreign/LibFFI/Types.hs:180)
    retWord16 (Foreign/LibFFI/Types.hs:182)
    retWord32 (Foreign/LibFFI/Types.hs:184)
    retWord64 (Foreign/LibFFI/Types.hs:186)
    retCFloat (Foreign/LibFFI/Types.hs:189)
    retCDouble (Foreign/LibFFI/Types.hs:191)
    retCSize (Foreign/LibFFI/Types.hs:194)
    retCTime (Foreign/LibFFI/Types.hs:196)
    retCChar (Foreign/LibFFI/Types.hs:199)
    retCUChar (Foreign/LibFFI/Types.hs:201)
    retCWchar (Foreign/LibFFI/Types.hs:204)
    retPtr (Foreign/LibFFI/Types.hs:210)
    retFunPtr (Foreign/LibFFI/Types.hs:207)
    retCString (Foreign/LibFFI/Types.hs:213)
  33% (  2 /  6) in 'Foreign.LibFFI'
  Missing documentation for:
    Arg (Foreign/LibFFI/Base.hs:21)
    RetType (Foreign/LibFFI/Base.hs:35)
    callFFI (Foreign/LibFFI/Base.hs:61)
    withRetType (Foreign/LibFFI/Base.hs:40)
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.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.Types.IO
	- GHC.Ptr.Ptr
	- Foreign.Storable.Storable
	- GHC.Base.Functor
	- GHC.Types.Type
	- GHC.Base.fmap
	- GHC.Base.<$
	- 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.Types.Int
	- GHC.Int.Int8
	- GHC.Int.Int16
	- GHC.Int.Int32
	- GHC.Int.Int64
	- GHC.Types.Word
	- 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.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.gCVjEp
+ umask 022
+ cd /builddir/build/BUILD
+ '[' /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le '!=' / ']'
+ rm -rf /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le
++ dirname /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le
+ mkdir -p /builddir/build/BUILDROOT
+ mkdir /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le
+ 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mcpu=power8 -mtune=power8 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mcpu=power8 -mtune=power8 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mcpu=power8 -mtune=power8 -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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -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.1
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le
Installing library in /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/lib64/ghc-8.10.7/libffi-0.1
+ '[' -x Setup ']'
+ LANG=C.utf8
+ ./Setup register --gen-pkg-config
+ '[' -d libffi-0.1.conf ']'
+ install -D --mode=0644 libffi-0.1.conf /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/lib64/ghc-8.10.7/package.conf.d/libffi-0.1.conf
++ ls /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/lib64/ghc-8.10.7/package.conf.d/libffi-0.1.conf
+ '[' -z /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/lib64/ghc-8.10.7/package.conf.d/libffi-0.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.1-30.fc38.ppc64le/usr/lib64/libHSlibffi-0.1-*ghc8.10.7.so
+ '[' -x /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/lib64/libHSlibffi-0.1-9TWOHMZSoWzH0kgWVwcgFP-ghc8.10.7.so ']'
+ echo /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/lib64/libHSlibffi-0.1-9TWOHMZSoWzH0kgWVwcgFP-ghc8.10.7.so
+ pkgdir=/usr/lib64/ghc-8.10.7/libffi-0.1
+ '[' -d /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/lib64/ghc-8.10.7/libffi-0.1 ']'
+ find /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/lib64/ghc-8.10.7/libffi-0.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.1-30.fc38.ppc64le/usr/lib64/ghc-8.10.7/package.conf.d/libffi-0.1.conf
+ haddock_dir=/usr/share/doc/ghc/html/libraries/libffi-0.1
+ '[' -d /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/share/doc/ghc/html/libraries/libffi-0.1 ']'
+ echo /usr/share/doc/ghc/html/libraries/libffi-0.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.1-30.fc38.ppc64le!!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.1-30.fc38.ppc64le!!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.1-30.fc38.ppc64le!!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.1-30.fc38.ppc64le!!g' ghc-libffi-prof.files
+ echo 'running ghc_delete_rpaths:'
running ghc_delete_rpaths:
+ type chrpath
++ find /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print
+ for i in $(find /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print)
+ '[' -x /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/lib64/libHSlibffi-0.1-9TWOHMZSoWzH0kgWVwcgFP-ghc8.10.7.so ']'
+ chrpath -d /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/lib64/libHSlibffi-0.1-9TWOHMZSoWzH0kgWVwcgFP-ghc8.10.7.so
+ /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
+ /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0
+ /usr/lib/rpm/redhat/brp-python-hardlink
Processing files: ghc-libffi-0.1-30.fc38.ppc64le
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.YZEEz4
+ umask 022
+ cd /builddir/build/BUILD
+ cd libffi-0.1
+ LICENSEDIR=/builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/share/licenses/ghc-libffi
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/share/licenses/ghc-libffi
+ cp -pr LICENSE /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/share/licenses/ghc-libffi
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: ghc-libffi = 0.1-30.fc38 ghc-libffi(ppc-64) = 0.1-30.fc38 libHSlibffi-0.1-9TWOHMZSoWzH0kgWVwcgFP-ghc8.10.7.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-ghc8.10.7.so()(64bit) libHSbase-4.14.3.0-ghc8.10.7.so()(64bit) libHSbytestring-0.10.12.0-ghc8.10.7.so()(64bit) libHSdeepseq-1.4.4.0-ghc8.10.7.so()(64bit) libHSghc-prim-0.6.1-ghc8.10.7.so()(64bit) libHSinteger-gmp-1.0.3.0-ghc8.10.7.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libffi.so.8()(64bit) libffi.so.8(LIBFFI_BASE_8.0)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) rtld(GNU_HASH)
Processing files: ghc-libffi-devel-0.1-30.fc38.ppc64le
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.eQ1nxx
+ umask 022
+ cd /builddir/build/BUILD
+ cd libffi-0.1
+ DOCDIR=/builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/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.1-30.fc38.ppc64le/usr/share/doc/ghc-libffi-devel
+ cp -pr TODO /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/share/doc/ghc-libffi-devel
+ cp -pr examples /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/share/doc/ghc-libffi-devel
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: ghc-devel(libffi-0.1-9TWOHMZSoWzH0kgWVwcgFP) ghc-libffi-devel = 0.1-30.fc38 ghc-libffi-devel(ppc-64) = 0.1-30.fc38 ghc-libffi-static = 0.1-30.fc38 ghc-libffi-static(ppc-64) = 0.1-30.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.14.3.0) ghc-devel(bytestring-0.10.12.0)
Processing files: ghc-libffi-doc-0.1-30.fc38.noarch
Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.gIbsJN
+ umask 022
+ cd /builddir/build/BUILD
+ cd libffi-0.1
+ LICENSEDIR=/builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/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.1-30.fc38.ppc64le/usr/share/licenses/ghc-libffi-doc
+ cp -pr LICENSE /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le/usr/share/licenses/ghc-libffi-doc
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: ghc-libffi-doc = 0.1-30.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.1-30.fc38.ppc64le
Provides: ghc-libffi-prof = 0.1-30.fc38 ghc-libffi-prof(ppc-64) = 0.1-30.fc38 ghc-prof(libffi-0.1-9TWOHMZSoWzH0kgWVwcgFP)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: ghc-prof(base-4.14.3.0) ghc-prof(bytestring-0.10.12.0)
Supplements: (ghc-libffi-devel and ghc-prof)
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le
Wrote: /builddir/build/RPMS/ghc-libffi-0.1-30.fc38.ppc64le.rpm
Wrote: /builddir/build/RPMS/ghc-libffi-devel-0.1-30.fc38.ppc64le.rpm
Wrote: /builddir/build/RPMS/ghc-libffi-doc-0.1-30.fc38.noarch.rpm
Wrote: /builddir/build/RPMS/ghc-libffi-prof-0.1-30.fc38.ppc64le.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.msA3xm
+ umask 022
+ cd /builddir/build/BUILD
+ cd libffi-0.1
+ /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-libffi-0.1-30.fc38.ppc64le
Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.gY7OAq
+ RPM_EC=0
++ jobs -p
+ exit 0
+ umask 022
+ cd /builddir/build/BUILD
+ rm -rf libffi-0.1 libffi-0.1.gemspec
+ RPM_EC=0
++ jobs -p
+ exit 0
Child return code was: 0