[coyotos-dev] Update to capros-host-xenv package
Jonathan S. Shapiro
shap at eros-os.com
Wed Jun 25 09:45:45 CDT 2008
Last week, I updated the capros-host-xenv and coyotos-host-xenv packages
to remove the dependency on ccache. The CapROS build (so far as I know)
does not use ccache. The Coyotos build uses it if and only if it is
present.
The reason for this change is that ccache installs itself to run by
default when *normal* compiles are run. Given that ccache is not 100%
reliable in the face of compiler upgrades, this can only be described as
lunacy on the part of the ccache packager, but I was unable to persuade
them to drop the "default on" approach to installation.
Two weeks ago, we had a case where the Coyotos cross tools (including
ccache) were installed on a machine, with the effect that a completely
unrelated project failed to build correctly after a compiler upgrade. It
is still not quite clear what happened, but after learning about the
ccache install I decided that it would be best to remove the dependency.
RECOMMENDED ACTION FOR CAPROS DEVELOPERS:
Since the CapROS build does not rely on ccache, my recommendation is to
remove ccache. To do so, you will first need to update to the latest
cross tools so that the dependency on ccache from capros-host-xenv will
be removed. You can then remove ccache by (as root):
rpm -e ccache
Individual users may want to remove their ccache cache directories as
well:
rm -rf ~/.ccache
This can be done more cleanly by running
ccache -C
but of course you need to do this before removing the ccache package.
RECOMMENDED ACTION FOR COYOTOS DEVELOPERS
The Coyotos build *does* use ccache if it is present, but as of Monday
it no longer does so automatically. In the current tree you have two
choices:
1. Remove ccache and continue to develop without it. The compile
time for the Coyotos tree really isn't that long, and this
approach will eliminate any possibility of difficulties arising
from the presence of ccache.
2. Continue to use ccache
If you wish to continue using ccache, you will need to cd
to .../coyotos/src and run
./configure --with-ccache
You can later disable use of ccache by:
./configure --without-ccache
If your version of configure doesn't know about --with[out]-cache, run
"make update" to get the latest version of everything.
Jonathan
More information about the coyotos-dev
mailing list