Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pandoc-cli.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1698667268.955514/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pandoc-cli.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/pandoc-cli-0.1.1.1-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pandoc-cli.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1698667268.955514/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/pandoc-cli.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/pandoc-cli-0.1.1.1-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pandoc-cli.spec'], chrootPath='/var/lib/mock/openeuler-23.09-x86_64-1698667268.955514/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=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/pandoc-cli.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1L39Ra + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pandoc-cli-0.1.1.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pandoc-cli-0.1.1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pandoc-cli-0.1.1.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.pKFBGC + umask 022 + cd /builddir/build/BUILD + cd pandoc-cli-0.1.1.1 ++ ls ++ grep -i -e '^\(ANNOUNCE\|AUTHORS\|CHANGELOG\|CHANGES\|CONTRIBUTORS\|README\|TODO\)' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + export 'LDFLAGS=-Wl,-z,relro ' + LDFLAGS='-Wl,-z,relro ' + '[' -f Setup.hs -o -f Setup.lhs ']' + cp /usr/share/ghc-rpm-macros/Setup.hs . + '[' -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' -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ++ sed -e 's/ / -optc/g' ++ echo ' -Wl,-z,relro' ++ sed -e 's/ / -optl/g' + ./Setup configure --prefix=/usr --libdir=/usr/lib64 --docdir=/usr/share/licenses/pandoc-cli '--libsubdir=$compiler/lib/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64/ghc-9.4.5/lib --global '--ghc-options= -optc-O2 -optc-g -optc-pipe -optc-Wall -optc-Werror=format-security -optc-Wp,-D_FORTIFY_SOURCE=2 -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-fstack-protector-strong -optc-grecord-gcc-switches -optc-specs=/usr/lib/rpm/generic-hardened-cc1 -optc-m64 -optc-mtune=generic -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optl-Wl,-z,relro -fhide-source-paths' -f+lua -f+server Configuring pandoc-cli-0.1.1.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build -j4 -v Component build order: executable 'pandoc' /usr/bin/ghc-pkg init dist/package.conf.inplace creating dist/build/pandoc creating dist/build/pandoc/autogen creating dist/build/pandoc/autogen Preprocessing executable 'pandoc' for pandoc-cli-0.1.1.1.. Building executable 'pandoc' for pandoc-cli-0.1.1.1.. creating dist/build/pandoc creating dist/build/pandoc/pandoc-tmp /usr/bin/ghc --make -no-link -fbuilding-cabal-package -O -j4 -static -outputdir dist/build/pandoc/pandoc-tmp -odir dist/build/pandoc/pandoc-tmp -hidir dist/build/pandoc/pandoc-tmp -stubdir dist/build/pandoc/pandoc-tmp -i -idist/build/pandoc/pandoc-tmp -isrc -iserver -ilua -idist/build/pandoc/autogen -idist/build/global-autogen -Idist/build/pandoc/autogen -Idist/build/global-autogen -Idist/build/pandoc/pandoc-tmp -optP-include -optPdist/build/pandoc/autogen/cabal_macros.h -hide-all-packages -Wmissing-home-modules -no-user-package-db -package-db dist/package.conf.inplace -package-id base-4.17.1.0 -package-id hslua-cli-1.4.1-EEaz0ST6ErtHZSjIcYe3Kp -package-id pandoc-3.1.3-9nraykmcc4r6ODBropVW89 -package-id pandoc-lua-engine-0.2.0.1-BnlSmqwuAoKIFOajpWOT4m -package-id pandoc-server-0.1.0.3-93Dp3SUNjd2I6ATWv0WBQA -package-id safe-0.3.19-3Ab0OpSRliCKMhc0t4Nhds -package-id temporary-1.3-9rLWZg49Shk3gKExST32p -package-id text-2.0.2 -package-id wai-extra-3.1.13.0-JdR1hionUDyLk9xQJA1Otq -package-id warp-3.3.25-KZZRV7XYBJtFEuSh8TcWRU -XHaskell2010 src/pandoc.hs PandocCLI.Lua PandocCLI.Server -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wcpp-undef -Wincomplete-uni-patterns -Widentities -Wpartial-fields -Wmissing-signatures -fhide-source-paths -rtsopts '-with-rtsopts=-A8m' -threaded -Wunused-packages -Winvalid-haddock -optc-O2 -optc-g -optc-pipe -optc-Wall '-optc-Werror=format-security' '-optc-Wp,-D_FORTIFY_SOURCE=2' -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-fstack-protector-strong -optc-grecord-gcc-switches '-optc-specs=/usr/lib/rpm/generic-hardened-cc1' -optc-m64 '-optc-mtune=generic' -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optl-Wl,-z,relro -fhide-source-paths [1 of 3] Compiling PandocCLI.Lua [2 of 3] Compiling PandocCLI.Server [3 of 3] Compiling Main Linking... /usr/bin/ghc --make -fbuilding-cabal-package -O -static -outputdir dist/build/pandoc/pandoc-tmp -odir dist/build/pandoc/pandoc-tmp -hidir dist/build/pandoc/pandoc-tmp -stubdir dist/build/pandoc/pandoc-tmp -i -idist/build/pandoc/pandoc-tmp -isrc -iserver -ilua -idist/build/pandoc/autogen -idist/build/global-autogen -Idist/build/pandoc/autogen -Idist/build/global-autogen -Idist/build/pandoc/pandoc-tmp -optP-include -optPdist/build/pandoc/autogen/cabal_macros.h -hide-all-packages -Wmissing-home-modules -no-user-package-db -package-db dist/package.conf.inplace -package-id base-4.17.1.0 -package-id hslua-cli-1.4.1-EEaz0ST6ErtHZSjIcYe3Kp -package-id pandoc-3.1.3-9nraykmcc4r6ODBropVW89 -package-id pandoc-lua-engine-0.2.0.1-BnlSmqwuAoKIFOajpWOT4m -package-id pandoc-server-0.1.0.3-93Dp3SUNjd2I6ATWv0WBQA -package-id safe-0.3.19-3Ab0OpSRliCKMhc0t4Nhds -package-id temporary-1.3-9rLWZg49Shk3gKExST32p -package-id text-2.0.2 -package-id wai-extra-3.1.13.0-JdR1hionUDyLk9xQJA1Otq -package-id warp-3.3.25-KZZRV7XYBJtFEuSh8TcWRU -XHaskell2010 src/pandoc.hs PandocCLI.Lua PandocCLI.Server -o dist/build/pandoc/pandoc -Wall -fno-warn-unused-do-bind -Wincomplete-record-updates -Wnoncanonical-monad-instances -Wcpp-undef -Wincomplete-uni-patterns -Widentities -Wpartial-fields -Wmissing-signatures -fhide-source-paths -rtsopts '-with-rtsopts=-A8m' -threaded -Wunused-packages -Winvalid-haddock -optc-O2 -optc-g -optc-pipe -optc-Wall '-optc-Werror=format-security' '-optc-Wp,-D_FORTIFY_SOURCE=2' -optc-Wp,-D_GLIBCXX_ASSERTIONS -optc-fstack-protector-strong -optc-grecord-gcc-switches '-optc-specs=/usr/lib/rpm/generic-hardened-cc1' -optc-m64 '-optc-mtune=generic' -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optl-Wl,-z,relro -fhide-source-paths [4 of 4] Linking dist/build/pandoc/pandoc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NX0KcE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64 ++ dirname /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64 + cd pandoc-cli-0.1.1.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64 -v directory dist/doc/html/pandoc-cli does exist: False creating /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/share/licenses/pandoc-cli creating /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/share/licenses creating /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/share creating /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr creating /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/share creating /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/share/licenses creating /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/share/licenses/pandoc-cli Installing COPYING.md to /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/share/licenses/pandoc-cli/COPYING.md Installing executable pandoc in /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/bin Warning: The directory /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/bin is not in the system search path. creating /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/bin Installing executable dist/build/pandoc/pandoc to /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/bin/pandoc /usr/bin/strip /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/bin/pandoc + echo 'running ghc_delete_rpaths:' running ghc_delete_rpaths: + type chrpath ++ find /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/bin/pandoc ']' ++ chrpath /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/bin/pandoc ++ sed -e 's@^/builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/bin/pandoc: R.*PATH=@@' + rpath='/builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/bin/pandoc: no rpath or runpath tag found.' + case "$rpath" in + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/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/brp-python-bytecompile /usr/bin/python 1 1 + /usr/lib/rpm/brp-python-hardlink Processing files: pandoc-cli-0.1.1.1-1.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.HUGhgT + umask 022 + cd /builddir/build/BUILD + cd pandoc-cli-0.1.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/share/licenses/pandoc-cli + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/share/licenses/pandoc-cli + cp -pr COPYING.md /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64/usr/share/licenses/pandoc-cli + RPM_EC=0 ++ jobs -p + exit 0 Provides: pandoc = 3.0.1 pandoc-cli = 0.1.1.1-1 pandoc-cli(x86-64) = 0.1.1.1-1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libffi.so.8()(64bit) libffi.so.8(LIBFFI_BASE_8.0)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.38)(64bit) libnuma.so.1()(64bit) libnuma.so.1(libnuma_1.1)(64bit) libnuma.so.1(libnuma_1.2)(64bit) libyaml-0.so.2()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Obsoletes: pandoc < 3 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64 Wrote: /builddir/build/RPMS/pandoc-cli-0.1.1.1-1.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.SCtFWz + umask 022 + cd /builddir/build/BUILD + cd pandoc-cli-0.1.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pandoc-cli-0.1.1.1-1.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.EkYjMA + umask 022 + cd /builddir/build/BUILD + rm -rf pandoc-cli-0.1.1.1 pandoc-cli-0.1.1.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0