GNU bug report logs - #62791
BUILT_SOURCES not honoured in parallel build?

Previous Next

Package: automake;

Reported by: Reuben Thomas <rrt <at> sc3d.org>

Date: Wed, 12 Apr 2023 15:18:02 UTC

Severity: normal

Done: Karl Berry <karl <at> freefriends.org>

Bug is archived. No further changes may be made.

Full log


Message #29 received at 62791 <at> debbugs.gnu.org (full text, mbox):

From: Reuben Thomas <rrt <at> sc3d.org>
To: Karl Berry <karl <at> freefriends.org>
Cc: 62791 <at> debbugs.gnu.org, vapier <at> gentoo.org
Subject: Re: bug#62791: BUILT_SOURCES not honoured in parallel build?
Date: Sat, 9 Dec 2023 13:16:12 +0000
[Message part 1 (text/plain, inline)]
On Sat, 9 Dec 2023 at 00:03, Karl Berry <karl <at> freefriends.org> wrote:

>     The manual currently says: "You should never explicitly mention the
>     intermediate (C or C++) file in any `SOURCES' variable; only list
>     the source file."
>
> I don't know the code here, and this probably wasn't the question, but I
> think the manual's statement about "any `SOURCES' variables" was simply
> not meant to apply to BUILT_SOURCES (probably didn't think about it),
>

I did wonder that myself.

but rather to the "normal" something_SOURCES variables. So my gut
> reaction is to add "(except @code{BUILT_SOURCES}, see below)".
>
>     Later, it talks about adding the header file to
>     "BUIILT_SOURCES". This seems at odds with what Mike said and I found
>     empirically.
>
> I suggest that we could just say to add both files, although if you want
> to try to understand what's actually going on, more power to you :).
>

In terms of solving the problem, that would seem the safer option.

If you're happy with that, I'll write a patch.

-- 
https://rrt.sc3d.org
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 164 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.