• Bug#1100921: libyang-dev fails coinstallation

    From Helmut Grohne@21:1/5 to All on Thu Mar 20 15:00:01 2025
    Package: libyang-dev
    Version: 3.7.8-4
    Severity: serious
    User: [email protected]
    Usertags: fileconflict

    libyang-dev fails to coinstall for amd64 and i386 (but likely also any
    other combination).

    mmdebstrap --verbose --variant=apt '' /dev/null "deb http://deb.debian.org/debian unstable main" --architectures=amd64,i386 --include=libyang-dev,libyang-dev:i386

    Preparing to unpack .../23-libyang-dev_3.7.8-4_amd64.deb ...
    Unpacking libyang-dev:amd64 (3.7.8-4) ...
    dpkg: error processing archive /tmp/apt-dpkg-install-ZMmSnF/23-libyang-dev_3.7.8-4_amd64.deb (--unpack):
    trying to overwrite shared '/usr/include/libyang/ly_config.h', which is different from other instances of package libyang-dev:amd64
    Errors were encountered while processing:
    /tmp/apt-dpkg-install-ZMmSnF/23-libyang-dev_3.7.8-4_amd64.deb

    The simplest solution here is to remove "Multi-Arch: same" from the
    relevant binary package section and that certainly is a valid approach.

    Another option would be moving the affected file to an
    architecture-dependent path such as /usr/include/${DEB_HOST_MULTIARCH}/libyang/ly_config.h hoping that it
    still will be found. In addition, the html documentation also differs
    per architecture. There an option could be creating a libyang-doc
    package.

    A third option is to investigate the architecture-differences and trying
    to remove them.

    I don't think coinstallation is important for this package and given the
    freeze timing recommend dropping Multi-Arch: same at least for trixie.

    Helmut

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Mar 20 15:50:02 2025
    This is a multi-part message in MIME format...

    Your message dated Thu, 20 Mar 2025 14:38:08 +0000
    with message-id <[email protected]>
    and subject line Bug#1100921: fixed in libyang 3.7.8-5
    has caused the Debian Bug report #1100921,
    regarding libyang-dev fails coinstallation
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected]
    immediately.)


    --
    1100921: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1100921
    Debian Bug Tracking System
    Contact [email protected] with problems

    Received: (at submit) by bugs.debian.org; 20 Mar 2025 13:52:42 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-15.2 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,
    DKIM_VALID_EF,HAS_PACKAGE,SPF_HELO_NONE,SPF_NONE autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 23; hammy, 149; neutral, 45; spammy,
    0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--H*F:U*helmut,
    0.000-+--H*F:D*subdivi.de, 0.000-+--H*RU:sk:helmut@,
    0.000-+--H*rp:U*helmut
    Return-path: <[email protected]>
    Received: from isilmar-4.linta.de ([136.243.71.142]:42840)
    by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
    (Exim 4.9