• Bug#1091905: libblockdev FTCBFS: unsatisfiable pylint dependency

    From Helmut Grohne@21:1/5 to All on Thu Jan 2 11:10:01 2025
    Source: libblockdev
    Version: 3.2.1-1
    Tags: patch
    User: debian-cross@lists.debian.org
    Usertags: cross-satisfiability

    libblockdev cannot be cross built from source, because its build
    dependency on pylint cannot be satisfied. It is implicitly qualified
    with the host architecture, but the target package is Arch:all. We can
    annotate it :native to lift that and it also is not required unless
    running tests. I'm attaching a patch for your convenience.

    Helmut

    diff --minimal -Nru libblockdev-3.2.1/debian/changelog libblockdev-3.2.1/debian/changelog
    --- libblockdev-3.2.1/debian/changelog 2024-11-07 23:22:34.000000000 +0100
    +++ libblockdev-3.2.1/debian/changelog 2025-01-01 20:26:09.000000000 +0100
    @@ -1,3 +1,10 @@
    +libblockdev (3.2.1-1.1) UNRELEASED; urgency=medium
    +
    + * Non-maintainer upload.
    + * Fix FTCBFS: Annotate pylint dependency :native and <!nocheck>. (Closes: #-1)
    +
    + -- Helmut Grohne <helmut@subdivi.de> Wed, 01 Jan 2025 20:26:09 +0100
    +
    libblockdev (3.2.1-1) unstable; urgency=medium

    * New upstream release
    diff --minimal -Nru libblockdev-3.2.1/debian/control libblockdev-3.2.1/debian/control
    --- libblockdev-3.2.1/debian/control 2024-11-07 23:22:34.000000000 +0100
    +++ libblockdev-3.2.1/debian/control 2025-01-01 20:26:09.000000000 +0100
    @@ -33,7 +33,7 @@
    libkmod-dev (>= 19),
    libatasmart-dev (>= 0.17),
    gtk-doc-tools,
    - pylint,
    + pylint:native <!nocheck>,
    Standards-Version: 4.7.0
    Rules-Requires-Root: no
    Vcs-Browser: https://salsa.debian.org/u