I tried to install follow the thread https://www.redhat.com/ 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/ redhat-rpm-config-9.0.2-1.fc9. --> Missing Dependency: perl(Getopt::Long) is needed by package redhat-rpm-config-9.0.2-1.fc9. redhat-rpm-config-9.0.2-1.fc9. --> Missing Dependency: /bin/sh is needed by package redhat-rpm-config-9.0.2-1.fc9. redhat-rpm-config-9.0.2-1.fc9. --> Missing Dependency: /bin/bash is needed by package redhat-rpm-config-9.0.2-1.fc9. fedora-release-notes-9.0.2-1. --> Missing Dependency: /bin/sh is needed by package fedora-release-notes-9.0.2-1. redhat-rpm-config-9.0.2-1.fc9. --> Missing Dependency: mktemp is needed by package redhat-rpm-config-9.0.2-1.fc9. fedora-release-notes-9.0.2-1. --> Missing Dependency: /bin/sh is needed by package fedora-release-notes-9.0.2-1. redhat-rpm-config-9.0.2-1.fc9. --> Missing Dependency: /usr/bin/perl is needed by package redhat-rpm-config-9.0.2-1.fc9. Error: Missing Dependency: /usr/bin/perl is needed by package redhat-rpm-config-9.0.2-1.fc9. Error: Missing Dependency: /bin/sh is needed by package fedora-release-notes-9.0.2-1. Error: Missing Dependency: perl(Getopt::Long) is needed by package redhat-rpm-config-9.0.2-1.fc9. Error: Missing Dependency: /bin/sh is needed by package redhat-rpm-config-9.0.2-1.fc9. Error: Missing Dependency: /bin/bash is needed by package redhat-rpm-config-9.0.2-1.fc9. Error: Missing Dependency: mktemp is needed by package redhat-rpm-config-9.0.2-1.fc9. 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:
|