Catalyst depends on ccache even though it can be used without it Possibly convert to a (local) USE flag? Reproducible: Always Steps to Reproduce: 1. emerge -vp catalyst Actual Results: [ebuild N ] dev-util/ccache-2.3 0 kB [ebuild U ] dev-util/catalyst-1.1.1 [1.0.9] +cdr +doc* 488 kB Expected Results: [ebuild U ] dev-util/catalyst-1.1.1 [1.0.9] +cdr +doc* 488 kB
Is it not possible to isolate the catalyst ccache information from the system ccache information? I mean, catalyst should be able to install ccache when it is configured, and uninstall it when it is done. It also should be smart enough to see if it is already installed on the host system. Isn't this how distcc works with catalyst?
distcc doesn't use the host system. since it is used in a chroot, the package must first be merged into the chroot before it can be used. To be honest, I don't know why ccache is a dep. Its been awhile since I have looked at the code, but IIRC, ccache is merged in the chroot and a bind mount is made to the system ccache, er, cache. (which is what you are saying ...)
I think the problem is that the system cache doesn't exist unless ccache is installed. This can cause catalyst to fail. We basically have two options. RDEPEND on ccache (like we do now) or RDEPEND on ccache if a USE flag is set.
hm. USE flag sounds good to me in this case ..
Alright... this brings up another point. Should catalyst have a RDEPEND for other items that it uses? I mean, we've got cdr-tools, zisofs-tools, squashfs-tools, splash-utils, bootsplash... I'm sure there are some others, but those are all I could think of at this time. Should we make them all USE flags? What do we do about bootsplash/gensplash? They are mutually exclusive on a machine, so USE="bootsplash gensplash" would be invalid. Should we instead default to bootsplash and have gensplash as a USE flag? We cannot default to gensplash simply because gensplash uses KBUILD, which means it checks your *current kernel* for gensplash patches. What if a person is running a 2.4 kernel, but wants to build a 2.6/gensplash LiveCD? Did I mention that gensplash is a PITA?
I forgot to mention that this is resolved in catalyst 1.1.2