criu/scripts
Kir Kolyshkin f571f92b53 Dockerfile: do make mrproper before build
I just spent some considerable time trying to figure out the source
of errors like this:

	make -C scripts/build ppc64
	...
	  DEP      images/autofs.pb-c.d
	In file included from images/autofs.pb-c.c:9:0:
	images/autofs.pb-c.h:7:35: fatal error: protobuf-c/protobuf-c.h:
	No such	file or directory
	 #include <protobuf-c/protobuf-c.h>
					   ^
	compilation terminated.

It appears that we copy the complete tree to a docker container, and it
is not cleaned properly before the build. In particular, images/*.pb-c.{c,h}
are not removed/rebuilt. The problem is not noticeable until version of
protobuf-c differs between the host and container, and they use different
include paths (/usr/include/google/protobuf-c/ vs /usr/include/protobuf-c).

As I don't want anyone else to spend so much time figuring this out,
here is the patch.

travis-ci: success for QEMU+Dockerfile improvements + clang build
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Acked-by: Andrei Vagin <avagin@virtuozzo.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-11-02 20:35:56 +03:00
..
build Dockerfile: do make mrproper before build 2016-11-02 20:35:56 +03:00
nmk nmk: built.mk -- Add missing space 2016-10-10 12:48:19 +03:00
travis travis: Put package list in a variable 2016-10-24 16:00:15 +03:00
crit-setup.py build: pycriu -- Move into lib/py 2016-02-19 14:32:19 +03:00
fake-restore.sh scripts: Add script to abort restore at the end 2014-02-05 19:40:47 +04:00
feature-tests.mak kerndat: check the TCP_REPAIR_WINDOW option 2016-08-08 15:20:45 +03:00
flake8.cfg zdtm: use flake8 to verify zdtm.py 2016-06-28 13:09:35 +03:00
gen-offsets.sh build: Move pie/gen-offsets.sh into scripts/ 2013-10-15 11:30:41 +04:00
install-debian-pkgs.sh Add script to install required packages to compile in Debian 2016-09-26 15:42:43 +03:00
magic-gen.py scripts: add magic-gen.py 2015-01-14 20:44:45 +04:00
protobuf-gen.sh build/make: return to make from top directory 2016-08-01 18:38:32 +03:00
systemd-autofs-restart.sh systemd-autofs-restart.sh: explicitly return result from get_fs_type 2016-10-10 12:48:20 +03:00
tmp-files.sh tmpfiles: implement user tmp files feature 2016-03-09 12:48:33 +03:00