Skip to contentSkip to conversation

FYI: Need to a make clean due to recently pushed commit

Qemu-devel Anthony Liguori 3 participants 3 messages Oct 10, 2011 – Oct 15, 2011

lore
Share & tools
lore
#0 lore raw

Due to:

commit e3193601c84558c303b1773379da76fce80c0a56
Author: Anthony Liguori <[email protected]>
Date: Fri Sep 2 12:34:47 2011 -0500

qapi: use middle mode in QMP server

It'll be necessary to do a make clean if you have a tree that has a build from before this commit.

If you get compile errors about "qmp-commands-old.h" or "qmp-commands.h", this is most likely your problem.

Regards,

Anthony Liguori

#1 lore raw

Am 10.10.2011 16:49, schrieb Anthony Liguori:

Quoted 6 lines

Due to:

commit e3193601c84558c303b1773379da76fce80c0a56
Author: Anthony Liguori <[email protected]>
Date: Fri Sep 2 12:34:47 2011 -0500

Quoted 7 lines

qapi: use middle mode in QMP server

It'll be necessary to do a make clean if you have a tree that has a build from before this commit.

If you get compile errors about "qmp-commands-old.h" or "qmp-commands.h", this is most likely your problem.

make clean wasn't sufficient here, make distclean worked.

Andreas

Signature · 2 lines
SUSE LINUX Products GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer; HRB 16746, AG Nürnberg
#2 lore raw
In reply to Anthony Liguori
Quoted 6 lines · Anthony Liguori

Due to:

 commit e3193601c84558c303b1773379da76fce80c0a56
 Author: Anthony Liguori <[email protected]>
 Date:   Fri Sep 2 12:34:47 2011 -0500

Quoted 7 lines

    qapi: use middle mode in QMP server

It'll be necessary to do a make clean if you have a tree that has a build from before this commit.

If you get compile errors about "qmp-commands-old.h" or "qmp-commands.h", this is most likely your problem.

This is most unfortunate, it will make bisection across that point slower for all future generations, forever. What is the root cause, reusing a file name which was previously generated, removed and then at some point became non-generated? How can we avoid this in the future, would it help for example to ban such behavior, requiring that when removing or renaming files, the obsolete names must be added to .gitignore or checkpatch.pl?