Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 284060 - kde-base/pykde4-4.3.65 doesn't compile
Summary: kde-base/pykde4-4.3.65 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High major with 1 vote (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2009-09-08 00:28 UTC by GianpaMX
Modified: 2009-10-24 21:50 UTC (History)
1 user (show)

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


Attachments
Complete build.log (build.log,86.73 KB, text/plain)
2009-09-08 00:40 UTC, GianpaMX
Details
Patch for pykde4-4.3.72 (pykde4-kcategorydrawer.patch,1.50 KB, patch)
2009-10-24 20:57 UTC, Sergey Morozov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description GianpaMX 2009-09-08 00:28:57 UTC
I'm using the kde-testing's overlay.
I'm trying to install kde-meta:4.4

when i try to compile pykde4, it fails at 
...
Linking CXX shared library ../../lib/pykde/kio.so
[ 47%] Built target python_module_PyKDE4_kio
make: *** [all] Error 2
 *
 * ERROR: kde-base/pykde4-4.3.65 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4583:  Called kde4-meta_src_compile
 *             environment, line 3167:  Called kde4-base_src_compile
 *             environment, line 2860:  Called cmake-utils_src_compile
 *             environment, line 1087:  Called cmake-utils_src_make
 *             environment, line 1167:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *  The die message:
 *   Make failed!


I've tried with this 
http://forums.gentoo.org/viewtopic-t-757907-highlight-.html 
and it didn't solve it

i've done a emerge -e system world before emerge kde-meta:4.4

i've changing the python's version betwen 2.5, 2.6 and 3.1 running python-updater each time and rebuilding sip, kdevplatform, PyQt4.



Reproducible: Always

Steps to Reproduce:
1. emerge "=kde-base/pykde4-4.3.65"

Actual Results:  
Linking CXX shared library ../../lib/pykde/kio.so
[ 47%] Built target python_module_PyKDE4_kio
make: *** [all] Error 2
 *
 * ERROR: kde-base/pykde4-4.3.65 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4583:  Called kde4-meta_src_compile
 *             environment, line 3167:  Called kde4-base_src_compile
 *             environment, line 2860:  Called cmake-utils_src_compile
 *             environment, line 1087:  Called cmake-utils_src_make
 *             environment, line 1167:  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 '/var/tmp/portage/kde-base/pykde4-4.3.65/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/pykde4-4.3.65/temp/environment'.
 * This ebuild used the following eclasses from overlays:
 *   /usr/local/portage/layman/kde-testing/eclass/kde4-meta.eclass
 *   /usr/local/portage/layman/kde-testing/eclass/kde4-base.eclass
 *   /usr/local/portage/layman/kde-testing/eclass/kde4-functions.eclass
 * This ebuild is from an overlay named 'kde': '/usr/local/portage/layman/kde-testing/'
 *


Expected Results:  
emerge successful

# emerge --info
WARNING: One or more repositories have missing repo_name entries:

        /usr/local/portage/profiles/repo_name

NOTE: Each repo_name entry should be a plain text file containing a
unique name for the repository on the first line.
Portage 2.2_rc40 (default/linux/x86/2008.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-tuxonice-r5 i686)
=================================================================
System uname: Linux-2.6.30-tuxonice-r5-i686-Intel-R-_Core-TM-2_Duo_CPU_T5750_@_2.00GHz-with-glibc2.0
Timestamp of tree: Sun, 06 Sep 2009 03:00:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9
dev-lang/python:     2.5.4-r3, 2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=native -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=native -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/x11 /usr/local/portage/layman/sunrise /usr/local/portage/layman/kde-testing /usr/local/portage/layman/java-overlay /usr/local/portage/layman/qting-edge /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apache2 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt css cups dbus dga dri dts dvd dvdr eds emboss encode esd evo fam ffmpeg firefox flac fortran gdbm gif gpm gstreamer hal htmlhandbook iconv imagemagick ipv6 isdnlog java java6 jpeg kde kerberos lcms ldap libnotify lm_sensors mad mikmod mng mp3 mp4 mpeg mudflap musicbrainz mysql ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sqlite ssl startup-notification svg sysfs tcpd threads thunar tiff truetype unicode usb v4l2 vcd vorbis win32codecs wmf x264 x86 xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev intel vesa vga i128 i740 v4l"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 GianpaMX 2009-09-08 00:40:40 UTC
Created attachment 203435 [details]
Complete build.log

Errors in build.log


...

[ 30%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_kdeui.dir/sip/kdeui/sipkdeuipart5.o
In file included from /usr/include/python2.5/Python.h:13,
                 from /usr/include/python2.5/sip.h:28,
                 from /var/tmp/portage/kde-base/pykde4-4.3.65/work/pykde4-4.3.65_build/python/pykde4/sip/kdeui/sipAPIkdeui.h:11,
                 from /var/tmp/portage/kde-base/pykde4-4.3.65/work/pykde4-4.3.65_build/python/pykde4/sip/kdeui/sipkdeuipart5.cpp:7:
/usr/include/python2.5/pyconfig.h:976:1: warning: "_XOPEN_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
sipkdeuipart4.cpp: In function 'PyObject* meth_KGlobalAccel_promptStealShortcutSystemwide(PyObject*, PyObject*)':
sipkdeuipart4.cpp:582: warning: 'static bool KGlobalAccel::promptStealShortcutSystemwide(QWidget*, const QStringList&, const QKeySequence&)' is deprecated (declared at
 /usr/include/kglobalaccel.h:222)
sipkdeuipart4.cpp: In function 'PyObject* meth_KGlobalAccel_isEnabled(PyObject*, PyObject*)':
sipkdeuipart4.cpp:612: warning: 'bool KGlobalAccel::isEnabled() const' is deprecated (declared at /usr/include/kglobalaccel.h:168)
sipkdeuipart4.cpp: In function 'PyObject* meth_KGlobalAccel_setEnabled(PyObject*, PyObject*)':
sipkdeuipart4.cpp:638: warning: 'void KGlobalAccel::setEnabled(bool)' is deprecated (declared at /usr/include/kglobalaccel.h:175)
sipkdeuipart4.cpp: In function 'PyObject* meth_KGlobalAccel_overrideMainComponentData(PyObject*, PyObject*)':
sipkdeuipart4.cpp:665: warning: 'void KGlobalAccel::overrideMainComponentData(const KComponentData&)' is deprecated (declared at /usr/include/kglobalaccel.h:193)
sipkdeuipart4.cpp: In function 'PyObject* meth_KGlobalAccel_allMainComponents(PyObject*, PyObject*)':
sipkdeuipart4.cpp:693: warning: 'QList<QStringList> KGlobalAccel::allMainComponents()' is deprecated (declared at /usr/include/kglobalaccel.h:201)
sipkdeuipart4.cpp: In function 'PyObject* meth_KGlobalAccel_allActionsForComponent(PyObject*, PyObject*)':
sipkdeuipart4.cpp:725: warning: 'QList<QStringList> KGlobalAccel::allActionsForComponent(const QStringList&)' is deprecated (declared at /usr/include/kglobalaccel.h:20
8)
sipkdeuipart4.cpp: In function 'PyObject* meth_KGlobalAccel_findActionNameSystemwide(PyObject*, PyObject*)':
sipkdeuipart4.cpp:758: warning: 'static QStringList KGlobalAccel::findActionNameSystemwide(const QKeySequence&)' is deprecated (declared at /usr/include/kglobalaccel.h
:215)
sipkdeuipart4.cpp: In function 'PyObject* meth_KGlobalSettings_contextMenuKey(PyObject*, PyObject*)':
sipkdeuipart4.cpp:28516: warning: 'static int KGlobalSettings::contextMenuKey()' is deprecated (declared at /usr/include/kglobalsettings.h:157)
sipkdeuipart4.cpp: In function 'PyObject* meth_KApplication_tempSaveName(PyObject*, PyObject*)':
sipkdeuipart4.cpp:30840: warning: 'static QString KApplication::tempSaveName(const QString&)' is deprecated (declared at /usr/include/kapplication.h:255)
sipkdeuipart5.cpp: In member function 'void sipKWidgetItemDelegate::sipProtect_paintWidgets(QPainter*, const QStyleOptionViewItem&, const QPersistentModelIndex&) const
':
sipkdeuipart5.cpp:748: warning: 'void KWidgetItemDelegate::paintWidgets(QPainter*, const QStyleOptionViewItem&, const QPersistentModelIndex&) const' is deprecated (dec
lared at /usr/include/kwidgetitemdelegate.h:125)
sipkdeuipart5.cpp: In member function 'virtual void sipKTreeWidgetSearchLine::setContextMenuEnabled(bool)':
sipkdeuipart5.cpp:5309: warning: 'virtual void KLineEdit::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/klineedit.h:224)
sipkdeuipart5.cpp: In member function 'virtual void sipKLineEdit::setContextMenuEnabled(bool)':
sipkdeuipart5.cpp:9574: warning: 'virtual void KLineEdit::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/klineedit.h:224)
sipkdeuipart5.cpp: In function 'PyObject* meth_KLineEdit_setContextMenuEnabled(PyObject*, PyObject*)':
sipkdeuipart5.cpp:12072: warning: 'virtual void KLineEdit::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/klineedit.h:224)
sipkdeuipart5.cpp:12072: warning: 'virtual void KLineEdit::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/klineedit.h:224)
sipkdeuipart5.cpp: In function 'PyObject* meth_KLineEdit_isContextMenuEnabled(PyObject*, PyObject*)':
sipkdeuipart5.cpp:12100: warning: 'bool KLineEdit::isContextMenuEnabled() const' is deprecated (declared at /usr/include/klineedit.h:230)
sipkdeuipart5.cpp: In member function 'virtual void sipKListWidgetSearchLine::setContextMenuEnabled(bool)':
sipkdeuipart5.cpp:14281: warning: 'virtual void KLineEdit::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/klineedit.h:224)






In file included from /var/tmp/portage/kde-base/pykde4-4.3.65/work/pykde4-4.3.65/python/pykde4/sip/kdeui/kcategorydrawer.sip:25:
/usr/include/kcategorydrawer.h: In member function 'KCategoryDrawer& KCategoryDrawer::operator=(const KCategoryDrawer&)':
/usr/include/kcategorydrawer.h:37: error: non-static const member 'KCategoryDrawer::Private* const KCategoryDrawer::d', can't use default assignment operator





sipkdeuipart5.cpp: In function 'void assign_KCategoryDrawer(void*, const void*)':
sipkdeuipart5.cpp:27927: note: synthesized method 'KCategoryDrawer& KCategoryDrawer::operator=(const KCategoryDrawer&)' first required here
sipkdeuipart5.cpp: In member function 'virtual void sipKCategorizedView::rowsInsertedArtifficial(const QModelIndex&, int, int)':
sipkdeuipart5.cpp:29024: warning: 'virtual void KCategorizedView::rowsInsertedArtifficial(const QModelIndex&, int, int)' is deprecated (declared at /usr/include/kcategorizedview.h:283)
sipkdeuipart5.cpp: In member function 'virtual void sipKCategorizedView::rowsRemoved(const QModelIndex&, int, int)':
sipkdeuipart5.cpp:29042: warning: 'virtual void KCategorizedView::rowsRemoved(const QModelIndex&, int, int)' is deprecated (declared at /usr/include/kcategorizedview.h:291)
sipkdeuipart5.cpp: In member function 'void sipKCategorizedView::sipProtectVirt_rowsInsertedArtifficial(bool, const QModelIndex&, int, int)':
sipkdeuipart5.cpp:30706: warning: 'virtual void KCategorizedView::rowsInsertedArtifficial(const QModelIndex&, int, int)' is deprecated (declared at /usr/include/kcategorizedview.h:283)
sipkdeuipart5.cpp: In member function 'void sipKCategorizedView::sipProtectVirt_rowsRemoved(bool, const QModelIndex&, int, int)':
sipkdeuipart5.cpp:30711: warning: 'virtual void KCategorizedView::rowsRemoved(const QModelIndex&, int, int)' is deprecated (declared at /usr/include/kcategorizedview.h:291)
sipkdeuipart5.cpp: In function 'PyObject* meth_KCategorizedSortFilterProxyModel_naturalCompare(PyObject*, PyObject*)':
sipkdeuipart5.cpp:35867: warning: 'static int KCategorizedSortFilterProxyModel::naturalCompare(const QString&, const QString&)' is deprecated (declared at /usr/include/kcategorizedsortfilterproxymodel.h:114)
sipkdeuipart5.cpp: In member function 'virtual void sipKComboBox::setContextMenuEnabled(bool)':
sipkdeuipart5.cpp:48738: warning: 'virtual void KComboBox::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/kcombobox.h:291)
sipkdeuipart5.cpp: In function 'PyObject* meth_KComboBox_insertURL(PyObject*, PyObject*)':
sipkdeuipart5.cpp:51387: warning: 'void KComboBox::insertURL(const KUrl&, int)' is deprecated (declared at /usr/include/kcombobox.h:184)
sipkdeuipart5.cpp:51404: warning: 'void KComboBox::insertURL(const QPixmap&, const KUrl&, int)' is deprecated (declared at /usr/include/kcombobox.h:186)
sipkdeuipart5.cpp: In function 'PyObject* meth_KComboBox_changeURL(PyObject*, PyObject*)':
sipkdeuipart5.cpp:51432: warning: 'void KComboBox::changeURL(const KUrl&, int)' is deprecated (declared at /usr/include/kcombobox.h:188)
sipkdeuipart5.cpp:51449: warning: 'void KComboBox::changeURL(const QPixmap&, const KUrl&, int)' is deprecated (declared at /usr/include/kcombobox.h:190)
sipkdeuipart5.cpp: In function 'PyObject* meth_KComboBox_setContextMenuEnabled(PyObject*, PyObject*)':
sipkdeuipart5.cpp:51719: warning: 'virtual void KComboBox::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/kcombobox.h:291)
sipkdeuipart5.cpp:51719: warning: 'virtual void KComboBox::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/kcombobox.h:291)
sipkdeuipart5.cpp: In member function 'virtual void sipKFontComboBox::setContextMenuEnabled(bool)':
sipkdeuipart5.cpp:53111: warning: 'virtual void KComboBox::setContextMenuEnabled(bool)' is deprecated (declared at /usr/include/kcombobox.h:291)


make[2]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdeui.dir/sip/kdeui/sipkdeuipart5.o] Error 1
make[2]: *** Waiting for unfinished jobs....


[ 30%] Generating sip/kio/sipkiopart0.cpp, sip/kio/sipkiopart1.cpp, sip/kio/sipkiopart2.cpp, sip/kio/sipkiopart3.cpp, sip/kio/sipkiopart4.cpp, sip/kio/sipkiopart5.cpp, sip/kio/sipkiopart6.cpp, sip/kio/sipkiopart7.cpp



...



[ 35%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_knewstuff.dir/sip/knewstuff/sipknewstuffpart3.o
In file included from /usr/include/python2.5/Python.h:13,
                 from /usr/include/python2.5/sip.h:28,
                 from /var/tmp/portage/kde-base/pykde4-4.3.65/work/pykde4-4.3.65_build/python/pykde4/sip/knewstuff/sipAPIknewstuff.h:11,
                 from /var/tmp/portage/kde-base/pykde4-4.3.65/work/pykde4-4.3.65_build/python/pykde4/sip/knewstuff/sipknewstuffpart3.cpp:7:
/usr/include/python2.5/pyconfig.h:976:1: warning: "_XOPEN_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdeui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 36%] Building CXX object python/pykde4/CMakeFiles/python_module_PyKDE4_knewstuff.dir/sip/knewstuff/sipknewstuffpart4.o



...



Linking CXX shared library ../../lib/pykde/kio.so
[ 47%] Built target python_module_PyKDE4_kio
make: *** [all] Error 2
Comment 2 Jonathan Callen (RETIRED) gentoo-dev 2009-09-08 00:43:58 UTC
This is a known problem with upstream; leaving open to discourage duplicate bugs.
Comment 3 Sergey Morozov 2009-10-24 20:57:50 UTC
Created attachment 208156 [details, diff]
Patch for pykde4-4.3.72