PPC Dependency Issues in mock

Michael Schwendt mschwendt at gmail.com
Thu Sep 18 10:01:22 UTC 2008


On Thu, 18 Sep 2008 04:54:07 -0400, Jameson wrote:

> On Wed, Sep 17, 2008 at 3:55 AM, Michael Schwendt wrote:
> > On Tue, 16 Sep 2008 23:38:00 -0400, Jameson wrote:
> >
> >> I still can't find anything on this.  I've tried using setarch to
> >> change the reported architecture to ppc, but it says that it's
> >> unrecognized.  Can anybody give me a lead?  Thanks.
> >>
> >> On Wed, Sep 10, 2008 at 6:31 PM, Jameson wrote:
> >> >
> >> > I'm trying to use mock to test building packages on architectures I
> >> > don't have access to (PPC and PPC64), but am running into some
> >> > trouble.  Using an unmodified config file, mock -r fedora-9-ppc --init
> >> > is giving me a lot of dependency errors, starting with Missing
> >> > Dependency: perl(Getopt::Long), and getting worse with things like
> >> > Missing Dependency: /bin/sh and Missing Dependency: /bin/bash.
> >> > Obviously, since I can't even get bash installed, I can't shell into
> >> > the chroot to look around.  Any idea what's wrong?  I have changed my
> >> > default config (for i386) to use local repo mirrors.
> >
> > You're trying to install and use powerpc packages on i386?
> > Forget it.
> 
> I'm not interested in installing them, only doing test builds.  

Think twice. What does mock do? It uses RPM to install the packages into a
chroot and then runs the installed software for building.

> Should I be using an emulator to do test builds instead?

Or koji --scratch builds with the Fedora build system. You can even build
for specific architectures only.




More information about the fedora-list mailing list