First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 147976
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Grant Goodyear <g2boojum@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Tiziano Müller <dev-zero@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 147976 depends on: Show dependency tree
Show dependency graph
Bug 147976 blocks: 117482
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-17 12:28 0000
When I try to generate python-bindings for imagemagick (re-generation the
bindings for pythonmagick-0.6), I get the following error:

pyste.py --module=_PythonMagick --multiple --out=./pythonmagick_src -I
['/usr/include'] pyste_src/PathMovetoAbs.pyste
In file included from
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/string:53,
                 from /usr/include/Magick++/Drawable.h:18:
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/basic_string.h: In
   member function `bool std::basic_string<_CharT, _Traits,
   _Alloc>::_M_disjunct(const _CharT*) const':
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/basic_string.h:329:
error: syntax
   error before `;' token
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include/g++-v4/bits/basic_string.h:330:
error: syntax
   error before `;' token
Traceback (most recent call last):
  File "/usr/bin/pyste.py", line 4, in ?
    pyste.main()
  File "/usr/lib/python2.4/site-packages/Pyste/pyste.py", line 418, in main
    status = Begin()
  File "/usr/lib/python2.4/site-packages/Pyste/pyste.py", line 257, in Begin
    return GenerateCode(parser, module, out, interfaces, multiple)
  File "/usr/lib/python2.4/site-packages/Pyste/pyste.py", line 376, in
GenerateCode
    declarations, parsed_header = parser.Parse(header, interface, tail)
  File "/usr/lib/python2.4/site-packages/Pyste/CppParser.py", line 165, in
Parse
    declarations = self.ParseWithGCCXML(header, tail)
  File "/usr/lib/python2.4/site-packages/Pyste/CppParser.py", line 126, in
ParseWithGCCXML
    raise CppParserError, 'Error executing gccxml'
Pyste.CppParser.CppParserError: Error executing gccxml

When I pass the option "--gccxml-compiler g++-3.4.6" to gccxml, it works.
I'm not surprised though, version 0.6 of gccxml is from year 2004.
Reading through the mailinglist shows that others had some problems as well:
http://public.kitware.com/pipermail/gccxml/2006-June/000800.html

------- Comment #1 From Tiziano Müller 2006-09-17 12:30:03 0000 -------
According to this note:
http://hanzubon.jp/gcc4/changes/gccxml_0.7.0+cvs20060311-1_ppc64.changes

GCC-4* support may have been added in the CVS version of gccxml.

------- Comment #2 From Tiziano Müller 2006-09-17 14:08:27 0000 -------
Jup, CVS version seems to work with gcc-4.x but breaks pyste.
I have upped a snapshot here:
http://dev-zero.ch/gentoo/distfiles/gccxml-0.7.0_pre20060916.tbz2

------- Comment #3 From Grant Goodyear 2006-10-10 14:04:35 0000 -------
I've decided to sync w/ Debian, since it seems that upstream is never going
to get around to generating a release.  I suspect that pyste is still broken
(and probably will remain broken forever, since it's no longer maintained).

First Last Prev Next    No search results available      Search page      Enter new bug