Mock Version: 1.4.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/bbswitch-kmod.spec'], chrootPath='/var/lib/mock/911727-fedora-30-x86_64-1558381982.226920/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8apwk2p0:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8apwk2p0:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5bab356ef84446cf9442c8455d56a23c', '-D', '/var/lib/mock/911727-fedora-30-x86_64-1558381982.226920/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8apwk2p0:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/bbswitch-kmod.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/bbswitch-kmod-0.8-2.fc30.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/bbswitch-kmod.spec'], chrootPath='/var/lib/mock/911727-fedora-30-x86_64-1558381982.226920/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8apwk2p0:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8apwk2p0:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5352addb75d84510af227ed8c621200a', '-D', '/var/lib/mock/911727-fedora-30-x86_64-1558381982.226920/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.8apwk2p0:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/bbswitch-kmod.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bXpUAJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bbswitch-kmod-0.8 + /usr/bin/mkdir -p bbswitch-kmod-0.8 + cd bbswitch-kmod-0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar xf /builddir/build/SOURCES/v0.8.tar.gz + cp bbswitch-0.8/COPYING bbswitch-0.8/NEWS bbswitch-0.8/README.md . + kmodtool --target x86_64 --repo '%{repo}' --kmodname bbswitch-kmod --akmod %global akmod_install mkdir -p $RPM_BUILD_ROOT/%{_usrsrc}/akmods/; \rpmbuild --define "_sourcedir %{_sourcedir}" \--define "_srcrpmdir $RPM_BUILD_ROOT/%{_usrsrc}/akmods/" \%{?dist:--define 'dist %{dist}}' \-bs --nodeps %{_specdir}/%{name}.spec ; \ln -s $(ls $RPM_BUILD_ROOT/%{_usrsrc}/akmods/) $RPM_BUILD_ROOT/%{_usrsrc}/akmods/bbswitch-kmod.latest %package -n akmod-bbswitch Summary: Akmod package for bbswitch kernel module(s) Requires: kmodtool Requires: akmods %{?AkmodsBuildRequires:Requires: %{AkmodsBuildRequires}} # same requires and provides as a kmods package would have Requires: bbswitch-kmod-common >= %{?epoch:%{epoch}:}%{version} Provides: bbswitch-kmod = %{?epoch:%{epoch}:}%{version}-%{release} %description -n akmod-bbswitch This package provides the akmod package for the bbswitch kernel modules. %posttrans -n akmod-bbswitch nohup /usr/sbin/akmods --from-akmod-posttrans --akmod bbswitch &> /dev/null & %post -n akmod-bbswitch [ -x /usr/sbin/akmods-ostree-post ] && /usr/sbin/akmods-ostree-post bbswitch %{_usrsrc}/akmods/bbswitch-kmod-%{version}-%{release}.src.rpm %files -n akmod-bbswitch %defattr(-,root,root,-) %{_usrsrc}/akmods/* %package -n kmod-bbswitch Summary: Metapackage which tracks in bbswitch kernel module for newest kernel Provides: bbswitch-kmod = %{?epoch:%{epoch}:}%{version}-%{release} Provides: kmod-bbswitch-xen = %{?epoch:%{epoch}:}%{version}-%{release} Provides: kmod-bbswitch-smp = %{?epoch:%{epoch}:}%{version}-%{release} Provides: kmod-bbswitch-PAE = %{?epoch:%{epoch}:}%{version}-%{release} Requires: akmod-bbswitch = %{?epoch:%{epoch}:}%{version}-%{release} %description -n kmod-bbswitch This is a meta-package without payload which sole purpose is to require the bbswitch kernel module(s) for the newest kernel, to make sure you get it together with a new kernel. %files -n kmod-bbswitch %defattr(644,root,root,755) + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rJhOsM + umask 022 + cd /builddir/build/BUILD + cd bbswitch-kmod-0.8 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.2iTblP + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64 + cd bbswitch-kmod-0.8 + mkdir -p /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64//usr/src/akmods/ + rpmbuild --define '_sourcedir /builddir/build/SOURCES' --define '_srcrpmdir /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64//usr/src/akmods/' --define 'dist .fc30' -bs --nodeps /builddir/build/SPECS/bbswitch-kmod.spec Wrote: /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64/usr/src/akmods/bbswitch-kmod-0.8-2.fc30.src.rpm BUILDSTDERR: ++ ls /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64//usr/src/akmods/ + ln -s bbswitch-kmod-0.8-2.fc30.src.rpm /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64//usr/src/akmods/bbswitch-kmod.latest + /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/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: akmod-bbswitch-0.8-2.fc30.x86_64 Provides: akmod-bbswitch = 0.8-2.fc30 akmod-bbswitch(x86-64) = 0.8-2.fc30 bbswitch-kmod = 0.8-2.fc30 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(posttrans): /bin/sh Processing files: kmod-bbswitch-0.8-2.fc30.x86_64 Processing files: bbswitch-kmod-common-0.8-2.fc30.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.muLGtS + umask 022 + cd /builddir/build/BUILD + cd bbswitch-kmod-0.8 + DOCDIR=/builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64/usr/share/doc/bbswitch-kmod-common + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64/usr/share/doc/bbswitch-kmod-common + cp -pr NEWS /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64/usr/share/doc/bbswitch-kmod-common + cp -pr README.md /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64/usr/share/doc/bbswitch-kmod-common + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.RsjvDV + umask 022 + cd /builddir/build/BUILD + cd bbswitch-kmod-0.8 + LICENSEDIR=/builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64/usr/share/licenses/bbswitch-kmod-common + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64/usr/share/licenses/bbswitch-kmod-common + cp -pr COPYING /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64/usr/share/licenses/bbswitch-kmod-common + exit 0 Provides: bbswitch-kmod-common = 0.8-2.fc30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64 Wrote: /builddir/build/RPMS/akmod-bbswitch-0.8-2.fc30.x86_64.rpm Wrote: /builddir/build/RPMS/kmod-bbswitch-0.8-2.fc30.x86_64.rpm Wrote: /builddir/build/RPMS/bbswitch-kmod-common-0.8-2.fc30.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.al5fXY + umask 022 + cd /builddir/build/BUILD + cd bbswitch-kmod-0.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/bbswitch-kmod-0.8-2.fc30.x86_64 + exit 0 Child return code was: 0