* Chris Hofstaedtler <z...@debian.org> [210425 11:36]:
> Indeed there's a gcc version check in src/cov_file.C, which does not
> know about gcc 10.2 yet. The 10.1 code path got added by
>    debian/patches/compilers.patch.

Trivially adding 10.2 in there does fix the FTBFS.
I imagine Alastair will get to it soon though...

Chris

diff -Nru ggcov-0.10/debian/patches/compilers.patch 
ggcov-0.10/debian/patches/compilers.patch
--- ggcov-0.10/debian/patches/compilers.patch    2020-07-05 06:11:21.000000000 
+0000
+++ ggcov-0.10/debian/patches/compilers.patch    2021-04-25 11:30:24.000000000 
+0000
@@ -1,16 +1,17 @@
 Author: Alastair McKinstry <mckins...@debian.org>
 Description: Support for newer compilers
-Last-Updated: 2020-07-04
+Last-Updated: 2021-04-25
 Forwarded: no

 Index: ggcov-0.10/src/cov_file.C
 ===================================================================
 --- ggcov-0.10.orig/src/cov_file.C
 +++ ggcov-0.10/src/cov_file.C
-@@ -1013,6 +1013,7 @@ cov_file_t::read_gcc3_bbg_file(covio_t *
+@@ -1013,6 +1013,8 @@ cov_file_t::read_gcc3_bbg_file(covio_t *
      if (expect_version != BBG_VERSION_GCC33)
          bbg_failed1("unexpected version=0x%08x", format_version_);
      break;
++    case _NEWER_VERSION(10,2,'*'):   /* gcc-10.2 in Debian sid/bullseye */
 +    case _NEWER_VERSION(10,1,'*'):   /* gcc-10.1 in Debian sid/bullseye */
      case _NEWER_VERSION(10,0,'e'):   /* gcc-10 package in Ubuntu Focal 20.04 
*/
      case _NEWER_VERSION(9,3,'*'):   /* gcc 9.3.0 in debian testing */

Reply via email to