• Bug#1104741: devscripts: deb-check-file-conflicts does not see Conflict

    From Samuel Thibault@21:1/5 to All on Mon May 5 16:00:02 2025
    Package: devscripts
    Version: 2.25.10
    Severity: important

    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

    -- Package-specific info:

    --- /etc/devscripts.conf ---
    Empty.

    --- ~/.devscripts ---
    DEBSIGN_KEYID="0x6874CE58AE2D7E3F!"
    DEB_SIGN_KEYID="0x6874CE58AE2D7E3F!"
    DEBCHANGE_AUTO_NMU=no
    DEBSIGN_PROGRAM="gpg --use-agent"

    -- System Information:
    Debian Release: trixie/sid
    APT prefers testing
    APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'oldstable-proposed-updates-debug'), (500, 'oldoldstable'), (500, 'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (
    1, 'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental') Architecture: amd64 (x86_64)
    Foreign Architectures: i386, arm64

    Kernel: Linux 6.14.0 (SMP w/8 CPU threads; PREEMPT)
    Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
    Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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 devscripts depends on:
    ii
  • From Holger Levsen@21:1/5 to Samuel Thibault on Sat May 10 09:30:01 2025
    control: tags -1 + moreinfo
    thanks

    Hi Samuel,

    On Mon, May 05, 2025 at 03:50:36PM +0200, Samuel Thibault wrote:
    Package: devscripts
    Version: 2.25.10
    Severity: important

    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".

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


    --
    cheers,
    Holger

    ⢀⣴⠾⠻⢶⣦⠀
    ⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org
    ⢿⡄⠘⠷⠚⠋⠀ OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
    ⠈⠳⣄

    The entire society has no clue what the word freedom means in the context of relating to the world around them. It has degenerated into "my ego first". It is why the entire planet is dying right now.

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEuL9UE3sJ01zwJv6dCRq4VgaaqhwFAmge/h0ACgkQCRq4Vgaa qhy3eQ//Y6Dexa4d6i1jFXDYTMHpeG1PK6Mm31C7GyzZgWOuuKJtJAw6rk/yioqZ oPnvZ+exs+XgxfsnDEkmzEMYVFZbC7uZyM9QVh7Gta9ct8pBWMY7wbablcIMpmPu 0plXR0zeVRF8rgoalw/wW7u2SVvKV0j7bu4mpvIGC6xa5hvVA+19R6hgNLx1roDf KeLKfr1ELXIzvlP9v5pkRXdBoqqoZVqy7tjtpmGCUWJUG6jRJ+malrXTdc8ZMesM GMPW2FkBC1Y6M6s1k+EZ8ylsCAjZC2x2YjdC78SfO894miXXvBUI61w2RPFNyXh0 3DLcHaB7cFX3AJysmv2TM96BH//WxNyYvlj9pWMxC4raeSJiejNjip7OsyMyfmyF XWdG6nlXm8fG7ts7p8zfTJK3LgY8hOMPZgqLVcMBEDjJG8tVUV0VayRIHLs9faMG w8eoM4FFJrEDIl60bu5MrDmvjYEuTbiAXznsvnd2+oQ
  • From Samuel Thibault@21:1/5 to All on Sun May 11 01:10:01 2025
    Samuel Thibault, le sam. 10 mai 2025 11:41:17 +0200, a ecrit:
    Holger Levsen, le sam. 10 mai 2025 07:20:02 +0000, a ecrit:
    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".

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

    Oh, isn't that deb-check-file-conflicts that is used here?

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

    Samuel

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From =?UTF-8?B?T3R0byBLZWvDpGzDpGluZW4=?@21:1/5 to All on Sun May 11 02:40:01 2025
    I am happy to review MRs if somebody has a suggested fix to this issue.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)