Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44694 - knoda 0.6.2a does not compile anymore with KDE 3.2.x
Summary: knoda 0.6.2a does not compile anymore with KDE 3.2.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-14 13:46 UTC by Joerg Schaible
Modified: 2004-03-15 06:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
knoda-0.6.2a.ebuild.diff (knoda-0.6.2a.ebuild.diff,372 bytes, patch)
2004-03-14 13:47 UTC, Joerg Schaible
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Schaible 2004-03-14 13:46:44 UTC
After an update to KDE 3.2 knoda 0.6.2a could not be recompiled anymore. Now after the update to KDE 3.2.1 my previously installed Knoda crashed, but compilation was still not possible, because of a "long long" declaration and -pedantic flag:

gcc -fno-strict-aliasing -DNDEBUG -ansi -W -Wall -pedantic -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -DNDEBUG -O2 -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -O3 -pipe -fomit-frame-pointer -foptimize-sibling-calls -fprefetch-loop-arrays -falign-functions=32 -fPIC -DMAJOR_VERSION=0 -DMINOR_VERSION=0 -I../hk_kdeclasses -I/usr/include/hk_classes -I/usr/qt/3/include -I/usr/include/python2.3 -c hk_kdeclasses_wrap.cxx -o build/temp.linux-i686-2.3/hk_kdeclasses_wrap.o
In file included from /usr/include/python2.3/Python.h:8,
                 from hk_kdeclasses_wrap.cxx:26:
/usr/include/python2.3/pyconfig.h:859:1: warning: "_XOPEN_SOURCE" redefined
<command line>:6:1: warning: this is the location of the previous definition
In file included from /usr/include/python2.3/Python.h:75,
                 from hk_kdeclasses_wrap.cxx:26:
/usr/include/python2.3/intobject.h:41: error: ISO C++ does not support `long
   long'
In file included from /usr/include/python2.3/Python.h:77,
                 from hk_kdeclasses_wrap.cxx:26:
/usr/include/python2.3/longobject.h:37: error: ISO C++ does not support `long
   long'
/usr/include/python2.3/longobject.h:38: error: ISO C++ does not support `long
   long'
/usr/include/python2.3/longobject.h:39: error: ISO C++ does not support `long
   long'
/usr/include/python2.3/longobject.h:40: error: ISO C++ does not support `long
   long'
/usr/include/python2.3/longobject.h:41: error: ISO C++ does not support `long
   long'


Reproducible: Always
Steps to Reproduce:
1. emerge kde 3.2.x
2. emerge knoda 0.6.2a
3.

Actual Results:  
compilation error 

Expected Results:  
build and install Knoda 

$ gcc --version 
gcc (GCC) 3.3.2 20031218 (Gentoo Linux 3.3.2-r5, propolice-3.3-7) 
 
After modifying the ebuild to remove -pedantic, Knoda compiles again and runs 
without problems.
Comment 1 Joerg Schaible 2004-03-14 13:47:42 UTC
Created attachment 27362 [details, diff]
knoda-0.6.2a.ebuild.diff

patch for ebuild
Comment 2 Joerg Schaible 2004-03-14 13:49:14 UTC
Bug seems to affect newer and masked version 0.6.3_alpha1 also:
http://bugs.gentoo.org/show_bug.cgi?id=43041
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2004-03-15 06:25:06 UTC
should be fixed in alpha3, now in portage.