Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 18242
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Zach Welch (RETIRED) <zwelch@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tom Ward <jesus@warwickcompsoc.co.uk>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
man-1.5l-r1.diff removes line that forces CC = gcc patch James Boddington 2003-03-26 18:40 0000 332 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 18242 depends on: Show dependency tree
Bug 18242 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-03-26 13:56 0000
man-1.5l-r1 ignores the value of CC in the environment, and uses gcc. This
causes 
make to fail on my system, as I'm using distcc with a crosscompiler, and need
to use 
$CHOST-gcc. 

Reproducible: Always
Steps to Reproduce:
1. CC=powerpc-unknown-linux-gnu-gcc emerge -u man 
2. 
3. 
Actual Results:  
(approximate) 

gcc .... man.c 
[distcc] CRITICAL! distcc seems to have invoked itself recursively! 
make: *** Error 111 

Expected Results:  
compiled

------- Comment #1 From Tom Ward 2003-03-26 13:59:32 0000 -------
Applying the following to sys-apps/man/man-1.5l-r1.ebuild fixes the problem 
 
83c83 
<       make || die 
--- 
>       make CC=${CC}|| die 
 

------- Comment #2 From James Boddington 2003-03-26 18:40:03 0000 -------
Created an attachment (id=9878) [details]
removes line that forces CC = gcc

There is a line src_unpack() that forces CC=gcc. This patch removes that line.
With that line removed CC can now be over ridden from the command line.

------- Comment #3 From Zach Welch (RETIRED) 2003-03-26 20:08:01 0000 -------
Fixed in the main portage tree. I also fixed the sed for the main file.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug