Closed bethven closed 6 years ago
I also get the first message if building from the tarball:
fatal: Not a git repository (or any of the parent directories): .git
It sounds fatal, but it is harmless. CRIU is looking for git to see if it is a development build or not.
I never saw Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
, but mounting a tmpfs and extracting CRIU at the top of the tmpfs I get the same error.
The build still continues. Are there any more messages from the build system?
Can you paste the complete output of your shell?
Hello, I was looking for information and wrote this "git init" and I initialized an empty Git repository inside my home, but now this error appears when I type "make install":
[betzabeth@aopcbc criu-3.10]$ make install fatal: Not a valid object name HEAD /bin/sh: línea 1: asciidoc: no se encontró la orden (the order was not found) make[1]: [check] Error 1 make: [install-man] Error 2
And when I type "make”:
[betzabeth@aopcbc criu-3.10]$ make fatal: Not a valid object name HEAD grep: images/google/protobuf/descriptor.proto: No existe el fichero o el directorio (There is no file or directory) PBCC images/macvlan.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/autofs.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/sysctl.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/time.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/binfmt-misc.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/seccomp.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/userns.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/cgroup.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/fown.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/rpc.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/siginfo.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/rlimit.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/file-lock.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/creds.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/utsns.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/ipc-desc.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/ipc-var.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/sk-opts.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/timer.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/pipe-data.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/sk-packet.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/pstree.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/fs.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/remap-file-path.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/fifo.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/ns.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/cpuinfo.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) PBCC images/stats.pb-c.c make[1]: protoc-c: No se encontró el programa (The program was not found) make[1]: No se hace nada para `all'.
grep: images/google/protobuf/descriptor.proto: No existe el fichero o el directorio (There is no file or directory)
PBCC images/macvlan.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/autofs.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/sysctl.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/time.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/binfmt-misc.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/seccomp.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/userns.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/cgroup.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/fown.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/rpc.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/siginfo.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/rlimit.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/file-lock.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/creds.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/utsns.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/ipc-desc.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/ipc-var.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/sk-opts.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/timer.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/pipe-data.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/sk-packet.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/pstree.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/fs.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/remap-file-path.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/fifo.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/ns.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/cpuinfo.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
PBCC images/stats.pb-c.c
make[1]: protoc-c: No se encontró el programa (The program was not found)
make[1]: No hay ninguna regla para construir el objetivo images/stats.pb-c.c', necesario para
images/stats.o'. Alto. (There is no rule to build the goal images / stats.pb-c.c ', necessary for
images / stats.o'. High.)
make: [images/built-in.o] Error 2
You are missing many CRIU requirements. Please have a look at: https://criu.org/Installation
Hi @bethven Adrian is right that you are missing many CRIU dependencies. I find it easier to just copy/paste the install command from the Dockerfiles that are used for testing. This should install all requirements needed to compile and install CRIU.
# CentOS
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install -y \
ccache \
findutils \
gcc \
git \
iproute \
iptables \
libaio-devel \
libasan \
libcap-devel \
libnet-devel \
libnl3-devel \
make \
procps-ng \
protobuf-c-devel \
protobuf-devel \
protobuf-python \
python \
python-ipaddress \
python2-future \
python2-junit_xml \
python-yaml \
python-six \
tar \
which \
e2fsprogs \
python2-pip \
asciidoc xmlto
# Fedora
dnf install -y \
ccache \
findutils \
gcc \
git \
iproute \
iptables \
libaio-devel \
libasan \
libcap-devel \
libnet-devel \
libnl3-devel \
make \
procps-ng \
protobuf-c-devel \
protobuf-devel \
python2-protobuf \
python2 \
python-ipaddress \
python-yaml \
python3-pip \
python2-future \
python3-PyYAML \
python3-future \
python3-protobuf \
python3-junit_xml \
tar \
which \
e2fsprogs \
asciidoc xmlto
# Ubuntu
apt-get update && apt-get install -y \
ccache \
libnet-dev \
libnl-route-3-dev \
gcc \
bsdmainutils \
build-essential \
git-core \
iptables \
libaio-dev \
libcap-dev \
libnl-3-dev \
libprotobuf-c0-dev \
libprotobuf-dev \
libselinux-dev \
pkg-config \
protobuf-c-compiler \
protobuf-compiler \
python-minimal \
python-future
protobuf-c-compiler
libprotobuf-c0-dev \
libaio-dev \
libprotobuf-dev \
protobuf-compiler \
libcap-dev \
libnl-3-dev \
gcc-multilib \
python-protobuf \
libnet-dev \
util-linux \
asciidoc \
xmlto \
libnl-route-3-dev
Hello, thank you very much, with this that you have recommended me now, it seems that if I could install everything I needed for CRIU, because before I had already installed some programs but I still had problems and did not pass the make. Well I will start taking my first steps with CRIU to see how it works. Again, thank you very much everyone. Best regards.
Hello, I'm trying to install CRIU, but when I type "make" I get the following error:
fatal: it is not a git repository (or no parent at the mounted point /) Stopping at the file system boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not established)
Should I install another program? I installed "protobuf" but I still have the same error.
Thank you very much. Regards, Beth