<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>212135</bug_id>
          
          <creation_ts>2008-03-03 00:36 0000</creation_ts>
          <short_desc>dev-libs/newt-0.52.2 uses generic cc command to compile</short_desc>
          <delta_ts>2008-03-03 09:13:18 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>cslycord@gmail.com</reporter>
          <assigned_to>xmerlin@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>cslycord@gmail.com</who>
            <bug_when>2008-03-03 00:36:44 0000</bug_when>
            <thetext>+++ 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&apos;t occur with the latest ~amd64 version (0.52.7)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>cslycord@gmail.com</who>
            <bug_when>2008-03-03 00:38:26 0000</bug_when>
            <thetext>Created an attachment (id=145162)
Diff between original and fixed ebuild

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>xmerlin@gentoo.org</who>
            <bug_when>2008-03-03 09:13:18 0000</bug_when>
            <thetext>fixed in cvs thank you.
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>145162</attachid>
            <date>2008-03-03 00:38 0000</date>
            <desc>Diff between original and fixed ebuild</desc>
            <filename>the_diff</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC91c3IvcG9ydGFnZS9kZXYtbGlicy9uZXd0L25ld3QtMC41Mi4yLmVidWlsZAkyMDA4LTAy
LTE1IDE0OjM1OjQ2LjAwMDAwMDAwMCAtMDYwMAorKysgbmV3dC0wLjUyLjIuZWJ1aWxkCTIwMDgt
MDMtMDIgMTg6Mjk6MjkuMDAwMDAwMDAwIC0wNjAwCkBAIC01OSw2ICs1OSw3IEBACiAKIAkjIG5v
dCBwYXJhbGxlbCBzYWZlCiAJZW1ha2UgXAorCQlDQz0iJCh0Yy1nZXRDQykiCiAJCVBZVEhPTlZF
UlM9InB5dGhvbiR7UFlWRVJ9IiBcCiAJCVJQTV9PUFRfRkxBR1M9IiR7Q0ZMQUdTfSIgXAogCQl8
fCBkaWUgImVtYWtlIGZhaWxlZCIK
</data>        

          </attachment>
    </bug>

</bugzilla>