#1107170 libconfig-model-dpkg-perl: scan-copyrights crashes while scanning libtype-tiny-perl

#1107170#5
Date:
2025-06-02 17:29:20 UTC
From:
To:
Dear Maintainer,

I have notice that scan-copyright crashes while scanning package libtype-tiny-
perl. The issue seems to be caused by the file "dist.ini"

The error that is thrown is bellow:

$ scan-copyrights
Can't call method "exists" on an undefined value at
/usr/share/perl5/Dpkg/Copyright/Grant/ByFile.pm line 424.

Thanks in advance!

#1107170#10
Date:
2025-06-07 09:10:11 UTC
From:
To:
$ cat dist.ini
;; class = 'Dist::Inkt::Profile::TOBYINK'
;; name = 'Type-Tiny'
;; source_for_readme = 'lib/Type/Tiny/Manual.pod'

Short term solution: skip this file as it does not contain relevant
information.

I'll think about a longer term solution.

All the best

#1107170#15
Date:
2025-06-07 13:24:23 UTC
From:
To:
I've patched libconfig-model-dpkg-perl to properly fix this. The fix is available
on salsa.

Unless you need a new release, I'll upload a new package once Trixie is out.

All the best

#1107170#18
Date:
2025-06-07 13:22:11 UTC
From:
To:
Hello,

Bug #1107170 in libconfig-model-dpkg-perl reported by you has been fixed in the
Git repository and is awaiting an upload. You can see the commit
message below and you can check the diff of the fix at:

https://salsa.debian.org/perl-team/modules/packages/libconfig-model-dpkg-perl/-/commit/8f6bc820c411b70df3c2b1b0916234104f3c8aab
------------------------------------------------------------------------
grant by-file: handle empty dist.ini files

Closes:  #1107170
Thanks: Walter Lozano for the report
------------------------------------------------------------------------

(this message was generated automatically)
-- 
Greetings

https://bugs.debian.org/1107170

#1107170#25
Date:
2025-06-08 01:45:48 UTC
From:
To:
Thank you very much!

No problem at all, thank you!

#1107170#30
Date:
2025-09-01 11:43:08 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
libconfig-model-dpkg-perl, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1107170@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dominique Dumont <dod@debian.org> (supplier of updated libconfig-model-dpkg-perl package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sat, 30 Aug 2025 17:24:26 +0200
Source: libconfig-model-dpkg-perl
Architecture: source
Version: 3.015
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Changed-By: Dominique Dumont <dod@debian.org>
Closes: 1107170 1111291 1111292 1111391
Changes:
 libconfig-model-dpkg-perl (3.015) unstable; urgency=medium
 .
   * grant by-file: handle empty dist.ini files.
     Thanks to Walter Lozano for the report (Closes: #1107170)
   * Backend: sort unknown fields on read (Closes: #1111291)
   * Dpkg backend: use style like wrap-and-sort -ast
   * control:
     * reformated by cme
     * dropped old version constraints in dependencies
   * control model:
     * set Priority upstream_default to optional (Closes: #1111391)
     * move Standards-Version in the beginning of the field list.
     * add Build-Driver field
     * add doc for "Essential" field
     * add Bugs and Origin fields
     * add X-Cargo-Crate and X-Style fields
     * add Source Synopsis and Description fields
     * add X-Important and Protected binary field
     * setup migration from X-Important to Protected field
     * add XB-Installer-Meny-Item binary field
     * add X-DH-Build-For-Type and X-Time64-Compat binary fields
     * add X-DhRuby-Root binary field
     * add X-DH-Compat source field (Closes: 1111292)
     * re-order elements in a more logical order
Checksums-Sha1:
 62aa5f211026653156a98a6aa57d364e41256a14 3051 libconfig-model-dpkg-perl_3.015.dsc
 38a8e3ff91b58b379ca194a2c6ef15846c9d02ca 493932 libconfig-model-dpkg-perl_3.015.tar.xz
 98d7d8c43a1e6be029274dfd29fed056844f95c9 6130 libconfig-model-dpkg-perl_3.015_source.buildinfo
Checksums-Sha256:
 b761d2c3881a426d391febd2a2b67d1b8e205829f41f35e3fd900de510d1dfcb 3051 libconfig-model-dpkg-perl_3.015.dsc
 3b325e3d60a234fa25e4a7f0b090805157ba6e5ab74f200b033b8f2a842ec428 493932 libconfig-model-dpkg-perl_3.015.tar.xz
 fb5682cd7862484c678997d8d5f30dd6f75e5ce6aa99ba90a40bb75df02be2b1 6130 libconfig-model-dpkg-perl_3.015_source.buildinfo
Files:
 6a609553ca04842cfb3d38f72818fb1d 3051 perl optional libconfig-model-dpkg-perl_3.015.dsc
 2114f64760ec064529f0d4f87cf294d4 493932 perl optional libconfig-model-dpkg-perl_3.015.tar.xz
 8ca7c790c62c31a06dd19712e5515226 6130 perl optional libconfig-model-dpkg-perl_3.015_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEn3I5/LZk8Qsz6dwDwx9P2UmrK2wFAmi1fBsPHGRvZEBkZWJp
YW4ub3JnAAoJEMMfT9lJqytsqJ8QAJi8KcCTeVlHlawAOB+VZ9C5Yeo9cslhVFEO
Y2CCf7yc3s+R/qXO/9Ja/g53NCMSbadE/TXF9tUu/fj3Wv4nDNaqPbsTsJaDX3ES
PYoDb0sDbLULYb1VpaJaAfvChbaxF7fHjQacTU/MS6fJwIYsMRz3yhGW1M2B8Gjy
OCN2N/ppsLnVvSSa4NlFNlzmrYdTP62HmuOXz/4ckYchHQTIq9yMD9N29+PMPPQv
D/24HKvNb6SZ+rsO7wJynncu0cbiOY0wzA187rfBndwRX8JyVtNXPKpJ6T13fjxW
K/sNxGabh+HvFHqjqlEeTOmVudJPWdHkEI9NOhEXxgLSaqX3Evj3UDxQDqAlOCvL
sob6ZjsuGt+mw2ppkANOEEpkQE2K6EX+/E6by05ite69BPrYlksuxGdjjwm3FJ0L
mx0+mLkmp6UZSWfKb8Xym5JzNEtDcMXGMwlzSH+BlUGFe83bYaQalnsr4oNt7pmz
HmydLyIUpSXRMaDDcVrThnCY1hh/Dp581tB7YXdly1eS7ufh12LIucbkKcjUj6lB
NM7Dgra5iDe1LTj/Hj4kdzgfzdMe+l0OECV8OkQQUdF/xUKfWqHEZBbTrOuheuuG
a15D+0QPI9LWPb60MST1qjFIqOT2VigsuRKTRtU2N3CB4YIwfW1PMRrgMOCNZBF+
K+SNo3OA
=Ozkd
-----END PGP SIGNATURE-----