On Sun, Oct 23, 2011 at 8:39 AM, Samuli Suominen <ssuomi...@gentoo.org> wrote: > On 10/23/2011 03:00 PM, Tomas Chvatal (scarabeus) wrote: >> scarabeus 11/10/23 12:00:55 >> >> Modified: ChangeLog cdparanoia-3.10.2-r3.ebuild >> Log: >> Bump to eapi4 and punt static libs. > > Time to revert this commit as I don't see anything in the ebuild that > disables building the static archives at compile phase. > > This is same as hiding the problem, not solving it. Not the way we do > things at sound@. > >> + use static-libs || find "${ED}" -name '*.a' -exec rm -f {} +
Doesn't reverting this seem a bit like shooting yourself in the foot to remove an ingrown toenail? Unless I'm missing something this DOES get rid of the unneeded archives. Now, sure, you'd save a few milliseconds of CPU if they weren't built in the first place. However, you're proposing replacing an ebuild that builds but doesn't install undesired files with one that builds them AND installs them (since the hypothetical ebuild that does neither doesn't exist yet). Perfection shouldn't hold us back from improvement. By all means open up a bug asking for the next level of improvement if it really bothers people. Now, if there is some subtle issue that causes issues during build if the files are there and only removed at the last minute then clearly that is a bigger problem. Rich