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-data-default-instances-containers.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-470953-23339/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-data-default-instances-containers.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-data-default-instances-containers-0.0.1-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-data-default-instances-containers.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-470953-23339/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-data-default-instances-containers.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.wLwqPC + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf data-default-instances-containers-0.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/data-default-instances-containers-0.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd data-default-instances-containers-0.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.QKbBoz + 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 data-default-instances-containers-0.0.1 ++ 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 -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-data-default-instances-containers '--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/data-default-instances-containers-0.0.1 --global Configuring data-default-instances-containers-0.0.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for data-default-instances-containers-0.0.1.. Building library for data-default-instances-containers-0.0.1.. ghc: setNumCapabilities: not supported on this platform [1 of 1] Compiling Data.Default.Instances.Containers /tmp/ghc133146_0/ghc_2.hc: In function ‘r2dt_entry’: /tmp/ghc133146_0/ghc_2.hc:52:1: error: warning: label ‘_c2ee’ defined but not used [-Wunused-label] 52 | _c2ee: | ^~~~~ | 52 | _c2ee: | ^ /tmp/ghc133146_0/ghc_2.hc: In function ‘datazmdefaultzminstanceszmcontainerszm0zi0zi1zm9wZZyBKTvvgt9uCcnvacByj_DataziDefaultziInstancesziContainers_zdfDefaultTree_entry’: /tmp/ghc133146_0/ghc_2.hc:85:1: error: warning: label ‘_c2en’ defined but not used [-Wunused-label] 85 | _c2en: | ^~~~~ | 85 | _c2en: | ^ /tmp/ghc133146_0/ghc_6.hc: In function ‘r2dt_entry’: /tmp/ghc133146_0/ghc_6.hc:52:1: error: warning: label ‘_c2ew’ defined but not used [-Wunused-label] 52 | _c2ew: | ^~~~~ | 52 | _c2ew: | ^ /tmp/ghc133146_0/ghc_6.hc: In function ‘datazmdefaultzminstanceszmcontainerszm0zi0zi1zm9wZZyBKTvvgt9uCcnvacByj_DataziDefaultziInstancesziContainers_zdfDefaultTree_entry’: /tmp/ghc133146_0/ghc_6.hc:85:1: error: warning: label ‘_c2eF’ defined but not used [-Wunused-label] 85 | _c2eF: | ^~~~~ | 85 | _c2eF: | ^ ghc: setNumCapabilities: not supported on this platform [1 of 1] Compiling Data.Default.Instances.Containers /tmp/ghc133161_0/ghc_2.hc: In function ‘r2dt_entry’: /tmp/ghc133161_0/ghc_2.hc:78:1: error: warning: label ‘_c2eh’ defined but not used [-Wunused-label] 78 | _c2eh: | ^~~~~ | 78 | _c2eh: | ^ /tmp/ghc133161_0/ghc_2.hc: In function ‘datazmdefaultzminstanceszmcontainerszm0zi0zi1zm9wZZyBKTvvgt9uCcnvacByj_DataziDefaultziInstancesziContainers_zdfDefaultTree_entry’: /tmp/ghc133161_0/ghc_2.hc:120:1: error: warning: label ‘_c2es’ defined but not used [-Wunused-label] 120 | _c2es: | ^~~~~ | 120 | _c2es: | ^ + '[' -n dist/build/libHSdata-default-instances-containers-0.0.1-9wZyBKTvvgt9uCcnvacByj-ghc8.10.7.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for data-default-instances-containers-0.0.1.. Running Haddock on library for data-default-instances-containers-0.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, containers-0.6.5.1, data-default-class-0.1.2.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: 50% ( 1 / 2) in 'Data.Default.Instances.Containers' Missing documentation for: Module header Warning: Data.Default.Instances.Containers: could not find link destinations for: - Data.Default.Class.Default - Data.Set.Internal.Set - Data.Map.Internal.Map - Data.IntMap.Internal.IntMap - Data.IntSet.Internal.IntSet - Data.Sequence.Internal.Seq - Data.Tree.Tree - Data.Default.Class.def Documentation created: dist/doc/html/data-default-instances-containers/index.html, dist/doc/html/data-default-instances-containers/data-default-instances-containers.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.X0uOZu + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-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 data-default-instances-containers-0.0.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64 Installing library in /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64/usr/lib64/ghc-8.10.7/data-default-instances-containers-0.0.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-8.10.7/lib ']' + '[' -d data-default-instances-containers-0.0.1.conf ']' + install -D --mode=0644 data-default-instances-containers-0.0.1.conf /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64/usr/lib64/ghc-8.10.7/package.conf.d/data-default-instances-containers-0.0.1.conf + '[' -d /usr/lib64/ghc-8.10.7/lib ']' ++ ls /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64/usr/lib64/ghc-8.10.7/package.conf.d/data-default-instances-containers-0.0.1.conf + '[' -z /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64/usr/lib64/ghc-8.10.7/package.conf.d/data-default-instances-containers-0.0.1.conf ']' + rm -f ghc-data-default-instances-containers.files ghc-data-default-instances-containers-doc.files + touch ghc-data-default-instances-containers.files ghc-data-default-instances-containers-doc.files + for i in /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64/usr/lib64/ghc-8.10.7${subsubdir}/libHSdata-default-instances-containers-0.0.1-*ghc8.10.7.so + '[' -x /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64/usr/lib64/ghc-8.10.7/libHSdata-default-instances-containers-0.0.1-9wZyBKTvvgt9uCcnvacByj-ghc8.10.7.so ']' + echo /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64/usr/lib64/ghc-8.10.7/libHSdata-default-instances-containers-0.0.1-9wZyBKTvvgt9uCcnvacByj-ghc8.10.7.so + pkgdir=/usr/lib64/ghc-8.10.7/data-default-instances-containers-0.0.1 + '[' -d /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64/usr/lib64/ghc-8.10.7/data-default-instances-containers-0.0.1 ']' + find /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64/usr/lib64/ghc-8.10.7/data-default-instances-containers-0.0.1 -type d -fprintf ghc-data-default-instances-containers-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-data-default-instances-containers-prof.files -o -fprint ghc-data-default-instances-containers-devel.files + ls /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64/usr/lib64/ghc-8.10.7/package.conf.d/data-default-instances-containers-0.0.1.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/data-default-instances-containers-0.0.1 + '[' -d /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64/usr/share/doc/ghc/html/libraries/data-default-instances-containers-0.0.1 ']' + echo /usr/share/doc/ghc/html/libraries/data-default-instances-containers-0.0.1 + for i in ghc-data-default-instances-containers.files ghc-data-default-instances-containers-devel.files ghc-data-default-instances-containers-doc.files ghc-data-default-instances-containers-prof.files + '[' -f ghc-data-default-instances-containers.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64!!g' ghc-data-default-instances-containers.files + for i in ghc-data-default-instances-containers.files ghc-data-default-instances-containers-devel.files ghc-data-default-instances-containers-doc.files ghc-data-default-instances-containers-prof.files + '[' -f ghc-data-default-instances-containers-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64!!g' ghc-data-default-instances-containers-devel.files + for i in ghc-data-default-instances-containers.files ghc-data-default-instances-containers-devel.files ghc-data-default-instances-containers-doc.files ghc-data-default-instances-containers-prof.files + '[' -f ghc-data-default-instances-containers-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64!!g' ghc-data-default-instances-containers-doc.files + for i in ghc-data-default-instances-containers.files ghc-data-default-instances-containers-devel.files ghc-data-default-instances-containers-doc.files ghc-data-default-instances-containers-prof.files + '[' -f ghc-data-default-instances-containers-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64!!g' ghc-data-default-instances-containers-prof.files + echo 'running ghc_delete_rpaths:' running ghc_delete_rpaths: + type chrpath ++ find /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64/usr/lib64/ghc-8.10.7/libHSdata-default-instances-containers-0.0.1-9wZyBKTvvgt9uCcnvacByj-ghc8.10.7.so ']' ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64/usr/lib64/ghc-8.10.7/libHSdata-default-instances-containers-0.0.1-9wZyBKTvvgt9uCcnvacByj-ghc8.10.7.so: R.*PATH=@@' ++ chrpath /builddir/build/BUILDROOT/ghc-data-default-instances-containers-0.0.1-1.fc38.riscv64/usr/lib64/ghc-8.10.7/libHSdata-default-instances-containers-0.0.1-9wZyBKTvvgt9uCcnvacByj-ghc8.10.7.so + 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/libHSdata-default-instances-containers-0.0.1-9wZyBKTvvgt9uCcnvacByj-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.X0uOZu (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.X0uOZu (%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-data-default-instances-containers.spec