Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001116graphvizBuild/Installpublic2006-05-02 16:022011-04-28 04:03
ReporterHorst Schirmeier 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOS*-Linux-OS Version
Summary0001116: dot2l Makefile race condition (dotparse.h does not exist)
Description



Parallel make (-j2) triggers a Makefile race condition in
cmd/lefty/dot2l (dotparse.h is not being generated in time to be
included in dottrie.c):



<CD>
Making all in dot2l
make[4]: Entering directory `/home/bigfoot/programming/work/graphviz2/cmd/lefty/dot2l'
if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../cmd/lefty -I/usr/local/includ
e -g -O2 -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT dot2l.lo -MD -MP -MF ".deps/dot2l.Tpo" -c -
o dot2l.lo dot2l.c; \
then mv -f ".deps/dot2l.Tpo" ".deps/dot2l.Plo"; else rm -f ".deps/dot2l.Tpo"; exit 1; fi
bison -y -dv ../../../cmd/lefty/dot2l/dotparse.y
if /bin/sh ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../cmd/lefty -I/usr/local/includ
e -g -O2 -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wall -ffast-math -MT dottrie.lo -MD -MP -MF ".deps/dottrie.Tpo"
-c -o dottrie.lo dottrie.c; \
then mv -f ".deps/dottrie.Tpo" ".deps/dottrie.Plo"; else rm -f ".deps/dottrie.Tpo"; exit 1; fi
mkdir -p .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../cmd/lefty -I/usr/local/include -g -O2 -Wno-unknown-pragmas -Wstrict-prototypes -W
pointer-arith -Wall -ffast-math -MT dottrie.lo -MD -MP -MF .deps/dottrie.Tpo -c dottrie.c -fPIC -DPIC -o .libs/dottrie.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../cmd/lefty -I/usr/local/include -g -O2 -Wno-unknown-pragmas -Wstrict-prototypes -W
pointer-arith -Wall -ffast-math -MT dot2l.lo -MD -MP -MF .deps/dot2l.Tpo -c dot2l.c -fPIC -DPIC -o .libs/dot2l.o
dottrie.c:18:22: dotparse.h: No such file or directory
dottrie.c:29: error: `T_digraph' undeclared here (not in a function)
dottrie.c:29: error: initializer element is not constant
dottrie.c:29: error: (near initialization for `TrieStateTbl[7].def')
dottrie.c:29: error: initializer element is not constant
dottrie.c:29: error: (near initialization for `TrieStateTbl[7]')
[...]
</CD>



Re-running make completes without errors.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT 
<CD>
Index: cmd/lefty/dot2l/Makefile.am
===================================================================
RCS file: /home/cvsroot/graphviz2/cmd/lefty/dot2l/Makefile.am,v
retrieving revision 1.5
diff -p -u -r1.5 Makefile.am
--- cmd/lefty/dot2l/Makefile
FORMER-ID938
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (3 May 2006)
VERSION     CVS 2006-05-02
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:03 user1 New Issue
2011-04-28 04:03 user1 Assigned To => user695


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker