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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Karl Berry <karl <at> freefriends.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#62791: closed (BUILT_SOURCES not honoured in parallel build?)
Date: Sun, 10 Dec 2023 23:15:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 10 Dec 2023 16:13:46 -0700
with message-id <202312102313.3BANDkRq018082 <at> freefriends.org>
and subject line Re: bug#62791: BUILT_SOURCES not honoured in parallel build?
has caused the debbugs.gnu.org bug report #62791,
regarding BUILT_SOURCES not honoured in parallel build?
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
62791: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=62791
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Reuben Thomas <rrt <at> sc3d.org>
To: bug-automake <bug-automake <at> gnu.org>
Subject: BUILT_SOURCES not honoured in parallel build?
Date: Wed, 12 Apr 2023 16:17:07 +0100
[Message part 3 (text/plain, inline)]
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
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Karl Berry <karl <at> freefriends.org>
To: rrt <at> sc3d.org
Cc: 62791 <at> debbugs.gnu.org, vapier <at> gentoo.org
Subject: Re: bug#62791: BUILT_SOURCES not honoured in parallel build?
Date: Sun, 10 Dec 2023 16:13:46 -0700
    Patch attached.

Looks just fine. Thanks Reuben. I installed it. Closing ...
--all the best, karl.


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.