Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-zlib-bindings.spec'], chrootPath='/var/lib/mock/f40-build-776957-129159/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-zlib-bindings.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=1706054400 Wrote: /builddir/build/SRPMS/ghc-zlib-bindings-0.1.1.5-42.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-zlib-bindings.spec'], chrootPath='/var/lib/mock/f40-build-776957-129159/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/ghc-zlib-bindings.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=1706054400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ycJi2Z + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zlib-bindings-0.1.1.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/zlib-bindings-0.1.1.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd zlib-bindings-0.1.1.5 + rm -rf /builddir/build/BUILD/zlib-bindings-0.1.1.5-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/zlib-bindings-0.1.1.5-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + dos2unix -k -n /builddir/build/SOURCES/zlib-bindings-0.1.1.5.cabal zlib-bindings.cabal dos2unix: converting file /builddir/build/SOURCES/zlib-bindings-0.1.1.5.cabal to file zlib-bindings.cabal in Unix format... + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Wqh63h + 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 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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 zlib-bindings-0.1.1.5 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + 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 -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.4.5/lib ']' + subsubdir=/lib + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 2] Compiling Main ( Setup.lhs, 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,-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 -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-zlib-bindings '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --enable-tests --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-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/zlib-bindings-0.1.1.5 --global Configuring zlib-bindings-0.1.1.5... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j4 Preprocessing library for zlib-bindings-0.1.1.5.. Building library for zlib-bindings-0.1.1.5.. [1 of 2] Compiling Codec.Zlib.Lowlevel [2 of 2] Compiling Codec.Zlib [1 of 2] Compiling Codec.Zlib.Lowlevel [2 of 2] Compiling Codec.Zlib c/helper.c: In function ‘inflate_set_dictionary’: c/helper.c:32:45: error: warning: pointer targets in passing argument 2 of ‘inflateSetDictionary’ differ in signedness [-Wpointer-sign] 32 | return inflateSetDictionary(stream, dictionary, dictLength); | ^~~~~~~~~~ | | | const char * | 32 | return inflateSetDictionary(stream, dictionary, dictLength); | ^ In file included from c/helper.c:1:0: error: /usr/include/zlib.h:883:81: error: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 883 | Z_EXTERN int Z_EXPORT inflateSetDictionary(z_stream *strm, const unsigned char *dictionary, unsigned int dictLength); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | 883 | Z_EXTERN int Z_EXPORT inflateSetDictionary(z_stream *strm, const unsigned char *dictionary, unsigned int dictLength); | ^ c/helper.c: In function ‘deflate_set_dictionary’: c/helper.c:37:45: error: warning: pointer targets in passing argument 2 of ‘deflateSetDictionary’ differ in signedness [-Wpointer-sign] 37 | return deflateSetDictionary(stream, dictionary, dictLength); | ^~~~~~~~~~ | | | const char * | 37 | return deflateSetDictionary(stream, dictionary, dictLength); | ^ /usr/include/zlib.h:623:67: error: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 623 | const unsigned char *dictionary, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | 623 | const unsigned char *dictionary, | ^ c/helper.c: In function ‘set_avail_in’: c/helper.c:48:25: error: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 48 | stream->next_in = buff; | ^ | 48 | stream->next_in = buff; | ^ c/helper.c: In function ‘set_avail_out’: c/helper.c:54:26: error: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 54 | stream->next_out = buff; | ^ | 54 | stream->next_out = buff; | ^ c/helper.c: In function ‘get_next_in’: c/helper.c:75:22: error: warning: pointer targets in returning ‘unsigned char *’ from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 75 | return stream->next_in; | ~~~~~~^~~~~~~~~ | 75 | return stream->next_in; | ^ c/helper.c: In function ‘inflate_set_dictionary’: c/helper.c:32:45: error: warning: pointer targets in passing argument 2 of ‘inflateSetDictionary’ differ in signedness [-Wpointer-sign] 32 | return inflateSetDictionary(stream, dictionary, dictLength); | ^~~~~~~~~~ | | | const char * | 32 | return inflateSetDictionary(stream, dictionary, dictLength); | ^ In file included from c/helper.c:1:0: error: /usr/include/zlib.h:883:81: error: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 883 | Z_EXTERN int Z_EXPORT inflateSetDictionary(z_stream *strm, const unsigned char *dictionary, unsigned int dictLength); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | 883 | Z_EXTERN int Z_EXPORT inflateSetDictionary(z_stream *strm, const unsigned char *dictionary, unsigned int dictLength); | ^ c/helper.c: In function ‘deflate_set_dictionary’: c/helper.c:37:45: error: warning: pointer targets in passing argument 2 of ‘deflateSetDictionary’ differ in signedness [-Wpointer-sign] 37 | return deflateSetDictionary(stream, dictionary, dictLength); | ^~~~~~~~~~ | | | const char * | 37 | return deflateSetDictionary(stream, dictionary, dictLength); | ^ /usr/include/zlib.h:623:67: error: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 623 | const unsigned char *dictionary, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | 623 | const unsigned char *dictionary, | ^ c/helper.c: In function ‘set_avail_in’: c/helper.c:48:25: error: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 48 | stream->next_in = buff; | ^ | 48 | stream->next_in = buff; | ^ c/helper.c: In function ‘set_avail_out’: c/helper.c:54:26: error: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 54 | stream->next_out = buff; | ^ | 54 | stream->next_out = buff; | ^ c/helper.c: In function ‘get_next_in’: c/helper.c:75:22: error: warning: pointer targets in returning ‘unsigned char *’ from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 75 | return stream->next_in; | ~~~~~~^~~~~~~~~ | 75 | return stream->next_in; | ^ c/helper.c: In function ‘inflate_set_dictionary’: c/helper.c:32:45: error: warning: pointer targets in passing argument 2 of ‘inflateSetDictionary’ differ in signedness [-Wpointer-sign] 32 | return inflateSetDictionary(stream, dictionary, dictLength); | ^~~~~~~~~~ | | | const char * | 32 | return inflateSetDictionary(stream, dictionary, dictLength); | ^ In file included from c/helper.c:1:0: error: /usr/include/zlib.h:883:81: error: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 883 | Z_EXTERN int Z_EXPORT inflateSetDictionary(z_stream *strm, const unsigned char *dictionary, unsigned int dictLength); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | 883 | Z_EXTERN int Z_EXPORT inflateSetDictionary(z_stream *strm, const unsigned char *dictionary, unsigned int dictLength); | ^ c/helper.c: In function ‘deflate_set_dictionary’: c/helper.c:37:45: error: warning: pointer targets in passing argument 2 of ‘deflateSetDictionary’ differ in signedness [-Wpointer-sign] 37 | return deflateSetDictionary(stream, dictionary, dictLength); | ^~~~~~~~~~ | | | const char * | 37 | return deflateSetDictionary(stream, dictionary, dictLength); | ^ /usr/include/zlib.h:623:67: error: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ 623 | const unsigned char *dictionary, | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | 623 | const unsigned char *dictionary, | ^ c/helper.c: In function ‘set_avail_in’: c/helper.c:48:25: error: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 48 | stream->next_in = buff; | ^ | 48 | stream->next_in = buff; | ^ c/helper.c: In function ‘set_avail_out’: c/helper.c:54:26: error: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 54 | stream->next_out = buff; | ^ | 54 | stream->next_out = buff; | ^ c/helper.c: In function ‘get_next_in’: c/helper.c:75:22: error: warning: pointer targets in returning ‘unsigned char *’ from a function with return type ‘char *’ differ in signedness [-Wpointer-sign] 75 | return stream->next_in; | ~~~~~~^~~~~~~~~ | 75 | return stream->next_in; | ^ Preprocessing test suite 'test' for zlib-bindings-0.1.1.5.. Building test suite 'test' for zlib-bindings-0.1.1.5.. [1 of 1] Compiling Main [2 of 2] Linking dist/build/test/test + '[' -n dist/build/libHSzlib-bindings-0.1.1.5-852v758fxgoCwAE3cyfKMb-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for zlib-bindings-0.1.1.5.. Running Haddock on library for zlib-bindings-0.1.1.5.. 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, bytestring-0.11.4.0, 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, zlib-0.6.3.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. 0% ( 0 / 20) in 'Codec.Zlib.Lowlevel' Missing documentation for: Module header ZStreamStruct (Codec/Zlib/Lowlevel.hs:29) ZStream' (Codec/Zlib/Lowlevel.hs:30) zstreamNew (Codec/Zlib/Lowlevel.hs:40) Strategy (Codec/Zlib/Lowlevel.hs:32) deflateInit2 (Codec/Zlib/Lowlevel.hs:47) inflateInit2 (Codec/Zlib/Lowlevel.hs:56) c_free_z_stream_inflate (Codec/Zlib/Lowlevel.hs:59) c_free_z_stream_deflate (Codec/Zlib/Lowlevel.hs:62) c_set_avail_in (Codec/Zlib/Lowlevel.hs:65) c_set_avail_out (Codec/Zlib/Lowlevel.hs:68) c_get_avail_out (Codec/Zlib/Lowlevel.hs:71) c_get_avail_in (Codec/Zlib/Lowlevel.hs:74) c_get_next_in (Codec/Zlib/Lowlevel.hs:77) c_call_inflate_noflush (Codec/Zlib/Lowlevel.hs:80) c_call_deflate_noflush (Codec/Zlib/Lowlevel.hs:83) c_call_deflate_finish (Codec/Zlib/Lowlevel.hs:86) c_call_deflate_flush (Codec/Zlib/Lowlevel.hs:89) c_call_deflate_set_dictionary (Codec/Zlib/Lowlevel.hs:92) c_call_inflate_set_dictionary (Codec/Zlib/Lowlevel.hs:95) Warning: Couldn't find .haddock for export WindowBits Warning: Couldn't find .haddock for export defaultWindowBits 90% ( 18 / 20) in 'Codec.Zlib' Missing documentation for: WindowBits defaultWindowBits Warning: Codec.Zlib.Lowlevel: could not find link destinations for: - GHC.Ptr.Ptr - GHC.Types.IO - GHC.Enum.Enum - GHC.Enum.succ - GHC.Enum.pred - GHC.Enum.toEnum - GHC.Types.Int - GHC.Enum.fromEnum - GHC.Enum.enumFrom - GHC.Enum.enumFromThen - GHC.Enum.enumFromTo - GHC.Enum.enumFromThenTo - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - GHC.Ptr.FunPtr - Foreign.C.Types.CChar - Foreign.C.Types.CUInt - Foreign.C.Types.CInt Warning: Codec.Zlib: could not find link destinations for: - GHC.Types.IO - Data.ByteString.Internal.Type.ByteString - Data.ByteString.Lazy.Internal.defaultChunkSize - GHC.Types.Int - GHC.Generics.Generic - GHC.Generics.from - GHC.Generics.Rep - GHC.Generics.to - GHC.Types.Type - GHC.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - GHC.Generics.D1 - GHC.Generics.MetaData - GHC.Types.False - GHC.Generics.:+: - GHC.Generics.C1 - GHC.Generics.MetaCons - GHC.Generics.PrefixI - GHC.Generics.S1 - GHC.Generics.MetaSel - GHC.Maybe.Nothing - GHC.Maybe.Maybe - GHC.Types.Symbol - GHC.Generics.NoSourceUnpackedness - GHC.Generics.NoSourceStrictness - GHC.Generics.DecidedLazy - GHC.Generics.Rec0 - GHC.Generics.U1 - GHC.Exception.Type.Exception - GHC.Exception.Type.toException - GHC.Exception.Type.SomeException - GHC.Exception.Type.fromException - GHC.Exception.Type.displayException Documentation created: dist/doc/html/zlib-bindings/index.html, dist/doc/html/zlib-bindings/zlib-bindings.txt Preprocessing test suite 'test' for zlib-bindings-0.1.1.5.. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.oNtXrc + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.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 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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 zlib-bindings-0.1.1.5 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64 Installing library in /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/zlib-bindings-0.1.1.5 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -d zlib-bindings-0.1.1.5.conf ']' + install -D --mode=0644 zlib-bindings-0.1.1.5.conf /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/zlib-bindings-0.1.1.5.conf + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/zlib-bindings-0.1.1.5.conf ']' + rm -f ghc-zlib-bindings.files ghc-zlib-bindings-doc.files + touch ghc-zlib-bindings.files ghc-zlib-bindings-doc.files + for i in /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/lib64/ghc-9.4.5${subsubdir}/libHSzlib-bindings-0.1.1.5-*ghc9.4.5.so + '[' -x /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSzlib-bindings-0.1.1.5-852v758fxgoCwAE3cyfKMb-ghc9.4.5.so ']' + echo /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSzlib-bindings-0.1.1.5-852v758fxgoCwAE3cyfKMb-ghc9.4.5.so + pkgdir=/builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/zlib-bindings-0.1.1.5 + '[' -d /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/zlib-bindings-0.1.1.5 ']' + find /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/zlib-bindings-0.1.1.5 -type d -fprintf ghc-zlib-bindings-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-zlib-bindings-prof.files -o -fprint ghc-zlib-bindings-devel.files + ls /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/zlib-bindings-0.1.1.5.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/zlib-bindings-0.1.1.5 + '[' -d /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/share/doc/ghc/html/libraries/zlib-bindings-0.1.1.5 ']' + echo /usr/share/doc/ghc/html/libraries/zlib-bindings-0.1.1.5 + for i in ghc-zlib-bindings.files ghc-zlib-bindings-devel.files ghc-zlib-bindings-doc.files ghc-zlib-bindings-prof.files + '[' -f ghc-zlib-bindings.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64!!g' ghc-zlib-bindings.files + for i in ghc-zlib-bindings.files ghc-zlib-bindings-devel.files ghc-zlib-bindings-doc.files ghc-zlib-bindings-prof.files + '[' -f ghc-zlib-bindings-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64!!g' ghc-zlib-bindings-devel.files + for i in ghc-zlib-bindings.files ghc-zlib-bindings-devel.files ghc-zlib-bindings-doc.files ghc-zlib-bindings-prof.files + '[' -f ghc-zlib-bindings-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64!!g' ghc-zlib-bindings-doc.files + for i in ghc-zlib-bindings.files ghc-zlib-bindings-devel.files ghc-zlib-bindings-doc.files ghc-zlib-bindings-prof.files + '[' -f ghc-zlib-bindings-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64!!g' ghc-zlib-bindings-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSzlib-bindings-0.1.1.5-852v758fxgoCwAE3cyfKMb-ghc9.4.5.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSzlib-bindings-0.1.1.5-852v758fxgoCwAE3cyfKMb-ghc9.4.5.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSzlib-bindings-0.1.1.5-852v758fxgoCwAE3cyfKMb-ghc9.4.5.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.4.5/lib/riscv64-linux-ghc-9.4.5:/usr/lib64/ghc-9.4.5/lib + 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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.fVfTw7 + 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 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + 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 zlib-bindings-0.1.1.5 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup test Running 1 test suites... Test suite test: RUNNING... Test suite test: PASS Test suite logged to: dist/test/zlib-bindings-0.1.1.5-test.log 1 of 1 test suites (1 of 1 test cases) passed. + RPM_EC=0 ++ jobs -p + exit 0 Processing files: ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.cQ5o7N + umask 022 + cd /builddir/build/BUILD + cd zlib-bindings-0.1.1.5 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/share/licenses/ghc-zlib-bindings + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/share/licenses/ghc-zlib-bindings + cp -pr /builddir/build/BUILD/zlib-bindings-0.1.1.5/LICENSE /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/share/licenses/ghc-zlib-bindings + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-zlib-bindings = 0.1.1.5-42.fc40 ghc-zlib-bindings(riscv-64) = 0.1.1.5-42.fc40 libHSzlib-bindings-0.1.1.5-852v758fxgoCwAE3cyfKMb-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) libHSbytestring-0.11.4.0-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) libHSzlib-0.6.3.0-BAWUEienEPJI6tqKZ6w5vO-ghc9.4.5.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: ghc-zlib-bindings-devel-0.1.1.5-42.fc40.riscv64 Provides: ghc-devel(zlib-bindings-0.1.1.5-852v758fxgoCwAE3cyfKMb) ghc-zlib-bindings-devel = 0.1.1.5-42.fc40 ghc-zlib-bindings-devel(riscv-64) = 0.1.1.5-42.fc40 ghc-zlib-bindings-static = 0.1.1.5-42.fc40 ghc-zlib-bindings-static(riscv-64) = 0.1.1.5-42.fc40 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(bytestring-0.11.4.0) ghc-devel(zlib-0.6.3.0-BAWUEienEPJI6tqKZ6w5vO) Processing files: ghc-zlib-bindings-doc-0.1.1.5-42.fc40.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.7mgAS5 + umask 022 + cd /builddir/build/BUILD + cd zlib-bindings-0.1.1.5 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/share/licenses/ghc-zlib-bindings-doc + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/share/licenses/ghc-zlib-bindings-doc + cp -pr /builddir/build/BUILD/zlib-bindings-0.1.1.5/LICENSE /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/share/licenses/ghc-zlib-bindings-doc + cp -pr /builddir/build/BUILD/zlib-bindings-0.1.1.5/LICENSE.gz /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64/usr/share/licenses/ghc-zlib-bindings-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-zlib-bindings-doc = 0.1.1.5-42.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-zlib-bindings-prof-0.1.1.5-42.fc40.riscv64 Provides: ghc-prof(zlib-bindings-0.1.1.5-852v758fxgoCwAE3cyfKMb) ghc-zlib-bindings-prof = 0.1.1.5-42.fc40 ghc-zlib-bindings-prof(riscv-64) = 0.1.1.5-42.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(base-4.17.1.0) ghc-prof(bytestring-0.11.4.0) ghc-prof(zlib-0.6.3.0-BAWUEienEPJI6tqKZ6w5vO) Supplements: (ghc-zlib-bindings-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64 Wrote: /builddir/build/RPMS/ghc-zlib-bindings-0.1.1.5-42.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-zlib-bindings-doc-0.1.1.5-42.fc40.noarch.rpm Wrote: /builddir/build/RPMS/ghc-zlib-bindings-devel-0.1.1.5-42.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-zlib-bindings-prof-0.1.1.5-42.fc40.riscv64.rpm Child return code was: 0