Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349821 - [kde-overlay] kde-base/pykde4-4.5.90 fails to compile with dev-python/PyQt4-4.8.2
Summary: [kde-overlay] kde-base/pykde4-4.5.90 fails to compile with dev-python/PyQt4-4...
Status: RESOLVED DUPLICATE of bug 349707
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-26 19:53 UTC by Marian Kyral
Modified: 2010-12-27 22:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Kyral 2010-12-26 19:53:33 UTC
After upgrade of PyQt4 to version 4.8.2, plasma is not able to run python plasmoids and recompilation of pykde4 fails. Downgrade to PyQt4-4.8.1 fixes it.

...
-- Build Kross Python... yes
-- Found SIP version: 4.12
-- Found PyQt4 version: 4.8.2
-- Found Python executable: /usr/bin/python
-- Found Python version: 2.6.6
-- Found Python library: /usr/lib64/libpython2.6.so
-- Found PyQt4 version: 4.8.2
-- Found Soprano: /usr/include 
-- Found SharedDesktopOntologies: /usr/share/ontology 
-- Found Nepomuk: /usr/lib64/libnepomuk.so 
-- Found KdepimLibs: /usr/lib64/cmake/KdepimLibs/KdepimLibsConfig.cmake 
-- KDE_VERSION: 4.5.90
-- KDE4_INCLUDE_DIR: /usr/include
-- KDE4_LIB_DIR: /usr/lib64
-- PYTHON_SITE_PACKAGES_INSTALL_DIR: /usr/lib64/python2.6/site-packages
-- Build PyKDE4... yes

-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
-----------------------------------------------------------------------------
   * Soprano - Soprano Libraries
   * Shared desktop ontologies - Support for the Nepomuk semantic desktop system
   * Nepomuk - Nepomuk Libraries
   * Kdepimlibs - KDE pim Libraries

-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
-----------------------------------------------------------------------------
   * Polkit-Qt  <kdesupport>
     Qt Wrapper around PolicyKit
     Required to build PolicyKit-Qt support

-----------------------------------------------------------------------------

-- <<< Gentoo configuration >>>
Build type      Gentoo
Install path    /usr
Compiler flags:
C               -march=native -O2 -pipe  -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common
C++             -march=native -O2 -pipe  -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new -fno-common -Werror=return-type -Woverloaded-virtual -fno-threadsafe-statics -fvisibility=hidden -fvisibility-inlines-hidden
Linker flags:
Executable      -Wl,--enable-new-dtags -Wl,-O1 -Wl,--as-needed
Module          -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed
Shared          -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-O1 -Wl,--as-needed

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/kde-base/pykde4-4.5.90/work/pykde4-4.5.90_build
>>> Source configured.
>>> Compiling source in /var/tmp/portage/kde-base/pykde4-4.5.90/work/pykde4-4.5.90 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/pykde4-4.5.90/work/pykde4-4.5.90_build"
make -j3 
[  1%] [  2%] Scanning dependencies of target compile_python_files
Generating sip/dnssd/sipdnssdpart0.cpp, sip/dnssd/sipdnssdpart1.cpp, sip/dnssd/sipdnssdpart2.cpp, sip/dnssd/sipdnssdpart3.cpp, sip/dnssd/sipdnssdpart4.cpp, sip/dnssd/sipdnssdpart5.cpp, sip/dnssd/sipdnssdpart6.cpp, sip/dnssd/sipdnssdpart7.cpp                              
Generating sip/akonadi/sipakonadipart0.cpp, sip/akonadi/sipakonadipart1.cpp, sip/akonadi/sipakonadipart2.cpp, sip/akonadi/sipakonadipart3.cpp, sip/akonadi/sipakonadipart4.cpp, sip/akonadi/sipakonadipart5.cpp, sip/akonadi/sipakonadipart6.cpp, sip/akonadi/sipakonadipart7.cpp
[  2%] Built target compile_python_files
[  3%] Generating sip/kdecore/sipkdecorepart0.cpp, sip/kdecore/sipkdecorepart1.cpp, sip/kdecore/sipkdecorepart2.cpp, sip/kdecore/sipkdecorepart3.cpp, sip/kdecore/sipkdecorepart4.cpp, sip/kdecore/sipkdecorepart5.cpp, sip/kdecore/sipkdecorepart6.cpp, sip/kdecore/sipkdecorepart7.cpp
sip: /var/tmp/portage/kde-base/pykde4-4.5.90/work/pykde4-4.5.90/python/pykde4/sip/kdecore/typedefs.sip:587: %MappedType template for this type has already been defined
make[2]: *** [python/pykde4/sip/kdecore/sipkdecorepart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_kdecore.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
sip: /var/tmp/portage/kde-base/pykde4-4.5.90/work/pykde4-4.5.90/python/pykde4/sip/kdecore/typedefs.sip:587: %MappedType template for this type has already been defined
make[2]: *** [python/pykde4/sip/akonadi/sipakonadipart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_akonadi.dir/all] Error 2
sip: /var/tmp/portage/kde-base/pykde4-4.5.90/work/pykde4-4.5.90/python/pykde4/sip/kdecore/typedefs.sip:587: %MappedType template for this type has already been defined
make[2]: *** [python/pykde4/sip/dnssd/sipdnssdpart0.cpp] Error 1
make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_dnssd.dir/all] Error 2
make: *** [all] Error 2
emake failed
 * ERROR: kde-base/pykde4-4.5.90 failed:
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 6612:  Called kde4-meta_src_compile
 *   environment, line 3927:  Called kde4-base_src_compile
 *   environment, line 3561:  Called cmake-utils_src_compile
 *   environment, line 1756:  Called _execute_optionaly 'src_compile'
 *   environment, line  714:  Called enable_cmake-utils_src_compile
 *   environment, line 2133:  Called cmake-utils_src_make
 *   environment, line 1775:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 * 
 * If you need support, post the output of 'emerge --info =kde-base/pykde4-4.5.90',
 * the complete build log and the output of 'emerge -pqv =kde-base/pykde4-4.5.90'.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/kde/eclass/kde4-meta.eclass
 *   /var/lib/layman/kde/eclass/kde4-base.eclass
 *   /var/lib/layman/kde/eclass/kde4-functions.eclass
 * This ebuild is from an overlay named 'kde': '/var/lib/layman/kde/'
 * The complete build log is located at '/var/log/portage/kde-base:pykde4-4.5.90:20101226-191430.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/pykde4-4.5.90/temp/environment'.
 * S: '/var/tmp/portage/kde-base/pykde4-4.5.90/work/pykde4-4.5.90'


