https://bz.apache.org/bugzilla/show_bug.cgi?id=63942
Bug ID: 63942
Summary: Regeneration of util_expr parser is not parallel-make
safe
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Found from a travis build failure -
https://api.travis-ci.org/v3/job/613990109/log.txt
The rules to regenerate util_expr_scan.c util_expr_parse.c util_expr_parse.h
from util_expr_parse.y are not parallel-safe since "make -j2" will potentially
run the rule multiple times in parallel, and the rule uses the outputs as
intermediate files which are modified in-place.
This could potentially be fixed by using unique filenames per invocation (e.g.
with mktemp or similar) though since these files are almost never regenerated
it is possibly not worth the effort.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]