Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 279598

Summary: sys-kernel/genkernel-3.4.10.905 doesn't autodetect platform as amd64 correctly in chroot
Product: Gentoo Hosted Projects Reporter: Richard Scott <gentoo.bugs>
Component: genkernelAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Scott 2009-07-29 16:22:43 UTC
I have an amd64 system that I've booted and I'm trying to create 2nd a chrooted setup for testing within the same system.

I have unpacked the stage3-amd64-hardened.tar.bz2 into /var/lib/gentoo and chrooted into it, updated it and emerge hardened-sources and genkernel (Which, BTW, is the same as my running OS).

When I get to compiling a kernel I am unable to compile one that is for the x86_64 arch as genkernel detects the arch as just x86.

My booted OS works fine and genkernel creates an x86_64 kernel.

Reproducible: Always

Steps to Reproduce:
1. unpack a stage3 amd64 tarball
2. chroot into that new directory and update
3. run genkernel --menuconfig all
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2009-07-30 12:41:36 UTC
Let me guess...you were chrooting with linux32/setarch?
Comment 2 Richard Scott 2009-07-30 12:45:24 UTC
<whistling> yup, how'd you guess ;-)
I forgot I'd put it in my chroot script!