Discussion:
Unable to cleanly install cups-devel.i686 on a Fedora 12 x86_64 machine
Alex Villací­s Lasso
2009-12-10 18:37:22 UTC
Permalink
I have just updated my setup to Fedora 12 on 64 bits, and I want to
compile Wine for this setup. I followed the instructions at:
http://wiki.winehq.org/WineOn64bit on the section for Fedora 12.
However, I have the following error when trying to install the packages
as directed by the wiki:

Error en la verificación de la transacción:
file /usr/bin/cups-config from install of
cups-devel-1:1.4.2-7.fc12.i686 conflicts with file from package
cups-devel-1:1.4.2-7.fc12.x86_64

Resumen de errores
-------------

What I understand from this is that /usr/bin/cups-config is provided by
both packages, and cannot be marked as shared by both packages. I want
to have both 32 and 64-bit support for compiling programs that use CUPS.
Does this problem have a clean workaround? Or should I complain instead
to the Fedora packagers?
Paul Chitescu
2009-12-10 18:46:29 UTC
Permalink
Post by Alex Villací­s Lasso
I have just updated my setup to Fedora 12 on 64 bits, and I want to
http://wiki.winehq.org/WineOn64bit on the section for Fedora 12.
However, I have the following error when trying to install the packages
file /usr/bin/cups-config from install of
cups-devel-1:1.4.2-7.fc12.i686 conflicts with file from package
cups-devel-1:1.4.2-7.fc12.x86_64
Resumen de errores
-------------
What I understand from this is that /usr/bin/cups-config is provided by
both packages, and cannot be marked as shared by both packages. I want
to have both 32 and 64-bit support for compiling programs that use CUPS.
Does this problem have a clean workaround? Or should I complain instead
to the Fedora packagers?
Hi!

Unfortunately in RPM based distros that use side-by-side multiarch libraries
(as opposed to chroot) it's not possible to have multiple architecture devel
version of most (if not all) packages. Not only config programs are clashing
but include files too.
Michael Stefaniuc
2009-12-10 22:07:34 UTC
Permalink
Post by Paul Chitescu
Post by Alex Villací­s Lasso
I have just updated my setup to Fedora 12 on 64 bits, and I want to
http://wiki.winehq.org/WineOn64bit on the section for Fedora 12.
However, I have the following error when trying to install the packages
file /usr/bin/cups-config from install of
cups-devel-1:1.4.2-7.fc12.i686 conflicts with file from package
cups-devel-1:1.4.2-7.fc12.x86_64
Resumen de errores
-------------
What I understand from this is that /usr/bin/cups-config is provided by
both packages, and cannot be marked as shared by both packages. I want
to have both 32 and 64-bit support for compiling programs that use CUPS.
Does this problem have a clean workaround? Or should I complain instead
to the Fedora packagers?
Unfortunately in RPM based distros that use side-by-side multiarch libraries
(as opposed to chroot) it's not possible to have multiple architecture devel
version of most (if not all) packages. Not only config programs are clashing
but include files too.
That is incorrect:
luna:~# rpm -q cups-devel
cups-devel-1.4.2-7.fc11.x86_64
cups-devel-1.4.2-7.fc11.i586

On F11 the only devel package I have problems installing side by side is
openal-devel. The other problem i have is that although gphoto2-devel is
installed it isn't recognized by Wine. I know, I should have put in
bugzillas for those.

To summarize: the side by side install of 32-bit and 64-bit rpms
basically just works and is *vastly* superior to the solution that the
deb based distros did. Now let the flame war begin ...

Alex, please open a bugzilla for that; it's a bug/regression that
slipped in.

bye
michael
Alasdair Sinclair
2009-12-10 22:08:40 UTC
Permalink
Post by Paul Chitescu
Post by Alex Villací­s Lasso
I have just updated my setup to Fedora 12 on 64 bits, and I want to
http://wiki.winehq.org/WineOn64bit on the section for Fedora 12.
However, I have the following error when trying to install the packages
file /usr/bin/cups-config from install of
cups-devel-1:1.4.2-7.fc12.i686 conflicts with file from package
cups-devel-1:1.4.2-7.fc12.x86_64
Resumen de errores
-------------
What I understand from this is that /usr/bin/cups-config is provided by
both packages, and cannot be marked as shared by both packages. I want
to have both 32 and 64-bit support for compiling programs that use CUPS.
Does this problem have a clean workaround? Or should I complain instead
to the Fedora packagers?
Hi!
Unfortunately in RPM based distros that use side-by-side multiarch libraries
(as opposed to chroot) it's not possible to have multiple architecture devel
version of most (if not all) packages. Not only config programs are clashing
but include files too.
Lots of the multiarch devel packages live quite happly side by side.
Looks like this used to work but got broken with F12 see
https://bugzilla.redhat.com/show_bug.cgi?id=540620.

Alasdair
Vitaliy Margolen
2009-12-11 03:07:47 UTC
Permalink
Post by Paul Chitescu
Unfortunately in RPM based distros that use side-by-side multiarch libraries
(as opposed to chroot) it's not possible to have multiple architecture devel
version of most (if not all) packages.
Then how am I doing Wine development for the past 2 years on 64-bit rpm
based distro? Or compiling XOrg as 32-bit and 64-bit on the same distro?

This is just a bug in 32-bit rpm - it shouldn't be including that config
file, only libraries. Besides using "--force" one can still install the
32-bit rpm. As for include files - they should be identical between 32-bit
and 64-bit or the library is broken and shouldn't be used at all.

Vitaliy.

Loading...