[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Yet another git submodule rant
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] Yet another git submodule rant |
Date: |
Wed, 8 Nov 2017 13:01:02 +0000 |
User-agent: |
Mutt/1.9.1 (2017-09-22) |
On Wed, Nov 08, 2017 at 09:26:01AM -0300, Philippe Mathieu-Daudé wrote:
> On 11/08/2017 06:57 AM, Thomas Huth wrote:
> >
> > That automatic git submodule stuff now broke my workflow again. I
> > usually keep the git repository on my laptop and then simply rsync the
> > sources (without .git directories) to my target machine to compile it
> > there. Used to work great for years. Now it's broken, the build process
> > complains:
> >
> > GIT submodule checkout is out of date. Please run
> > scripts/git-submodule.sh update
> > from the source directory checkout /home/thuth/devel/qemu
> >
> > Running "scripts/git-submodule.sh update" did not fix the issue at all -
> > I first had to tinker with it for a while to find out that I simply have
> > to delete ".git-submodule-status" in my git tree to fix the issue.
> >
> > I've got the feeling that all this submodule crap is constantly causing
> > pain ... do we really need this? Can't we find another solution instead?
> > Or at least stop modifying files automatically in the $SRC_PATH ?
>
> Also yesterday on IRC:
>
> <RaV3N> [...] I downloaded the qemu source from git and tried to compile
> it. I am getting this:
>
> ./configure --static && make && sudo make install
> CC ui/input-keymap.o
> ui/input-keymap.c:8:10: fatal error: ui/input-keymap-linux-to-qcode.c:
> No such file or directory
I had a pull request merged yesterday later afternoon which possibly
would address that problem, though hard hard to say for certain.
> <cota> [...] you might want to do "git submodule init && git submodule
> update"
This certainly should not be required - the build system should always
take care of that, so it would be considered a bug if it didn't happen.
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 :|
- Re: [Qemu-devel] Yet another git submodule rant, (continued)
Re: [Qemu-devel] Yet another git submodule rant, Gerd Hoffmann, 2017/11/08
Re: [Qemu-devel] Yet another git submodule rant, Philippe Mathieu-Daudé, 2017/11/08
- Re: [Qemu-devel] Yet another git submodule rant,
Daniel P. Berrange <=
- Re: [Qemu-devel] Yet another git submodule rant, Alexey Kardashevskiy, 2017/11/10
- Re: [Qemu-devel] Yet another git submodule rant, Daniel P. Berrange, 2017/11/10
- Re: [Qemu-devel] Yet another git submodule rant, Alexey Kardashevskiy, 2017/11/10
- Re: [Qemu-devel] Yet another git submodule rant, Peter Maydell, 2017/11/10
- Re: [Qemu-devel] Yet another git submodule rant, Alexey Kardashevskiy, 2017/11/10
- Re: [Qemu-devel] Yet another git submodule rant, Daniel P. Berrange, 2017/11/10
- Re: [Qemu-devel] Yet another git submodule rant, Alexey Kardashevskiy, 2017/11/10
- Re: [Qemu-devel] Yet another git submodule rant, Alexey Kardashevskiy, 2017/11/19
Re: [Qemu-devel] Yet another git submodule rant, Alexey Kardashevskiy, 2017/11/08