Hi folks, a user sent me a bug report that the m7i43_hm2.comp driver won't compile on Debian Sarge. Sarge has python 2.3; upgrading to python 2.4 apparently makes it work again. The oldest Ubuntu distro in our buildfarm is Breezy Badger, which has Python 2.4. BDI-4.51 has python 2.4 too.
All the other .comp files apparently compile fine with python 2.3. Note that m7i43_hm2.comp is the largest .comp file in the emc2 source, at over 3k lines. The next smaller one is mesa7i43_gpio.comp at 500 lines, followed by pluto_step.comp at 325 lines. The python 2.3 comp error is: ../bin/comp --document -o ../docs/man/man9/m7i43_hm2.9 hal/drivers/m7i43_hm2.comp Traceback (most recent call last): File "../bin/comp", line 1254, in ? main() File "../bin/comp", line 1207, in main document(f, outfile) File "../bin/comp", line 958, in document a, b = parse(filename) File "../bin/comp", line 382, in parse p = _parse('File', a + "\n\n", filename) File "../bin/comp", line 376, in _parse return runtime.wrap_error_reporter(P, rule) File "/tmp/emc2/lib/python/yapps/runtime.py", line 437, in wrap_error_reporter return getattr(parser, rule)(*args,**kw) File "../bin/comp", line 80, in File Declaration = self.Declaration(_context) File "../bin/comp", line 146, in Declaration String = self.String(_context) File "../bin/comp", line 171, in String _token = self._peek('TSTRING', 'STRING', context=_context) File "/tmp/emc2/lib/python/yapps/runtime.py", line 371, in _peek return self._scanner.peek(*types, **kw) File "/tmp/emc2/lib/python/yapps/runtime.py", line 331, in peek self.last_token = self.token(types,context) File "/tmp/emc2/lib/python/yapps/runtime.py", line 284, in token m = regexp.match(self.input, self.pos) RuntimeError: maximum recursion limit exceeded Is this a known problem with the older python interpreter? (This issue is similar to the libpciaccess dependency thing we discussed last week. How old is too old?) Is there a mechanism to disable compilation of individual drivers? The CONFIG_FOO stuff in Makefile.inc.in looks tantalizing but seems to have no effect on .comp files (even after running ./configure to update Makefile.inc). The user reports that simply removing m7i43_hm2.comp makes the rest of the system build successfully. -- Sebastian Kuzminsky burn the land and boil the sea / you can't take the sky from me ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers