On 27/09/2011 20:24, Matthew Burgess wrote: > On 27/09/2011 19:08, Bruce Dubbs wrote: > >> Yes, we're getting bloat inserted by upstream: > > Looking at the ChangeLog, the root dependency is "Add Pkg-Config as it's > a pre-requisite of E2fsprogs' new configure switches." However, that > ChangeLog entry is within a whole bunch of Util-Linux changes, including > changes to its configure switches. Even if we were able to 'fix' > Util-Linux's configure script so that it didn't need pkg-config, it's > been in the book since 2009-07-04, so other package upgrades may well > have added pkg-config requirements as well. I'll try removing it in my > next build, once the last lot of package upgrades are tested.
Reading that changelog message properly, it's E2fsprogs' configure script, in its checks for libblkid, that's causing the dependency on pkg-config. That said, it looks a little odd that it first tries to use a hard-coded value of '-lblkid' and only if that *succeeds* does it use pkg-config, which then obviously returns '-lblkid' too. It then uses pkg-config again to determine the static libs. I think a patch that just rips all of that crap out of the configure script would enable us to remove pkg-config, glib and pcre. Mind you, given my lazy-reading of my simple ChangeLog message, maybe I've misunderstood the configure script completely! Regards, Matt. -- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page