2025-07-20 21:32 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004305Spring engineGeneralpublic2014-02-13 20:27
ReporteriElectric 
Assigned Toabma 
PrioritynormalSeverityminorReproducibilityrandom
StatusresolvedResolutionfixed 
Product Version96.0 
Target VersionFixed in Version 
Summary0004305: Build has transient failures when doing parallel builds
DescriptionSee example log file that fails: http://hydra.nixos.org/build/8650902/nixlog/1/raw

Example log file that builds fine:
http://hydra.nixos.org/build/8705103/log/raw

From IRC convo:

15:21:16 MelBot | <[LCC]jK> spring's cmake runs generateVersionFiles multiple times (for each target) and when another build is running while it gets written, there is a chance that the file doesn't exists when gcc wants to access it
15:30:30 MelBot | <[LCC]jK> k seems to be a issue with cmake's Configure_File
15:30:42 MelBot | <[LCC]jK> so better make a mantis ticket
Steps To ReproduceBuild spring with -j4
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0012819

abma (administrator)

failed build is spring 95.0. is there a failed build with spring 96.0?

~0012825

iElectric (reporter)

Same for 0.96: http://hydra.nixos.org/build/8768788/nixlog/1/raw

~0012827

abma (administrator)

for me it looks like generateVersionFiles isn't run at all.

i miss the output of

"Running utility command for generateVersionFiles"

also:

cat: cont/base/make_gamedata_arch.sh: No such file or directory
+ fixing cmake files...


what is patched there?

~0012828

abma (administrator)

does this work: "make generateVersionFiles"?

output should be sth. like this:

[1/1] Running utility command for generateVersionFiles
Spring engine version: 96.0.1-253-gaa5a287 develop ()

~0012831

abma (administrator)

Last edited: 2014-02-13 01:38

View 4 revisions

output of a clean build (spring 96):

$ cmake .
[...]
$ make -j4 all
Scanning dependencies of target generateVersionFiles

(and yes, its the first line printed)

atm this bug is at the state "can't reproduce..."

~0012832

iElectric (reporter)

cat: cont/base/make_gamedata_arch.sh: No such file or directory

That patch was removed, but shouldn't affect anything in this build.

Did you try running: "$ make -j8 all" for a few times in a row? I happens only about every 10th run.

~0012833

iElectric (reporter)

See here, which one is failing: http://hydra.nixos.org/job/nixos/trunk-combined/nixpkgs.spring.x86_64-linux

~0012834

abma (administrator)

please reopen if it still fails!

but i'm pretty sure it fixes the problem:

LegacyCpp-Creg-AIWrapper didn't depend on generateVersionFiles...
+Notes

-Issue History
Date Modified Username Field Change
2014-02-05 15:32 iElectric New Issue
2014-02-06 07:16 abma Note Added: 0012819
2014-02-06 07:16 abma Assigned To => abma
2014-02-06 07:16 abma Status new => feedback
2014-02-08 08:38 iElectric Note Added: 0012825
2014-02-08 08:38 iElectric Status feedback => assigned
2014-02-13 01:05 abma Note Added: 0012827
2014-02-13 01:05 abma Status assigned => feedback
2014-02-13 01:13 abma Note Added: 0012828
2014-02-13 01:37 abma Note Added: 0012831
2014-02-13 01:37 abma Note Edited: 0012831 View Revisions
2014-02-13 01:37 abma Note Edited: 0012831 View Revisions
2014-02-13 01:38 abma Note Edited: 0012831 View Revisions
2014-02-13 19:18 iElectric Note Added: 0012832
2014-02-13 19:18 iElectric Status feedback => assigned
2014-02-13 19:19 iElectric Note Added: 0012833
2014-02-13 20:25 abma Changeset attached => spring develop 8a6850b1
2014-02-13 20:25 abma Status assigned => resolved
2014-02-13 20:25 abma Resolution open => fixed
2014-02-13 20:27 abma Note Added: 0012834
+Issue History