Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-zip-archive.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-222405-81005/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-zip-archive.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ghc-zip-archive-0.4.3.2-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-zip-archive.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-222405-81005/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=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-zip-archive.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jMeWcg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf zip-archive-0.4.3.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/zip-archive-0.4.3.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd zip-archive-0.4.3.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + dos2unix -k -n /builddir/build/SOURCES/zip-archive-0.4.3.2.cabal zip-archive.cabal dos2unix: converting file /builddir/build/SOURCES/zip-archive-0.4.3.2.cabal to file zip-archive.cabal in Unix format... + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.jX41mR + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 zip-archive-0.4.3.2 ++ 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.markdown -a -x README.markdown ']' + for f in $(ls | grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)') + '[' -f changelog -a -x changelog ']' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,--build-id=sha1' + '[' -f Setup.hs -o -f Setup.lhs ']' + '[' -d /usr/lib64/ghc-9.8.4/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.10.3.0 + '[' -x Setup ']' + LANG=C.utf8 ++ echo ' -O2' -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' -Wl,--as-needed -Wl,--build-id=sha1 ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/ghc-zip-archive '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.8.4/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,-D_FORTIFY_SOURCE=2 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -optc-fstack-protector-strong -optc-mbranch-protection=standard -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optl-Wl,-z,relro -optl-Wl,--as-needed -optl-Wl,--build-id=sha1 -fhide-source-paths' --enable-shared --htmldir=/usr/share/doc/ghc/html/libraries/zip-archive-0.4.3.2 --global Configuring zip-archive-0.4.3.2... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j8 Preprocessing library for zip-archive-0.4.3.2.. Building library for zip-archive-0.4.3.2.. [1 of 1] Compiling Codec.Archive.Zip Preprocessing test suite 'test-zip-archive' for zip-archive-0.4.3.2.. Building test suite 'test-zip-archive' for zip-archive-0.4.3.2.. [1 of 1] Compiling Main [2 of 2] Linking dist/build/test-zip-archive/test-zip-archive + '[' -n dist/build/libHSzip-archive-0.4.3.2-A3m9TXirlNJFYKQ9Z7BZ6q-ghc9.8.4.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for zip-archive-0.4.3.2.. Running Haddock on library for zip-archive-0.4.3.2.. Warning: The documentation for the following packages are not installed. No links will be generated to these packages: array-0.5.8.0, base-4.19.2.0, binary-0.8.9.1, bytestring-0.12.1.0, containers-0.6.8, deepseq-1.5.1.0, digest-0.0.2.1, directory-1.3.8.5, exceptions-0.10.7, filepath-1.4.301.0, ghc-bignum-1.3, ghc-boot-th-9.8.4, ghc-prim-0.11.0, mtl-2.3.1, pretty-1.1.3.6, stm-2.5.3.1, template-haskell-2.21.0.0, text-2.1.1, time-1.12.2, transformers-0.6.1.0, unix-2.8.6.0, zlib-0.7.1.0 Warning: --source-* options are ignored when --hyperlinked-source is enabled. [1 of 1] Compiling Codec.Archive.Zip ( src/Codec/Archive/Zip.hs, nothing ) Haddock coverage: Warning: 'Archive' is ambiguous. It is defined * at src/Codec/Archive/Zip.hs:136:16 * at src/Codec/Archive/Zip.hs:136:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Codec/Archive/Zip.hs:136:1 Warning: 'Entry' is ambiguous. It is defined * at src/Codec/Archive/Zip.hs:147:14 * at src/Codec/Archive/Zip.hs:147:1 You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined at src/Codec/Archive/Zip.hs:147:1 Warning: 'OptPreserveSymbolicLinks' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'CMode' is ambiguous. It is defined * in ‘System.Posix.Types’ * in ‘System.Posix.Types’ You may be able to disambiguate the identifier by qualifying it or by specifying the type/value namespace explicitly. Defaulting to the one defined in ‘System.Posix.Types’ Warning: 'FileMode' is out of scope. If you qualify the identifier, haddock can try to link it anyway. Warning: 'ClockTime' is out of scope. If you qualify the identifier, haddock can try to link it anyway. 93% ( 28 / 30) in 'Codec.Archive.Zip' Missing documentation for: EncryptionMethod (src/Codec/Archive/Zip.hs:168) ZipException (src/Codec/Archive/Zip.hs:185) Warning: Codec.Archive.Zip: could not find link destinations for: - GHC.Classes.== - GHC.Classes.Eq - GHC.Base.Monad - Data.Data.Data - GHC.Read.Read - GHC.Show.Show - Data.Typeable.Internal.Typeable - GHC.Types.Bool - GHC.Base.String - GHC.Types.Int - GHC.Num.Integer.Integer - GHC.Maybe.Maybe - GHC.Types.IO - GHC.Word.Word8 - GHC.Word.Word16 - GHC.Word.Word32 - Data.Either.Either - GHC.IO.FilePath - GHC.Read.readList - GHC.Read.readsPrec - GHC.Real./ - GHC.Show.show - GHC.Show.showList - GHC.Show.showsPrec - GHC.Show.ShowS - Text.ParserCombinators.ReadP.ReadS - GHC.Classes./= - Text.ParserCombinators.ReadPrec.ReadPrec - Data.Binary.Class.Binary - Data.Binary.Class.get - Data.Binary.Class.put - Data.Binary.Class.putList - Data.Binary.Get.Internal.Get - Data.Binary.Put.Put - Data.ByteString.Lazy.Internal.ByteString - Data.Data.Constr - Data.Data.dataCast1 - Data.Data.dataCast2 - Data.Data.dataTypeOf - Data.Data.gfoldl - Data.Data.gmapM - Data.Data.gmapMo - Data.Data.gmapMp - Data.Data.gmapQ - Data.Data.gmapQi - Data.Data.gmapQl - Data.Data.gmapQr - Data.Data.gmapT - Data.Data.gunfold - Data.Data.toConstr - Data.Data.DataType - GHC.Base.MonadPlus - GHC.Exception.Type.SomeException - GHC.Exception.Type.Exception - GHC.Exception.Type.displayException - GHC.Exception.Type.fromException - GHC.Exception.Type.toException - System.Posix.Types.CMode - GHC.Read.readPrec - GHC.Read.readListPrec Documentation created: dist/doc/html/zip-archive/, dist/doc/html/zip-archive/zip-archive.txt Preprocessing test suite 'test-zip-archive' for zip-archive-0.4.3.2.. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WBZHW3 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64 + cd zip-archive-0.4.3.2 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64 Installing library in /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/zip-archive-0.4.3.2 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' -d zip-archive-0.4.3.2.conf ']' + install -D --mode=0644 zip-archive-0.4.3.2.conf /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/package.conf.d/zip-archive-0.4.3.2.conf + '[' -d /usr/lib64/ghc-9.8.4/lib ']' + subsubdir=/lib + '[' '!' -f /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/package.conf.d/zip-archive-0.4.3.2.conf ']' + rm -f ghc-zip-archive.files ghc-zip-archive-doc.files + touch ghc-zip-archive.files ghc-zip-archive-doc.files + for i in /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64/usr/lib64/ghc-9.8.4${subsubdir}/libHSzip-archive-0.4.3.2-*ghc9.8.4.so + '[' -x /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/libHSzip-archive-0.4.3.2-A3m9TXirlNJFYKQ9Z7BZ6q-ghc9.8.4.so ']' + echo /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/libHSzip-archive-0.4.3.2-A3m9TXirlNJFYKQ9Z7BZ6q-ghc9.8.4.so + pkgdir=/builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/zip-archive-0.4.3.2 + '[' '!' -d /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/zip-archive-0.4.3.2 ']' + '[' -d /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/zip-archive-0.4.3.2 ']' + find /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/zip-archive-0.4.3.2 -type d -fprintf ghc-zip-archive-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-zip-archive-prof.files -o -fprint ghc-zip-archive-devel.files + ls /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/package.conf.d/zip-archive-0.4.3.2.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/zip-archive-0.4.3.2 + '[' -d /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64/usr/share/doc/ghc/html/libraries/zip-archive-0.4.3.2 ']' + echo /usr/share/doc/ghc/html/libraries/zip-archive-0.4.3.2 + for i in ghc-zip-archive.files ghc-zip-archive-devel.files ghc-zip-archive-doc.files ghc-zip-archive-prof.files + '[' -f ghc-zip-archive.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64!!g' ghc-zip-archive.files + for i in ghc-zip-archive.files ghc-zip-archive-devel.files ghc-zip-archive-doc.files ghc-zip-archive-prof.files + '[' -f ghc-zip-archive-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64!!g' ghc-zip-archive-devel.files + for i in ghc-zip-archive.files ghc-zip-archive-devel.files ghc-zip-archive-doc.files ghc-zip-archive-prof.files + '[' -f ghc-zip-archive-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64!!g' ghc-zip-archive-doc.files + for i in ghc-zip-archive.files ghc-zip-archive-devel.files ghc-zip-archive-doc.files ghc-zip-archive-prof.files + '[' -f ghc-zip-archive-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64!!g' ghc-zip-archive-prof.files running ghc_delete_rpaths: + echo 'running ghc_delete_rpaths:' + type chrpath ++ find /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/libHSzip-archive-0.4.3.2-A3m9TXirlNJFYKQ9Z7BZ6q-ghc9.8.4.so ']' ++ chrpath /builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/libHSzip-archive-0.4.3.2-A3m9TXirlNJFYKQ9Z7BZ6q-ghc9.8.4.so ++ sed -e 's@^/builddir/build/BUILDROOT/ghc-zip-archive-0.4.3.2-1.oc9.aarch64/usr/lib64/ghc-9.8.4/lib/libHSzip-archive-0.4.3.2-A3m9TXirlNJFYKQ9Z7BZ6q-ghc9.8.4.so: R.*PATH=@@' + rpath=/usr/lib64/ghc-9.8.4/lib/aarch64-linux-ghc-9.8.4:/usr/lib64/ghc-9.8.4/lib:/usr/lib64 + case "$rpath" in + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/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-9.8.4/lib/libHSzip-archive-0.4.3.2-A3m9TXirlNJFYKQ9Z7BZ6q-ghc9.8.4.so' contains a standard runpath '/usr/lib64' in [/usr/lib64/ghc-9.8.4/lib/aarch64-linux-ghc-9.8.4:/usr/lib64/ghc-9.8.4/lib:/usr/lib64] error: Bad exit status from /var/tmp/rpm-tmp.WBZHW3 (%install) Bad exit status from /var/tmp/rpm-tmp.WBZHW3 (%install) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-zip-archive.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 597, 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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/ghc-zip-archive.spec