Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36987 - bzip2-1.0.2-r3.ebuild fails to compile if environment variable CC is not defined
Summary: bzip2-1.0.2-r3.ebuild fails to compile if environment variable CC is not defined
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-01 19:48 UTC by Seth Robertson
Modified: 2004-01-02 20:48 UTC (History)
1 user (show)

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 Seth Robertson 2004-01-01 19:48:44 UTC
With my default environment (everyone's default?) I cannot emerge bzip2

Reproducible: Always
Steps to Reproduce:
1.unset CC
2.emerge gzip2


Actual Results:  
Compiler error

Expected Results:  
installed

Either defined CC, modify ebuild to not include CC="$(CC)" on command line, etc.
Ideally probe to see if CC is defined.  There is a bug 8201 or something like
that which complains that CC definition is ignored.
Comment 1 SpanKY gentoo-dev 2004-01-01 19:56:24 UTC
i believe the correct way of doing it is:
inherit gcc
$(gcc-getCC)
Comment 2 SpanKY gentoo-dev 2004-01-02 20:48:11 UTC
fixed in cvsz0r