Re: Bug#1119241: ippl: FTBFS when built with many parallel jobs

John Paul Adrian Glaubitz <[email protected]> Tue, 28 Oct 2025 12:52:14 +0100
Newsgroups gmane.linux.debian.ports.sparc,gmane.linux.debian.devel.bugs.general
Message-ID <edd76aadb9a501c3fbbc035537e0042d54dc7d06.camel@physik.fu-berlin.de>
Hi Jan,

On Tue, 2025-10-28 at 11:53 +0100, Jan Engelhardt wrote:
> On Tuesday 2025-10-28 09:11, John Paul Adrian Glaubitz wrote:
> > 
> > ippl fails to build from source on loong64 and sparc64 when built with
> > many parallel jobs:
> 
> Anecdotally, such failures are generally more visible on system which
> have both a "slow" single-thread execution paired with very high parallelization.
> 
> > ippl.l:28:10: fatal error: y.tab.h: No such file or directory
> >   28 | #include "y.tab.h"
> 
> ippl/Source/Makefile.in has
> 
> ```
> y.tab.c: ippl.y Makefile ../Makefile.common
>         $(YACC) -d $<
> 
> lex.yy.c: ippl.l Makefile ../Makefile.common
>         $(LEX) $<
> ```
> 
> and it probably should look like this
> 
> ```
> y.tab.h: ippl.y
> 	$(YACC) -d $<
> 
> y.tab.c: y.tab.h
> 
> lex.yy.c: ippl.l y.tab.h
> 	$(LEX) $<
> ```

Yeah, I assumed something like and indeed your patch fixes the problem.

Can you send it as a patch and attach it to the bug tracker?

Thanks,
Adrian

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer
`. `'   Physicist
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913