• Bug#1055536: dpkg-dev: dpkg-shlibdeps refuses to print version number i

    From Marc Jeanmougin@1:229/2 to All on Tue Nov 7 23:50:02 2023
    XPost: linux.debian.bugs.dist
    From: marcjeanmougin@free.fr

    Package: dpkg-dev
    Version: 1.22.1
    Severity: important

    Dear Maintainer,

    Since 1.22 (does happen in 1.22.1, did not happen in 1.21.21), running "dpkg- shlibdeps --version" prints

    ---
    dpkg-shlibdeps: error: cannot read debian/control: No such file or directory ---

    instead of the version string (which can be obtained after a "mkdir debian; touch debian/control")

    ---
    Debian dpkg-shlibdeps version 1.22.1.

    This is free software; see the GNU General Public License version 2 or
    later for copying conditions. There is NO warranty.
    ---

    This has downstream effects in tools that attempt to check the version of dpkg- shlibdeps, as they can no longer work, e.g. "cpack -G DEB" (the .deb cmake generator) does not work anymore.

    Thanks a lot,


    -- Package-specific info:
    This system uses merged-usr-via-aliased-dirs, going behind dpkg's
    back, breaking its core assumptions. This can cause silent file
    overwrites and disappearances, and its general tools misbehavior.
    See <https://wiki.debian.org/Teams/Dpkg/FAQ#broken-usrmerge>.

    -- System Information:
    Debian Release: trixie/sid
    APT prefers testing
    APT policy: (650, 'testing'), (600, 'unstable')
    Architecture: amd64 (x8
  • From Guillem Jover@1:229/2 to Marc Jeanmougin on Wed Nov 8 00:10:01 2023
    XPost: linux.debian.bugs.dist
    From: guillem@debian.org

    Hi!

    On Tue, 2023-11-07 at 23:43:29 +0100, Marc Jeanmougin wrote:
    Package: dpkg-dev
    Version: 1.22.1
    Severity: important

    Since 1.22 (does happen in 1.22.1, did not happen in 1.21.21),
    running "dpkg-shlibdeps --version" prints

    ---
    dpkg-shlibdeps: error: cannot read debian/control: No such file or directory ---

    instead of the version string (which can be obtained after a "mkdir debian; touch debian/control")

    ---
    Debian dpkg-shlibdeps version 1.22.1.

    This is free software; see the GNU General Public License version 2 or
    later for copying conditions. There is NO warranty.
    ---

    This has downstream effects in tools that attempt to check the version of dpkg-
    shlibdeps, as they can no longer work, e.g. "cpack -G DEB" (the .deb cmake generator) does not work anymore.

    Ah, indeed! I've fixed this locally (need to add some regression
    tests), will push later today, and will try to do a release during
    the week or weekend.

    Thanks,
    Guillem

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)