Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 261392 - kde-base/kalzium-4.2.0 + sci-chemistry/avogadro-0.9.2 - kalzium-4.2.0/kalzium/libavogadro-kalzium/src/engines/labelengine.h:103: Error: Undefined interface
Summary: kde-base/kalzium-4.2.0 + sci-chemistry/avogadro-0.9.2 - kalzium-4.2.0/kalzium...
Status: RESOLVED FIXED
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: InVCS
Depends on:
Blocks:
 
Reported: 2009-03-05 23:58 UTC by Jeremy Stent
Modified: 2009-03-12 02:53 UTC (History)
1 user (show)

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


Attachments
output from emerge --info (emerge-info,15.27 KB, text/plain)
2009-03-05 23:59 UTC, Jeremy Stent
Details
Build Log (kalzium_build_log,54.02 KB, text/plain)
2009-03-06 00:08 UTC, Jeremy Stent
Details
ebuild environment (kalzium_environment,155.36 KB, text/plain)
2009-03-06 00:08 UTC, Jeremy Stent
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Stent 2009-03-05 23:58:50 UTC
kde-base/kalzium-4.2.0 fails to build if sci-chemistry/avogadro is installed.  We get an error about an undefined interface.  Looking at the files, it appears as if the avogadro header (currently 0.9.2) does not define the EngineFactory interface.

Reproducible: Always

Steps to Reproduce:
1.  Emerge sci-chemistry/avogadro
2.  Attempt to emerge kde-base/kalzium
Actual Results:  
[ 30%] Generating labelengine.moc
/var/tmp/portage/kde-base/kalzium-4.2.0/work/kalzium-4.2.0/kalzium/libavogadro-kalzium/src/engines/labelengine.h:103: Error: Undefined interface
make[2]: *** [kalzium/libavogadro-kalzium/src/engines/labelengine.moc] Error 1
make[1]: *** [kalzium/libavogadro-kalzium/src/engines/CMakeFiles/labelengine.dir/all] Error 2
make: *** [all] Error 2


Expected Results:  
successful merge
Comment 1 Jeremy Stent 2009-03-05 23:59:46 UTC
Created attachment 184072 [details]
output from emerge --info
Comment 2 Jeremy Stent 2009-03-06 00:08:13 UTC
Created attachment 184073 [details]
Build Log
Comment 3 Jeremy Stent 2009-03-06 00:08:32 UTC
Created attachment 184075 [details]
ebuild environment
Comment 4 Artemii 2009-03-06 19:11:43 UTC
I have same error with kalzium-4.2.1 

/var/tmp/portage/kde-base/kalzium-4.2.1/work/kalzium-4.2.1/kalzium/libavogadro-kalzium/src/engines/ribbonengine.h:119: Error: Undefined interface             
make[2]: *** [kalzium/libavogadro-kalzium/src/engines/ribbonengine.moc] Ошибка 1                                                                              
make[1]: *** [kalzium/libavogadro-kalzium/src/engines/CMakeFiles/ribbonengine.dir/all] Ошибка 2                                                               
make[1]: *** Ожидание завершения заданий...                                                                                                                   
/var/tmp/portage/kde-base/kalzium-4.2.1/work/kalzium-4.2.1/kalzium/libavogadro-kalzium/src/engines/labelengine.h:103: Error: Undefined interface              
make[2]: *** [kalzium/libavogadro-kalzium/src/engines/labelengine.moc] Ошибка 1                                                                               
make[1]: *** [kalzium/libavogadro-kalzium/src/engines/CMakeFiles/labelengine.dir/all] Ошибка 2                                                                
/var/tmp/portage/kde-base/kalzium-4.2.1/work/kalzium-4.2.1/kalzium/libavogadro-kalzium/src/engines/orbitalengine.h:150: Error: Undefined interface            
make[2]: *** [kalzium/libavogadro-kalzium/src/engines/orbitalengine.moc] Ошибка 1                                                                             
make[1]: *** [kalzium/libavogadro-kalzium/src/engines/CMakeFiles/orbitalengine.dir/all] Ошибка 2                                                              
make: *** [all] Ошибка 2

sci-chemistry/openbabel-2.2.1  USE="-doc"
sci-chemistry/avogadro-0.9.2  USE="glsl python"
kde-base/kalzium-4.2.1 [4.2.0] USE="editor htmlhandbook plasma solver -debug -kdeprefix -test"

