Bug 203518 - Can't compile pykde4 package
Summary: Can't compile pykde4 package
Status: RESOLVED FIXED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-12 09:08 UTC by home
Modified: 2009-08-12 10:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description home 2009-08-12 09:08:06 UTC
Version:            (using KDE 4.3.0)
Compiler:          gcc 4.3.2 CFLAGS="-march=nocona -O2 -pipe"
OS:                Linux
Installed from:    Gentoo Packages

I'm trying to update my KDE 4.2.4 to 4.3. Update worked well until pykde4
is compiled. 

I see a lot of warnings when trying to compile pykde4 and it looks like it has something to do with sip. But I have compiled sip, python (2.6), phonon, qscintilla and PyQt4 quite often now without problems errors during compilation.

Then I'm getting errors like this:

...
<command-line>: warning: this is the location of the previous definition
[ 83%] Building CXX object
python/pykde4/CMakeFiles/python_module_PyKDE4_phonon.dir/sip/phonon/sipphononpart6.o
In file included from /usr/include/python2.6/Python.h:8,
                 from /usr/include/python2.6/sip.h:28,
                 from
/transfer/tmp/portage/portage/kde-base/pykde4-4.3.0/work/pykde4-4.3.0_build/python/pykde4/sip/phonon/sipAPIphonon.h:11,
                 from
/transfer/tmp/portage/portage/kde-base/pykde4-4.3.0/work/pykde4-4.3.0_build/python/pykde4/sip/phonon/sipphononpart6.cpp:7:
/usr/include/python2.6/pyconfig.h:1064:1: warning: "_XOPEN_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
[ 83%] Building CXX object
python/pykde4/CMakeFiles/python_module_PyKDE4_phonon.dir/sip/phonon/sipphononpart7.o
In file included from /usr/include/python2.6/Python.h:8,
                 from /usr/include/python2.6/sip.h:28,
                 from
/transfer/tmp/portage/portage/kde-base/pykde4-4.3.0/work/pykde4-4.3.0_build/python/pykde4/sip/phonon/sipAPIphonon.h:11,
                 from
/transfer/tmp/portage/portage/kde-base/pykde4-4.3.0/work/pykde4-4.3.0_build/python/pykde4/sip/phonon/sipphononpart7.cpp:7:
/usr/include/python2.6/pyconfig.h:1064:1: warning: "_XOPEN_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
Linking CXX shared library ../../lib/pykde/phonon.so
[ 83%] Built target python_module_PyKDE4_phonon
make: *** [all] Error 2
 *
 * ERROR: kde-base/pykde4-4.3.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4551:  Called kde4-meta_src_compile
 *             environment, line 3181:  Called kde4-base_src_compile
 *             environment, line 2873:  Called cmake-utils_src_compile
 *             environment, line 1110:  Called cmake-utils_src_make
 *             environment, line 1190:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *  The die message:
 *   Make failed!
 *
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/transfer/tmp/portage/portage/kde-base/pykde4-4.3.0/temp/build.log'.
 * The ebuild environment file is located at
'/transfer/tmp/portage/portage/kde-base/pykde4-4.3.0/temp/environment'. 

I don't stop always on the same place. Please see also:
http://bugs.gentoo.org/show_bug.cgi?id=281079

I'm not sure if this is a KDE or Gentoo bug. If tried many different options now but none worked. Any help is welcome.
Comment 1 home 2009-08-12 10:51:45 UTC
Solved. See http://forums.gentoo.org/viewtopic-t-787506.html