#2810 closed defect (fixed)
[PATCH] Race condition found in FCollada Makefile
Reported by: | Guido Falsi | Owned by: | leper |
---|---|---|---|
Priority: | Must Have | Milestone: | Alpha 17 |
Component: | Build & Packages | Keywords: | fcollada patch |
Cc: | Patch: |
Description (last modified by )
While testing on FreeBSD I found a race condition in the fcollada Makefile:
all: output_dirs output/libFColladaSD.a output/libFColladaSR.a install
as it is there is no warranty the output_dirs target will be executed before the other ones or their descendants, so sometimes the build fails due to missing directories.
I fixed it with the attached patch, which adds output_dirs as an order only dependency on all relevant targets, warranting it will be executed first.
It fixed the probem for me.
Attachments (1)
Change History (6)
by , 10 years ago
Attachment: | patch-libraries__source__fcollada__src__Makefile added |
---|
comment:1 by , 10 years ago
Description: | modified (diff) |
---|
comment:2 by , 10 years ago
Keywords: | review patch added |
---|
comment:3 by , 10 years ago
Summary: | Race condition found in FCollada Makefile → [PATCH] Race condition found in FCollada Makefile |
---|
Note:
See TracTickets
for help on using tickets.
Race condition fix