Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-void.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-469362-23290/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/ghc-void.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=1681862400 Wrote: /builddir/build/SRPMS/ghc-void-0.7.3-1.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-void.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-469362-23290/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-void.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=1681862400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AY1SLu + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf void-0.7.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/void-0.7.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd void-0.7.3 + /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.coMTGa + 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 void-0.7.3 ++ 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.markdown -a -x CHANGELOG.markdown ']' + chmod a-x CHANGELOG.markdown + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f README.markdown -a -x README.markdown ']' + chmod a-x README.markdown + 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-8.10.7/lib ']' + '[' -x Setup ']' + ghc --make -package Cabal -no-user-package-db -dynamic Setup [1 of 1] Compiling Main ( Setup.lhs, Setup.o ) Linking Setup ... + LANG=C.utf8 + ./Setup --version Cabal library version 3.2.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 -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-void '--libsubdir=$compiler/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-8.10.7 --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/void-0.7.3 --global Configuring void-0.7.3... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for void-0.7.3.. Building library for void-0.7.3.. ghc: setNumCapabilities: not supported on this platform [1 of 1] Compiling Data.Void.Unsafe /tmp/ghc6092_0/ghc_4.hc: In function ‘voidzm0zi7zi3zm3i5hA4IaTNJ61Beo1uYNP7_DataziVoidziUnsafe_unsafeVacuous1_entry’: /tmp/ghc6092_0/ghc_4.hc:10:1: error: warning: label ‘_cKq’ defined but not used [-Wunused-label] 10 | _cKq: | ^~~~ | 10 | _cKq: | ^ /tmp/ghc6092_0/ghc_4.hc: In function ‘voidzm0zi7zi3zm3i5hA4IaTNJ61Beo1uYNP7_DataziVoidziUnsafe_unsafeVacuous_entry’: /tmp/ghc6092_0/ghc_4.hc:32:1: error: warning: label ‘_cKx’ defined but not used [-Wunused-label] 32 | _cKx: | ^~~~ | 32 | _cKx: | ^ /tmp/ghc6092_0/ghc_4.hc: In function ‘voidzm0zi7zi3zm3i5hA4IaTNJ61Beo1uYNP7_DataziVoidziUnsafe_unsafeVacuousM1_entry’: /tmp/ghc6092_0/ghc_4.hc:53:1: error: warning: label ‘_cKE’ defined but not used [-Wunused-label] 53 | _cKE: | ^~~~ | 53 | _cKE: | ^ /tmp/ghc6092_0/ghc_4.hc: In function ‘voidzm0zi7zi3zm3i5hA4IaTNJ61Beo1uYNP7_DataziVoidziUnsafe_unsafeVacuousM_entry’: /tmp/ghc6092_0/ghc_4.hc:75:1: error: warning: label ‘_cKL’ defined but not used [-Wunused-label] 75 | _cKL: | ^~~~ | 75 | _cKL: | ^ /tmp/ghc6092_0/ghc_8.hc: In function ‘voidzm0zi7zi3zm3i5hA4IaTNJ61Beo1uYNP7_DataziVoidziUnsafe_unsafeVacuous1_entry’: /tmp/ghc6092_0/ghc_8.hc:10:1: error: warning: label ‘_cKU’ defined but not used [-Wunused-label] 10 | _cKU: | ^~~~ | 10 | _cKU: | ^ /tmp/ghc6092_0/ghc_8.hc: In function ‘voidzm0zi7zi3zm3i5hA4IaTNJ61Beo1uYNP7_DataziVoidziUnsafe_unsafeVacuous_entry’: /tmp/ghc6092_0/ghc_8.hc:32:1: error: warning: label ‘_cL1’ defined but not used [-Wunused-label] 32 | _cL1: | ^~~~ | 32 | _cL1: | ^ /tmp/ghc6092_0/ghc_8.hc: In function ‘voidzm0zi7zi3zm3i5hA4IaTNJ61Beo1uYNP7_DataziVoidziUnsafe_unsafeVacuousM1_entry’: /tmp/ghc6092_0/ghc_8.hc:53:1: error: warning: label ‘_cL8’ defined but not used [-Wunused-label] 53 | _cL8: | ^~~~ | 53 | _cL8: | ^ /tmp/ghc6092_0/ghc_8.hc: In function ‘voidzm0zi7zi3zm3i5hA4IaTNJ61Beo1uYNP7_DataziVoidziUnsafe_unsafeVacuousM_entry’: /tmp/ghc6092_0/ghc_8.hc:75:1: error: warning: label ‘_cLf’ defined but not used [-Wunused-label] 75 | _cLf: | ^~~~ | 75 | _cLf: | ^ ghc: setNumCapabilities: not supported on this platform [1 of 1] Compiling Data.Void.Unsafe /tmp/ghc6109_0/ghc_4.hc: In function ‘voidzm0zi7zi3zm3i5hA4IaTNJ61Beo1uYNP7_DataziVoidziUnsafe_unsafeVacuous2_entry’: /tmp/ghc6109_0/ghc_4.hc:57:1: error: warning: label ‘_cKL’ defined but not used [-Wunused-label] 57 | _cKL: | ^~~~ | 57 | _cKL: | ^ /tmp/ghc6109_0/ghc_4.hc: In function ‘voidzm0zi7zi3zm3i5hA4IaTNJ61Beo1uYNP7_DataziVoidziUnsafe_unsafeVacuous1_entry’: /tmp/ghc6109_0/ghc_4.hc:111:1: error: warning: label ‘_cKU’ defined but not used [-Wunused-label] 111 | _cKU: | ^~~~ | 111 | _cKU: | ^ /tmp/ghc6109_0/ghc_4.hc: In function ‘voidzm0zi7zi3zm3i5hA4IaTNJ61Beo1uYNP7_DataziVoidziUnsafe_unsafeVacuous_entry’: /tmp/ghc6109_0/ghc_4.hc:140:1: error: warning: label ‘_cL3’ defined but not used [-Wunused-label] 140 | _cL3: | ^~~~ | 140 | _cL3: | ^ /tmp/ghc6109_0/ghc_4.hc: In function ‘voidzm0zi7zi3zm3i5hA4IaTNJ61Beo1uYNP7_DataziVoidziUnsafe_unsafeVacuousM2_entry’: /tmp/ghc6109_0/ghc_4.hc:172:1: error: warning: label ‘_cLi’ defined but not used [-Wunused-label] 172 | _cLi: | ^~~~ | 172 | _cLi: | ^ /tmp/ghc6109_0/ghc_4.hc: In function ‘voidzm0zi7zi3zm3i5hA4IaTNJ61Beo1uYNP7_DataziVoidziUnsafe_unsafeVacuousM1_entry’: /tmp/ghc6109_0/ghc_4.hc:226:1: error: warning: label ‘_cLr’ defined but not used [-Wunused-label] 226 | _cLr: | ^~~~ | 226 | _cLr: | ^ /tmp/ghc6109_0/ghc_4.hc: In function ‘voidzm0zi7zi3zm3i5hA4IaTNJ61Beo1uYNP7_DataziVoidziUnsafe_unsafeVacuousM_entry’: /tmp/ghc6109_0/ghc_4.hc:255:1: error: warning: label ‘_cLA’ defined but not used [-Wunused-label] 255 | _cLA: | ^~~~ | 255 | _cLA: | ^ + '[' -n dist/build/libHSvoid-0.7.3-3i5hA4IaTNJ61Beo1uYNP7-ghc8.10.7.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for void-0.7.3.. Running Haddock on library for void-0.7.3.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: base-4.14.3.0, ghc-prim-0.6.1, integer-gmp-1.0.3.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. Haddock coverage: 100% ( 3 / 3) in 'Data.Void.Unsafe' Warning: Data.Void.Unsafe: could not find link destinations for: - GHC.Base.Functor - Data.Void.Void - GHC.Base.Monad Documentation created: dist/doc/html/void/index.html, dist/doc/html/void/void.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.b2dZpL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-void-0.7.3-1.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 void-0.7.3 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64 Installing library in /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64/usr/lib64/ghc-8.10.7/void-0.7.3 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-8.10.7/lib ']' + '[' -d void-0.7.3.conf ']' + install -D --mode=0644 void-0.7.3.conf /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64/usr/lib64/ghc-8.10.7/package.conf.d/void-0.7.3.conf + '[' -d /usr/lib64/ghc-8.10.7/lib ']' ++ ls /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64/usr/lib64/ghc-8.10.7/package.conf.d/void-0.7.3.conf + '[' -z /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64/usr/lib64/ghc-8.10.7/package.conf.d/void-0.7.3.conf ']' + rm -f ghc-void.files ghc-void-doc.files + touch ghc-void.files ghc-void-doc.files + for i in /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64/usr/lib64/ghc-8.10.7${subsubdir}/libHSvoid-0.7.3-*ghc8.10.7.so + '[' -x /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64/usr/lib64/ghc-8.10.7/libHSvoid-0.7.3-3i5hA4IaTNJ61Beo1uYNP7-ghc8.10.7.so ']' + echo /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64/usr/lib64/ghc-8.10.7/libHSvoid-0.7.3-3i5hA4IaTNJ61Beo1uYNP7-ghc8.10.7.so + pkgdir=/usr/lib64/ghc-8.10.7/void-0.7.3 + '[' -d /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64/usr/lib64/ghc-8.10.7/void-0.7.3 ']' + find /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64/usr/lib64/ghc-8.10.7/void-0.7.3 -type d -fprintf ghc-void-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-void-prof.files -o -fprint ghc-void-devel.files + ls /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64/usr/lib64/ghc-8.10.7/package.conf.d/void-0.7.3.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/void-0.7.3 + '[' -d /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64/usr/share/doc/ghc/html/libraries/void-0.7.3 ']' + echo /usr/share/doc/ghc/html/libraries/void-0.7.3 + for i in ghc-void.files ghc-void-devel.files ghc-void-doc.files ghc-void-prof.files + '[' -f ghc-void.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64!!g' ghc-void.files + for i in ghc-void.files ghc-void-devel.files ghc-void-doc.files ghc-void-prof.files + '[' -f ghc-void-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64!!g' ghc-void-devel.files + for i in ghc-void.files ghc-void-devel.files ghc-void-doc.files ghc-void-prof.files + '[' -f ghc-void-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64!!g' ghc-void-doc.files + for i in ghc-void.files ghc-void-devel.files ghc-void-doc.files ghc-void-prof.files + '[' -f ghc-void-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64!!g' ghc-void-prof.files + echo 'running ghc_delete_rpaths:' running ghc_delete_rpaths: + type chrpath ++ find /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64/usr/lib64/ghc-8.10.7/libHSvoid-0.7.3-3i5hA4IaTNJ61Beo1uYNP7-ghc8.10.7.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64/usr/lib64/ghc-8.10.7/libHSvoid-0.7.3-3i5hA4IaTNJ61Beo1uYNP7-ghc8.10.7.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-void-0.7.3-1.fc38.riscv64/usr/lib64/ghc-8.10.7/libHSvoid-0.7.3-3i5hA4IaTNJ61Beo1uYNP7-ghc8.10.7.so: R.*PATH=@@' + rpath=/usr/lib64:/usr/lib64/ghc-8.10.7/rts + 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 ******************************************************************************* * * WARNING: 'check-rpaths' detected a broken RPATH OR RUNPATH and will cause * 'rpmbuild' to fail. To ignore these errors, you can set the * '$QA_RPATHS' environment variable which is a bitmask allowing the * values below. The current value of QA_RPATHS is 0x0000. * * 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor * issue but are introducing redundant searchpaths without * providing a benefit. They can also cause errors in multilib * environments. * 0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute * nor relative filenames and can therefore be a SECURITY risk * 0x0004 ... insecure RPATHs; these are relative RPATHs which are a * SECURITY risk * 0x0008 ... the special '$ORIGIN' RPATHs are appearing after other * RPATHs; this is just a minor issue but usually unwanted * 0x0010 ... the RPATH is empty; there is no reason for such RPATHs * and they cause unneeded work while loading libraries * 0x0020 ... an RPATH references '..' of an absolute path; this will break * the functionality when the path before '..' is a symlink * * * Examples: * - to ignore standard and empty RPATHs, execute 'rpmbuild' like * $ QA_RPATHS=$(( 0x0001|0x0010 )) rpmbuild my-package.src.rpm * - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like * $ RPM_BUILD_ROOT= /usr/lib/rpm/check-rpaths * ******************************************************************************* ERROR 0001: file '/usr/lib64/ghc-8.10.7/libHSvoid-0.7.3-3i5hA4IaTNJ61Beo1uYNP7-ghc8.10.7.so' contains a standard runpath '/usr/lib64' in [/usr/lib64:/usr/lib64/ghc-8.10.7/rts] error: Bad exit status from /var/tmp/rpm-tmp.b2dZpL (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.b2dZpL (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ghc-void.spec