Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261003 - kde-base/marble-4.2.0 doesn't compile - undefined reference in LatLonEditPlugin.cpp
Summary: kde-base/marble-4.2.0 doesn't compile - undefined reference in LatLonEditPlug...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-03 01:48 UTC by Hector
Modified: 2009-06-03 11:08 UTC (History)
1 user (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 Hector 2009-03-03 01:48:55 UTC
My compile dies at 95% for marble This is what I get. I tried a emerge --sync and a revdep-rebuild but nothing


My emerge --info is
Code:

# emerge --info
Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r8 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r8-i686-AMD_Athlon-tm-with-glibc2.0
Timestamp of tree: Sun, 01 Mar 2009 06:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.mirrors.tds.net/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
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/portage/local/maintainer"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="FFmpeg X a52 aac acl administrator alsa apache2 avahi berkdb bzip2 cairo calendar cdr cli cracklib crypt cups curl dbus designer-plugin divx4linux docs dri dts dvb dvd dvdnav dvdr dvdread encode esd exif exiv2 firefox fortran gd gdbm gif gnome gpm gps gstreamer gtk gtk2 hal howl-compat iconv innodb ipv6 isdnlog java jpeg kipi lame mad mbrola mdnsresponder-compat midi mp3 mudflap mysql ncurses nls nptl nptlonly ogg opengl openmp oss pam parport pcre perl php pimlibs png ppds pppd python qt qt3 qt3support query-browser readline redeyes reflection scanner sdl session snmp spl ssl stream svg svga symlink sysfs tcpd theora truetype unicode usb utempter vhosts win32codecs workbench x264 x86 xml xmp xorg xulrunner xv 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


and my emerge -pv kde-base/marble is

Code:
# emerge -pv kde-base/marble

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] kde-base/marble-4.2.0  USE="designer-plugin* gps* python -debug -htmlhandbook -kde -kdeprefix -plasma -test" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB




finally when I emerge kde-base/marble

Code:

.....
[ 95%] Generating qrc_marble.cxx
Linking CXX shared module ../../../../../lib/libLatLonEditPlugin.so
[ 95%] Generating MarbleNavigatorPlugin.moc
Scanning dependencies of target MarbleNavigatorPlugin
CMakeFiles/LatLonEditPlugin.dir/LatLonEditPlugin.o: In function `LatLonEditPlugin::LatLonEditPlugin(QObject*)':
LatLonEditPlugin.cpp:(.text+0x1fb): undefined reference to `vtable for LatLonEditPlugin'
CMakeFiles/LatLonEditPlugin.dir/LatLonEditPlugin.o: In function `LatLonEditPlugin::LatLonEditPlugin(QObject*)':
LatLonEditPlugin.cpp:(.text+0x24b): undefined reference to `vtable for LatLonEditPlugin'
collect2: ld returned 1 exit status
make[2]: *** [lib/libLatLonEditPlugin.so] Error 1
make[1]: *** [marble/src/plugins/designer/latloneditwidget/CMakeFiles/LatLonEditPlugin.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 95%] [ 95%] Building CXX object marble/src/plugins/designer/navigator/CMakeFiles/MarbleNavigatorPlugin.dir/MarbleNavigatorPlugin.o
Building CXX object marble/src/plugins/designer/navigator/CMakeFiles/MarbleNavigatorPlugin.dir/qrc_marble.o
Linking CXX shared module ../../../../../lib/libMarbleNavigatorPlugin.so
[ 95%] Built target MarbleNavigatorPlugin
make: *** [all] Error 2
 *
 * ERROR: kde-base/marble-4.2.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3745:  Called kde4-meta_src_compile
 *             environment, line 2841:  Called kde4-base_src_make
 *             environment, line 2604:  Called cmake-utils_src_make
 *             environment, line  981:  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/marble-4.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/marble-4.2.0/temp/environment'.
 *

>>> Failed to emerge kde-base/marble-4.2.0, Log file:

>>>  '/var/tmp/portage/kde-base/marble-4.2.0/temp/build.log'


I do have kde-base/marble in the package.keywords file

Reproducible: Always

Steps to Reproduce:
1.emerge kde-base/marble

