Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Suddenly unable to build from Mozilla-Central

8 views
Skip to first unread message

Martin Packer

unread,
Feb 12, 2010, 1:52:21 PM2/12/10
to
I've been happily building on Ubuntu Karmic from Mozilla-Central trunk
for months. But now building fails in some Python step or other. Just in
the past 24 hours.

Is anyone seeing similar?

Thanks, Martin

Michael Kohler

unread,
Feb 12, 2010, 2:07:06 PM2/12/10
to

Could you post the error message?

Martin Packer

unread,
Feb 13, 2010, 1:57:30 PM2/13/10
to

Here is the piece that appears to be failing:

/usr/bin/python2.5 ../../config/buildlist.py
../../config/final-link-libs mozipdlgen_s
/usr/bin/python2.5 ../../config/pythonpath.py \
-I../../other-licenses/ply \
./ipdl.py \
--outheaders-dir=_ipdlheaders \
--outcpp-dir=. \
-I../../dom/plugins -I../../ipc/ipdl/test/cxx \
../../dom/plugins/PPluginModule.ipdl
../../dom/plugins/PPluginInstance.ipdl
../../dom/plugins/PPluginScriptableObject.ipdl
../../dom/plugins/PBrowserStream.ipdl
../../dom/plugins/PPluginStream.ipdl
../../dom/plugins/PStreamNotify.ipdl
../../ipc/ipdl/test/cxx/PTestArrays.ipdl
../../ipc/ipdl/test/cxx/PTestArraysSub.ipdl
../../ipc/ipdl/test/cxx/PTestBlockChild.ipdl
../../ipc/ipdl/test/cxx/PTestCrashCleanup.ipdl
../../ipc/ipdl/test/cxx/PTestDesc.ipdl
../../ipc/ipdl/test/cxx/PTestDescSub.ipdl
../../ipc/ipdl/test/cxx/PTestDescSubsub.ipdl
../../ipc/ipdl/test/cxx/PTestHangs.ipdl
../../ipc/ipdl/test/cxx/PTestLatency.ipdl
../../ipc/ipdl/test/cxx/PTestManyChildAllocs.ipdl
../../ipc/ipdl/test/cxx/PTestManyChildAllocsSub.ipdl
../../ipc/ipdl/test/cxx/PTestMultiMgrs.ipdl
../../ipc/ipdl/test/cxx/PTestMultiMgrsLeft.ipdl
../../ipc/ipdl/test/cxx/PTestMultiMgrsRight.ipdl
../../ipc/ipdl/test/cxx/PTestMultiMgrsBottom.ipdl
../../ipc/ipdl/test/cxx/PTestRacyRPCReplies.ipdl
../../ipc/ipdl/test/cxx/PTestRPCErrorCleanup.ipdl
../../ipc/ipdl/test/cxx/PTestRPCRaces.ipdl
../../ipc/ipdl/test/cxx/PTestSanity.ipdl
../../ipc/ipdl/test/cxx/PTestShmem.ipdl
../../ipc/ipdl/test/cxx/PTestShutdown.ipdl
../../ipc/ipdl/test/cxx/PTestShutdownSub.ipdl
../../ipc/ipdl/test/cxx/PTestShutdownSubsub.ipdl
../../ipc/ipdl/test/cxx/PTestSyncWakeup.ipdl
Generated C++ headers will be generated relative to "_ipdlheaders"
Generated C++ sources will be generated in "."
Parsing specification ../../dom/plugins/PPluginModule.ipdl
Traceback (most recent call last):
File "../../config/pythonpath.py", line 40, in <module>
execfile(script, {'__name__': '__main__', '__file__': script})
File "./ipdl.py", line 90, in <module>
ast = ipdl.parse(specstring, filename, includedirs=includedirs)
File "./ipdl/__init__.py", line 49, in parse
return Parser().parse(specstring, os.path.abspath(filename),
includedirs, errout)
File "./ipdl/parser.py", line 94, in parse
tabmodule="ipdl_yacctab")
File "../../../../other-licenses/ply/ply/yacc.py", line 2718, in yacc
KeyError: 'p_ManagerStmtOpt'
make[5]: *** [export] Error 1
make[5]: Leaving directory `/home/martinpacker/mozilla-central/ipc/ipdl'
make[4]: *** [export] Error 2
make[4]: Leaving directory `/home/martinpacker/mozilla-central/ipc'
make[3]: *** [export_tier_gecko] Error 2
make[3]: Leaving directory `/home/martinpacker/mozilla-central'
make[2]: *** [tier_gecko] Error 2
make[2]: Leaving directory `/home/martinpacker/mozilla-central'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/home/martinpacker/mozilla-central'
make: *** [build] Error 2

and then it ends back at the command prompt.

Thanks, Martin

Martin Packer

unread,
Feb 20, 2010, 8:32:58 AM2/20/10
to
A circumvention turned out to be to turn off optimization in PLY in the
routine that line 2718 in yacc.py is in.

I did it with a optimize=0 inline in the code. I'm sure that's the wrong
way to do it and doesn't fix the underlying problem. But it got me going
again.

Martin

0 new messages