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

Re: Autobuilding and the build-arch target, again



On Mon, Jan 23, 2006 at 07:31:08PM +0100, Wouter Verhelst wrote:
> On Mon, Jan 23, 2006 at 06:59:55PM +0100, Michael Banck wrote:
>> On Mon, Jan 23, 2006 at 06:36:40PM +0100, Simon Richter wrote:
> >> To summarize the proposals so far:
> >> 
> >>  - "Scan debian/rules, invoke build-arch if present".
> >> 
> >> Has been tried, does not work.
>> 
>> AFAIK it is working as long as you assume debian/rules to be a Makefile,

> No, that is not true. The code to do it that way had been added to dpkg
> 1.10.11 (from 2003!), but was pulled in 1.10.15, with the following
> changelog:

> dpkg (1.10.15) unstable; urgency=low

>   * Fix detection of va_copy.
>   * Back out debian/rules build-arch detection.  It is *not* possible *at
>     all* to detect available targets in a rules file.  Period.

>  -- Adam Heath <doogie@debian.org>  Fri, 19 Sep 2003 20:02:19 -0500

Given that a false-negative would just fallback to build (I hope???
That's surely the only sane option) then this issue must have been due
to false positives...

Can anyone contruct a file of some kind that will give a false-positive
for the various proposed detection routines?

Bonus points if it's a Makefile, since that would be a more powerful
argument for it being impossible...

-- 
-----------------------------------------------------------
Paul "TBBle" Hampson, BSc, MCSE
On-hiatus Asian Studies student, ANU
The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361)
Paul.Hampson@Anu.edu.au

"No survivors? Then where do the stories come from I wonder?"
-- Capt. Jack Sparrow, "Pirates of the Caribbean"

License: http://creativecommons.org/licenses/by/2.1/au/
-----------------------------------------------------------

Attachment: pgp84VfoD5qMi.pgp
Description: PGP signature


Reply to: