qemu-devel
[Top][All Lists]
Advanced

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

Re: Makefile has local changes that will be overwritten


From: Daniel P . Berrangé
Subject: Re: Makefile has local changes that will be overwritten
Date: Mon, 1 Feb 2021 15:46:52 +0000
User-agent: Mutt/1.14.6 (2020-07-11)

On Mon, Feb 01, 2021 at 09:23:24AM -0500, Programmingkid wrote:
> When trying to build QEMU I see this error:
> 
> error: Your local changes to the following files would be overwritten by 
> checkout:
>       Makefile
> Please commit your changes or stash them before you switch branches.
> Aborting

This suggests you've made changes to "Makefile" in your local
checkout that aren't committed.  What does 'git diff Makefile"
say ?

> 
> What I do to see this error:
> ./configure --target-list=i386-softmmu
> 
> I did some bisecting and found out this is the patch that causes the problem:
> 
> commit 7d7dbf9dc15be6e1465c756c2c5ae7f1ab104fc8
> Author: Dan Streetman <ddstreet@canonical.com>
> Date:   Tue Jan 19 12:20:46 2021 -0500
> 
>     configure: replace --enable/disable-git-update with --with-git-submodules
>     
>     Replace the --enable-git-update and --disable-git-update configure params
>     with the param --with-git-submodules=(update|validate|ignore) to
>     allow 3 options for building from a git repo.

That commit includes changes to "Makefile", so if you have made local
changes to Makefile yourself, this will cause the message you see from
git. Either stash your changes, or rebase to resolve them.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




reply via email to

[Prev in Thread] Current Thread [Next in Thread]