[Webkit-unassigned] [Bug 16718] parallel makes for autotools build is broken

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 3 02:55:44 PST 2008


http://bugs.webkit.org/show_bug.cgi?id=16718


mrowe at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mrowe at apple.com
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




------- Comment #2 from mrowe at apple.com  2008-01-03 02:55 PDT -------
Relevant part of the transcript that shows the root cause of failure:

rm -f ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp
/usr/bin/bison -d -p xpathyy WebCore/xml/XPathGrammar.y -o
./DerivedSources/XPathGrammar.cpp
rm -f ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp
touch ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp
/usr/bin/bison -d -p xpathyy WebCore/xml/XPathGrammar.y -o
./DerivedSources/XPathGrammar.cpp
echo '#ifndef XPathGrammar_h' > ./DerivedSources/XPathGrammar.h
touch ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp
echo '#define XPathGrammar_h' >> ./DerivedSources/XPathGrammar.h
echo '#ifndef XPathGrammar_h' > ./DerivedSources/XPathGrammar.h
cat ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp >>
./DerivedSources/XPathGrammar.h
echo '#define XPathGrammar_h' >> ./DerivedSources/XPathGrammar.h
echo '#endif' >> ./DerivedSources/XPathGrammar.h
cat ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp >>
./DerivedSources/XPathGrammar.h
rm -f ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp
echo '#endif' >> ./DerivedSources/XPathGrammar.h
rm -f ./DerivedSources/XPathGrammar.cpp.h ./DerivedSources/XPathGrammar.hpp

Actual symptom of failure:
In file included from WebCore/xml/XPathParser.cpp:50:
./DerivedSources/XPathGrammar.hpp:221:2: error: #endif without #if


This is due to the XPathGrammar.y rule in WebCore/GNUmakefile.am having
multiple targets.  In parallel builds Make may run the rule twice concurrently
to generate both targets, which leads to each instance stomping over the other,
and badness results.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list