Reproducible: Always

Steps to Reproduce:
1. upgrade pyqt4 and sip
2. try to compile pykde4-4.5.90


Actual Results:  
Compilation fails.

Expected Results:  
Compilation OK.

$ emerge --info
Portage 2.2.0_alpha10 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.1, glibc-2.12.1-r3, 2.6.36-gentoo-r5-ck2 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-ck2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 26 Dec 2010 17:45:02 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 2.7.1, 3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
Repositories: gentoo kde sunrise arcon mozilla mysql proaudio geki-overlay overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa"
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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://gentoo.mirror.web4u.cz/ http://gentoo.supp.name/"
LANG="cs_CZ.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--quiet"
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="/var/lib/layman/kde /var/lib/layman/sunrise /var/lib/layman/arcon /var/lib/layman/mozilla /var/lib/layman/mysql /var/lib/layman/pro-audio /var/lib/layman/openoffice-geki /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif faad fam ffmpeg firefox flac fortran gdbm gdu gif git gpm gstreamer iconv imagemagick ipv6 jpeg jpeg2k kde kde4 lame lcms ldap libnotify logrotate lzma lzo mad matroska mikmod mmx mmxext mng modules mozilla mp3 mp4 mpeg mplayer msql mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 quicktime raw readline samba sdl semantic-desktop session smp spell sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg sysfs tcpd theora threads thumbnail thunderbird tiff truetype udev unicode unzip usb vim-syntax vorbis webkit wmf wmp x264 xcb xine xinerama xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="oki3200" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 1 Guy 2010-12-27 20:51:07 UTC
Out of curiosity, did you try the patch in bug# 349707?

I believe they're the same problem.
Comment 2 Marian Kyral 2010-12-27 21:24:23 UTC
(In reply to comment #1)
> Out of curiosity, did you try the patch in bug# 349707?
> 
> I believe they're the same problem.
> 

Yes, it looks like. I'm compiling now, will return with result.
Comment 3 Marian Kyral 2010-12-27 22:11:51 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Out of curiosity, did you try the patch in bug# 349707?
> > 
> > I believe they're the same problem.
> > 
> 
> Yes, it looks like. I'm compiling now, will return with result.
> 

So compiled correctly with your patch.
Thanks

*** This bug has been marked as a duplicate of bug 349707 ***