bug-automake
[Top][All Lists]
Advanced

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

bug#17614: parallel compilation fails


From: Mike Frysinger
Subject: bug#17614: parallel compilation fails
Date: Tue, 25 Jan 2022 01:24:09 -0500

On 19 Jan 2022 18:32, Peter Johansson wrote:
> On 19/1/22 18:10, Mike Frysinger wrote:
> > retitle 17614 parallel compilation fails: mv: 
> > yat/statistics/.deps/Percentiler.Tpo and 
> > yat/statistics/.deps/Percentiler.Tpo are the same file
> > tag 17614 = moreinfo
> > thankyou
> >
> > On Wed, 28 May 2014 14:52:21 +1000, Peter Johansson wrote:
> >> I have a project with a libtool archive built from many source files.
> >> When I build with 'make -j40' I get error message
> >>
> >> mv: `yat/statistics/.deps/Percentiler.Tpo' and
> >> `yat/statistics/.deps/Percentiler.Plo' are the same file
> >> make[1]: *** [yat/statistics/Percentiler.lo] Error 1
> >>
> >>
> >> Looks like some kind of race problem, but I cannot see anything wrong in
> >> the Makefile. Is this a known problem? If not let me know what would be
> >> useful.
> >>
> >> The Makefile is generated with Automake 1.14
> > assuming it still fails with Automake 1.16 ...
> 
> 
> I'll test when I'm out of this semi-lockdown and have access to a 
> computer with more CPUs.
> 
> > can you link to the project for us to take a look ?
> 
> Tar file is available from here
> 
> https://sourceforge.net/projects/libyat/
> 
> and subversion repo from here if that's preferable
> 
> https://dev.thep.lu.se/yat/svn/trunk

i grabbed the 0.19 release.  perhaps unsurprising, nothing stood out to me
related to the error above.  you didn't have any recursive makes or any code
that seemed to override the dep generation or create conflicting outputs.

if you can reproduce it, get a full log and send it over, and include the
config.log file i think.  something like `make -O -j... >& log`.

the error you quoted is part of automake's dependency generation.  it's very
weird that you'd get an error about .Tpo & .Plo being the same file when the
rule that creates them creates the .Tpo then moves it to .Plo.  there is no
place where we ever write to .Plo otherwise.
-mike

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]