Hi Reinhard,

On Sat, Nov 02, 2024 at 12:44:37PM -0400, Reinhard Tartler wrote:
> Package: criu
> Version: 3.17.1-3
> Severity: normal
> 
> Please update to upstream version 3.19
> 
> See release notes:
> 
> https://criu.org/Download/criu/3.18
> https://criu.org/Download/criu/3.19
> 
> We had to upgrade the golang bindings to version 7.2, and it appears that they
> require newer versions of criu than we currently have in debian.
> 
> cf. https://github.com/checkpoint-restore/go-criu?tab=readme-ov-file#releases

I would really love to, and in fact even move to the new one 4.0,
*but* I fail to get the proper changes for the python part, details
are in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1054814#46
where I requested help to properly make with the pyproject. On top of
the packaging in 

https://salsa.debian.org/debian/criu
(you see I did already import 3.19 there)

I'm fiddling with

diff --git a/debian/control b/debian/control
index 20feb59c9a9c..bde1d5cfbe17 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,7 @@ Build-Depends:
  pkg-config,
  protobuf-c-compiler,
  protobuf-compiler,
+ pybuild-plugin-pyproject,
  python3-all,
  xmlto
 Standards-Version: 4.6.2
diff --git a/debian/rules b/debian/rules
index 59e3370137e6..bb1480f2106f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,12 +1,16 @@
 #!/usr/bin/make -f

 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export PYBUILD_SYSTEM=pyproject
+export PYBUILD_NAME=pycriu
+export PYBUILD_DIR=lib
+export PYBUILD_VERBOSE=1

 PACKAGE = $(firstword $(shell dh_listpackages))
 TMP     = $(CURDIR)/debian/$(PACKAGE)

 %:
-       dh ${@} --with python3
+       dh ${@} --with python3 --buildsystem=pybuild

 override_dh_auto_install:
        dh_auto_install -- DESTDIR="$(CURDIR)/debian/criu" PREFIX="/usr" 
LIBEXECDIR="/usr/lib" PYTHON="python3"

But that does not make it work, so if you have insights to make this
happen I really would love to bring 3.19 in.

Are you able to give me some help here?

Regards,
Salvatore

Reply via email to