link to c++ should be added to /usr/lib/ccache since cmake searches for it.

Bug #1170644 reported by Sven
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ccache (Debian)
New
Unknown
ccache (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

While using cmake in our project, we observed no ccache is used but ccache is installed correctly (and works with qmake for e.g.). cmake is using the c++ and will find it (/usr/bin) and therefore no ccache is used until we created a new link insicde /usr/local/ccache.

This may also be cross related with the update-alternatives, which seems to provide the symlink.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ccache (Ubuntu):
status: New → Confirmed
Revision history for this message
Michał Sawicz (saviq) wrote :

Apparently it's the configure script for ccache that takes care of creating the links, so `sudo dpkg-reconfigure ccache` should get it going. Not sure yet why it doesn't create them initially - maybe if it's installed before the compiler / alternative is built up?

Maybe it should have a dpkg trigger that would recreate the links based on some criteria?

Changed in ccache (Debian):
status: Unknown → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.