Bug 459102 - mock-0.9.7 cannot initialize x86_64 chroot on i386 host
Summary: mock-0.9.7 cannot initialize x86_64 chroot on i386 host
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora Hosted Projects
Classification: Retired
Component: mock
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Clark Williams
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-08-14 13:56 UTC by Derek Atkins
Modified: 2013-01-10 04:46 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-08-14 20:51:31 UTC
Embargoed:


Attachments (Terms of Use)

Description Derek Atkins 2008-08-14 13:56:27 UTC
Description of problem:

I'm running an i386 and trying to rebuild an SRPM for x86_64, however when I try to initialize the x86_64 chroot environment it fails:

# mock -r fedora-9-x86_64 init
INFO: mock.py version 0.9.7 starting...
[snip]
State Changed: running yum
ERROR: Command failed: 
 # /usr/bin/yum --installroot /var/lib/mock/fedora-9-x86_64/root/  groupinstall buildsys-build
Error: Missing Dependency: mktemp is needed by package redhat-rpm-config
Error: Missing Dependency: /bin/bash is needed by package redhat-rpm-config
Error: Missing Dependency: /usr/bin/perl is needed by package redhat-rpm-config
Error: Missing Dependency: perl(Getopt::Long) is needed by package redhat-rpm-config
Error: Missing Dependency: /bin/sh is needed by package redhat-rpm-config
Error: Missing Dependency: /bin/sh is needed by package fedora-release-notes


Version-Release number of selected component (if applicable):

mock-0.9.7

How reproducible:

100%  This happens every time with every x86_64 configuration I try.

Steps to Reproduce:
1. login to an i386-based Fedora system
2. run:  mock -r <choose-any-x86_64-platform> init
3. watch it die.
  
Actual results:

See above.

Expected results:

A working chroot environment so I could build RPMs.

Additional info:

Comment 1 Jesse Keating 2008-08-14 20:51:31 UTC
This is not supported.  Your CPU has to support the arch you're trying to create a buildroot for.


Note You need to log in before you can comment on or make changes to this bug.