From unknown Sat Jun 21 12:26:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62791: BUILT_SOURCES not honoured in parallel build? Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Wed, 12 Apr 2023 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62791 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: 62791@debbugs.gnu.org X-Debbugs-Original-To: bug-automake Received: via spool by submit@debbugs.gnu.org id=B.168131265016936 (code B ref -1); Wed, 12 Apr 2023 15:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Apr 2023 15:17:30 +0000 Received: from localhost ([127.0.0.1]:40623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmcDy-0004P6-Ch for submit@debbugs.gnu.org; Wed, 12 Apr 2023 11:17:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:41982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmcDu-0004Or-17 for submit@debbugs.gnu.org; Wed, 12 Apr 2023 11:17:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmcDs-0000JP-Sw for bug-automake@gnu.org; Wed, 12 Apr 2023 11:17:25 -0400 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pmcDq-0001nF-Pc for bug-automake@gnu.org; Wed, 12 Apr 2023 11:17:24 -0400 Received: by mail-ej1-x630.google.com with SMTP id qb20so29314702ejc.6 for ; Wed, 12 Apr 2023 08:17:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1681312639; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=9YfAySOyK84ZbNA3KWODGZBNZpQl3+J7ADpJvIAKaYc=; b=CL77dxV8RVfJegVzLjNHsOjwdAtOBiQo9fo3gmze9fKq5gWDH4rHD+WA8VJlIbY31/ N5pZyt74ulw/KQXtJFklhRFPXAvGnqWPpZ5+4zadglbmnIbnwvrhx6GYBslljz6sSW9X SERm2boYqOCH+O0guUT/Q8EH29i0gKAUKGA5A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681312639; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9YfAySOyK84ZbNA3KWODGZBNZpQl3+J7ADpJvIAKaYc=; b=hRZ+RaXj5wRCxfLnvuGUsDq6e2B1t/1df53u0bBH58bVXMvloXojD6eHL/iVv6HYAE iaoxTZCF3g+EXGy/2UAepeFc/RB4885bCwJgw97xN7uI8FYGRZ7/LB3QRhugRRypOli+ 7clfjehKkp2cJJFWEhM03bsRVYA9j/eqa6sVDOFk7/uCGTd/kSjdq8at4nC9Uye4PAMM vQM/EiLt6UWa1Fxxw/OSFGkgO03f4JGgREjzAFNEx9HK9rjYik2qD4l47mnDkngOsymU z+xsk4g1MthsThgYdzJaZngpJ7noOr3HNi3Lzcpy1IWG9XW9N3R9PS5nR9XuucyUnSS5 MPqA== X-Gm-Message-State: AAQBX9cAI99wzxwGcYUQBiISMcX1IhlUS0DVAJQ23ZmqsN2g6xmIUrn9 V/VUVeqiQObHPc460Wyv57zfJzHre4p579oeZajsLsHra3Vpwcf2flc= X-Google-Smtp-Source: AKy350YE4z+raewRZ8qvLQtgL7fAauYAsw2MXLvn0HTc+8i12rBhPa9eKcVtXaLA5zoLnbQOBgijRCSwn3k3LBmxKAE= X-Received: by 2002:a17:906:5913:b0:931:fb3c:f88d with SMTP id h19-20020a170906591300b00931fb3cf88dmr1481701ejq.5.1681312639609; Wed, 12 Apr 2023 08:17:19 -0700 (PDT) MIME-Version: 1.0 From: Reuben Thomas Date: Wed, 12 Apr 2023 16:17:07 +0100 Message-ID: Content-Type: multipart/alternative; boundary="000000000000a4040505f9251ad6" Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=rrt@sc3d.org; helo=mail-ej1-x630.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --000000000000a4040505f9251ad6 Content-Type: text/plain; charset="UTF-8" I am bootstrapping GNU a2ps git master[1] with automake 1.16.5. When I do a parallel build (in my case, MAKEFLAGS=-j4), I get build failures sometimes: $ make all make all-am make[1]: Entering directory '/home/rrt/.local/var/repo/a2ps/src' YACC parsessh.c CC libparse_a-lexssh.o /home/rrt/repo/a2ps/src/ylwrap1077905 lexssh.c:38:11: fatal error: parsessh.h: No such file or directory 38 | #include "parsessh.h" | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:1710: libparse_a-lexssh.o] Error 1 make[1]: *** Waiting for unfinished jobs.... parsessh.output is unchanged updating parsessh.h make[1]: Leaving directory '/home/rrt/.local/var/repo/a2ps/src' make: *** [Makefile:1514: all] Error 2 But parsessh.h is listed in BUILT_SOURCES, so it should be built before any other target. [1] git clone https://git.savannah.gnu.org/git/a2ps.git -- https://rrt.sc3d.org --000000000000a4040505f9251ad6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am bootstrapping GNU a2ps git master[= 1] with automake 1.16.5. When I do a parallel build (in my case, MAKEFLAGS= =3D-j4), I get build failures sometimes:

=
$ make all
make =C2=A0all-am
make[1]: Entering dir= ectory '/home/rrt/.local/var/repo/a2ps/src'
=C2=A0 YACC =C2=A0 = =C2=A0 parsessh.c
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 libparse_a-lexssh.o
= /home/rrt/repo/a2ps/src/ylwrap1077905
lexssh.c:38:11: fatal error: parse= ssh.h: No such file or directory
=C2=A0 =C2=A038 | =C2=A0#include "= parsessh.h"
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ^~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:1710:= libparse_a-lexssh.o] Error 1
make[1]: *** Waiting for unfinished jobs..= ..
parsessh.output is unchanged
updating parsessh.h
make[1]: Leavi= ng directory '/home/rrt/.local/var/repo/a2ps/src'
make: *** [Mak= efile:1514: all] Error 2

But pa= rsessh.h is listed in BUILT_SOURCES, so it should be built before any other= target.

[1] git clone https://git.savannah.gn= u.org/git/a2ps.git

