#1104741 devscripts: deb-check-file-conflicts does not see Conflicts

Package:
devscripts
Source:
devscripts
Description:
scripts to make the life of a Debian Package maintainer easier
Submitter:
Samuel Thibault
Date:
2025-05-11 00:39:03 UTC
Severity:
normal
Tags:
#1104741#5
Date:
2025-05-05 13:50:36 UTC
From:
To:
Hello,

As seen in the CI job:
https://salsa.debian.org/debian/hwloc/-/jobs/7524883

$ check_for_missing_breaks_replaces.py -o ${WORKING_DIR}/missing_breaks.xml --changes-file ${WORKING_DIR}/*.changes
[ERROR] Missing Breaks/Replaces found
[ERROR] hwloc conflicts with hwloc-nox files: [...]

a missing Breaks/Replaces relation is raised, but the hwloc-nox does
already Conflicts with hwloc, which as I understand

https://www.debian.org/doc/debian-policy/ch-relationships.html#conflicting-binary-packages-conflicts

is the right way because hwloc and hwloc-nox "provide the same file and
will continue to do so".

Samuel
--- /etc/devscripts.conf ---
Empty.
--- ~/.devscripts --- DEBSIGN_KEYID="0x6874CE58AE2D7E3F!" DEB_SIGN_KEYID="0x6874CE58AE2D7E3F!" DEBCHANGE_AUTO_NMU=no DEBSIGN_PROGRAM="gpg --use-agent"
#1104741#10
Date:
2025-05-10 07:20:02 UTC
From:
To:
control: tags -1 + moreinfo
thanks

Hi Samuel,

unfortunatly I fail to see how this is caused by devscripts or what the fix
should be, can you (or someone else) please explain?

#1104741#17
Date:
2025-05-10 09:41:17 UTC
From:
To:
Holger Levsen, le sam. 10 mai 2025 07:20:02 +0000, a ecrit:

Oh, isn't that deb-check-file-conflicts that is used here? I don't
remember how I ended up assuming it (I can't have invented the
"deb-check-file-conflicts" name).

Samuel

#1104741#24
Date:
2025-05-10 22:59:28 UTC
From:
To:
Samuel Thibault, le sam. 10 mai 2025 11:41:17 +0200, a ecrit:

Ok, it's supposed to be :)
https://salsa.debian.org/salsa-ci-team/pipeline/-/issues/444#note_613032

Samuel

#1104741#29
Date:
2025-05-11 00:36:03 UTC
From:
To:
I am happy to review MRs if somebody has a suggested fix to this issue.