Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 176694 Details for
Bug 252664
sys-apps/portage should print a warning if $ARCH="x86" and $(uname -m)="x86_64"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use ARCH instead of CHOST
emerge.2.patch (text/plain), 680 bytes, created by
Cyp
on 2008-12-28 22:08:01 UTC
(
hide
)
Description:
Use ARCH instead of CHOST
Filename:
MIME Type:
Creator:
Cyp
Created:
2008-12-28 22:08:01 UTC
Size:
680 bytes
patch
obsolete
>--- /usr/bin/emerge 2008-10-10 23:05:44.000000000 +0200 >+++ emerge 2008-12-28 19:57:48.000000000 +0100 >@@ -6720,6 +6720,13 @@ > for line in wrap(msg, 72): > writemsg("%s%s\n" % (prefix, line), noiselevel=-1) > >+ host = commands.getstatusoutput("uname -m")[1] >+ arch = settings["ARCH"] >+ if host == "x86_64" and arch == "x86": >+ print colorize("BAD", "\n!!! WARNING: 32-bit CHOST does not match 64-bit uname -m") >+ print colorize("BAD", "To correctly chroot into a 32-bit environment, use the command \"linux32 chroot\".") >+ print colorize("BAD", "See http://www.gentoo.org/proj/en/base/amd64/howtos/chroot.xml for more information.") >+ > if "moo" in myfiles: > print """ >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 252664
:
176539
| 176694