Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 509956 - dev-util/ccache: should use /usr/lib/ccache rather than $(get_libdir)
Summary: dev-util/ccache: should use /usr/lib/ccache rather than $(get_libdir)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-10 09:40 UTC by Michał Górny
Modified: 2016-09-24 02:52 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-05-10 09:40:50 UTC
The ccache symlinks are ABI-independent and directories like /usr/lib32/ccache will never make sense. Plus the ebuild is modifying ccache to behave in non-standard way.

Please make it use /usr/lib/ccache ('lib' like used by gcc, clang, boa, java, systemd...) like it's supposed to work.
Comment 1 SpanKY gentoo-dev 2014-11-01 08:11:51 UTC
should be all set now in the tree; thanks for the report!

Commit message: Always use /usr/lib/ccache/bin/
http://sources.gentoo.org/dev-util/ccache/ccache-3.1.10-r1.ebuild?rev=1.1
Comment 2 Steven Newbury 2016-03-01 10:05:53 UTC
This hasn't been correctly resolved.  Either --libdir=/usr/lib needs to be use with configure, or the LIBDIR ccache-config should be set to /usr/$(get_libdir).

Currently this does not on x32 due to --libdir=/usr/libx32 being passed to configure from the "default" configure which is *not* symlinked to /usr/lib.
Comment 3 Steven Newbury 2016-03-01 10:12:46 UTC
Just to follow up, obviously the correct fix would be to use "econf --libdir=/usr/lib", I've done this in my x32 overlay and it works fine now.