Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ghc-magic.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1671915598.003197/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zuuer7de:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zuuer7de:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b3147065ebeb4f1582847e12f659f9a0', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1671915598.003197/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zuuer7de:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/ghc-magic.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/ghc-magic-1.1-21.fc38.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/ghc-magic.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1671915598.003197/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=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zuuer7de:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zuuer7de:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9929db0b28f84f95a8faac237666c19a', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1671915598.003197/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zuuer7de:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/ghc-magic.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GvDp00 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf magic-1.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/magic-1.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd magic-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.WLl5sW + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 magic-1.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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + 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 ']' + '[' -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,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ++ 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-magic '--libsubdir=$compiler/$pkgid' '--datasubdir=$pkgid' '--libexecsubdir=$pkgid' --ghc --dynlibdir=/usr/lib64 --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/redhat/redhat-hardened-cc1 -optc-fstack-protector-strong -optc-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -optc-m64 -optc-mtune=generic -optc-fasynchronous-unwind-tables -optc-fstack-clash-protection -optc-fcf-protection -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/magic-1.1 --global Configuring magic-1.1... + '[' -x Setup ']' + LANG=C.utf8 + ./Setup build Preprocessing library for magic-1.1.. Building library for magic-1.1.. [1 of 7] Compiling Magic.Data [2 of 7] Compiling Magic.TypesLL [3 of 7] Compiling Magic.Types [4 of 7] Compiling Magic.Utils [5 of 7] Compiling Magic.Operations [6 of 7] Compiling Magic.Init [7 of 7] Compiling Magic [1 of 7] Compiling Magic.Data [2 of 7] Compiling Magic.TypesLL [3 of 7] Compiling Magic.Types [4 of 7] Compiling Magic.Utils [5 of 7] Compiling Magic.Operations [6 of 7] Compiling Magic.Init [7 of 7] Compiling Magic + '[' -n dist/build/libHSmagic-1.1-7v9QDZQBxKS8PW1Xt3e4a7-ghc8.10.7.so ']' + '[' -x Setup ']' + LANG=C.utf8 + ./Setup haddock --html --hyperlink-source --hoogle Preprocessing library for magic-1.1.. Running Haddock on library for magic-1.1.. 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: 50% ( 1 / 2) in 'Magic.Data' Missing documentation for: MagicFlag (Magic/Data.hsc:22) 66% ( 2 / 3) in 'Magic.Types' Missing documentation for: MagicFlag (Magic/Data.hsc:22) 100% ( 9 / 9) in 'Magic.Operations' 100% ( 4 / 4) in 'Magic.Init' 100% ( 7 / 7) in 'Magic' Warning: Magic.Data: could not find link destinations for: - GHC.Types.Int - 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.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.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList Warning: Magic.Types: could not find link destinations for: - GHC.ForeignPtr.ForeignPtr - Magic.TypesLL.CMagic - GHC.Types.Int - 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.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.Show.Show - GHC.Show.showsPrec - GHC.Show.ShowS - GHC.Show.show - GHC.Base.String - GHC.Show.showList Warning: Magic.Operations: could not find link destinations for: - GHC.IO.FilePath - GHC.Types.IO - GHC.Base.String - Foreign.C.String.CStringLen - GHC.Maybe.Maybe Warning: Magic.Init: could not find link destinations for: - GHC.Types.IO - GHC.Base.String Documentation created: dist/doc/html/magic/index.html, dist/doc/html/magic/magic.txt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rZV5hM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64 + 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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 magic-1.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup copy --destdir=/builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64 Installing library in /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/lib64/ghc-8.10.7/magic-1.1 + '[' -x Setup ']' + LANG=C.utf8 + ./Setup register --gen-pkg-config + '[' -d magic-1.1.conf ']' + install -D --mode=0644 magic-1.1.conf /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/lib64/ghc-8.10.7/package.conf.d/magic-1.1.conf ++ ls /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/lib64/ghc-8.10.7/package.conf.d/magic-1.1.conf + '[' -z /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/lib64/ghc-8.10.7/package.conf.d/magic-1.1.conf ']' + rm -f ghc-magic.files ghc-magic-doc.files + touch ghc-magic.files ghc-magic-doc.files + for i in /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/lib64/libHSmagic-1.1-*ghc8.10.7.so + '[' -x /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/lib64/libHSmagic-1.1-7v9QDZQBxKS8PW1Xt3e4a7-ghc8.10.7.so ']' + echo /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/lib64/libHSmagic-1.1-7v9QDZQBxKS8PW1Xt3e4a7-ghc8.10.7.so + pkgdir=/usr/lib64/ghc-8.10.7/magic-1.1 + '[' -d /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/lib64/ghc-8.10.7/magic-1.1 ']' + find /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/lib64/ghc-8.10.7/magic-1.1 -type d -fprintf ghc-magic-devel.files '%%dir %p\n' -o '(' -name '*.p_hi' -o -name 'libHS*_p.a' ')' -fprint ghc-magic-prof.files -o -fprint ghc-magic-devel.files + ls /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/lib64/ghc-8.10.7/package.conf.d/magic-1.1.conf + haddock_dir=/usr/share/doc/ghc/html/libraries/magic-1.1 + '[' -d /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/share/doc/ghc/html/libraries/magic-1.1 ']' + echo /usr/share/doc/ghc/html/libraries/magic-1.1 + for i in ghc-magic.files ghc-magic-devel.files ghc-magic-doc.files ghc-magic-prof.files + '[' -f ghc-magic.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64!!g' ghc-magic.files + for i in ghc-magic.files ghc-magic-devel.files ghc-magic-doc.files ghc-magic-prof.files + '[' -f ghc-magic-devel.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64!!g' ghc-magic-devel.files + for i in ghc-magic.files ghc-magic-devel.files ghc-magic-doc.files ghc-magic-prof.files + '[' -f ghc-magic-doc.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64!!g' ghc-magic-doc.files + for i in ghc-magic.files ghc-magic-devel.files ghc-magic-doc.files ghc-magic-prof.files + '[' -f ghc-magic-prof.files ']' + sed -i -e 's!/builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64!!g' ghc-magic-prof.files + echo 'running ghc_delete_rpaths:' running ghc_delete_rpaths: + type chrpath ++ find /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64 -type f -executable -exec sh -c 'file {} | grep -q '\''dynamically linked'\''' ';' -print + for i in $(find /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64 -type f -executable -exec sh -c "file {} | grep -q 'dynamically linked'" \; -print) + '[' -x /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/lib64/libHSmagic-1.1-7v9QDZQBxKS8PW1Xt3e4a7-ghc8.10.7.so ']' + chrpath -d /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/lib64/libHSmagic-1.1-7v9QDZQBxKS8PW1Xt3e4a7-ghc8.10.7.so + /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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: ghc-magic-1.1-21.fc38.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ovwftH + umask 022 + cd /builddir/build/BUILD + cd magic-1.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/share/licenses/ghc-magic + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/share/licenses/ghc-magic + cp -pr COPYING /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/share/licenses/ghc-magic + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-magic = 1.1-21.fc38 ghc-magic(x86-64) = 1.1-21.fc38 libHSmagic-1.1-7v9QDZQBxKS8PW1Xt3e4a7-ghc8.10.7.so()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libHSbase-4.14.3.0-ghc8.10.7.so()(64bit) libHSghc-prim-0.6.1-ghc8.10.7.so()(64bit) libHSinteger-gmp-1.0.3.0-ghc8.10.7.so()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libgmp.so.10()(64bit) libm.so.6()(64bit) libmagic.so.1()(64bit) rtld(GNU_HASH) Processing files: ghc-magic-devel-1.1-21.fc38.x86_64 Provides: ghc-devel(magic-1.1-7v9QDZQBxKS8PW1Xt3e4a7) ghc-magic-devel = 1.1-21.fc38 ghc-magic-devel(x86-64) = 1.1-21.fc38 ghc-magic-static = 1.1-21.fc38 ghc-magic-static(x86-64) = 1.1-21.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-devel(base-4.14.3.0) Processing files: ghc-magic-doc-1.1-21.fc38.noarch Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KISg80 + umask 022 + cd /builddir/build/BUILD + cd magic-1.1 + LICENSEDIR=/builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/share/licenses/ghc-magic-doc + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/share/licenses/ghc-magic-doc + cp -pr COPYING /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64/usr/share/licenses/ghc-magic-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: ghc-magic-doc = 1.1-21.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: ghc-magic-prof-1.1-21.fc38.x86_64 Provides: ghc-magic-prof = 1.1-21.fc38 ghc-magic-prof(x86-64) = 1.1-21.fc38 ghc-prof(magic-1.1-7v9QDZQBxKS8PW1Xt3e4a7) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ghc-prof(base-4.14.3.0) Supplements: (ghc-magic-devel and ghc-prof) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64 Wrote: /builddir/build/RPMS/ghc-magic-devel-1.1-21.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ghc-magic-prof-1.1-21.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ghc-magic-1.1-21.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/ghc-magic-doc-1.1-21.fc38.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Dst7NR + umask 022 + cd /builddir/build/BUILD + cd magic-1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/ghc-magic-1.1-21.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.OpZZWL + umask 022 + cd /builddir/build/BUILD + rm -rf magic-1.1 magic-1.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0