Re: [PATCH] build: make autobuild require rpm build deps

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

 



On 09/16/2013 03:48 AM, Daniel P. Berrange wrote:
> On Sat, Sep 14, 2013 at 05:32:52AM -0600, Eric Blake wrote:
>> I spent far too long on a new machine trying to figure out why
>> ./autobuild.sh failed during the rpm build failure (complaining
>> that libvirt_parthelper was supposed to be packaged but was not
>> built), and finally traced it to a missing parted-devel
>> installation.  I don't know why we have --nodeps in place, but
>> removing it would make rpmbuild error out much sooner, and with
>> a much less cryptic failure case.
>>
>> * autobuild.sh: Drop --nodeps from rpmbuild lines.
>>
>> Signed-off-by: Eric Blake <eblake@xxxxxxxxxx>
>> ---
>>
>> I'm okay ditching this patch if someone can explain why the
>> --nodeps line should be there.
> 
> It is basically an artifact/limitation of the way the automated
> builder software works.
> 
> We could make it detect whether it is run under the builder
> env though - if $AUTOBUILD_COUNTER is not set, then use
> --nodeps, otherwise skip it. That'd make it do the right
> thing for developers

I'll spin up a v2 doing just that.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]