Re: [jenkins-ci PATCH] Forcefully remove build/ directory for autotools builds

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

 



On Thu, Sep 20, 2018 at 12:37:12PM +0200, Andrea Bolognani wrote:
> Normally this shouldn't be needed, because 'git clean -xdf' is
> executed after updating the git repository and before starting
> the build; however, some RPM builds (notably libvirt's)
> internally use git to apply patches, and if one of those fails
> it will leave a git repository inside of build/ behind, which
> 'git clean' dutifully refuses to remove and whose presence
> will in turn cause 'mkdir build', and thus the entire build,
> to fail.
>
> Solve the issue by forcefully removing build/ ourselves before
> starting an autotools build.
>
> Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
> ---

Tested, works.
Reviewed-by: Erik Skultety <eskultet@xxxxxxxxxx>

--
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]

  Powered by Linux