Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322073 - kde-base/marble-4.4.81 fails to build (with USE=python)
Summary: kde-base/marble-4.4.81 fails to build (with USE=python)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-30 13:07 UTC by Janek Bevendorff
Modified: 2010-11-13 22:51 UTC (History)
2 users (show)

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 Janek Bevendorff 2010-05-30 13:07:08 UTC
I tried to emerge the new KDE 4.5 testing build and after successfully resolving a problem with pykde4-4.4.80 (Bug #321813) I have another problem with marble-4.4.80. I tried the same fix here as well but it didn't help (and the problem also doesn't seem to be python related).
I couldn't find any report with this error message anywhere (always got 0 results). neither via Google nor here via the Bugzilla search so I hope this isn't supposed to be a duplicate.

At 100% marble fails with:

[100%] Building CXX object marble/src/bindings/python/CMakeFiles/python_module_PyKDE4_marble.dir/sip/sipmarblepart7.o
In file included from /usr/include/python2.6/Python.h:8,                                                                        
                 from /usr/include/python2.6/sip.h:32,
                 from /var/tmp/portage/kde-base/marble-4.4.80/work/marble-4.4.80_build/marble/src/bindings/python/sip/sipAPImarble.h:11,
                 from /var/tmp/portage/kde-base/marble-4.4.80/work/marble-4.4.80_build/marble/src/bindings/python/sip/sipmarblepart7.cpp:7:
/usr/include/python2.6/pyconfig.h:1076:1: warning: "_XOPEN_SOURCE" redefined
<command-line>: warning: this is the location of the previous definition
sipmarblepart5.cpp: In function 'PyObject* meth_Marble_GeoDataLookAt_coordinate(PyObject*, PyObject*)':
sipmarblepart5.cpp:1519: error: 'class Marble::GeoDataLookAt' has no member named 'coordinate'
make[2]: *** [marble/src/bindings/python/CMakeFiles/python_module_PyKDE4_marble.dir/sip/sipmarblepart5.o] Error 1
make[2]: *** Waiting for unfinished jobs....
sipmarblepart6.cpp: In function 'PyObject* meth_Marble_GeoDataFeature_lookAt(PyObject*, PyObject*)':
sipmarblepart6.cpp:6157: error: 'class Marble::GeoDataFeature' has no member named 'lookAt'
sipmarblepart6.cpp: In function 'PyObject* meth_Marble_GeoDataFeature_setLookAt(PyObject*, PyObject*)':
sipmarblepart6.cpp:6183: error: 'class Marble::GeoDataFeature' has no member named 'setLookAt'
make[2]: *** [marble/src/bindings/python/CMakeFiles/python_module_PyKDE4_marble.dir/sip/sipmarblepart6.o] Error 1
sipmarblepart7.cpp: In constructor 'sipMarble_FrameGraphicsItem::sipMarble_FrameGraphicsItem(const QPointF&, const QSizeF&, Marble::MarbleGraphicsItem*)':
sipmarblepart7.cpp:112: error: no matching function for call to 'Marble::FrameGraphicsItem::FrameGraphicsItem(const QPointF&, const QSizeF&, Marble::MarbleGraphicsItem*&)'
/var/tmp/portage/kde-base/marble-4.4.80/work/marble-4.4.80/marble/src/lib/graphicsview/FrameGraphicsItem.h:190: note: candidates are: Marble::FrameGraphicsItem::FrameGraphicsItem(const Marble::FrameGraphicsItem&)
/var/tmp/portage/kde-base/marble-4.4.80/work/marble-4.4.80/marble/src/lib/graphicsview/FrameGraphicsItem.h:34: note:                 Marble::FrameGraphicsItem::FrameGraphicsItem(Marble::MarbleGraphicsItem*)
sipmarblepart7.cpp: In constructor 'sipMarble_ScreenGraphicsItem::sipMarble_ScreenGraphicsItem(const QPointF&, const QSizeF&, Marble::MarbleGraphicsItem*)':
sipmarblepart7.cpp:1442: error: no matching function for call to 'Marble::ScreenGraphicsItem::ScreenGraphicsItem(const QPointF&, const QSizeF&, Marble::MarbleGraphicsItem*&)'
/var/tmp/portage/kde-base/marble-4.4.80/work/marble-4.4.80/marble/src/lib/graphicsview/ScreenGraphicsItem.h:100: note: candidates are: Marble::ScreenGraphicsItem::ScreenGraphicsItem(const QPointF&, const QSizeF&, Marble::ScreenGraphicsItemPrivate*)
/var/tmp/portage/kde-base/marble-4.4.80/work/marble-4.4.80/marble/src/lib/graphicsview/ScreenGraphicsItem.h:99: note:                 Marble::ScreenGraphicsItem::ScreenGraphicsItem(Marble::ScreenGraphicsItemPrivate*)
/var/tmp/portage/kde-base/marble-4.4.80/work/marble-4.4.80/marble/src/lib/graphicsview/ScreenGraphicsItem.h:38: note:                 Marble::ScreenGraphicsItem::ScreenGraphicsItem(Marble::MarbleGraphicsItem*)
/var/tmp/portage/kde-base/marble-4.4.80/work/marble-4.4.80/marble/src/lib/graphicsview/ScreenGraphicsItem.h:31: note:                 Marble::ScreenGraphicsItem::ScreenGraphicsItem(const Marble::ScreenGraphicsItem&)
sipmarblepart7.cpp: In constructor 'sipMarble_AbstractDataPluginModel::sipMarble_AbstractDataPluginModel(const QString&, QObject*)':
sipmarblepart7.cpp:4937: error: no matching function for call to 'Marble::AbstractDataPluginModel::AbstractDataPluginModel(const QString&, QObject*&)'
/var/tmp/portage/kde-base/marble-4.4.80/work/marble-4.4.80/marble/src/lib/AbstractDataPluginModel.h:49: note: candidates are: Marble::AbstractDataPluginModel::AbstractDataPluginModel(const QString&, Marble::PluginManager*, QObject*)
/var/tmp/portage/kde-base/marble-4.4.80/work/marble-4.4.80/marble/src/lib/AbstractDataPluginModel.h:45: note:                 Marble::AbstractDataPluginModel::AbstractDataPluginModel(const Marble::AbstractDataPluginModel&)
make[2]: *** [marble/src/bindings/python/CMakeFiles/python_module_PyKDE4_marble.dir/sip/sipmarblepart7.o] Error 1
make[1]: *** [marble/src/bindings/python/CMakeFiles/python_module_PyKDE4_marble.dir/all] Error 2
make: *** [all] Error 2
 * ERROR: kde-base/marble-4.4.80 failed:
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 6318:  Called kde4-meta_src_compile
 *   environment, line 3868:  Called kde4-base_src_compile
 *   environment, line 3526:  Called cmake-utils_src_compile
 *   environment, line 1686:  Called _execute_optionaly 'src_compile'
 *   environment, line  666:  Called enable_cmake-utils_src_compile
 *   environment, line 2051:  Called cmake-utils_src_make
 *   environment, line 1705:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 * 
 * If you need support, post the output of 'emerge --info =kde-base/marble-4.4.80',
 * the complete build log and the output of 'emerge -pqv =kde-base/marble-4.4.80'.
 * 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
 *   /var/lib/layman/kde/eclass/cmake-utils.eclass
 * This ebuild is from an overlay named 'kde': '/var/lib/layman/kde/'
 * The complete build log is located at '/var/tmp/portage/kde-base/marble-4.4.80/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/marble-4.4.80/temp/environment'.
 * S: '/var/tmp/portage/kde-base/marble-4.4.80/work/marble-4.4.80'


Reproducible: always


Steps to Reproduce:
1. Unmask kde-base/kde-meta-4.4.80 from kde overlay and its dependencies
2. Run emerge -avuND kde-base/kde-meta
3. Wait until kde-base/marble compiles


emerge --info:

Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.10.1-r1, 2.6.34-gentoo x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_860_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 27 May 2010 11:00:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.5.4-r4, 2.6.5-r2, 3.1.2-r3
dev-python/pycrypto: 2.1.0
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     9999
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA skype-eula dlj-1.1 PUEL googleearth"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -msse4 -mcx16 -msahf -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://de-mirror.org/distro/gentoo/ http://de-mirror.org/distro/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://mirror.netcologne.de/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de_DE de en"
MAKEOPTS="-j5"
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="/var/lib/layman/rion /var/lib/layman/gnome /var/lib/layman/kde /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac accessibility acl acpi alsa amd64 avahi berkdb bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus dri dvd dvdr exif fam ffmpeg fortran fuse gdbm gif gnome gnutls gpm gstreamer gtk hal iconv image ipv6 jpeg jpeg2k kde ldap libnotify lm_sensors lzma magick midi mmx modules mono mp3 mp4 mpeg mudflap multilib nautilus ncurses nforce2 nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl pmu png policykit pppd pulseaudio python qt3support qt4 quicktime readline reflection samba scanner semantic-desktop session spell spl sse sse2 ssl startup-notification svg sysfs tcl tcpd theora tiff tk truetype unicode v4l v4l2 video vim-syntax vorbis webkit wifi x264 xinerama xml xorg xulrunner xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de_DE de en" NETBEANS_MODULES="apisupport cnd dlight enterprise groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" RUBY_TARGETS="ruby18" SANE_BACKENDS="canon lexmark pixma" USERLAND="GNU" VIDEO_CARDS="nvidia vmware" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Janek Bevendorff 2010-05-30 16:43:51 UTC
After remasking >=kde-base/marble-4.4.80 emerge throws a message about it but doesn't refuse to emerge the other KDE packages. Now I have finished building KDE 4.4.80 but without the new marble package.
Comment 2 Dmitry Kuzmenko 2010-05-31 14:32:08 UTC
I've checked source code of sip python bindings, seems them aren't unpdated to conform changes in C++ code. I've tried to make some changes to fix it, but seems there is a lot of places, I've just have disabled python USE flag for marble and have built it successfully.
Comment 3 Dmitry Kuzmenko 2010-05-31 15:33:56 UTC
I've continued to emerge @kde-4.5 and have got a problem in kttsd, I've created abother bug report http://bugs.gentoo.org/show_bug.cgi?id=322257
Comment 4 Janek Bevendorff 2010-05-31 16:20:10 UTC
Yep I can't confirm: disabling python USE flag is a temporary fix.
Comment 5 Janek Bevendorff 2010-05-31 16:21:26 UTC
Oops, I actually meant: I CAN confirm... Little typo. ;-)
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2010-06-06 11:41:19 UTC
Same with 4.4.81
Comment 7 Daniel Goller 2010-09-20 23:39:07 UTC
(In reply to comment #6)
> Same with 4.4.81
> 

Still exists in live builds, fwiw
-python "fixes" it

Comment 8 Andreas K. Hüttel archtester gentoo-dev 2010-11-13 22:51:20 UTC
Works fine in 4.5.3