Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212135 - dev-libs/newt-0.52.2 uses generic cc command to compile
Summary: dev-libs/newt-0.52.2 uses generic cc command to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Christian Zoffoli (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-03 00:36 UTC by Chris Slycord
Modified: 2008-03-03 09:13 UTC (History)
0 users

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


Attachments
Diff between original and fixed ebuild (the_diff,306 bytes, text/plain)
2008-03-03 00:38 UTC, Chris Slycord
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Slycord 2008-03-03 00:36:44 UTC
+++ This bug was initially created as a clone of Bug #194233 +++

During the compile phase for dev-libs/newt-0.52.2 , cc is invoked instead of a CHOST-specific command (like i686-pc-linux-gnu-gcc). This could cause troubles if trying to do, say, a cross-compile and the system cc gets called (since normally it would use the CHOST for the cross compiler).

Reproducible: Always

Steps to Reproduce:
1. Install dev-libs/newt-0.52.2
2. Look at output during either the configure or compile phases
3.

Actual Results:  
cc is invoked

Expected Results:  
A CHOST-specific compiler name to be invoked

NOTE: A simple ebuild fix to follow
Second Note: This problem doesn't occur with the latest ~amd64 version (0.52.7)
Comment 1 Chris Slycord 2008-03-03 00:38:26 UTC
Created attachment 145162 [details]
Diff between original and fixed ebuild
Comment 2 Christian Zoffoli (RETIRED) gentoo-dev 2008-03-03 09:13:18 UTC
fixed in cvs thank you.