Hi,
On Wed, May 01, 2024 at 12:27:41PM +0200, Guido Günther wrote:
> Package: gcovr
> Version: 7.2-1
> Severity: grave
> 
> Hi,
> invoking gcovr 7.2 in an empty directory fails like
> 
> $ gcovr 
> ------------------------------------------------------------------------------
>                            GCC Code Coverage Report
> Traceback (most recent call last):
>   File "/usr/bin/gcovr", line 1972, in <module>
>     print_text_report(covdata)
>   File "/usr/bin/gcovr", line 822, in print_text_report
>     OUTPUT.write("Directory: "+options.root+"\n")
>                  ~~~~~~~~~~~~~^~~~~~~~~~~~~
> TypeError: can only concatenate str (not "NoneType") to str
> 
> 
> This makes meson think gcovr is not available, e.g.:
> 
>   
> https://gitlab.gnome.org/World/Phosh/phosh-mobile-settings/-/jobs/3839480#L3265
> 
> I've marked this as grave as it breaks CI pipelines.

Just had a closer look. It seems verson 3.2 instead of 7.2 got
imported. I'll propose a fix.

Cheers,
 -- Guido

> 
> Cheers,
>  -- Guido
> 
> 
> -- System Information:
> Debian Release: trixie/sid
>   APT prefers testing
>   APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
> 'testing-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 
> 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: arm64
> 
> Kernel: Linux 6.6.15-amd64 (SMP w/12 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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
> 
> Versions of packages gcovr depends on:
> ii  python3                3.11.6-1
> ii  python3-pkg-resources  68.1.2-2
> 
> gcovr recommends no packages.
> 
> gcovr suggests no packages.
> 
> -- no debconf information

Reply via email to