• Bug#865429: libc6-dev-i386: gcc-multilib should not be recommended

    From Vincent Lefevre@21:1/5 to All on Wed Jun 21 15:00:01 2017
    XPost: linux.debian.bugs.dist

    Package: libc6-dev-i386
    Version: 2.24-12
    Severity: normal

    The libc6-dev-i386 package has:

    Recommends: gcc-multilib

    But recommended packages are installed by default, and the above
    "Recommends:" is too strong as gcc-multilib is not the only way to
    use libc6-dev-i386.

    The issue is that installing *any* compiler that depends on
    libc6-dev-i386 will have the effect to install the default GCC,
    introducing a potential redundancy.

    An example:

    zira:~> aptitude why gcc-6-multilib
    i gcc-snapshot Depends libc6-dev-i386 (>= 2.11)
    i A libc6-dev-i386 Recommends gcc-multilib
    i A gcc-multilib Depends gcc-6-multilib (>= 6.3.0-9~)

    But that would be also true for gcc-5-multilib, which depends on libc6-dev-i386.

    The "Recommends:" would make sense only if gcc-multilib were a
    virtual package provided by compilers that depend on libc6-dev-i386.
    But this is not the case here.

    -- System Information:
    Debian Release: 9.0
    APT prefers unstable-debug
    APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
    Architecture: amd64 (x86_64)

    Kernel: Linux 4.9.0-3-amd64 (SMP w/8 CPU cores)
    Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=POSIX (charmap=UTF-8)
    Shell: /bin/sh linked to /bin/dash
    Init: systemd (via /run/systemd/system)

    Versions of packages libc6-dev-i386 depends on:
    ii libc6-dev 2.24-12
    ii libc6-i386 2.24-12

    Versions of packages libc6-dev-i386 recommends:
    ii gcc-multilib 4:6.3.0-4

    libc6-dev-i386 suggests no packages.

    -- no debconf information

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Aurelien Jarno@21:1/5 to Vincent Lefevre on Sun Aug 13 21:10:06 2017
    XPost: linux.debian.bugs.dist

    On 2017-06-21 13:54, Vincent Lefevre wrote:
    Package: libc6-dev-i386
    Version: 2.24-12
    Severity: normal

    The libc6-dev-i386 package has:

    Recommends: gcc-multilib

    But recommended packages are installed by default, and the above "Recommends:" is too strong as gcc-multilib is not the only way to
    use libc6-dev-i386.

    This is actually not correct. gcc-multilib is required even for
    compiling with another gcc-X-mutilib compiler as it provides the /usr/include/linux/asm symlink.

    I'll therefore revert the change in the next upload. Feel free to report
    bugs against gcc-multilib or gcc-X-multilib if you feel it's provided in
    the wrong package.

    --
    Aurelien Jarno GPG: 4096R/1DDD8C9B aurelien@aurel32.net http://www.aurel32.net

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Vincent Lefevre@21:1/5 to Aurelien Jarno on Mon Aug 14 00:40:02 2017
    XPost: linux.debian.bugs.dist

    On 2017-08-13 19:38:11 +0200, Aurelien Jarno wrote:
    This is actually not correct. gcc-multilib is required even for
    compiling with another gcc-X-mutilib compiler as it provides the /usr/include/linux/asm symlink.

    I suppose you meant /usr/include/asm.

    I'll therefore revert the change in the next upload. Feel free to report
    bugs against gcc-multilib or gcc-X-multilib if you feel it's provided in
    the wrong package.

    OK, I've just reported:

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872054

    --
    Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
    100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
    Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

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