Bug 315441 - ccache-2.4-10.fc8 causes gcc to silently fail if HOME is not set
Summary: ccache-2.4-10.fc8 causes gcc to silently fail if HOME is not set
Alias: None
Product: Fedora
Classification: Fedora
Component: ccache
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-10-02 14:48 UTC by Will Woods
Modified: 2011-04-25 18:54 UTC (History)
0 users

Fixed In Version: 2.4-11
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-10-02 16:59:53 UTC

Attachments (Terms of Use)

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.

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.

Note You need to log in before you can comment on or make changes to this bug.