--
--000000000000a4040505f9251ad6-- From unknown Sat Jun 21 12:26:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62791: BUILT_SOURCES not honoured in parallel build? Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Wed, 12 Apr 2023 17:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62791 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: 62791@debbugs.gnu.org X-Debbugs-Original-To: bug-automake Received: via spool by submit@debbugs.gnu.org id=B.16813187637624 (code B ref -1); Wed, 12 Apr 2023 17:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Apr 2023 16:59:23 +0000 Received: from localhost ([127.0.0.1]:41649 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmdoZ-0001yt-3B for submit@debbugs.gnu.org; Wed, 12 Apr 2023 12:59:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:53758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmdoW-0001yk-JR for submit@debbugs.gnu.org; Wed, 12 Apr 2023 12:59:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmdoW-0005FY-2V for bug-automake@gnu.org; Wed, 12 Apr 2023 12:59:20 -0400 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pmdoT-0003jk-4G for bug-automake@gnu.org; Wed, 12 Apr 2023 12:59:19 -0400 Received: by mail-ej1-x629.google.com with SMTP id q23so21066729ejz.3 for ; Wed, 12 Apr 2023 09:59:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1681318753; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=z7Ma/PeBHzjp8FbvAymNcp/cyXKOGM/aFQDvvJpDS7o=; b=3u1+URcPHKsfBk34m5sQ7PsN5H0M3N1yhzdB0jBqz4VH0trIaydtJP9Ogfvth0OJtx dQBf8CUgszxqcQZHtgKrcQUL9zXmcTokf6dOFlZKdzOQwubhnTyYO4JPtXD4Pnw0jdzd Oc/e+ibNb08aPXOAVol6LmG8HhtneYMqXhDPg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681318753; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=z7Ma/PeBHzjp8FbvAymNcp/cyXKOGM/aFQDvvJpDS7o=; b=f95kC2u0oo7At2JQIFq8i6ttYEqW6ypyvyeA5qZBIqpMDvsxne5teqdB5zBs2m6f8o SiMa2JruDex837UYwdnXmIvLSE5IwycFILVehlq7UoZZv7SIE/9K8r7Hts70Vcc14SrR 3E+Y5uH9lpXTDkhzPCcNn4t9/UdhHzxgLPH5aIor+zRYkZip+YWqsY/1caovCfvG89sq 8bywEgkxWzJTXiQrOpkAWJ9PHHO3CpI4kx/HT2B5HVPV8xuk4PcTnVLGE8++nMeLvUZ2 INNVf6/prg8h9GL7aiX3iQ9ztqsn3cPFmAxN77LbwEPEQmyqamSF1Yn9AXz5w0raxwlu d1FQ== X-Gm-Message-State: AAQBX9cphJaL/3SIxGH40iz4+zXnjiVu2YEaXnYTPKLIfLTriLN203wT lVJSDpMh46FASu3EGWiywyoiykFiEgJ30nkpQvfJ56bM6fRms291 X-Google-Smtp-Source: AKy350ZmMhLvwewUriBV11cZ9orrWkW0DcZ42+t4tIvv0wugPdzGHt5mdVn5h/JnNnhKw0JKYExOhzVtry6XT9ES2Yk= X-Received: by 2002:a17:906:26d5:b0:930:310:abef with SMTP id u21-20020a17090626d500b009300310abefmr1994669ejc.3.1681318753138; Wed, 12 Apr 2023 09:59:13 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Reuben Thomas Date: Wed, 12 Apr 2023 17:59:01 +0100 Message-ID: Content-Type: multipart/alternative; boundary="000000000000090eb505f92687c7" Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=rrt@sc3d.org; helo=mail-ej1-x629.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --000000000000090eb505f92687c7 Content-Type: text/plain; charset="UTF-8" On Wed, 12 Apr 2023 at 16:17, Reuben Thomas wrote: > I am bootstrapping GNU a2ps git master[1] with automake 1.16.5. When I do > a parallel build (in my case, MAKEFLAGS=-j4), I get build failures > sometimes: > In fact, I don't need to do a parallel build, just build serially from a fresh git checkout, to reproduce this problem. It seems that I must be doing something wrong, but I can't work out what! -- https://rrt.sc3d.org --000000000000090eb505f92687c7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 12 Apr 2023 at= 16:17, Reuben Thomas <rrt@sc3d.org&= gt; wrote:
I am bootstrapping GNU a2ps git master[1] with = automake 1.16.5. When I do a parallel build (in my case, MAKEFLAGS=3D-j4), = I get build failures sometimes:

In fact, I don't need to do a parallel build, just build= serially from a fresh git checkout, to reproduce this problem. It seems th= at I must be doing something wrong, but I can't work out what!

--
--000000000000090eb505f92687c7-- From unknown Sat Jun 21 12:26:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62791: BUILT_SOURCES not honoured in parallel build? Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Wed, 12 Apr 2023 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62791 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: 62791@debbugs.gnu.org X-Debbugs-Original-To: bug-automake Received: via spool by submit@debbugs.gnu.org id=B.16813196749259 (code B ref -1); Wed, 12 Apr 2023 17:15:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Apr 2023 17:14:34 +0000 Received: from localhost ([127.0.0.1]:41687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pme3F-0002PH-TJ for submit@debbugs.gnu.org; Wed, 12 Apr 2023 13:14:34 -0400 Received: from lists.gnu.org ([209.51.188.17]:51716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pme3B-0002P4-Cw for submit@debbugs.gnu.org; Wed, 12 Apr 2023 13:14:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pme3A-0000Dm-Mx for bug-automake@gnu.org; Wed, 12 Apr 2023 13:14:28 -0400 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pme36-0007Hl-MW for bug-automake@gnu.org; Wed, 12 Apr 2023 13:14:28 -0400 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-94a34d34fcfso229492766b.2 for ; Wed, 12 Apr 2023 10:14:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1681319662; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=fUOKvL68JMCsmnrEopWsclpkeqxknwt3YX45KmxZsgA=; b=Tj0u7JxFcjfThkU41sbCUiL6/zdwEi+ncpvScn1ORK0Sf4DvU+D38xesvxRZEr/iON /IcKifkR4tnGNblgcjuRZQ1XleKBWEoDrr0NynVhPSKRIntPuwdBpbjpEJoELYvk2pZx hRWXG31FRBz7bu7mOY6ouLMFaxDzht3ODv3yk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681319662; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fUOKvL68JMCsmnrEopWsclpkeqxknwt3YX45KmxZsgA=; b=izeh2asIRoeAYb/JIjOB1LLlGcdr+kcvx3W9bE8+9nYM6LzxahQjlXILjDq5ZWVc0J 0IhdgMEMgwe6bxerbmaK/TijMthwPcuX/XD+viv/Th6X4a5HNOKH1v8a5sWOBmIGUWr9 +uMrp9LxuhBXb27lKaNkOrbTS8sqPShZR8bA4onSqmSKiHUldXXc/9nsk43BMUSzzEWx qPhp8bG6AuRk2nezWo8CXUWXZ31iNO2reBy5OklLKhghZPLU3y1G/RlRAGZQDKWaT/yp i1uhwS04DjkRd7FJu6DZWvRs2P8uUWJBXFito9BjCMn51RyMMPrsM99yz3pyKpMXWeMk v9Xw== X-Gm-Message-State: AAQBX9dfE3WVa0OGwVNFZ1MP5EnyS450jXiEkRf1dfcIC7kU6/EWNlnw JTq+pjbjWikCegRzVc/3xv35No911NbvdMGMETfDi/2+x3vLbhph X-Google-Smtp-Source: AKy350bSriwNSYNEeZMdNQi0g87qyzNMsD5pRE+QB5+4pDPtm+TFNphYFGM7uupzRVX2LdoNzt777rIGoJ7mtJm7wPI= X-Received: by 2002:a50:cdd4:0:b0:502:4459:f2b8 with SMTP id h20-20020a50cdd4000000b005024459f2b8mr1584353edj.8.1681319661814; Wed, 12 Apr 2023 10:14:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Reuben Thomas Date: Wed, 12 Apr 2023 18:14:09 +0100 Message-ID: Content-Type: multipart/alternative; boundary="00000000000032647405f926bdb6" Received-SPF: pass client-ip=2a00:1450:4864:20::632; envelope-from=rrt@sc3d.org; helo=mail-ej1-x632.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --00000000000032647405f926bdb6 Content-Type: text/plain; charset="UTF-8" On Wed, 12 Apr 2023 at 17:59, Reuben Thomas wrote: > On Wed, 12 Apr 2023 at 16:17, Reuben Thomas wrote: > >> I am bootstrapping GNU a2ps git master[1] with automake 1.16.5. When I do >> a parallel build (in my case, MAKEFLAGS=-j4), I get build failures >> sometimes: >> > > In fact, I don't need to do a parallel build, just build serially from a > fresh git checkout, to reproduce this problem. It seems that I must be > doing something wrong, but I can't work out what! > I think I've worked it out: I need to add the .c file that is generated from the .y file, not the .h file, to BUILT_SOURCES. Certainly, doing that fixes the problem. -- https://rrt.sc3d.org --00000000000032647405f926bdb6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 12 Apr 2023 at 17:59, Reuben Thomas <rrt@sc3d.org> wrote:
On Wed, 12 Apr 2023 at= 16:17, Reuben Thomas <rrt@sc3d.org> wrote:
I am bootstrapping GNU a2ps g= it master[1] with automake 1.16.5. When I do a parallel build (in my case, = MAKEFLAGS=3D-j4), I get build failures sometimes:
<= div>
In fact, I don't need to do a parallel build, just build seria= lly from a fresh git checkout, to reproduce this problem. It seems that I m= ust be doing something wrong, but I can't work out what!

I think I've= worked it out: I need to add the .c file that is generated from the .y fil= e, not the .h file, to BUILT_SOURCES. Certainly, doing that fixes the probl= em.
=C2=A0
--
--00000000000032647405f926bdb6-- From unknown Sat Jun 21 12:26:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62791: BUILT_SOURCES not honoured in parallel build? Resent-From: Mike Frysinger Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Sun, 03 Dec 2023 03:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62791 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Reuben Thomas Cc: 62791@debbugs.gnu.org Received: via spool by 62791-submit@debbugs.gnu.org id=B62791.17015752476260 (code B ref 62791); Sun, 03 Dec 2023 03:48:02 +0000 Received: (at 62791) by debbugs.gnu.org; 3 Dec 2023 03:47:27 +0000 Received: from localhost ([127.0.0.1]:59002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9dS2-0001cu-O8 for submit@debbugs.gnu.org; Sat, 02 Dec 2023 22:47:26 -0500 Received: from woodpecker.gentoo.org ([140.211.166.183]:36862 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r9dS0-0001ch-Nz for 62791@debbugs.gnu.org; Sat, 02 Dec 2023 22:47:25 -0500 Received: by smtp.gentoo.org (Postfix, from userid 559) id 75F71335C8E; Sun, 3 Dec 2023 03:47:08 +0000 (UTC) Date: Sat, 2 Dec 2023 22:47:07 -0500 From: Mike Frysinger Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZhnNXEhhjIqCkUkr" Content-Disposition: inline In-Reply-To: X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) --ZhnNXEhhjIqCkUkr Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 12 Apr 2023 18:14, Reuben Thomas via Bug reports for Automake wrote: > On Wed, 12 Apr 2023 at 17:59, Reuben Thomas wrote: > > On Wed, 12 Apr 2023 at 16:17, Reuben Thomas wrote: > > > >> I am bootstrapping GNU a2ps git master[1] with automake 1.16.5. When I= do > >> a parallel build (in my case, MAKEFLAGS=3D-j4), I get build failures > >> sometimes: > > > > In fact, I don't need to do a parallel build, just build serially from a > > fresh git checkout, to reproduce this problem. It seems that I must be > > doing something wrong, but I can't work out what! >=20 > I think I've worked it out: I need to add the .c file that is generated > from the .y file, not the .h file, to BUILT_SOURCES. Certainly, doing that > fixes the problem. we prob could add a .y/.l example to the manual. i think i tripped over th= is error myself in a project in the past. i think you want to list both files. -mike --ZhnNXEhhjIqCkUkr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAmVr+jsACgkQQWM7n+g3 9YGgJQ/+LM7ADL5IopSUEEb9Jk77J/9MqLdO8saxsY8Vgfki9+MR3/apESyVoFZf KNso8aLxoJXzOCOn45jA8zn7AupJs8eQ6OsAb8VNtCV088sdEay2zxjjlEaPqz90 nLeHl4N7jlQ+HKOihTGsuNsjAvLl0Ju8X7CiV48wjYNuyM54qqsrqzCwl9XB30qA 0NJdl1BMrcGD6Q4s0zfNOsbX5Sqw8oH0brzSHhypTXLCJeq8gYbKLX1EDTHhiyLI vNCLf0fw1+NpNRoCOBk5wohIcsClEwYKjFyENYdmJwDfwXNfwFvgDuEthY8PefI2 vehQM0Q05jSyTm5sY2q4b1g4TBjJORbUl/3rJSB98Nx7lLs3oQHrItI2vrHh3QV1 eUV6qylg2vOB62i5WFhr58oB6KOLqMnOkhfD7bkHXhWG479DY1USW4o5q5K7+Nw5 cULb3QNYumIZLoinwCjQ+1T/QN4LrXQSyTCYdFOan6UsrbhsVTm/5r8Zcavoswwy 5KUUh3k8WOf4tbRJFlmZIdfz2QUoMTbmrhcBorz0HJLfRaUwyNBf72QU/gX7Jkzn uAl06Q6TJPd9wku7gFWzglBJ/nlqOtxs48LhCV95vrl6pG85I82j1xZN0apkStMP fwVwR7PZtlMeMsYViTUGf/0sW8PiqBye5YubKGkiMXITgWuk9KM= =p0Tk -----END PGP SIGNATURE----- --ZhnNXEhhjIqCkUkr-- From unknown Sat Jun 21 12:26:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62791: BUILT_SOURCES not honoured in parallel build? Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Wed, 06 Dec 2023 16:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62791 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Mike Frysinger Cc: 62791@debbugs.gnu.org Received: via spool by 62791-submit@debbugs.gnu.org id=B62791.170187890630705 (code B ref 62791); Wed, 06 Dec 2023 16:09:01 +0000 Received: (at 62791) by debbugs.gnu.org; 6 Dec 2023 16:08:26 +0000 Received: from localhost ([127.0.0.1]:40258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAuRm-0007zB-Aj for submit@debbugs.gnu.org; Wed, 06 Dec 2023 11:08:26 -0500 Received: from mail-ed1-x529.google.com ([2a00:1450:4864:20::529]:61659) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAuRg-0007yu-N2 for 62791@debbugs.gnu.org; Wed, 06 Dec 2023 11:08:24 -0500 Received: by mail-ed1-x529.google.com with SMTP id 4fb4d7f45d1cf-54cde11d0f4so4447339a12.2 for <62791@debbugs.gnu.org>; Wed, 06 Dec 2023 08:08:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1701878883; x=1702483683; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=TmfoAs+hwv0godzYwuJu6vFWbOZmYfSkZbP1wiqZvkE=; b=3SsnXsdoosLOfNmsLwrcrMDz58WOqdLxMLW0ZAHoeM9+vdOM2hveRQttmeYT+9fewj ccNlITirB+OztOsKe2q36loFqIOWl7izDUnX1fHq8tFcmNmuXxrQJBiNz00mJA0Y/cL1 7Vml0c8z0d0t1UsKP4+dRfyf+alHCliV3+LuQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701878883; x=1702483683; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=TmfoAs+hwv0godzYwuJu6vFWbOZmYfSkZbP1wiqZvkE=; b=tuZwh/IoQl0LT4hXBrGGdR+M4aJZShCF+6EhxlwpjxT1RH1mk77ZwdqOPtGBIdFe5a Av2g5udARo8Mzzs3cpNsiAAnPL55mAvGVynB253RxFgVIzsHoxdeJm0uaXZ8Y1eKjGwl rBvHrenrlzZrKBHEZHwR+l/5N6MxDduoQCWA5Djy4guI2iyGfP2UadQEqY/C7C30hewC Og1mZSVDTzm3ZLExiLIZQHzYXcaAHQH6NJyasa+AaC2nOmw3jl0zlyCnz+KF/ELhFGOv AKbeie6I7TIF3kE5R5CVu1XvA5sl7cnidT6I8Q6cXGBcLLBQSCx+4dbECF6zNiO30gma 3Zxg== X-Gm-Message-State: AOJu0YyLCRUMU82ScG4di6J2eSxKQG43JswCjNwiP+AYpj66bhTyfg19 BebFDumAGu9tVXuQHyrJ3sYoAU6HUx8wL+HFgIH9Hw9KTY65a6yq X-Google-Smtp-Source: AGHT+IHDtPYLlseGjw8Ozo7nuIDja4WDECjl/0WTIJmpRywgPseGGacNtk9PSvTcze71q1+AjYP0pehQgDer5FG2jXo= X-Received: by 2002:a17:906:1b51:b0:a1c:8f41:299b with SMTP id p17-20020a1709061b5100b00a1c8f41299bmr776576ejg.56.1701878882786; Wed, 06 Dec 2023 08:08:02 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Reuben Thomas Date: Wed, 6 Dec 2023 16:07:50 +0000 Message-ID: Content-Type: multipart/alternative; boundary="0000000000004273db060bd98e25" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --0000000000004273db060bd98e25 Content-Type: text/plain; charset="UTF-8" On Sun, 3 Dec 2023 at 03:47, Mike Frysinger wrote: > > > > I think I've worked it out: I need to add the .c file that is generated > > from the .y file, not the .h file, to BUILT_SOURCES. Certainly, doing > that > > fixes the problem. > > we prob could add a .y/.l example to the manual. i think i tripped over > this > error myself in a project in the past. i think you want to list both > files. > Thanks for the tip; on a belt-and-braces basis, it seems it can't hurt anyway, so I've added the .h file back as well. -- https://rrt.sc3d.org --0000000000004273db060bd98e25 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sun, 3 Dec 2023 at 03:47, Mike Frysinger <vapier@gentoo.org> wrote:
>
> I think I've worked it out: I need to add the .c file that is gene= rated
> from the .y file, not the .h file, to BUILT_SOURCES. Certainly, doing = that
> fixes the problem.

we prob could add a .y/.l example to the manual.=C2=A0 i think i tripped ov= er this
error myself in a project in the past.=C2=A0 i think you want to list both = files.

Thanks for the ti= p; on a belt-and-braces basis, it seems it can't hurt anyway, so I'= ve added the .h file back as well.

--
--0000000000004273db060bd98e25-- From unknown Sat Jun 21 12:26:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62791: BUILT_SOURCES not honoured in parallel build? References: Resent-From: Karl Berry Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Wed, 06 Dec 2023 22:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62791 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: rrt@sc3d.org Cc: 62791@debbugs.gnu.org, vapier@gentoo.org Received: via spool by 62791-submit@debbugs.gnu.org id=B62791.170189999813249 (code B ref 62791); Wed, 06 Dec 2023 22:00:02 +0000 Received: (at 62791) by debbugs.gnu.org; 6 Dec 2023 21:59:58 +0000 Received: from localhost ([127.0.0.1]:40585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAzvx-0003Rc-P1 for submit@debbugs.gnu.org; Wed, 06 Dec 2023 16:59:57 -0500 Received: from frenzy.freefriends.org ([198.99.81.75]:36900 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rAzvv-0003RT-3E for 62791@debbugs.gnu.org; Wed, 06 Dec 2023 16:59:55 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 3B6LxgPS002868 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 6 Dec 2023 14:59:42 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 3B6Lxfb2002867; Wed, 6 Dec 2023 14:59:41 -0700 Date: Wed, 6 Dec 2023 14:59:41 -0700 Message-Id: <202312062159.3B6Lxfb2002867@freefriends.org> From: Karl Berry In-Reply-To: X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Any chance that one of you could write a patch for the manual to explain whatever needs to be explained (better)? --thanks, karl. From unknown Sat Jun 21 12:26:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62791: BUILT_SOURCES not honoured in parallel build? Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Fri, 08 Dec 2023 12:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62791 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Karl Berry Cc: 62791@debbugs.gnu.org, vapier@gentoo.org Received: via spool by 62791-submit@debbugs.gnu.org id=B62791.17020395773067 (code B ref 62791); Fri, 08 Dec 2023 12:47:02 +0000 Received: (at 62791) by debbugs.gnu.org; 8 Dec 2023 12:46:17 +0000 Received: from localhost ([127.0.0.1]:44107 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBaFE-0000nO-Qf for submit@debbugs.gnu.org; Fri, 08 Dec 2023 07:46:17 -0500 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]:55355) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBaFB-0000mu-C3 for 62791@debbugs.gnu.org; Fri, 08 Dec 2023 07:46:14 -0500 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-54cd2281ccbso2696661a12.2 for <62791@debbugs.gnu.org>; Fri, 08 Dec 2023 04:46:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1702039554; x=1702644354; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Y4rx/V9nwbvoNtGmKZHKi63aMppDgLWjuallojAGkuA=; b=yT8vca93P18OqhBOsBFl4PHF8RVgEOC48/W/u0NtRVLQIe6N8ZMt/R2SW2SS2rVz5S Jpo7FNY1dHoVUt9NrglccD7saY4u2mupvFIuGMQbRtFeWuyieVMIaRknBCPLVRSBYr4Y oN+Y5qwg0xgxL5ybMKC8rribEVivsu5CNqyTU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702039554; x=1702644354; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Y4rx/V9nwbvoNtGmKZHKi63aMppDgLWjuallojAGkuA=; b=ifcvaY6YvfcaYVXyEq6jCXbZenfNZ99RIoKahLk5aKz3OMeEmLgEjJIrm1IrGbHMKn nXSVji8s63spssUR3Q9qR7IPFzr0iBvT8sS//kgeLFLNOfAD1Ccgykca5YUfHQyU4lGr 6wzA1wkb++77BJ55G4KyWAQYFPHfbMXYXO/DmKeCwAcKraGgTEPTuSq7YdKTrpjRIWSv HPYSg8v/2JgtJ3ZI0FbRls/687HzB27dr3Sxtdo7MBjP09oZj20P878b3EiQoeJAYObD 99Q1LXEKI1iG38xrNaNR2FOW4s+1djlFT+MNREAy8ZaD68RHxt1G6Ix1+hxMrNNCTWHs 48GQ== X-Gm-Message-State: AOJu0YwdLa10IcOBKs+vtYiLoVIhhLlZtFEIPENrAnlsm0rop5ZutTs4 vdZ0ddvgri6zZpFPjZYqu3f3LdnSsQYfuDHYAERWtA== X-Google-Smtp-Source: AGHT+IGBE+9b+LUUHq/U7OxyshcEyKh3ipSrBgAecx7vna/nrsU37GjHHcttoqqxA521Zjlw6bplY+TQcg0iVh8V6FY= X-Received: by 2002:a17:906:fc06:b0:a1c:fdb2:e9a7 with SMTP id ov6-20020a170906fc0600b00a1cfdb2e9a7mr2404583ejb.141.1702039554176; Fri, 08 Dec 2023 04:45:54 -0800 (PST) MIME-Version: 1.0 References: <202312062159.3B6Lxfb2002867@freefriends.org> In-Reply-To: <202312062159.3B6Lxfb2002867@freefriends.org> From: Reuben Thomas Date: Fri, 8 Dec 2023 12:45:42 +0000 Message-ID: Content-Type: multipart/alternative; boundary="000000000000054b9f060bfef75e" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000054b9f060bfef75e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 6 Dec 2023 at 23:59, Karl Berry wrote: > Any chance that one of you could write a patch for the manual to explain > whatever needs to be explained (better)? --thanks, karl. > I'd happily do that if I could work out, or someone could explain, exactly what's going on here. The manual currently says: "You should never explicitly mention the intermediate (C or C++) file in any =E2=80=98SOURCES=E2=80=99 variable; onl= y list the source file." Later, it talks about adding the header file to "BUIILT_SOURCES". This seems at odds with what Mike said and I found empirically. --=20 https://rrt.sc3d.org --000000000000054b9f060bfef75e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, 6 Dec 2023 at 23:59, Karl Berry <karl@freefriends.org> wrote:
Any chance that one of you could write = a patch for the manual to explain
whatever needs to be explained (better)? --thanks, karl.

I'd happily d= o that if I could work out, or someone could explain, exactly what's go= ing on here.

The manua= l currently says: "You should never explicitly mention the intermediat= e (C or C++) file in any =E2=80=98SOURCES=E2=80=99 variable; only list the = source file." Later, it talks about adding the header file to "BU= IILT_SOURCES". This seems at odds with what Mike said and I found empi= rically.

--
--000000000000054b9f060bfef75e-- From unknown Sat Jun 21 12:26:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62791: BUILT_SOURCES not honoured in parallel build? References: Resent-From: Karl Berry Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Fri, 08 Dec 2023 22:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62791 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: rrt@sc3d.org Cc: 62791@debbugs.gnu.org, vapier@gentoo.org Received: via spool by 62791-submit@debbugs.gnu.org id=B62791.170207303226662 (code B ref 62791); Fri, 08 Dec 2023 22:04:02 +0000 Received: (at 62791) by debbugs.gnu.org; 8 Dec 2023 22:03:52 +0000 Received: from localhost ([127.0.0.1]:46390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBiwp-0006vx-N2 for submit@debbugs.gnu.org; Fri, 08 Dec 2023 17:03:51 -0500 Received: from frenzy.freefriends.org ([198.99.81.75]:39474 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBiwo-0006vp-9r for 62791@debbugs.gnu.org; Fri, 08 Dec 2023 17:03:50 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 3B8M3YRd002545 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 8 Dec 2023 15:03:35 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 3B8M3YZb002544; Fri, 8 Dec 2023 15:03:34 -0700 Date: Fri, 8 Dec 2023 15:03:34 -0700 Message-Id: <202312082203.3B8M3YZb002544@freefriends.org> From: Karl Berry In-Reply-To: X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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), 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 :). Best, Karl From unknown Sat Jun 21 12:26:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62791: BUILT_SOURCES not honoured in parallel build? Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Sat, 09 Dec 2023 13:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62791 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Karl Berry Cc: 62791@debbugs.gnu.org, vapier@gentoo.org Received: via spool by 62791-submit@debbugs.gnu.org id=B62791.170212781129822 (code B ref 62791); Sat, 09 Dec 2023 13:17:01 +0000 Received: (at 62791) by debbugs.gnu.org; 9 Dec 2023 13:16:51 +0000 Received: from localhost ([127.0.0.1]:46974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBxCM-0007kw-HG for submit@debbugs.gnu.org; Sat, 09 Dec 2023 08:16:50 -0500 Received: from mail-ej1-x636.google.com ([2a00:1450:4864:20::636]:59645) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBxCG-0007kX-T6 for 62791@debbugs.gnu.org; Sat, 09 Dec 2023 08:16:48 -0500 Received: by mail-ej1-x636.google.com with SMTP id a640c23a62f3a-a1f653e3c3dso214737266b.2 for <62791@debbugs.gnu.org>; Sat, 09 Dec 2023 05:16:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1702127785; x=1702732585; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=yLsFUixSZzyAohisYH+3JDyQCv7RetHdStSRAzVz8LE=; b=goFeC0pwA9uiZMx0/q6hR2qDvarFmXMmEZUZdHp1hQbFv4/QN47dT9ZN8aAGK/une4 tjv1EZoOnOmS0wCKB4QQ25jH9KuFx6ZBqN8pwAXL3os+F5+8olkrBg9mXAMvHbFHF0VP oVRsHMt4F5fOodsTuuvcOEak7jsHiMKAR1Kts= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702127785; x=1702732585; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=yLsFUixSZzyAohisYH+3JDyQCv7RetHdStSRAzVz8LE=; b=Alzdsf88m0IExReh9ONity3bV3j/aYtq/DkitOx3Bn88uNpuR8BJ0p5354c26phlaY sO3W5v/kdJ2+yPCjQ/VNKUthybHCgrhLEZ1CGEWwVUSnuZabbV7scuolwJ5LYD6gf98W bHqpw2xr6M1NKo6pFrICjDwdqTwHMBpEe40lpnmyYuTv/y0KNjC+GpYI+cGFsb0cjcqr JuEtURLXOH9wUcVPvg/1bazfb6lGd0omxqGkJnf7kKip0E3AaOTTAQzHiBHQm8g18GpD SUPGRGDm6yfARtkOW/Uv03L8zOvEit8iC9l3sIm3dC8NWbO4NrrbipZ6vfOuZiC0Uc4P ax+g== X-Gm-Message-State: AOJu0YyCX4fcYSH4MPDISTsiHbSIQt+OWU4j+5/XauG+A4KqlFANPyC3 nwblDog54wVd2u7/63wJFC28kgqw1gctrtgPgqS82g== X-Google-Smtp-Source: AGHT+IHm+MOyMniMyDJr9LarUbCiPUDm/DAnXiyHwPnSaHHRnH3IroK/NS1ZngwkH4tZ9P+89EKQkGX1Y//6Dom1ULE= X-Received: by 2002:a17:906:1054:b0:a19:d40a:d260 with SMTP id j20-20020a170906105400b00a19d40ad260mr410849ejj.300.1702127784511; Sat, 09 Dec 2023 05:16:24 -0800 (PST) MIME-Version: 1.0 References: <202312082203.3B8M3YZb002544@freefriends.org> In-Reply-To: <202312082203.3B8M3YZb002544@freefriends.org> From: Reuben Thomas Date: Sat, 9 Dec 2023 13:16:12 +0000 Message-ID: Content-Type: multipart/alternative; boundary="000000000000f559ac060c1381fc" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000f559ac060c1381fc Content-Type: text/plain; charset="UTF-8" On Sat, 9 Dec 2023 at 00:03, Karl Berry 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 --000000000000f559ac060c1381fc Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, 9 Dec 2023 at 00:03, Karl Berry <karl@freefriends.org> wrote:
=C2=A0 =C2=A0 The manual currently says= : "You should never explicitly mention the
=C2=A0 =C2=A0 intermediate (C or C++) file in any `SOURCES' variable; o= nly list
=C2=A0 =C2=A0 the source file."=C2=A0

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&qu= ot; was simply
not meant to apply to BUILT_SOURCES (probably didn't think about it),

I did wonder that mys= elf.

but rather to the "normal" something_SOURCES variables. So my gut=
reaction is to add "(except @code{BUILT_SOURCES}, see below)".
=C2=A0 =C2=A0 Later, it talks about adding the header file to
=C2=A0 =C2=A0 "BUIILT_SOURCES". This seems at odds with what Mike= said and I found
=C2=A0 =C2=A0 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 solvi= ng the problem, that would seem the safer option.
<= br>
If you're happy with that, I'll write a= patch.

--
--000000000000f559ac060c1381fc-- From unknown Sat Jun 21 12:26:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62791: BUILT_SOURCES not honoured in parallel build? Resent-From: Reuben Thomas Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Sat, 09 Dec 2023 13:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62791 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: Karl Berry Cc: 62791@debbugs.gnu.org, vapier@gentoo.org Received: via spool by 62791-submit@debbugs.gnu.org id=B62791.170212869331375 (code B ref 62791); Sat, 09 Dec 2023 13:32:02 +0000 Received: (at 62791) by debbugs.gnu.org; 9 Dec 2023 13:31:33 +0000 Received: from localhost ([127.0.0.1]:47003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBxQb-00089z-CF for submit@debbugs.gnu.org; Sat, 09 Dec 2023 08:31:33 -0500 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:61914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBxQY-00089k-KC for 62791@debbugs.gnu.org; Sat, 09 Dec 2023 08:31:31 -0500 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40c0a0d068bso31561305e9.3 for <62791@debbugs.gnu.org>; Sat, 09 Dec 2023 05:31:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1702128671; x=1702733471; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=PeKlLPScD6bwMvfhcWFJZaun2LpSgrwqCh718PHuoVc=; b=k6xbx5WK8fVjnjhT+DTS5Gxln9+571SZePWfdTYoRByEPX6DJSOT/kFpnXmO1aeonY 5I+UcQHD4RtJH6jG6ln6XYj4Vg51iHQh3H9nLsoGFcG9mKS1HJRrA44HrmOnipw1e91I l4kzz0ZpaKD8+683ayk2cEP02AnnHNAS1JKVE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702128671; x=1702733471; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=PeKlLPScD6bwMvfhcWFJZaun2LpSgrwqCh718PHuoVc=; b=esUQHG+ZwQ/Vn+daUEQrAzJ16Qtnl9aRihqmoSY1rRcYGIdGjISpUBR1ou9LHXcvWW 15HMxGIm/q/dc5AqKPUL0BMF6kNmIwUzA7flAHdZLMGSeG+enj1Ad06vi9HQhBM6NxWW G3DGmbVEYq1RJ75ZxU5M+8X/FeEPOVB9v/h7dkgZM/+MVResqZ3tUDZFkwDMCqfuIOne WB1mHTLOuig3ROyIp9C3nBhk49Z9ZtVRqni/FV7n1rrSQdXXz3W4zkN/B/N3nJOLi/zv c3sD3ZZe8BiobWs0l7l1QCjeVM4CyrdrPEI+0RY/9EzeoVrUpRX7PzqNTni9o8l+61fg xSkA== X-Gm-Message-State: AOJu0Yyx1oFCpA6tGzIVLnqi187+xvebm+AMAowQrAVOwkQiY/d/2gP4 IIhXoB5uxFf3wrzXpubxsyZEqicXSQWzMXNlVYd/6Q== X-Google-Smtp-Source: AGHT+IFPyBNRK0CLwBEoCZdfLY26LaQb8q8YGE8S1x/AV7bTkWmkkWx6lqKXsLtibi/jYeWWzLDSQJEpZM9ZnD8PSqU= X-Received: by 2002:a05:600c:20e:b0:40b:5e22:981 with SMTP id 14-20020a05600c020e00b0040b5e220981mr959187wmi.112.1702128670918; Sat, 09 Dec 2023 05:31:10 -0800 (PST) MIME-Version: 1.0 References: <202312082203.3B8M3YZb002544@freefriends.org> In-Reply-To: From: Reuben Thomas Date: Sat, 9 Dec 2023 13:30:59 +0000 Message-ID: Content-Type: multipart/mixed; boundary="000000000000cb2905060c13b684" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --000000000000cb2905060c13b684 Content-Type: multipart/alternative; boundary="000000000000cb2904060c13b682" --000000000000cb2904060c13b682 Content-Type: text/plain; charset="UTF-8" On Sat, 9 Dec 2023 at 15:16, Reuben Thomas wrote: > > If you're happy with that, I'll write a patch. > Patch attached. -- https://rrt.sc3d.org --000000000000cb2904060c13b682 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Sat, 9 Dec 2023 at 15:16, Reuben Thomas <rrt@sc3d.org> wrote:

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

Patch attached.

--
--000000000000cb2904060c13b682-- --000000000000cb2905060c13b684 Content-Type: text/x-patch; charset="US-ASCII"; name="0001-doc-add-advice-to-list-Yacc-Lex-generated-sources-in.patch" Content-Disposition: attachment; filename="0001-doc-add-advice-to-list-Yacc-Lex-generated-sources-in.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_lpy3gd1f0 RnJvbSAwNmY2NzY1YjdkMTAxMzJkMGRjZWZkZTEyNjViNGQ1ZjAxZGY3NmI0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBSZXViZW4gVGhvbWFzIDxycnRAc2MzZC5vcmc+CkRhdGU6IFNh dCwgOSBEZWMgMjAyMyAxNToyMDo0NCArMDIwMApTdWJqZWN0OiBbUEFUQ0hdIGRvYzogYWRkIGFk dmljZSB0byBsaXN0IFlhY2MvTGV4IGdlbmVyYXRlZCBzb3VyY2VzIGluCiBCVUlMVF9TT1VSQ0VT CgpUaGlzIGZpeGVzICM2Mjc5MTogaXQgc2VlbXMgdG8gYmUgbmVjZXNzYXJ5IHRvIGxpc3QgdGhl IGdlbmVyYXRlZCBDIHNvdXJjZQpmaWxlIGZvciBhIFlhY2MvTGV4IGZpbGUsIGFzIHdlbGwgYXMg dGhlIGhlYWRlciBmaWxlIGluIEJVSUxUX1NPVVJDRVMuCi0tLQogZG9jL2F1dG9tYWtlLnRleGkg fCA5ICsrKysrLS0tLQogMSBmaWxlIGNoYW5nZWQsIDUgaW5zZXJ0aW9ucygrKSwgNCBkZWxldGlv bnMoLSkKCmRpZmYgLS1naXQgYS9kb2MvYXV0b21ha2UudGV4aSBiL2RvYy9hdXRvbWFrZS50ZXhp CmluZGV4IGU1M2E0NDMzMi4uNzcyOTIyODhkIDEwMDY0NAotLS0gYS9kb2MvYXV0b21ha2UudGV4 aQorKysgYi9kb2MvYXV0b21ha2UudGV4aQpAQCAtNjMyOSw3ICs2MzI5LDggQEAgZXh0ZW5zaW9u cyBAZmlsZXsubH0sIEBmaWxley5sbH0sIEBmaWxley5sKyt9LCBAZmlsZXsubHh4fSwgYW5kCiBA ZmlsZXsubHBwfSBhcmUgcmVjb2duaXplZC4KIAogWW91IHNob3VsZCBuZXZlciBleHBsaWNpdGx5 IG1lbnRpb24gdGhlIGludGVybWVkaWF0ZSAoQyBvciBDKyspIGZpbGUKLWluIGFueSBAY29kZXtT T1VSQ0VTfSB2YXJpYWJsZTsgb25seSBsaXN0IHRoZSBzb3VyY2UgZmlsZS4KK2luIGFueSBAY29k ZXtTT1VSQ0VTfSB2YXJpYWJsZSAoZXhjZXB0IEBjb2Rle0JVSUxUX1NPVVJDRVN9LCBzZWUgYmVs b3cpOworb25seSBsaXN0IHRoZSBzb3VyY2UgZmlsZS4KIAogVGhlIGludGVybWVkaWF0ZSBmaWxl cyBnZW5lcmF0ZWQgYnkgQGNvbW1hbmR7eWFjY30gKG9yIEBjb21tYW5ke2xleH0pCiB3aWxsIGJl IGluY2x1ZGVkIGluIGFueSBkaXN0cmlidXRpb24gdGhhdCBpcyBtYWRlLiAgVGhhdCB3YXkgdGhl IHVzZXIKQEAgLTYzNTksMTEgKzYzNjAsMTEgQEAgV2hhdCBBdXRvbWFrZSBjYW5ub3QgZ3Vlc3Ms IHRob3VnaCwgaXMgd2hlcmUgdGhpcyBoZWFkZXIgd2lsbCBiZSB1c2VkOgogaXQgaXMgdXAgdG8g eW91IHRvIGVuc3VyZSB0aGUgaGVhZGVyIGdldHMgYnVpbHQgYmVmb3JlIGl0IGlzIGZpcnN0CiB1 c2VkLiAgVHlwaWNhbGx5IHRoaXMgaXMgbmVjZXNzYXJ5IGluIG9yZGVyIGZvciBkZXBlbmRlbmN5 IHRyYWNraW5nIHRvCiB3b3JrIHdoZW4gdGhlIGhlYWRlciBpcyBpbmNsdWRlZCBieSBhbm90aGVy IGZpbGUuICBUaGUgY29tbW9uIHNvbHV0aW9uCi1pcyBsaXN0aW5nIHRoZSBoZWFkZXIgZmlsZSBp biBAY29kZXtCVUlMVF9TT1VSQ0VTfSAoQHB4cmVme1NvdXJjZXN9KQotYXMgZm9sbG93cy4KK2lz IGxpc3RpbmcgdGhlIGhlYWRlciBmaWxlLCBhbmQgdGhlIGNvcnJlc3BvbmRpbmcgQyBmaWxlLCBp bgorQGNvZGV7QlVJTFRfU09VUkNFU30gKEBweHJlZntTb3VyY2VzfSkgYXMgZm9sbG93cy4KIAog QGV4YW1wbGUKLUJVSUxUX1NPVVJDRVMgPSBwYXJzZXIuaAorQlVJTFRfU09VUkNFUyA9IHBhcnNl ci5oIHBhcnNlci5jCiBBTV9ZRkxBR1MgPSAtZAogYmluX1BST0dSQU1TID0gZm9vCiBmb29fU09V UkNFUyA9IEBkb3Rze30gcGFyc2VyLnkgQGRvdHN7fQotLSAKMi4zNC4xCgo= --000000000000cb2905060c13b684-- From unknown Sat Jun 21 12:26:18 2025 X-Loop: help-debbugs@gnu.org Subject: bug#62791: BUILT_SOURCES not honoured in parallel build? References: Resent-From: Karl Berry Original-Sender: "Debbugs-submit" Resent-CC: bug-automake@gnu.org Resent-Date: Sun, 10 Dec 2023 23:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62791 X-GNU-PR-Package: automake X-GNU-PR-Keywords: To: rrt@sc3d.org Cc: 62791@debbugs.gnu.org, vapier@gentoo.org Received: via spool by 62791-submit@debbugs.gnu.org id=B62791.17022500442199 (code B ref 62791); Sun, 10 Dec 2023 23:15:01 +0000 Received: (at 62791) by debbugs.gnu.org; 10 Dec 2023 23:14:04 +0000 Received: from localhost ([127.0.0.1]:52059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCSzs-0000ZM-8n for submit@debbugs.gnu.org; Sun, 10 Dec 2023 18:14:04 -0500 Received: from frenzy.freefriends.org ([198.99.81.75]:39440 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCSzq-0000Ys-6e; Sun, 10 Dec 2023 18:14:03 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 3BANDkmV018083 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 10 Dec 2023 16:13:46 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 3BANDkRq018082; Sun, 10 Dec 2023 16:13:46 -0700 Date: Sun, 10 Dec 2023 16:13:46 -0700 Message-Id: <202312102313.3BANDkRq018082@freefriends.org> From: Karl Berry In-Reply-To: X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Patch attached. Looks just fine. Thanks Reuben. I installed it. Closing ... --all the best, karl. From unknown Sat Jun 21 12:26:18 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Reuben Thomas Subject: bug#62791: closed (Re: bug#62791: BUILT_SOURCES not honoured in parallel build?) Message-ID: References: <202312102313.3BANDkRq018082@freefriends.org> X-Gnu-PR-Message: they-closed 62791 X-Gnu-PR-Package: automake Reply-To: 62791@debbugs.gnu.org Date: Sun, 10 Dec 2023 23:15:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1702250102-2338-1" This is a multi-part message in MIME format... ------------=_1702250102-2338-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #62791: BUILT_SOURCES not honoured in parallel build? which was filed against the automake package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 62791@debbugs.gnu.org. --=20 62791: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D62791 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1702250102-2338-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 62791-done) by debbugs.gnu.org; 10 Dec 2023 23:14:04 +0000 Received: from localhost ([127.0.0.1]:52057 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCSzs-0000ZI-0j for submit@debbugs.gnu.org; Sun, 10 Dec 2023 18:14:04 -0500 Received: from frenzy.freefriends.org ([198.99.81.75]:39440 helo=freefriends.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rCSzq-0000Ys-6e; Sun, 10 Dec 2023 18:14:03 -0500 X-Envelope-From: karl@freefriends.org Received: from freefriends.org (localhost [127.0.0.1]) by freefriends.org (8.14.7/8.14.7) with ESMTP id 3BANDkmV018083 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 10 Dec 2023 16:13:46 -0700 Received: (from apache@localhost) by freefriends.org (8.14.7/8.14.7/Submit) id 3BANDkRq018082; Sun, 10 Dec 2023 16:13:46 -0700 Date: Sun, 10 Dec 2023 16:13:46 -0700 Message-Id: <202312102313.3BANDkRq018082@freefriends.org> From: Karl Berry To: rrt@sc3d.org Subject: Re: bug#62791: BUILT_SOURCES not honoured in parallel build? In-Reply-To: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 62791-done Cc: 62791@debbugs.gnu.org, vapier@gentoo.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Patch attached. Looks just fine. Thanks Reuben. I installed it. Closing ... --all the best, karl. ------------=_1702250102-2338-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 Apr 2023 15:17:30 +0000 Received: from localhost ([127.0.0.1]:40623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmcDy-0004P6-Ch for submit@debbugs.gnu.org; Wed, 12 Apr 2023 11:17:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:41982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pmcDu-0004Or-17 for submit@debbugs.gnu.org; Wed, 12 Apr 2023 11:17:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pmcDs-0000JP-Sw for bug-automake@gnu.org; Wed, 12 Apr 2023 11:17:25 -0400 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pmcDq-0001nF-Pc for bug-automake@gnu.org; Wed, 12 Apr 2023 11:17:24 -0400 Received: by mail-ej1-x630.google.com with SMTP id qb20so29314702ejc.6 for ; Wed, 12 Apr 2023 08:17:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; t=1681312639; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=9YfAySOyK84ZbNA3KWODGZBNZpQl3+J7ADpJvIAKaYc=; b=CL77dxV8RVfJegVzLjNHsOjwdAtOBiQo9fo3gmze9fKq5gWDH4rHD+WA8VJlIbY31/ N5pZyt74ulw/KQXtJFklhRFPXAvGnqWPpZ5+4zadglbmnIbnwvrhx6GYBslljz6sSW9X SERm2boYqOCH+O0guUT/Q8EH29i0gKAUKGA5A= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681312639; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=9YfAySOyK84ZbNA3KWODGZBNZpQl3+J7ADpJvIAKaYc=; b=hRZ+RaXj5wRCxfLnvuGUsDq6e2B1t/1df53u0bBH58bVXMvloXojD6eHL/iVv6HYAE iaoxTZCF3g+EXGy/2UAepeFc/RB4885bCwJgw97xN7uI8FYGRZ7/LB3QRhugRRypOli+ 7clfjehKkp2cJJFWEhM03bsRVYA9j/eqa6sVDOFk7/uCGTd/kSjdq8at4nC9Uye4PAMM vQM/EiLt6UWa1Fxxw/OSFGkgO03f4JGgREjzAFNEx9HK9rjYik2qD4l47mnDkngOsymU z+xsk4g1MthsThgYdzJaZngpJ7noOr3HNi3Lzcpy1IWG9XW9N3R9PS5nR9XuucyUnSS5 MPqA== X-Gm-Message-State: AAQBX9cAI99wzxwGcYUQBiISMcX1IhlUS0DVAJQ23ZmqsN2g6xmIUrn9 V/VUVeqiQObHPc460Wyv57zfJzHre4p579oeZajsLsHra3Vpwcf2flc= X-Google-Smtp-Source: AKy350YE4z+raewRZ8qvLQtgL7fAauYAsw2MXLvn0HTc+8i12rBhPa9eKcVtXaLA5zoLnbQOBgijRCSwn3k3LBmxKAE= X-Received: by 2002:a17:906:5913:b0:931:fb3c:f88d with SMTP id h19-20020a170906591300b00931fb3cf88dmr1481701ejq.5.1681312639609; Wed, 12 Apr 2023 08:17:19 -0700 (PDT) MIME-Version: 1.0 From: Reuben Thomas Date: Wed, 12 Apr 2023 16:17:07 +0100 Message-ID: Subject: BUILT_SOURCES not honoured in parallel build? To: bug-automake Content-Type: multipart/alternative; boundary="000000000000a4040505f9251ad6" Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=rrt@sc3d.org; helo=mail-ej1-x630.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --000000000000a4040505f9251ad6 Content-Type: text/plain; charset="UTF-8" I am bootstrapping GNU a2ps git master[1] with automake 1.16.5. When I do a parallel build (in my case, MAKEFLAGS=-j4), I get build failures sometimes: $ make all make all-am make[1]: Entering directory '/home/rrt/.local/var/repo/a2ps/src' YACC parsessh.c CC libparse_a-lexssh.o /home/rrt/repo/a2ps/src/ylwrap1077905 lexssh.c:38:11: fatal error: parsessh.h: No such file or directory 38 | #include "parsessh.h" | ^~~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:1710: libparse_a-lexssh.o] Error 1 make[1]: *** Waiting for unfinished jobs.... parsessh.output is unchanged updating parsessh.h make[1]: Leaving directory '/home/rrt/.local/var/repo/a2ps/src' make: *** [Makefile:1514: all] Error 2 But parsessh.h is listed in BUILT_SOURCES, so it should be built before any other target. [1] git clone https://git.savannah.gnu.org/git/a2ps.git -- https://rrt.sc3d.org --000000000000a4040505f9251ad6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am bootstrapping GNU a2ps git master[= 1] with automake 1.16.5. When I do a parallel build (in my case, MAKEFLAGS= =3D-j4), I get build failures sometimes:

=
$ make all
make =C2=A0all-am
make[1]: Entering dir= ectory '/home/rrt/.local/var/repo/a2ps/src'
=C2=A0 YACC =C2=A0 = =C2=A0 parsessh.c
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 libparse_a-lexssh.o
= /home/rrt/repo/a2ps/src/ylwrap1077905
lexssh.c:38:11: fatal error: parse= ssh.h: No such file or directory
=C2=A0 =C2=A038 | =C2=A0#include "= parsessh.h"
=C2=A0 =C2=A0 =C2=A0 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ^~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:1710:= libparse_a-lexssh.o] Error 1
make[1]: *** Waiting for unfinished jobs..= ..
parsessh.output is unchanged
updating parsessh.h
make[1]: Leavi= ng directory '/home/rrt/.local/var/repo/a2ps/src'
make: *** [Mak= efile:1514: all] Error 2

But pa= rsessh.h is listed in BUILT_SOURCES, so it should be built before any other= target.

[1] git clone https://git.savannah.gn= u.org/git/a2ps.git

--
--000000000000a4040505f9251ad6-- ------------=_1702250102-2338-1--