Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310585 - use amd64: as condition in ebuilds not recognized (portage-2.1.8.3)
Summary: use amd64: as condition in ebuilds not recognized (portage-2.1.8.3)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-21 18:18 UTC by Christian Ostheimer
Modified: 2010-03-21 22:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ostheimer 2010-03-21 18:18:23 UTC
On an amd64 system emerging of bin86 and dev86 (both in sys-devel) fails.
Reason: "use amd64" condition in ebuilds is ignored.
portage is version portage-2.1.8.3 (with dev-lang/python-3.1.1-r1)

Solution/workaround: replace
  use amd64
by
  [ "$(tc-arch)" = amd64 ]

Question: is the command use .... deprecated in ebuilds or is it a bug in portage?

Christian Ostheimer

Reproducible: Always

Steps to Reproduce:
emerge bin86
Actual Results:  
emerge fails

Expected Results:  
emerge succeeds
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-03-21 18:24:19 UTC
post `emerge --info` and build.log of failing package, please
Comment 2 Christian Ostheimer 2010-03-21 22:35:01 UTC
This behavior is caused by corrupt stage3 which I compiled
(one x86 entry left in stage3 catalyst specfile because I switched from x86 to amd64)
I am recompiling my stage2/stage3 now (and would reopen this bug if it does not disappear).

Thanks for your quick answer!

(emerge --info gives .... default/linux/x86/10.0
with
CBUILD="x86_64-pc-linux-gnu"
CHOST="x86_64-pc-linux-gnu"
and it should be
default/linux/amd64/10.0)