Bug#1101988: libconfig-model-dpkg-perl: scan-copyrights crashes on rustc

Dominique Dumont domi.dumont at free.fr
Sat Apr 5 16:46:22 BST 2025


On Thursday, 3 April 2025 17:32:26 Central European Summer Time you wrote:
> toml syntax error on line 6ensecheck
>         -->| invalid-value
> 
> This seems to be caused by the following files which are part of internal
> test with invalid data:
> 
> - src/tools/cargo/tests/testsuite/cargo_add/invalid_manifest/in/Cargo.toml
> - src/tools/cargo/tests/testsuite/cargo_add/invalid_manifest/out/Cargo.toml

There's not much I can do here. These files contain invalid data that trip toml 
parser used by cme (TOML::Tiny).

However, you can instruct cme to skip these files by adding a debian/
fill.copyright.blanks.yml file containing:

$ cat debian/fill.copyright.blanks.yml 
---
src/tools/cargo/tests/testsuite/cargo_add/invalid_manifest/:
  comment: 'See bug #1101988'
  skip: true

Alternatively, you can set this up with "cme edit dpkg"

All the best



More information about the pkg-perl-maintainers mailing list