Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517242 - dev-util/ccache: pkg_prerm() leaves /usr/$(get_libdir)/ccache and /usr/$(get_libdir)/ccache/bin directories
Summary: dev-util/ccache: pkg_prerm() leaves /usr/$(get_libdir)/ccache and /usr/$(get_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: Normal trivial (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-16 13:48 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2014-11-04 04:51 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 Arfrever Frehtes Taifersar Arahesis 2014-07-16 13:48:32 UTC
pkg_prerm() of dev-util/ccache-3.1.9-r3 deletes all regular files in /usr/$(get_libdir)/ccache/bin, but leaves /usr/$(get_libdir)/ccache and /usr/$(get_libdir)/ccache/bin directories.

Output of pkg_prerm():

 * Removing /usr/lib64/ccache/bin/gcc ...                      [ ok ]
 * Removing /usr/lib64/ccache/bin/cc ...                       [ ok ]
 * Removing /usr/lib64/ccache/bin/c++ ...                      [ ok ]
 * Removing /usr/lib64/ccache/bin/g++ ...                      [ ok ]
 * Removing /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-gcc ...  [ ok ]
 * Removing /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-c++ ...  [ ok ]
 * Removing /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++ ...  [ ok ]



$ ls -a /usr/lib64/ccache
.  ..  bin
$ ls -a /usr/lib64/ccache/bin
.  ..
$
Comment 1 SpanKY gentoo-dev 2014-11-01 07:54:37 UTC
should be all set now in the tree; thanks for the report!

Commit message: Trim empty ccache dirs automatically
http://sources.gentoo.org/dev-util/ccache/files/ccache-config?r1=1.4&r2=1.5
Comment 2 Arfrever Frehtes Taifersar Arahesis 2014-11-03 19:09:53 UTC
Problem still present in dev-util/ccache-3.1.10-r1.

You changed ${FILESDIR}/ccache-config, but >=dev-util/ccache-3.1.9-r1 use ${FILESDIR}/ccache-config-2.
Comment 3 SpanKY gentoo-dev 2014-11-04 04:51:26 UTC
should be all set now in the tree; thanks for the report!

Commit message: Trim empty ccache dirs automatically
http://sources.gentoo.org/dev-util/ccache/files/ccache-config-2?r1=1.3&r2=1.4