Re: Resume rpmbuild?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Apr 30, 2016 at 08:59:21AM -0400, Michael Hill wrote:
> I'm running...
> 
> rpmbuild -bb --noprep --with baseonly --without debuginfo
> --target=i686 kernel.spec
> 
> ...and after several hours the device hangs somewhere after this:
> 
> + popd
> ~/rpmbuild/BUILD/kernel-4.5.fc23/linux-4.6.0-0.rc5.git1.1.mdh.fc23.i686
> + '[' '%{buildarch}' = noarch ']'
> + QA_CHECK_RPATHS=1
> + case "${QA_CHECK_RPATHS:-}" in
> + /usr/lib/rpm/check-rpaths
> 
> After I restart the device, is there a way to get rpmbuild to resume?

people used to hack around this problem by modding the spec script to skip 
certain build steps based upon an arg passed as "RPM_COMMAND" shell env
variable.

Typical snippet would be

%build

case "${RPM_COMMAND:-all}" in
all|config)
%configure
;;
esac

case "${RPM_COMMAND:-all}" in
all|config|build)
make
;;
esac

Of course this is considered a hack and you loose all guarantees that the result 
is a clean build.


Richard

-- 
Name and OpenPGP keys available from pgp key servers
_______________________________________________
kernel mailing list
kernel@xxxxxxxxxxxxxxxxxxxxxxx
http://lists.fedoraproject.org/admin/lists/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux