There is some test delta, but for boost and I'd not see an immediate
conenction to our FTBFS fails we see.

But what I was able to confirm was that setting it back to use gcc-10 for now 
works.
The following gets the build in Jammy working.

diff --git a/debian/control b/debian/control
index 5964039..bd1452a 100644
--- a/debian/control
+++ b/debian/control
@@ -12,6 +12,8 @@ Build-Depends:
  libexpat1-dev,
  libgtest-dev,
  google-mock,
+ gcc-10,
+ g++-10,
 Standards-Version: 3.9.5
 Vcs-Git: https://salsa.debian.org/lvm-team/thin-provisioning-tools.git
 Vcs-Browser: https://salsa.debian.org/lvm-team/thin-provisioning-tools
diff --git a/debian/rules b/debian/rules
index f9fa1cc..6c2401f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,8 @@
 #export DH_VERBOSE=1
 
 export DEB_BUILD_MAINT_OPTIONS = optimize=-lto
+export CC=gcc-10
+export CXX=g++-10
 
 include /usr/share/dpkg/default.mk

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1950028

Title:
  FTBFS against g++ 11

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thin-provisioning-tools/+bug/1950028/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to