[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Architecture Bug Squash Party



On Wed, Jul 04, 2001 at 10:47:28PM -0300, Henrique de Moraes Holschuh wrote:
> clean:
> 	[old clean stuff]
> 	-cp -f /usr/share/misc/config.sub config.sub
> 	-cp -f /usr/share/misc/config.guess config.guess
> 
> (for a package that needs both config.sub and config.guess). Adjust the
> target path as needed for the package (some programs keep the config.sub and
> config.guess files in  config/, for example... while others don't use both
> files).
> 
> What does that accomplish? Well, dpkg-buildpackage always run the clean
> target before generating the source packages, so the new config.sub and
> config.guess files are propagated to the source package for the benefit of
> those that don't like to clean before build.
> 
> Any autobuilders for a new arch will (probably ;) ) take the necessary pain
> to have an autotools-dev package that supports that architeture, even if the
> current stable/testing/unstable autotools-dev package doesn't do so yet
> (unlikely, still...).
>

It will also make it difficult (or even impossible) to track down from 
which versions of these files a specific binary package was compiled.
The information is only available on the build machine (and only for a
limited time).

It is a general problem of course, you have it with libraries and other build
dependencies as well.  But in this case the actual problem is not in the
build system, but the source package itself.  And, btw, you are not helping
to improve the upstream source by clouding the problems.

Marcus

files the package was compiled



Reply to: