Bug 315441

Summary: ccache-2.4-10.fc8 causes gcc to silently fail if HOME is not set
Product: [Fedora] Fedora Reporter: Will Woods <wwoods>
Component: ccacheAssignee: Ville Skyttä <ville.skytta>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 2.4-11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-10-02 16:59:53 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Will Woods 2007-10-02 14:48:31 UTC
with gcc-4.1.2-28 and ccache-2.4-10.fc8 installed, the following command
silently fails:
  env -i PATH=$PATH gcc -v
ltrace reveals the following:
  getenv("HOME") = NULL
  exit(1 <unfinished ...>
After removing ccache, everything works as expected.

Comment 1 Ville Skyttä 2007-10-02 16:59:53 UTC
Thanks for the report, applied fix from upstream CVS in ccache-2.4-11 which also
makes ccache at least output an error message to stderr if it still fails to get
the home dir for some reason.

Comment 2 Fedora Update System 2011-04-02 11:45:30 UTC
ccache-2.4-19.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/ccache-2.4-19.el5

Comment 3 Fedora Update System 2011-04-25 18:54:09 UTC
ccache-2.4-19.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.