Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#54243 - [gcc-multilib] mixed multilib/non-multilib installs possible when pkgrel matches

Attached to Project: Community Packages
Opened by Jeb Rosen (jebrosen) - Wednesday, 31 May 2017, 19:42 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 10 December 2017, 19:30 GMT
Task Type General Gripe
Category Packages: Multilib
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

When gcc-multilib and gcc are at the same pkgrel, the non-multilib gcc split packages (fortran, ada, go, objc) can be installed at the same time as gcc-multilib (since they depend on 'gcc' and gcc-multilib provides the same version of 'gcc'). If the gcc-multilib pkgrel is later advanced ahead of gcc's, as it is now with 7.1.1-2 vs 7.1.1-3, anyone with these side-by-side installs is suddenly unable to update because of version conflicts.

I don't think it should be allowed to install gcc-multilib alongside a non-multilib gcc-X regardless of version, but pacman does currently allow this when the versions match because there are no conflicts preventing it.

https://bugs.archlinux.org/task/54231 was closed with the reason "gcc-*-multilib is all or nothing", but that is not mentioned on the multilib wiki page and is not enforced by the package manager, so it is relatively easy to accidentally end up in a 'maybe-can't-upgrade-later' situation as described.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 10 December 2017, 19:30 GMT
Reason for closing:  Fixed
Comment by patrick (potomac) - Thursday, 01 June 2017, 22:20 GMT
Not sure to understand this bug report but I have also suddenly a problem during a "pacman -Syu" :

:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
warning: removing 'gcc-libs' from target list because it conflicts with 'gcc-libs-multilib'
warning: removing 'gcc' from target list because it conflicts with 'gcc-multilib'
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc-fortran: requires gcc=7.1.1-2

what is the current workaround in order to avoid this problem ?
Comment by patrick (potomac) - Thursday, 01 June 2017, 22:28 GMT
well the workaround seems to uninstall the problematic package and to replace it by the gcc-*-multilib equivalent version,

in my case : I have to replace gcc-fortran by gcc-fortran-multilib
Comment by Jeb Rosen (jebrosen) - Sunday, 10 December 2017, 19:24 GMT
I believe this has been resolved with the merge of gcc-multilib functionality into the main gcc package in 7.2.1-1; same for #55756 as well.

Loading...