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

Bug#218893: Autodetecting existence of build-arch target



On Wed, 2004-05-05 at 11:46 +0200, Andreas Metzler wrote:

> I have recently asked Scott James Remnant[1] on IRC for comments on this
> problem and the proposed solution (#229357), to add Build-Options:
> build-arch' to debian/control if the package supported this target.
> 
> I gathered that he was not in favour of it and prompted for alternate
> solutions
> 
Yeah; I don't like the idea that you have to declare which particular
implementation you have followed -- that's a kludge and prone to many a
Murphy attack.

We should either fix the implementation (as Wouter suggested) or be
intelligent enough to detect which implementation is in use (as I
suggested).

> Of course all the examples I tried work with both variants. debian-dpkg
> does not yield any reference to example that failed during the short
> interval build-arch detection was tried.
> 
-q checks for "up to dateness" ... the next time you ran the test, it
would fail because build-stamp had been touched and dpkg-buildpackage
would incorrectly run build for you instead.

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: