yum-builddep pulling in i386 packages for x86_64 -devel dependencies

James Antill james at fedoraproject.org
Fri Mar 6 16:41:34 UTC 2009


On Fri, 2009-03-06 at 07:05 -0800, Tom London wrote:

> Are you saying that, for example, gnome-panel.x86_64 should change its
> requires of gnome-session-xsession to
> 
> gnome-session-xsession%{_isa}

 It probably doesn't need to.

> If so, I'm guessing there are "lots of these".

 The cases where you have to add it are:

1. You have a dep. from pkgA to pkgB where the arch _must_ be the same
(Eg. any dep. on coreutils doesn't require a specific arch, because you
are just running a program).

2. pkgA doesn't have anything that would require the correct arch. (so
anything with a libpkgB.so()(64bit) shouldn't have any explicit
requires, and will just work).

3. pkgB is multilib.

...the "majority" of cases where it's a problem are things that have
deps. on *-devel pkgs. Esp. if you have pkgA-devel requires pkgB-devel,
usually the only way to do that is via. an explicit requires on
pkgB-devel%{_isa}.

 Obviously you can still do it if #3 isn't true, but it's not as big a
deal.

-- 
James Antill <james at fedoraproject.org>
Fedora




More information about the fedora-devel-list mailing list