diff --git a/contrib/debian/dev-packages.lst b/contrib/debian/dev-packages.lst index ddb1f8dd1..c2d1509fa 100644 --- a/contrib/debian/dev-packages.lst +++ b/contrib/debian/dev-packages.lst @@ -4,18 +4,17 @@ libprotobuf-dev libprotobuf-c-dev protobuf-c-compiler protobuf-compiler -python-protobuf +python3-protobuf libnet-dev # Extra packages, required for testing and building other tools pkg-config libnl-3-dev -python-ipaddr libbsd0 libbsd-dev iproute2 libcap-dev libaio-dev -python-yaml +python3-yaml libnl-route-3-dev python-future diff --git a/criu/Makefile.packages b/criu/Makefile.packages index f380fa2f0..13c346f44 100644 --- a/criu/Makefile.packages +++ b/criu/Makefile.packages @@ -14,21 +14,19 @@ REQ-DEB-PKG-NAMES += libprotobuf-dev REQ-DEB-PKG-NAMES += libprotobuf-c-dev REQ-DEB-PKG-NAMES += protobuf-c-compiler REQ-DEB-PKG-NAMES += protobuf-compiler -REQ-DEB-PKG-NAMES += python-protobuf +REQ-DEB-PKG-NAMES += $(PYTHON)-protobuf +REQ-DEB-PKG-NAMES += $(PYTHON)-future REQ-DEB-PKG-NAMES += libnl-3-dev REQ-DEB-PKG-NAMES += libcap-dev -REQ-DEB-PKG-TEST-NAMES += python-yaml +REQ-DEB-PKG-TEST-NAMES += $(PYTHON)-yaml REQ-DEB-PKG-TEST-NAMES += libaio-dev ifeq ($(PYTHON),python3) -REQ-DEB-PKG-NAMES += $(PYTHON)-future REQ-DEB-PKG-TEST-NAMES += libaio-dev REQ-RPM-PKG-TEST-NAMES += $(PYTHON)-PyYAML else -REQ-DEB-PKG-NAMES += python-future - REQ-RPM-PKG-TEST-NAMES += $(PYTHON)-pyyaml endif diff --git a/scripts/build/Dockerfile.aarch64-cross b/scripts/build/Dockerfile.aarch64-cross index 252e0f875..54178e2ae 100644 --- a/scripts/build/Dockerfile.aarch64-cross +++ b/scripts/build/Dockerfile.aarch64-cross @@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y \ libssl-dev:arm64 \ protobuf-c-compiler \ protobuf-compiler \ - python-protobuf \ + python3-protobuf \ libnl-3-dev:arm64 \ libprotobuf-dev:arm64 \ libnet-dev:arm64 \ diff --git a/scripts/build/Dockerfile.armv7-cross b/scripts/build/Dockerfile.armv7-cross index 17a55561e..caa401e2b 100644 --- a/scripts/build/Dockerfile.armv7-cross +++ b/scripts/build/Dockerfile.armv7-cross @@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \ libssl-dev:armhf \ protobuf-c-compiler \ protobuf-compiler \ - python-protobuf \ + python3-protobuf \ libnl-3-dev:armhf \ libprotobuf-dev:armhf \ libnet-dev:armhf \ diff --git a/scripts/build/Dockerfile.linux32.tmpl b/scripts/build/Dockerfile.linux32.tmpl index 5d3fe5139..cc9060d13 100644 --- a/scripts/build/Dockerfile.linux32.tmpl +++ b/scripts/build/Dockerfile.linux32.tmpl @@ -21,8 +21,8 @@ RUN apt-get update && apt-get install -y \ pkg-config \ protobuf-c-compiler \ protobuf-compiler \ - python-minimal \ - python-future + python3-minimal \ + python3-future COPY . /criu WORKDIR /criu diff --git a/scripts/build/Dockerfile.mips64el-cross b/scripts/build/Dockerfile.mips64el-cross index 1ba936105..37e542125 100644 --- a/scripts/build/Dockerfile.mips64el-cross +++ b/scripts/build/Dockerfile.mips64el-cross @@ -13,7 +13,7 @@ RUN apt-get update && apt-get install -y \ libssl-dev:mips64el \ protobuf-c-compiler \ protobuf-compiler \ - python-protobuf \ + python3-protobuf \ libnl-3-dev:mips64el \ libprotobuf-dev:mips64el \ libnet-dev:mips64el \ diff --git a/scripts/build/Dockerfile.openj9-ubuntu b/scripts/build/Dockerfile.openj9-ubuntu index f235cc004..8c0504f0c 100644 --- a/scripts/build/Dockerfile.openj9-ubuntu +++ b/scripts/build/Dockerfile.openj9-ubuntu @@ -3,15 +3,15 @@ FROM adoptopenjdk/openjdk8-openj9:latest RUN apt-get update && apt-get install -y --no-install-recommends protobuf-c-compiler \ libprotobuf-c-dev \ libaio-dev \ - python-future \ + python3-future \ libprotobuf-dev \ protobuf-compiler \ libcap-dev \ libnl-3-dev \ gdb \ bash \ - python-protobuf \ - python-yaml \ + python3-protobuf \ + python3-yaml \ libnet-dev \ libnl-route-3-dev \ libbsd-dev \ diff --git a/scripts/build/Dockerfile.ppc64-cross b/scripts/build/Dockerfile.ppc64-cross index 44061c558..569c4e309 100644 --- a/scripts/build/Dockerfile.ppc64-cross +++ b/scripts/build/Dockerfile.ppc64-cross @@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y \ libssl-dev:ppc64el \ protobuf-c-compiler \ protobuf-compiler \ - python-protobuf \ + python3-protobuf \ libnl-3-dev:ppc64el \ libprotobuf-dev:ppc64el \ libnet-dev:ppc64el \ diff --git a/scripts/build/Dockerfile.tmpl b/scripts/build/Dockerfile.tmpl index d90a1d229..203f9e23c 100644 --- a/scripts/build/Dockerfile.tmpl +++ b/scripts/build/Dockerfile.tmpl @@ -21,8 +21,8 @@ RUN apt-get update && apt-get install -y \ pkg-config \ protobuf-c-compiler \ protobuf-compiler \ - python-minimal \ - python-future + python3-minimal \ + python3-future COPY . /criu WORKDIR /criu