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 <abolo...@redhat.com>
> ---

Tested, works.
Reviewed-by: Erik Skultety <eskul...@redhat.com>

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

Reply via email to