Re: Bug#1133247: libini-config-dev has an undeclared file conflict on /usr/include/ref_array.h

Simon Josefsson <[email protected]>
Newsgroups gmane.linux.debian.devel.general
Message-ID <[email protected]>
Helmut Grohne <[email protected]> writes in <https://bugs.debian.org/1133247>:

> libini-config-dev has an undeclared file conflict. This may result in an
> unpack error from dpkg.
>
> The file /usr/include/ref_array.h is contained in the packages
>  * libini-config-dev/0.7.0-1 as present in forky|unstable
>  * libref-array-dev/0.6.2-3 as present in trixie

I have made the above kind of mistake embarassingly often lately.  A
cross-package file conflict seems like a simple problem that our QA
tooling should have cought for me earlier than waiting for reports.

I would prefer a Salsa pipeline job to detect these file conflicts.
Second to that, a lintian check.  Third, some testing migration blocking
check that ends up visible in the PTS.  Maybe the third really ought to
be implemented anyway.

But how to implement such a check?

Helmut, is your code to detect this situation available somewhere?  I
guess it involves an online check at some Debian service that knows
about all files shipped by all (current) packages?  Your (excellent) bug
reports about these findings suggests it is all automated somehow.

/Simon
signature.asc (application/pgp-signature, 1.2 KB)
-----BEGIN PGP SIGNATURE-----

iQNoBAEWCgMQFiEEo8ychwudMQq61M8vUXIrCP5HRaIFAmoUW/IUHHNpbW9uQGpv
c2Vmc3Nvbi5vcmfCHCYAmDMEXJLOtBYJKwYBBAHaRw8BAQdACIcrZIvhrxDBkK9f
V+QlTmXxo2naObDuGtw58YaxlOu0JVNpbW9uIEpvc2Vmc3NvbiA8c2ltb25Aam9z
ZWZzc29uLm9yZz6IlgQTFggAPgIbAwULCQgHAgYVCAkKCwIEFgIDAQIeAQIXgBYh
BLHSvRN1vst4TPT4xNc89jjFPAa+BQJp4fWRBQkOa+rdAAoJENc89jjFPAa+hWIA
/1lQvrJeGlQq50lP6tm99D1zDy7J1tQ3ha4x0Jx7rkFTAP9hpUKuTvm6m1fXyiZV
YZlu2+Id/Dq3CIAZvNF+XEr2BLgzBFySz4EWCSsGAQQB2kcPAQEHQOxTCIOaeXAx
I2hIX4HK9bQTpNVei708oNr1Klm8qCGKiPUEGBYIACYCGwIWIQSx0r0Tdb7LeEz0
+MTXPPY4xTwGvgUCaeCW1wUJDmqLVgCBdiAEGRYIAB0WIQSjzJyHC50xCrrUzy9R
cisI/kdFogUCXJLPgQAKCRBRcisI/kdFoqdMAQCgH45aseZgIrwKOvUOA9QfsmeE
8GZHYNuFHmM9FEQS6AD6A4x5aYvoY6lo98pgtw2HPDhmcCXFItjXCrV4A0GmJA4J
ENc89jjFPAa+s7AA+gIIHpBApDpcDj1sKhzDngmpvwQf0VkHme6s+EG7qSgpAQDe
/XMrU0c0Pa3ji85cMqZhvzJOFI/soe662lzL0QY3Bbg4BFySz2oSCisGAQQBl1UB
BQEBB0AxlRumDW6nZY7A+VCfek9VpEx6PJmdJyYPt3lNHMd6HAMBCAeIfgQYFggA
JgIbDBYhBLHSvRN1vst4TPT4xNc89jjFPAa+BQJp4JbXBQkOaottAAoJENc89jjF
PAa+RNUA/2faQO/nFT06E+MlhlQdo/0chlQXC5TZMPTVvVBFwoLOAP9xLJK0ow5E
jTzYJB4K810AL/Iv6PEOAEgA4cPTHVlbCQAKCRBRcisI/kdFomEkAP9qZNGt3xZZ
uKcYIHW0Mn56rmK8QL+wcFU9oDMotxxqMwD9H4bTMI4fdj0X29xO48Zxdpot/Kkm
HxAYgAKzQZhjDAs=
=kR30
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.