You are not logged in.
I have gcc-multilib on my system as i need to be able to build lib32- packages .
Pacman -Syu gave me this warning this morning :
gcc-libs conflicts with gcc-libs-multilib , remove gcc-libs-multib ?
I answered no ofcourse and the update was aborted due to file conflicts.
running pacman -Syu --ignore gcc-libs gave the cause of the conflicts : gcc-objc .
i temporarily removed gcc-objc , and could update all other packages, including a new kernel.
after updating i attempted to re-install gcc-objc :
# pacman -S gcc-objc
resolving dependencies...
looking for inter-conflicts...
:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: gcc-libs and gcc-libs-multilib are in conflict
pacman -Si gcc-objc
Repository : core
Name : gcc-objc
Version : 4.7.2-1
URL : http://gcc.gnu.org
Licenses : GPL LGPL FDL custom
Groups : None
Provides : None
Depends On : gcc=4.7.2-1
Optional Deps : None
Conflicts With : None
Replaces : None
Download Size : 8370.00 KiB
Installed Size : 25636.00 KiB
Packager : Allan McRae <allan@archlinux.org>
Architecture : x86_64
Build Date : Sun 07 Oct 2012 10:40:15 AM CEST
MD5 Sum : 97a393e2b2fbf67a231866a3c675d1a3
SHA256 Sum : c69f19fb8d291a0dd4505a8f1fb7b3499edba0854f96806b2c8a324126e8bac0
Signatures : Yes
Description : Objective-C front-end for GCC
# pacman -Si gcc-libs-multilib
Repository : multilib
Name : gcc-libs-multilib
Version : 4.7.1-6
URL : http://gcc.gnu.org
Licenses : GPL LGPL FDL custom
Groups : None
Provides : gcc-libs=4.7.1-6
Depends On : glibc>=2.16 lib32-gcc-libs=4.7.1-6
Optional Deps : None
Conflicts With : gcc-libs
Replaces : None
Download Size : 766.57 KiB
Installed Size : 3024.00 KiB
Packager : Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Architecture : x86_64
Build Date : Sat 11 Aug 2012 12:00:00 PM CEST
MD5 Sum : 65bb1041fb366867f6314878c6da9688
SHA256 Sum : 72bcb9c2a59a6c5c3d838b6edb06dd4d1a8d5f69d3f37ee54edac867e3b57d7e
Signatures : Yes
Description : Runtime libraries shipped by GCC for multilib
So ggc-objc depends on gcc=7.4.2-1 , but gcc-libs-multilibs has not been updated yet to that version .
While i can understand the conflict, and the obvious workaround is to wait for gcc-libs-multilib to be updated, then reinstall gcc-objc i have some concerns :
The errror message pacman gives is technically correct, but doesn't point to the real cause .
If pacman would give a more descriptive error like :
gcc_objc requires gcc=4.7.2-1 , install gcc-libs to provide this (y/N) ?
upon entering Yes, there would then be the message shown by pacman now, gcc-libs conflicts with gcc-libs-multilib, remove gcc-libs-multilib (y/N) ?
it would be a lot clearer where the problem lies .
- gcc-libs and gcc-libs-multilib are separate packages, what happens if their version number differs for some reason ?
example : gcc-libs-multilib requires changes that are not needed for gcc-libs .
say we have gcc-libs 4.7.2-3 and gcc-libs-multilib 4.7.2-4 .
this will give exactly the same problem as now, but this time the workaround waiting for gcc-libs-multilb to be updated won't work .
I'm willing to create a bugreport, but am not sure which package to make the bugreport against :
gcc-objc, gcc-libs, gcc-libs-multilib ?
i'd like some input from other archers about this.
Note : seems i might have to do 2 bugreports, 1 for pacman to give more descriptive errors, 1 for the problem itself.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Install gcc-objc-multilib.
Offline
This is my problem with this update
┌╸dany╺─╸~╺
└─╍ pac -Su --ignore gcc-libs
[sudo] password for dany:
:: Starting full system upgrade...
resolving dependencies...
warning: ignoring package gcc-libs-4.7.2-1
warning: cannot resolve "gcc-libs=4.7.2-1", a dependency of "gcc"
:: The following package cannot be upgraded due to unresolvable dependencies:
libtool
Do you want to skip the above package for this upgrade? [y/N]
Offline
@Brain0 Didn't realise that existed since i haven't needed to use lib32 stuff for objc , thanks for the tip.
ok, that leaves the part about a more descriptive error for pacman.
Since i'm not a coder and can't supply a patch, is it worth it to start a request ? and should that be a feature request or a bug report ?
@ na12 :
install libtool-multilib ?
Last edited by Lone_Wolf (2012-10-09 11:43:06)
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
same problem this morning. I removed gcc-multilib to complete the update, and now:
# pacman -S gcc-multilib
resolving dependencies...
looking for inter-conflicts...
:: gcc-libs-multilib and gcc-libs are in conflict. Remove gcc-libs? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: gcc-libs-multilib and gcc-libs are in conflict
Offline
Same problem here... Waiting for an update of gcc-libs-multilib
Offline
You're doing it wrong: Once you install ONE of the -multilib compiler packages, you need to use all of them instead of the core packages. Everything else is not supported:
binutils-multilib
gcc-ada-multilib
gcc-fortran-multilib
gcc-go-multilib
gcc-libs-multilib
gcc-multilib
gcc-objc-multilib
libtool-multilib
Offline
You're doing it wrong: Once you install ONE of the -multilib compiler packages, you need to use all of them instead of the core packages. Everything else is not supported:
binutils-multilib gcc-ada-multilib gcc-fortran-multilib gcc-go-multilib gcc-libs-multilib gcc-multilib gcc-objc-multilib libtool-multilib
That's right, but our yaourt/pacman wants to install gcc and gcc-libs instead of gcc-libs-multilib:
==> Package upgrade only (new release):
core/libltdl 2.4.2-6 6 -> 7
core/libtool 2.4.2-6 6 -> 7
extra/gstreamer0.10-bad 0.10.23-2 2 -> 3
extra/gstreamer0.10-bad-plugins 0.10.23-2 2 -> 3
extra/net-snmp 5.7.1-3 3 -> 4
==> Software upgrade (new version) :
core/linux 3.5.5-1 -> 3.5.6-1
core/linux-api-headers 3.5.1-1 -> 3.5.5-1
core/linux-headers 3.5.5-1 -> 3.5.6-1
extra/chromium 22.0.1229.79-2 -> 22.0.1229.92-1
==> New package :
core/gcc-libs 4.7.2-1 (required by gcc)
core/gcc 4.7.2-1 (required by libtool)
extra/opus 1.0.1-2 (required by gstreamer0.10-bad-plugins)
user@hostname:~$ pacman -Qs gcc
local/gcc-libs-multilib 4.7.1-6
Runtime libraries shipped by GCC for multilib
local/gcc-multilib 4.7.1-6 (multilib-devel)
The GNU Compiler Collection - C and C++ frontends for multilib
local/lib32-gcc-libs 4.7.1-6
Runtime libraries shipped by GCC (32-bit)
Last edited by KanocX (2012-10-09 13:01:41)
Offline
You have to replace libtool with libtool-multilib.
Offline
You have to replace libtool with libtool-multilib.
Ah, haven't seen this Thank you very much
Greetings,
KanocX
Offline
You're doing it wrong: Once you install ONE of the -multilib compiler packages, you need to use all of them instead of the core packages. Everything else is not supported:
binutils-multilib gcc-ada-multilib gcc-fortran-multilib gcc-go-multilib gcc-libs-multilib gcc-multilib gcc-objc-multilib libtool-multilib
I did install multilib-devel when i switched, but gcc-objc was already installed then.
since i only build x86_32 stuff with plain gcc, i didn't realise i hadn't replaced gc--objc with it's multilib counterpart.
Can groups have optional dependencies ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
I did install multilib-devel when i switched, but gcc-objc was already installed then.
since i only build x86_32 stuff with plain gcc, i didn't realise i hadn't replaced gc--objc with it's multilib counterpart.Can groups have optional dependencies ?
There is no way to restrict this using pacman as far as I know. I just hope that it is described on the wiki somewhere.
Sadly, we need those packages to provide their non-multilib counterparts (preferably versioned), but only when a non-toolchain package depends on them.
Offline
You have to replace libtool with libtool-multilib.
Thank you very much!!
With
packer -S gcc-multilib libtool-multilib
I have solved the problem!!
I love archlinux: the last STABLE kernel release + the last STABLE DE release + the last STABLE apps releases. The upstream developers decide what is STABLE.
Offline