FS#55756 - [gcc][gcc-libs-multilib] should not be co-installable
Attached to Project:
Community Packages
Opened by Oliver Mangold (omangold) - Tuesday, 26 September 2017, 16:25 GMT
Last edited by Balló György (City-busz) - Wednesday, 24 January 2018, 05:54 GMT
Opened by Oliver Mangold (omangold) - Tuesday, 26 September 2017, 16:25 GMT
Last edited by Balló György (City-busz) - Wednesday, 24 January 2018, 05:54 GMT
|
Details
Description:
The gcc package has a dependency on gcc-libs=7.2.0-3 (which is normally provided by the package with that name): Name : gcc Version : 7.2.0-3 Depends On : gcc-libs=7.2.0-3 binutils>=2.28 libmpc But when one wants to install gcc-libs-multilib instead of gcc-libs (which of course conflict), it doesn't work, because the version doesn't match: Name : gcc-libs-multilib Version : 7.2.0-1 Provides : gcc-libs=7.2.0-1 Conflicts With : gcc-libs Additional info: * package version(s) gcc 7.2.0-3 gcc-libs 7.2.0-3 gcc-libs-multilib 7.2.0-1 Steps to reproduce: try to install gcc and gcc-libs-multilib via pacman |
This task depends upon
Should gcc conflict with gcc-libs-multilib then -- IIRC pacman will reject a package which provides a conflicting pkgname (unless the package itself is the one which provides and conflicts X), so you cannot have gcc-libs-multilib conflict with gcc or it will reject gcc-multilib as well.
https://wiki.archlinux.org/index.php/Multilib
Doesn't say anything about it. Also I guess people are considering multilib to be something simple enough to not have to read any docs about it.
See also
https://wiki.archlinux.org/index.php/Makepkg#Build_32-bit_packages_on_a_64-bit_system
https://git.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/gcc&id=21e16ee264e004d6f32af818ba2bad656515ebac