emerge --info                                       
 * Overlay eclasses override eclasses from PORTDIR:                 
 *                                                                  
 *   '/usr/local/portage/layman/kde-testing/eclass/cmake-utils.eclass'
 *   '/usr/local/portage/layman/kde-testing/eclass/kde4-base.eclass'  
 *   '/usr/local/portage/layman/kde-testing/eclass/kde4-functions.eclass'
 *   '/usr/local/portage/layman/kde-testing/eclass/kde4-meta.eclass'     
 *                                                                       
 * It is best to avoid overriding eclasses from PORTDIR because it will  
 * trigger invalidation of cached ebuild metadata that is distributed with
 * the portage tree. If you must override eclasses from PORTDIR then you  
 * are advised to add FEATURES="metadata-transfer" to /etc/make.conf and to
 * run `emerge --regen` after each time that you run `emerge --sync`. Set  
 * PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you would like to
 * disable this warning.                                                   
Portage 2.2_rc23 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r2 x86_64)
=================================================================                                        
System uname: Linux-2.6.28-gentoo-r2-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-glibc2.2.5
Timestamp of tree: Fri, 06 Mar 2009 01:45:01 +0000                                                        
ccache version 2.4 [enabled]                                                                              
app-shells/bash:     3.2_p48-r1                                                                           
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                     
dev-lang/python:     2.5.4-r2                                                                             
dev-python/pycrypto: 2.0.1-r8                                                                             
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.3
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.9
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.19.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native -pipe"
CHOST="x86_64-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/eselect/postgresql /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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -mtune=native -pipe"
DISTDIR="/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,--hash-style=gnu"
LINGUAS="ru en"
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/java-overlay /usr/local/portage/layman/kde-testing /usr/local/portage/layman/science /usr/local/portage"
SYNC="rsync://mirror.aiya.ru/gentoo-portage"
USE="3dnow 3dnowext 7zip X Xaw3d a52 aac acl acpi akonadi alsa amd64 amr apache2 artworkextra audiofile avahi avi berkdb bitmap-fonts bluetooth boost browserplugin bzip2 cairo cdr clamav cli cracklib crypt css cups dbus dirac directfb djvu dri dts dv dvb dvd dvdr dvdread emacs encode exif fbcon ffmpeg fftw flac flash fontforge foomaticdb fortran freetype2 gdbm gif gimp gphoto2 gpm gtk gtk2 guile hal hdf5 htmlhandbook iconv ieee1394 imagemagick imlib ipv6 isdnlog jack java jpeg jpeg2k kde kdeenablefinal kipi kpathsea ladspa lame latex lcms ldap libsamplerate lirc lm_sensors logrotate lzma lzw lzw-tiff mad midi mmap mmx mmxext mng mono mozilla mp2 mp3 mp4 mpeg mudflap multilib mysql ncurses neXt nepomuk nls nptl nptlonly nsplugin ntfs nvidia ogg oggvorbis openal openexr opengl openmp pam pcre pdf pdflib perl pic plasma png postgres ppds pppd python qt qt3 qt4 readline reflection reiserfs schroedinger sdl semantic-desktop sensord session slang slp sndfile sox speex spell spl sqlite3 sse sse2 ssl svg sysfs tcpd theora threads tiff tools truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 v4l v4l2 vcd visualization vorbis wifi wmf x264 xattr xcb xcomposite xml xml2 xorg xpm xrandr xscreensaver xulrunner xv 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 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_balancerproxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard evdev mouse ps2mouse penmount joystik" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" LIRC_DEVICES="devinput" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa radeon radeonhd"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Marcus D. Hanwell (RETIRED) gentoo-dev 2009-03-10 04:17:25 UTC
It is likely including the system installed Avogadro headers before the internal headers. When I get chance I will look through the Kalzium build files and see if I can spot where the error is creeping in. We need to ensure the Kalzium snapshot is included first.
Comment 6 Marcus D. Hanwell (RETIRED) gentoo-dev 2009-03-12 02:53:12 UTC
OK, this is fixed in CVS. I will apply this in KDE's SVN too so that it makes it into 4.3. Thanks for reporting the issue. Might take an hour or two to hit the mirrors, no revision bump as it is a build time failure.