I tried to install follow the thread https://www.redhat.com/archives/fedora-buildsys-list/2009-July/msg00000.html.
And I tried to init buildroot by command
mock -r fedora-9-ppc --init  to check if mock can make a cross build environment first but it didn't run. It reported errors.
mock -r fedora-9-ppc --init
INFO: mock.py version 0.9.16 starting...
State Changed: init plugins
State Changed: start
State Changed: lock buildroot
State Changed: clean
State Changed: init
State Changed: lock buildroot
Mock Version: 0.9.16
INFO: Mock Version: 0.9.16
INFO: enabled root cache
INFO: enabled yum cache
State Changed: cleaning yum metadata
INFO: enabled ccache
State Changed: running yum
ERROR: Command failed:
 # /usr/bin/yum --installroot /var/lib/mock/fedora-9-ppc/
root/  groupinstall buildsys-build
redhat-rpm-config-9.0.2-1.fc9.noarch from fedora has depsolving problems
  --> Missing Dependency: perl(Getopt::Long) is needed by package redhat-rpm-config-9.0.2-1.fc9.noarch (fedora)
redhat-rpm-config-9.0.2-1.fc9.noarch from fedora has depsolving problems
  --> Missing Dependency: /bin/sh is needed by package redhat-rpm-config-9.0.2-1.fc9.noarch (fedora)
redhat-rpm-config-9.0.2-1.fc9.noarch from fedora has depsolving problems
  --> Missing Dependency: /bin/bash is needed by package redhat-rpm-config-9.0.2-1.fc9.noarch (fedora)
fedora-release-notes-9.0.2-1.noarch from updates-released has depsolving problems
  --> Missing Dependency: /bin/sh is needed by package fedora-release-notes-9.0.2-1.noarch (updates-released)
redhat-rpm-config-9.0.2-1.fc9.noarch from fedora has depsolving problems
  --> Missing Dependency: mktemp is needed by package redhat-rpm-config-9.0.2-1.fc9.noarch (fedora)
fedora-release-notes-9.0.2-1.noarch from updates-released has depsolving problems
  --> Missing Dependency: /bin/sh is needed by package fedora-release-notes-9.0.2-1.noarch (updates-released)
redhat-rpm-config-9.0.2-1.fc9.noarch from fedora has depsolving problems
  --> Missing Dependency: /usr/bin/perl is needed by package redhat-rpm-config-9.0.2-1.fc9.noarch (fedora)
Error: Missing Dependency: /usr/bin/perl is needed by package redhat-rpm-config-9.0.2-1.fc9.noarch (fedora)
Error: Missing Dependency: /bin/sh is needed by package fedora-release-notes-9.0.2-1.noarch (updates-released)
Error: Missing Dependency: perl(Getopt::Long) is needed by package redhat-rpm-config-9.0.2-1.fc9.noarch (fedora)
Error: Missing Dependency: /bin/sh is needed by package redhat-rpm-config-9.0.2-1.fc9.noarch (fedora)
Error: Missing Dependency: /bin/bash is needed by package redhat-rpm-config-9.0.2-1.fc9.noarch (fedora)
Error: Missing Dependency: mktemp is needed by package redhat-rpm-config-9.0.2-1.fc9.noarch (fedora)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.

I think mock-cross hasn't run yet. Do I have to configure any thing to make mock can cross build first.

Thank in advance.


Nguyễn Văn Tân

--- Ngày Thứ 2, 17/08/09, fedora-buildsys-list-request@redhat.com <fedora-buildsys-list-request@redhat.com> đã viết:

Từ: fedora-buildsys-list-request@redhat.com <fedora-buildsys-list-request@redhat.com>
Chủ đề: Fedora-buildsys-list Digest, Vol 54, Issue 5
Đến: fedora-buildsys-list@redhat.com
Ngày: Thứ Hai, 17 tháng 8, 2009, 23:00

Send Fedora-buildsys-list mailing list submissions to
    fedora-buildsys-list@redhat.com

To subscribe or unsubscribe via the World Wide Web, visit
    https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
or, via email, send a message with subject or body 'help' to
    fedora-buildsys-list-request@redhat.com

You can reach the person managing the list at
    fedora-buildsys-list-owner@redhat.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Fedora-buildsys-list digest..."


Today's Topics:

   1. Using koji to build Fedora ppc on i386 (NGUYEN VAN TAN)
   2. Re: Using koji to build Fedora ppc on i386 (Jesse Keating)
   3. Re: Using koji to build Fedora ppc on i386 (Mike McLean)


----------------------------------------------------------------------

Message: 1
Date: Sun, 16 Aug 2009 23:42:55 -0700 (PDT)
From: NGUYEN VAN TAN <tan20bk@yahoo.com>
Subject: Using koji to build Fedora ppc on i386
To: fedora-buildsys-list@redhat.com
Message-ID: <235425.55444.qm@web62406.mail.re1.yahoo.com>
Content-Type: text/plain; charset="utf-8"

Hi all,

I'm wondering there is possible to build Fedora 9 PPC on an I386 Fedora 9 by using koji.
If it is possible how to configure koji to do that.

Thank you,






      &quot;Tốt hơn, thoáng gọn hơn, nhanh hơn -Trải nghiệm Yahoo! Mail mới hôm nay!
http://vn.mail.yahoo.com"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.redhat.com/archives/fedora-buildsys-list/attachments/20090816/6fbf166e/attachment.html

------------------------------

Message: 2
Date: Mon, 17 Aug 2009 07:52:45 -0700
From: Jesse Keating <jkeating@redhat.com>
Subject: Re: Using koji to build Fedora ppc on i386
To: tannv84@gmail.com,    Discussion of Fedora build system
    <fedora-buildsys-list@redhat.com>
Message-ID: <1250520765.2745.53.camel@localhost.localdomain>
Content-Type: text/plain; charset="utf-8"

On Sun, 2009-08-16 at 23:42 -0700, NGUYEN VAN TAN wrote:
> I'm wondering there is possible to build Fedora 9 PPC on an I386 Fedora 9 by using koji.
> If it is possible how to configure koji to do that.

Not easily possible.  You'd have to be running koji under qemu and make
sure all launched process are under qemu, which will make it extremely
slow.


--
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://www.redhat.com/archives/fedora-buildsys-list/attachments/20090817/6708795b/attachment.bin

------------------------------

Message: 3
Date: Mon, 17 Aug 2009 10:53:30 -0400
From: Mike McLean <mikem.rtp@gmail.com>
Subject: Re: Using koji to build Fedora ppc on i386
To: tannv84@gmail.com,    Discussion of Fedora build system
    <fedora-buildsys-list@redhat.com>
Message-ID:
    <4f50e0680908170753w6e9d029bi3ffcd84cd9be4b4b@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

On Mon, Aug 17, 2009 at 2:42 AM, NGUYEN VAN TAN<tan20bk@yahoo.com> wrote:
> I'm wondering there is possible to build Fedora 9 PPC on an I386 Fedora 9 by
> using koji.
> If it is possible how to configure koji to do that.

At present koji does not support cross compilation, though there was a
thread with some patches last month.
https://www.redhat.com/archives/fedora-buildsys-list/2009-July/msg00000.html



------------------------------

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list

End of Fedora-buildsys-list Digest, Vol 54, Issue 5
***************************************************


Cảm giác an toàn hơn khi online.
Nâng cấp lên Internet Explorer 8 mới, an toàn hơn, tối ưu hóa cho Yahoo!. Hoàn toàn miễn phí. Tải IE8 tại đây!