Bug 459102 - mock-0.9.7 cannot initialize x86_64 chroot on i386 host
mock-0.9.7 cannot initialize x86_64 chroot on i386 host
Status: CLOSED NOTABUG
Product: Fedora Hosted Projects
Classification: Retired
Component: mock (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Clark Williams
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-08-14 09:56 EDT by Derek Atkins
Modified: 2013-01-09 23:46 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-08-14 16:51:31 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Derek Atkins 2008-08-14 09:56:27 EDT
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 16:51:31 EDT
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.