[Fedora-packaging] Re: -devel arch dependencies

Axel Thimm Axel.Thimm at ATrpms.net
Thu Apr 12 09:31:37 UTC 2007

On Wed, Apr 11, 2007 at 03:04:54PM -0600, Orion Poplawski wrote:
> Here's a question.  Should -devel package requirements be of the form:
> Requires: package-devel.%{arch}

Maybe it makes more sense to disallow rpm from satisfying cross-arch
dependencies at all. noarch belongs to all archs in this
sense. E.g. in the noarch, i386, x86_64 world, don't allow i386
packages to satisfy depednencies of x86_64 and vice-versa.

> I ask because of the following:
> # yum list libX11-devel
> Loading "installonlyn" plugin
> Setting up repositories
> Reading repository metadata in from local files
> Excluding Packages from Fedora Core 6 - x86_64 - Updates
> Finished
> Installed Packages
> libX11-devel.i386                        1.0.3-6.fc6            installed
> Available Packages
> libX11-devel.x86_64                      1.0.3-7.fc6            updates
> libX11-devel.i386                        1.0.3-7.fc6            updates
> [root at apollo ~]# rpm -e libX11-devel
> error: Failed dependencies:
>         libX11-devel is needed by (installed) libXpm-devel-3.5.5-3.x86_64
>         libX11-devel is needed by (installed) 
> libXt-devel-1.0.2-3.1.fc6.x86_64
>         libX11-devel is needed by (installed) libXmu-devel-1.0.2-5.x86_64
>         libX11-devel is needed by (installed) 
> libXext-devel-1.0.1-2.1.x86_64
>         libX11-devel is needed by (installed) 
> mesa-libGL-devel-6.5.1-9.fc6.x86_64
>         libX11-devel is needed by (installed) libXpm-devel-3.5.5-3.i386
>         libX11-devel is needed by (installed) 
> libXt-devel-1.0.2-3.1.fc6.i386
>         libX11-devel is needed by (installed) libXext-devel-1.0.1-2.1.i386
> Should the libXpm-devel-3.5.5-3.x86_64 requirement for "libX11-devel" be 
> satisfied by libX11-devel.i386?  The needed libraries won't be there for 
> linking.
> Can this be done in packaging, or does this need to be done in rpm?

Axel.Thimm at ATrpms.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-packaging/attachments/20070412/ce5efd37/attachment.sig>

More information about the Fedora-packaging mailing list