Source: lxd
Version: lxd_5.0.2+git20231211.1364ae4-5
Severity: important

I'm currently updating go-criu from v6 to v7, and noticed that both the the lxd
package FTBFS with this change:

117s src/github.com/canonical/lxd/lxd/instance/drivers/driver_lxc.go:26:2: 
cannot find package "github.com/checkpoint-restore/go-criu/v6/crit" in any of:
117s    /usr/lib/go-1.22/src/github.com/checkpoint-restore/go-criu/v6/crit 
(from $GOROOT)
117s    
/tmp/autopkgtest-lxc.hydx3vr8/downtmp/autopkgtest_tmp/_build/src/github.com/checkpoint-restore/go-criu/v6/crit
 (from $GOPATH)
117s dh_auto_build: error: cd _build && go install -trimpath -v -p 64 
github.com/canonical/lxd/client

The code in question is here:
https://sources.debian.org/src/lxd/5.0.2+git20231211.1364ae4-5/lxd/instance/drivers/driver_lxc.go/?hl=26#L26

It should be as easy as changing the import path from /v6 to /v7.

Please update the lxd package in experimental to build against
golang-github-checkpoint-restore-go-criu-dev (>> 7) so that I can add
appropriate Breaks: relationships to the
golang-github-checkpoint-restore-go-criu-dev package before it gets to sid.

Context of this version bump is the upcoming upgrade of podman 5.2

Thanks for your help!
-rt


-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (50, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.9.12-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply via email to