[Kde-bindings] Unable to build kdebindings 3.5.5

phil-keyword-kdebind.044864 at wild-card.net phil-keyword-kdebind.044864 at wild-card.net
Mon Oct 23 18:20:53 UTC 2006


On Sat October 21 2006 07:29, Simon Edwards wrote:
> On Tuesday 17 October 2006 20:52, solsTiCe wrote:
> > i can't either compile kdebindings 3.5.5 on slackware 11 with
> > python 2.4.3 or python 2.4.4c1.
> > i got a similar error:
> >
> > i just try to compile it from a lightly modified slackbuild with
> > fakeroot sh kdebindings.SlackBuild
>
> It sounds like a report a I got from the Slackware maintianer. Here
> is the
>
> relevant bit of that email:
> > There is a fatal bug in the SIP source code
> > that is shipping with KDE 3.5.5 which causes a segmentation fault
> > when running "sip" (in python/sip/sipgen/sip) as part of
> > configure.py.
> >
> > Look at the source file python/sip/sipgen/gencode.c.  On line 3056,
> > a call to prcode() is made.  The format string has two format
> > specifiers '%C' and '%C' again.  But there is only ONE argument:
> > classFQCName(cd). The missing second parameter causes a segfault to
> > occur within prcode().
> >
> > The simple fix for this is to add another instance of
> > classFQCName(cd) to the call to prcode().  Line 3056 would then
> > look like this:
> >
> >                         ,classFQCName(cd),classFQCName(cd));
> >
> > This works for me, and compilation of kdebindings can continue
> > after that fix.
>
> I'm not sure why this is only showing up on Slackware. The code here
> hasn't been changed recently. Is Slackware using some uncommon
> options for g++, or a rare version of g++? or something?
>
> cheers,


 The GCC is a vanilla 3.3.6 on Slackware 10.2 so I'm not sure what 
happened.
 I know in the past I have been building KDE from src since about 
version 3.0.something and the only problems I ever had was the Python 
build not being able to figure out where KDE is installed which stopped 
happening with KDE 3.5.4 but then this new issue cropped up with 3.5.5.
 I modified the source as stated above and that seems to be fixing the 
problem. Maybe something got touched in the sip code between the 2 
versions. It cropped up not only on the stock slackware python 2.4.1 
and the vanilla from source python 2.5.
 If you need version info from anything let me know and I try to get it 
for you.

Output from g++ -v
g++ -v
Reading specs from /usr/lib/gcc-lib/i486-slackware-linux/3.3.6/specs
Configured 
with: ../gcc-3.3.6/configure --prefix=/usr --enable-shared --enable-threads=posix 
--enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose 
--target=i486-slackware-linux --host=i486-slackware-linux
Thread model: posix
gcc version 3.3.6

Phil



More information about the Kde-bindings mailing list