Avoiding install of x86_64 packages for i386 builds

Jeff Sheltren sheltren at cs.ucsb.edu
Sat May 13 14:23:12 UTC 2006


On May 13, 2006, at 9:43 AM, Dennis Gilmore wrote:

> On Saturday 13 May 2006 6:34 am, Jeff Sheltren wrote:
>> I'm having a problem when building packages which have a dependency
>> sitting in the plague 'repo_dir'.  Since plague puts all arches of a
>> package in the same sub directory under 'repo_dir', if a package has
>> both i386 and x86_64 binaries, later builds which pull in those
>> packages as a dependency will install the x86_64 binary rather than
>> the i386 one.  Yes, I have brought this problem on myself - I want to
>> have stuff in repo_dir be usable for builds even before those
>> packages are pushed to the main repository.  In order to do this, I
>> have to point mock to the same repodir for both i386 and x86_64.
>>
>> So, I have a couple of questions:  is there a way to have plague sort
>> packages in the repo_dir differently than it does by default?  How
>> does Extras avoid this problem?
> have a look in the x86_64 mock config files  there is a line
> exclude=*.i386 *.i686 *.athlon *.i586 *.486
>
> to your i386 mock configs  add
> exclude=*.x86_64

That was easy - thanks for bringing it to my attention!  I don't know  
why I didn't think of that...

-Jeff




More information about the Fedora-buildsys-list mailing list