Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113273 - sandbox ebuild syntax error: iscros should be iscross
Summary: sandbox ebuild syntax error: iscros should be iscross
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Sandbox (show other bugs)
Hardware: All Linux
: High normal
Assignee: Sandbox Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-22 11:35 UTC by Michael Wilcox
Modified: 2005-11-22 14:17 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 Michael Wilcox 2005-11-22 11:35:49 UTC
sandbox-1.2.13.ebuild:

    64          local iscross=0
    65          [[ -n ${CBUILD} && ${CBUILD} != ${CHOST} ]] && iscros=1

[[ -n ${CBUILD} && ${CBUILD} != ${CHOST} ]] && iscros=1
should be
[[ -n ${CBUILD} && ${CBUILD} != ${CHOST} ]] && iscross=1

This causes CBUILD to be set to CHOST

    71                  [[ ${iscross} == 0 ]] && export CBUILD=${CHOST}




Reproducible: Always
Steps to Reproduce:
1.set CBUILD != CHOST
2.emerge sandbox
3.

Actual Results:  
CBUILD == CHOST
sandbox is not cross compiled.

Expected Results:  
sandbox is cross compiled.
Comment 1 SpanKY gentoo-dev 2005-11-22 14:17:25 UTC
fixed in cvs, thanks