Actual Results:  
# emerge -pv kde-base/marble

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] kde-base/marble-4.2.0  USE="designer-plugin* gps* python -debug -htmlhandbook -kde -kdeprefix -plasma -test" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB




finally when I emerge kde-base/marble

Code:

.....
[ 95%] Generating qrc_marble.cxx
Linking CXX shared module ../../../../../lib/libLatLonEditPlugin.so
[ 95%] Generating MarbleNavigatorPlugin.moc
Scanning dependencies of target MarbleNavigatorPlugin
CMakeFiles/LatLonEditPlugin.dir/LatLonEditPlugin.o: In function `LatLonEditPlugin::LatLonEditPlugin(QObject*)':
LatLonEditPlugin.cpp:(.text+0x1fb): undefined reference to `vtable for LatLonEditPlugin'
CMakeFiles/LatLonEditPlugin.dir/LatLonEditPlugin.o: In function `LatLonEditPlugin::LatLonEditPlugin(QObject*)':
LatLonEditPlugin.cpp:(.text+0x24b): undefined reference to `vtable for LatLonEditPlugin'
collect2: ld returned 1 exit status
make[2]: *** [lib/libLatLonEditPlugin.so] Error 1
make[1]: *** [marble/src/plugins/designer/latloneditwidget/CMakeFiles/LatLonEditPlugin.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 95%] [ 95%] Building CXX object marble/src/plugins/designer/navigator/CMakeFiles/MarbleNavigatorPlugin.dir/MarbleNavigatorPlugin.o
Building CXX object marble/src/plugins/designer/navigator/CMakeFiles/MarbleNavigatorPlugin.dir/qrc_marble.o
Linking CXX shared module ../../../../../lib/libMarbleNavigatorPlugin.so
[ 95%] Built target MarbleNavigatorPlugin
make: *** [all] Error 2
 *
 * ERROR: kde-base/marble-4.2.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3745:  Called kde4-meta_src_compile
 *             environment, line 2841:  Called kde4-base_src_make
 *             environment, line 2604:  Called cmake-utils_src_make
 *             environment, line  981:  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/marble-4.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/marble-4.2.0/temp/environment'.
 *

>>> Failed to emerge kde-base/marble-4.2.0, Log file:

>>>  '/var/tmp/portage/kde-base/marble-4.2.0/temp/build.log'


I do have kde-base/marble in the package.keywords file

Expected Results:  
Well it should emerge correctly
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-05 21:34:40 UTC
Reassigning to kde herd.
Comment 2 Hector 2009-03-06 02:13:33 UTC
same thing happens with the new marble-4.2.1
Comment 3 Robert Piasek (RETIRED) gentoo-dev 2009-03-06 10:02:39 UTC
(In reply to comment #2)
> same thing happens with the new marble-4.2.1
> 

I have this package compiled with following flags:

* kde-base/marble
    gentoo:                  4.2.0(~) 4.2.1(~) {:4.2}
    installed:               4.2.1* {:4.2}
    kde:                     4.2.1(~) {:4.2} (9999)RU(~) {:live}
    Description:             Generic geographical map widget
    Homepage:                http://www.kde.org/
    License:                 GPL-2
    Installed time:          Fri Mar  6 09:58:32 2009
    Use flags:               (-debug) (designer-plugin) (gps) (kde) (kdeprefix) (plasma) (python) (-test)

It works ok.

Errors like this are caused if QT packages aren't in sync. Can you make sure you've got the same version for all of them? To be on safe side you can re-emerge all QT and PyQt. That should fix it.
Comment 4 Hector 2009-03-07 12:44:12 UTC
I just reemerged both of those and tried again and it still did not work. I dont use kde so I did not use the kde or plasma flags could that be my problem? Should I install kde even though I dont use it? 
Comment 5 Hector 2009-03-10 10:37:59 UTC
I tried putting the use flags in the package.use with the kde and plasma flags and it worked. Can anyone clear this up for me. If I put the kde flag here will it download kde? I am a bit confused on that. Anyway thanks for the help this did the trick.
Comment 6 Tomáš Chvátal (RETIRED) gentoo-dev 2009-06-03 11:08:30 UTC
KDE useflag has been made mandatory not optional since 4.2.4, so issue is fixed.
Thanks for baring with us such long time with no response.