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-socks.spec'], chrootPath='/var/lib/mock/f40-build-745128-111957/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 --target riscv64 --nodeps /builddir/build/SPECS/ghc-socks.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=1690588800 Wrote: /builddir/build/SRPMS/ghc-socks-0.6.1-17.fc40.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-socks.spec'], chrootPath='/var/lib/mock/f40-build-745128-111957/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 --target riscv64 --nodeps /builddir/build/SPECS/ghc-socks.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=1690588800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.22hVng + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf socks-0.6.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/socks-0.6.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd socks-0.6.1 + rm -rf /builddir/build/BUILD/socks-0.6.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/socks-0.6.1-SPECPARTS + /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.ml4lnz + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 socks-0.6.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 README.md -a -x README.md ']' ++ echo -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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/-Wall //' -e 's/-Werror=format-security //' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Werror=implicit-function-declaration -Werror=implicit-int -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.hs, Setup.o ) [2 of 2] Linking Setup + LANG=C.utf8 + ./Setup --version Cabal library version 3.8.1.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Werror=implicit-function-declaration -Werror=implicit-int -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-socks '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --global '--ghc-options= -optc-O2 -optc-fexceptions -optc-g -optc-grecord-gcc-switches -optc-pipe -optc-Werror=implicit-function-declaration -optc-Werror=implicit-int -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/socks-0.6.1 --global Configuring socks-0.6.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j1 Preprocessing library for socks-0.6.1.. Building library for socks-0.6.1.. [1 of 7] Compiling Network.Socks5.Parse Network/Socks5/Parse.hs:75:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad Parser’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 75 | return v = Parser $ \buf _ ok -> ok buf v | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socks5/Parse.hs:91:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative Parser’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 91 | pure = return | ^^^^^^^^^^^^^^^^^^ [2 of 7] Compiling Network.Socks5.Types [3 of 7] Compiling Network.Socks5.Conf [4 of 7] Compiling Network.Socks5.Wire [5 of 7] Compiling Network.Socks5.Command [6 of 7] Compiling Network.Socks5.Lowlevel [7 of 7] Compiling Network.Socks5 [1 of 7] Compiling Network.Socks5.Parse Network/Socks5/Parse.hs:75:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad Parser’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 75 | return v = Parser $ \buf _ ok -> ok buf v | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socks5/Parse.hs:91:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative Parser’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 91 | pure = return | ^^^^^^^^^^^^^^^^^^ [2 of 7] Compiling Network.Socks5.Types [3 of 7] Compiling Network.Socks5.Conf [4 of 7] Compiling Network.Socks5.Wire [5 of 7] Compiling Network.Socks5.Command [6 of 7] Compiling Network.Socks5.Lowlevel [7 of 7] Compiling Network.Socks5 + '[' -n dist/build/libHSsocks-0.6.1-8gBEgerYb38E7aCOOcHCwN-ghc9.4.5.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for socks-0.6.1.. Running Haddock on library for socks-0.6.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.17.1.0, basement-0.0.16, bytestring-0.11.4.0, cereal-0.5.8.3, containers-0.6.7, deepseq-1.4.8.0, directory-1.3.7.1, filepath-1.4.2.2, ghc-bignum-1.3, ghc-boot-th-9.4.5, ghc-prim-0.9.0, network-3.1.4.0, pretty-1.1.3.6, template-haskell-2.19.0.0, time-1.12.2, unix-2.7.3 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Network/Socks5/Parse.hs:75:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘return’ definition detected in the instance declaration for ‘Monad Parser’. ‘return’ will eventually be removed in favour of ‘pure’ Either remove definition for ‘return’ (recommended) or define as ‘return = pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 75 | return v = Parser $ \buf _ ok -> ok buf v | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Network/Socks5/Parse.hs:91:5: warning: [-Wnoncanonical-monad-instances] Noncanonical ‘pure = return’ definition detected in the instance declaration for ‘Applicative Parser’. Move definition from ‘return’ to ‘pure’ See also: https://gitlab.haskell.org/ghc/ghc/-/wikis/proposal/monad-of-no-return | 91 | pure = return | ^^^^^^^^^^^^^^^^^^ 100% ( 9 / 9) in 'Network.Socks5.Types' 33% ( 6 / 18) in 'Network.Socks5.Lowlevel' Missing documentation for: Module header socksListen (Network/Socks5/Lowlevel.hs:13) establish (Network/Socks5/Command.hs:39) Connect (Network/Socks5/Command.hs:44) Command (Network/Socks5/Command.hs:46) connectIPV4 (Network/Socks5/Command.hs:64) connectIPV6 (Network/Socks5/Command.hs:69) connectDomainName (Network/Socks5/Command.hs:76) rpc (Network/Socks5/Command.hs:85) rpc_ (Network/Socks5/Command.hs:94) sendSerialized (Network/Socks5/Command.hs:79) waitSerialized (Network/Socks5/Command.hs:82) 100% ( 16 / 16) in 'Network.Socks5' Warning: Network.Socks5.Types: could not find link destinations for: - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - 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.Word.Word8 - GHC.Enum.Enum - GHC.Enum.succ - GHC.Enum.pred - GHC.Enum.toEnum - GHC.Enum.fromEnum - GHC.Enum.enumFrom - GHC.Enum.enumFromThen - GHC.Enum.enumFromTo - GHC.Enum.enumFromThenTo - Network.Socket.Types.HostAddress - Network.Socks5.Types.FQDN - Network.Socket.Types.HostAddress6 - Network.Socket.Types.PortNumber - Data.Data.Data - Data.Data.gfoldl - Data.Data.gunfold - Data.Data.Constr - Data.Data.toConstr - Data.Data.dataTypeOf - Data.Data.DataType - Data.Data.dataCast1 - Data.Typeable.Internal.Typeable - GHC.Maybe.Maybe - Data.Data.dataCast2 - Data.Data.gmapT - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapQ - Data.Data.gmapQi - Data.Data.gmapM - GHC.Base.Monad - Data.Data.gmapMp - GHC.Base.MonadPlus - Data.Data.gmapMo - GHC.Exception.Type.Exception - GHC.Exception.Type.toException - GHC.Exception.Type.SomeException - GHC.Exception.Type.fromException - GHC.Exception.Type.displayException Warning: Network.Socks5.Lowlevel: could not find link destinations for: - Network.Socket.Types.Socket - GHC.Types.IO - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList - Data.Serialize.Serialize - Data.Serialize.put - Data.Serialize.Put.Putter - Data.Serialize.get - Data.Serialize.Get.Get - GHC.Classes.Eq - GHC.Classes.== - GHC.Types.Bool - GHC.Classes./= - Network.Socket.Types.PortNumber - GHC.Maybe.Maybe - GHC.Classes.Ord - GHC.Classes.compare - GHC.Types.Ordering - GHC.Classes.< - GHC.Classes.<= - GHC.Classes.> - GHC.Classes.>= - GHC.Classes.max - GHC.Classes.min - Network.Socket.Types.HostAddress - Network.Socket.Types.HostAddress6 - GHC.Types.Char - Data.Either.Either Warning: Network.Socks5: could not find link destinations for: - Network.Socket.Types.PortNumber - GHC.Show.Show - GHC.Show.showsPrec - GHC.Types.Int - 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 - Network.Socket.Types.HostAddress - Network.Socks5.Types.FQDN - Network.Socket.Types.HostAddress6 - Data.Data.Data - Data.Data.gfoldl - Data.Data.gunfold - Data.Data.Constr - Data.Data.toConstr - Data.Data.dataTypeOf - Data.Data.DataType - Data.Data.dataCast1 - Data.Typeable.Internal.Typeable - GHC.Maybe.Maybe - Data.Data.dataCast2 - Data.Data.gmapT - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapQ - Data.Data.gmapQi - Data.Data.gmapM - GHC.Base.Monad - Data.Data.gmapMp - GHC.Base.MonadPlus - Data.Data.gmapMo - GHC.Enum.Enum - GHC.Enum.succ - GHC.Enum.pred - GHC.Enum.toEnum - GHC.Enum.fromEnum - GHC.Enum.enumFrom - GHC.Enum.enumFromThen - GHC.Enum.enumFromTo - GHC.Enum.enumFromThenTo - GHC.Word.Word8 - GHC.Exception.Type.Exception - GHC.Exception.Type.toException - GHC.Exception.Type.SomeException - GHC.Exception.Type.fromException - GHC.Exception.Type.displayException - Network.Socket.Types.SockAddr - Network.Socket.Types.Socket - GHC.Types.IO Documentation created: dist/doc/html/socks/index.html, dist/doc/html/socks/socks.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.n9tyYS + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 socks-0.6.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64 Installing library in /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/socks-0.6.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib + '[' -d socks-0.6.1.conf ']' + install -D --mode=0644 socks-0.6.1.conf /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/socks-0.6.1.conf + '[' -d /usr/lib64/ghc-9.4.5/lib ']' + subsubdir=/lib ++ ls /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/socks-0.6.1.conf + '[' -z /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/socks-0.6.1.conf ']' + rm -f ghc-socks.files ghc-socks-doc.files + touch ghc-socks.files ghc-socks-doc.files + for i in /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5${subsubdir}/libHSsocks-0.6.1-*ghc9.4.5.so + '[' -x /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSsocks-0.6.1-8gBEgerYb38E7aCOOcHCwN-ghc9.4.5.so ']' + echo /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSsocks-0.6.1-8gBEgerYb38E7aCOOcHCwN-ghc9.4.5.so + pkgdir=/usr/lib64/ghc-9.4.5/lib/socks-0.6.1 + '[' -d /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/socks-0.6.1 ']' + find /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/socks-0.6.1 -type d -fprintf ghc-socks-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-socks-prof.files -o -fprint ghc-socks-devel.files + ls /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/package.conf.d/socks-0.6.1.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/socks-0.6.1 + '[' -d /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/share/doc/ghc/html/libraries/socks-0.6.1 ']' + echo /usr/share/doc/ghc/html/libraries/socks-0.6.1 + for i in ghc-socks.files ghc-socks-devel.files ghc-socks-doc.files ghc-socks-prof.files + '[' -f ghc-socks.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64!!g' ghc-socks.files + for i in ghc-socks.files ghc-socks-devel.files ghc-socks-doc.files ghc-socks-prof.files + '[' -f ghc-socks-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64!!g' ghc-socks-devel.files + for i in ghc-socks.files ghc-socks-devel.files ghc-socks-doc.files ghc-socks-prof.files + '[' -f ghc-socks-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64!!g' ghc-socks-doc.files + for i in ghc-socks.files ghc-socks-devel.files ghc-socks-doc.files ghc-socks-prof.files + '[' -f ghc-socks-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64!!g' ghc-socks-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSsocks-0.6.1-8gBEgerYb38E7aCOOcHCwN-ghc9.4.5.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSsocks-0.6.1-8gBEgerYb38E7aCOOcHCwN-ghc9.4.5.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/lib64/ghc-9.4.5/lib/libHSsocks-0.6.1-8gBEgerYb38E7aCOOcHCwN-ghc9.4.5.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.4.5/lib:/usr/lib64/ghc-9.4.5/lib/riscv64-linux-ghc-9.4.5 + 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-socks-0.6.1-17.fc40.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.P5hId9 + umask 022 + cd /builddir/build/BUILD + cd socks-0.6.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/share/licenses/ghc-socks + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/share/licenses/ghc-socks + cp -pr /builddir/build/BUILD/socks-0.6.1/LICENSE /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/share/licenses/ghc-socks + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-socks = 0.6.1-17.fc40 ghc-socks(riscv-64) = 0.6.1-17.fc40 libHSsocks-0.6.1-8gBEgerYb38E7aCOOcHCwN-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) libHSbasement-0.0.16-J8UFRjmsTYU7wBgfpjdWQn-ghc9.4.5.so()(64bit) libHSbytestring-0.11.4.0-ghc9.4.5.so()(64bit) libHScereal-0.5.8.3-LNsxCTyOF85AKtb4iLTs8f-ghc9.4.5.so()(64bit) libHScontainers-0.6.7-ghc9.4.5.so()(64bit) libHSdeepseq-1.4.8.0-ghc9.4.5.so()(64bit) libHSdirectory-1.3.7.1-ghc9.4.5.so()(64bit) libHSfilepath-1.4.2.2-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) libHSnetwork-3.1.4.0-FvtFepOtuCUH79FCWyNxIc-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) libHStime-1.12.2-ghc9.4.5.so()(64bit) libHSunix-2.7.3-ghc9.4.5.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-socks-devel-0.6.1-17.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JSPEbN + umask 022 + cd /builddir/build/BUILD + cd socks-0.6.1 + DOCDIR=/builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/share/doc/ghc-socks-devel + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/share/doc/ghc-socks-devel + cp -pr /builddir/build/BUILD/socks-0.6.1/Example.hs /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/share/doc/ghc-socks-devel + cp -pr /builddir/build/BUILD/socks-0.6.1/README.md /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/share/doc/ghc-socks-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-devel(socks-0.6.1-8gBEgerYb38E7aCOOcHCwN) ghc-socks-devel = 0.6.1-17.fc40 ghc-socks-devel(riscv-64) = 0.6.1-17.fc40 ghc-socks-static = 0.6.1-17.fc40 ghc-socks-static(riscv-64) = 0.6.1-17.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(basement-0.0.16-J8UFRjmsTYU7wBgfpjdWQn) ghc-devel(bytestring-0.11.4.0) ghc-devel(cereal-0.5.8.3-LNsxCTyOF85AKtb4iLTs8f) ghc-devel(network-3.1.4.0-FvtFepOtuCUH79FCWyNxIc) Processing files: ghc-socks-doc-0.6.1-17.fc40.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PxCh54 + umask 022 + cd /builddir/build/BUILD + cd socks-0.6.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/share/licenses/ghc-socks-doc + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/share/licenses/ghc-socks-doc + cp -pr /builddir/build/BUILD/socks-0.6.1/LICENSE /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64/usr/share/licenses/ghc-socks-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-socks-doc = 0.6.1-17.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-socks-prof-0.6.1-17.fc40.riscv64 Provides: ghc-prof(socks-0.6.1-8gBEgerYb38E7aCOOcHCwN) ghc-socks-prof = 0.6.1-17.fc40 ghc-socks-prof(riscv-64) = 0.6.1-17.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(basement-0.0.16-J8UFRjmsTYU7wBgfpjdWQn) ghc-prof(bytestring-0.11.4.0) ghc-prof(cereal-0.5.8.3-LNsxCTyOF85AKtb4iLTs8f) ghc-prof(network-3.1.4.0-FvtFepOtuCUH79FCWyNxIc) Supplements: (ghc-socks-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64 Wrote: /builddir/build/RPMS/ghc-socks-0.6.1-17.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-socks-doc-0.6.1-17.fc40.noarch.rpm Wrote: /builddir/build/RPMS/ghc-socks-devel-0.6.1-17.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/ghc-socks-prof-0.6.1-17.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rXgajV + umask 022 + cd /builddir/build/BUILD + cd socks-0.6.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-socks-0.6.1-17.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.x26U7Y + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/socks-0.6.1-SPECPARTS + rm -rf socks-0.6.1 socks-0.6.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0