On 2023-08-04 08:53, Aurelien Jarno wrote: > On 2023-08-03 21:33, Aurelien Jarno wrote: > > Hi, > > > > On 2023-08-02 14:27, Benjamin Barenblat wrote: > > > I’ve been procrastinating on starting the transition because of some > > > lingering MIPS issues. I think they’ve all been sorted out, and I just > > > uploaded my latest work to experimental. If that passes the buildds, > > > I’ll request a transition slot and do the transition as quickly as > > > possible. > > > > > > If waiting on the transition is going to unacceptably delay the riscv64 > > > bootstrap, please let me know. I think I know which patches I would have > > > to backport to 20220623 to get it to build with GCC 13, so I may be able > > > to fix this in unstable before the transition completes. > > > > It was not clear when we're going to need abseil when sending the > > initial mail, but it's not clear that we'll need to really soon for > > After reading my email again, I noticed a typo that could lead to a > misunderstanding: "it's now clear that we'll need it really soon"
The easiest and less risky way to make it build is probably to go back to using gcc-12. This is what the attached patch does. Regards Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://aurel32.net
diff -Nru abseil-20220623.1/debian/control abseil-20220623.1/debian/control --- abseil-20220623.1/debian/control 2022-10-18 14:31:29.000000000 +0200 +++ abseil-20220623.1/debian/control 2023-08-05 11:20:36.000000000 +0200 @@ -18,7 +18,8 @@ Build-Depends: cmake (>= 3.5), debhelper-compat (= 12), - googletest (>= 1.12) [!mipsel !ppc64] <!nocheck> + googletest (>= 1.12) [!mipsel !ppc64] <!nocheck>, + g++-12 Rules-Requires-Root: no Standards-Version: 4.6.1 Section: libs diff -Nru abseil-20220623.1/debian/rules abseil-20220623.1/debian/rules --- abseil-20220623.1/debian/rules 2022-10-18 14:37:10.000000000 +0200 +++ abseil-20220623.1/debian/rules 2023-08-05 11:20:36.000000000 +0200 @@ -38,11 +38,11 @@ $(RM) -r $(CURDIR)/shared override_dh_auto_configure: - dh_auto_configure -Bstatic -- -DCMAKE_CXX_STANDARD=17 -DBUILD_SHARED_LIBS=OFF + dh_auto_configure -Bstatic -- -DCMAKE_C_COMPILER=$(DEB_HOST_GNU_TYPE)-gcc-12 -DCMAKE_CXX_COMPILER=$(DEB_HOST_GNU_TYPE)-g++-12 -DCMAKE_CXX_STANDARD=17 -DBUILD_SHARED_LIBS=OFF ifeq ($(ABSL_RUN_TESTS),ON) - dh_auto_configure -Bshared -- -DCMAKE_CXX_STANDARD=17 -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DABSL_BUILD_TESTING=ON -DABSL_USE_GOOGLETEST_HEAD=OFF + dh_auto_configure -Bshared -- -DCMAKE_C_COMPILER=$(DEB_HOST_GNU_TYPE)-gcc-12 -DCMAKE_CXX_COMPILER=$(DEB_HOST_GNU_TYPE)-g++-12 -DCMAKE_CXX_STANDARD=17 -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=ON -DABSL_BUILD_TESTING=ON -DABSL_USE_GOOGLETEST_HEAD=OFF else - dh_auto_configure -Bshared -- -DCMAKE_CXX_STANDARD=17 -DBUILD_SHARED_LIBS=ON + dh_auto_configure -Bshared -- -DCMAKE_C_COMPILER=$(DEB_HOST_GNU_TYPE)-gcc-12 -DCMAKE_CXX_COMPILER=$(DEB_HOST_GNU_TYPE)-g++-12 -DCMAKE_CXX_STANDARD=17 -DBUILD_SHARED_LIBS=ON endif override_dh_auto_build: