Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304653 - kde-base/libplasmagenericshell-4.4.2 test failure
Summary: kde-base/libplasmagenericshell-4.4.2 test failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard: [kde testing]
Keywords: InOverlay
Depends on:
Blocks: kde4tests 313999
  Show dependency tree
 
Reported: 2010-02-12 00:53 UTC by Ryan Hill (RETIRED)
Modified: 2010-05-04 00:31 UTC (History)
1 user (show)

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


Attachments
libplasmagenericshell-4.4.9999.ebuild.diff (libplasmagenericshell-4.4.9999.ebuild.diff,598 bytes, patch)
2010-04-23 01:39 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2010-02-12 00:53:01 UTC
>>> Source compiled.                                                                                                                        
>>> Working in BUILD_DIR: "/var/tmp/portage/kde-base/libplasmagenericshell-4.4.0/work/libplasmagenericshell-4.4.0_build"                    
cmake -C /var/tmp/portage/kde-base/libplasmagenericshell-4.4.0/temp/gentoo_common_config.cmake -DCMAKE_INSTALL_PREFIX=/usr -DKDE4_BUILD_TESTS=OFF -DCMAKE_INSTALL_PREFIX=/usr -DSYSCONF_INSTALL_DIR=/etc -DKDE4_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/var/tmp/portage/kde-base/libplasmagenericshell-4.4.0/temp/gentoo_rules.cmake  /var/tmp/portage/kde-base/libplasmagenericshell-4.4.0/work/libplasmagenericshell-4.4.0                                                                                    
loading initial cache file /var/tmp/portage/kde-base/libplasmagenericshell-4.4.0/temp/gentoo_common_config.cmake                            
-- Found Qt-Version 4.6.1 (using /usr/bin/qmake)                                                                                            
-- Found X11: /usr/lib64/libX11.so                                                                                                          
-- Phonon Version: 4.3.80                                                                                                                   
-- Found KDE 4.4 include dir: /usr/include                                                                                                  
-- Found KDE 4.4 library dir: /usr/lib64                                                                                                    
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler                                                                  
-- Found automoc4: /usr/bin/automoc4                                                                                                        
-- Strigi API needs 'signed char'                                                                                                           
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig                                                                  
-- Could NOT find Googlegadgets  (missing:  GOOGLEGADGETS_LIBRARIES GOOGLEGADGETS_INCLUDE_DIRS)                                             
-- checking for modules 'qzion>=0.4.0;qedje>=0.4.0'                                                                                         
--   package 'qzion>=0.4.0' not found                                                                                                       
--   package 'qedje>=0.4.0' not found                                                                                                       
-- Could not find QZion and/or QEdje. Please download them here (http://code.openbossa.org/projects/qedje/pages/Home).                      
-- Could NOT find QEdje  (missing:  QEDJE_LIBRARIES QEDJE_INCLUDE_DIRS)                                                                     
-- Found Python executable: /usr/bin/python                                                                                                 
-- Found Python version: 2.6.4                                                                                                              
-- Found Python library: /usr/lib64/libpython2.6.so                                                                                         
-- Found SIP version: 4.10                                                                                                                  
-- Found PyQt4 version: 4.7                                                                                                                 
-- Found PyKDE4 version 4.4.00 /usr/share/sip/PyKDE4                                                                                        
-- Could NOT find SharedDesktopOntologies  (missing:  SHAREDDESKTOPONTOLOGIES_ROOT_DIR)                                                     
-- Could NOT find Nepomuk  (missing:  NEPOMUK_LIBRARIES NEPOMUK_INCLUDE_DIR SOPRANO_PLUGIN_REDLANDBACKEND_FOUND SHAREDDESKTOPONTOLOGIES_FOUND)                                                                                                                                          
-- Could NOT find PolkitQt  (missing:  POLKITQT_INCLUDE_DIR POLKITQT_GUI_LIBRARY POLKITQT_CORE_LIBRARY)                                     
CMake Error at /usr/share/apps/cmake/modules/KDE4Macros.cmake:90 (file):                                                                    
  file Internal CMake error when trying to open file:                                                                                       
  /var/tmp/portage/kde-base/libplasmagenericshell-4.4.0/work/libplasmagenericshell-4.4.0/plasma/desktop/shell/data/plasma-shell-desktop.kcfgc                                                                                                                                           
  for reading.                                                                                                                              
Call Stack (most recent call first):                                                                                                        
  libs/plasmagenericshell/tests/CMakeLists.txt:32 (kde4_add_kcfg_files)     
  



 *   Make install failed
 *
 * Call stack:
 *     ebuild.sh, line   48:  Called src_install
 *   environment, line 4211:  Called kde4-meta_src_install
 *   environment, line 3382:  Called kde4-base_src_install
 *   environment, line 3008:  Called cmake-utils_src_install
 *   environment, line 1115:  Called _execute_optionaly 'src_install'
 *   environment, line  533:  Called enable_cmake-utils_src_install
 *   environment, line 1545:  Called die
 * The specific snippet of code:
 *       emake install DESTDIR="${D}" || die "Make install failed";
 *
 * If you need support, post the output of 'emerge --info =kde-base/libplasmagenericshell-4.4.0',
 * the complete build log and the output of 'emerge -pqv =kde-base/libplasmagenericshell-4.4.0'.
 * The complete build log is located at '/var/log/portage/build/kde-base/libplasmagenericshell-4.4.0:20100212-005202.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/libplasmagenericshell-4.4.0/temp/environment'.
 * S: '/var/tmp/portage/kde-base/libplasmagenericshell-4.4.0/work/libplasmagenericshell-4.4.0'
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2010-02-12 00:55:28 UTC
Portage 2.2_rc62 (default/linux/amd64/10.0/developer, gcc-4.4.3, glibc-2.11-r1, 2.6.32-gentoo-r3 x86_64)                                    
=================================================================                                                                           
System uname: Linux-2.6.32-gentoo-r3-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.1                                    
Timestamp of tree: Thu, 11 Feb 2010 18:30:01 +0000                                                                                          
ccache version 2.4 [enabled]                                                                                                                
app-shells/bash:     4.0_p37                                                                                                                
dev-java/java-config: 2.1.10                                                                                                                
dev-lang/python:     2.6.4-r1, 3.1.1-r1                                                                                                     
dev-util/ccache:     2.4-r8                                                                                                                 
dev-util/cmake:      2.8.0-r2                                                                                                               
sys-apps/baselayout: 2.0.1                                                                                                                  
sys-apps/openrc:     0.6.0-r1                                                                                                               
sys-apps/sandbox:    2.2                                                                                                                    
sys-devel/autoconf:  2.13, 2.65                                                                                                             
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1                                                                                               
sys-devel/binutils:  2.20.51.0.6                                                                                                            
sys-devel/gcc:       4.3.4, 4.4.3_pre9999, 4.4.3, 4.5.0_pre9999                                                                             
sys-devel/gcc-config: 1.4.1                                                                                                                 
sys-devel/libtool:   2.2.6b                                                                                                                 
virtual/os-headers:  2.6.30-r1                                                                                                              
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                                                              
ACCEPT_LICENSE="*"                                                                                                                          
CBUILD="x86_64-unknown-linux-gnu"                                                                                                           
CFLAGS="-O2 -march=native -ggdb -fomit-frame-pointer -pipe"                                                                                 
CHOST="x86_64-unknown-linux-gnu"                                                                                                            
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"              
CXXFLAGS="-O2 -march=native -ggdb -fomit-frame-pointer -pipe"                                                                               
DISTDIR="/usr/portage/distfiles"                                                                                                            
EMERGE_DEFAULT_OPTS="--with-bdeps=y"                                                                                                        
FEATURES="assume-digests ccache cvs distlocks fixpackages multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict test test-fail-continue unmerge-orphans userfetch userpriv usersandbox usersync"                             
GENTOO_MIRRORS="http://gentoo.mirrors.tera-byte.com/ http://distfiles.gentoo.org/"                                                          
LANG="en_US.utf8"                                                                                                                           
LC_ALL="en_US.utf8"                                                                                                                         
LDFLAGS="-Wl,--as-needed -Wl,--hash-style=gnu"                                                                                              
LINGUAS="en en_US"                                                                                                                          
MAKEOPTS="-j4"                                                                                                                              
PKGDIR="/usr/portage/packages"                                                                                                              
PORTAGE_CONFIGROOT="/"                                                                                                                      
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=/metadata/cache"                                                                                        
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="/home/dirtyepic/svn/gcc-porting /home/dirtyepic/svn/toolchain /home/dirtyepic/svn/dirtyepic /home/dirtyepic/overlay /home/dirtyepic/git/x11"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi akonadi alsa amd64 archive ass autotrace avahi bash-completion berkdb bonjour bs2b bzip2 cairo cdaudio cdda cddb cdio cdr cli consolekit cracklib crypt css cups curl custom-cflags cvs cxx dbus device-mapper dirac disk-partition djvu dri dts dvd dvdnav dvdr emboss emf enca encode evo exif expat faac faad fam ffmpeg fftw firefox firefox3 flac fontconfig fontforge fts3 gdbm gif git gmp gmplayer gold graphite graphviz gstreamer gtk guidexml hal hpn iconv id3tag imap inotify jadetex java jpeg jpeg2k kde kdehiddenvisibility kipi lame laptop lastfm lastfmradio libburn libmms libnotify lightning lzma mad maildir mdnsresponder-compat mmap mmx mmxext mng modules mp2 mp3 mp4 mpeg mplayer multilib musicbrainz nautilus ncurses network-cron nntp nptl nptlonly nsplugin ogg opengl openmp openssl optimized-qmake osdmenu pam pch pcre pdf perl phonon pic plotutils png ppds pppd python qt3support qt4 quicktime rar readline reflection replytolist rtc schroedinger scrobbler session shm smp sndfile snmp sox spell spl sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs taglib tcpd theora threads threadsafe thumbnail thunar tiff tremor truetype unicode urandom usb utempter vim-syntax vim-with-x vorbis wicd wifi wma wmf wxwidgets wxwindows x264 xattr xcb xcomposite xft xml xmlpatterns xmp xorg xulrunner xv xvid xvmc zip 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 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2010-02-12 04:40:43 UTC
don't know if it's the right way of doing it, but adding KMEXTRACTONLY="plasma/desktop/shell/data" to the ebuild works.
Comment 3 Jonathan Callen (RETIRED) gentoo-dev 2010-02-12 05:10:34 UTC
Looks like this was caused by the tests failing - FEATURES="test-fail-continue" doesn't work very well with KDE right now, unfortunately.
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2010-03-03 08:51:47 UTC
RESTRICT=test then please?
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2010-03-21 04:44:46 UTC
Do the tests succeed after adding KMEXTRACTONLY="plasma/desktop/shell/data" to the ebuild?
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2010-03-21 05:01:47 UTC
yes.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2010-04-02 14:10:18 UTC
So why do we not exactly do that? :)

As long as nobody shouts out loud I'll add it to the kde-repo ebuilds after testing myself.
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2010-04-02 16:24:44 UTC
Fixed in 4.4.2 (somebody disabled the tests already).
Comment 9 Ryan Hill (RETIRED) gentoo-dev 2010-04-02 20:33:22 UTC
No, actually, it's neither fixed or restricted and i'm kinda getting very tired of hitting it.
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2010-04-20 21:30:43 UTC
Well seems YOU_KNOW_WHAT_YOU_ARE_DOING... only Gentoo devs and wannabes with dev profile hit this now since otherwise the tests are skipped in all kde. :)

Confirmed for 4.4.2.
Comment 11 Ryan Hill (RETIRED) gentoo-dev 2010-04-20 23:02:29 UTC
could someone from the KDE team tell me if the patch I suggested is correct so I can fix it?  if it's not, then I'll add RESTRICT=test to both ebuilds.
Comment 12 Ryan Hill (RETIRED) gentoo-dev 2010-04-23 01:39:33 UTC
Created attachment 228835 [details, diff]
libplasmagenericshell-4.4.9999.ebuild.diff

patch against overlay req by ABCD
Comment 13 Andreas K. Hüttel archtester gentoo-dev 2010-05-01 18:49:39 UTC
(In reply to comment #12)
> Created an attachment (id=228835) [details]
> libplasmagenericshell-4.4.9999.ebuild.diff
> 
> patch against overlay req by ABCD
> 

I added a slightly modified version of your patch to the overlay. (Yours did not source, dont ask me why.)

The whole thing is weird anyway, since now we get the message "No tests found."

Anyway, I think this fixes the problem.
Comment 14 Ryan Hill (RETIRED) gentoo-dev 2010-05-01 21:07:21 UTC
okay, i give up.  thanks guys.
Comment 15 Maciej Mrozowski gentoo-dev 2010-05-04 00:31:20 UTC
Fixed in >=4.4.2. Reworked patch to avoid calling function in global scope.

Of course there will be 'No tests found' because this 'tests' subdirectory actually contains example kde4 gui application using this library, and not CMake unit test (CTest). So the only benefit of this test is testing compilation (which could be unconditionally disabled as well). That being said RESTRICT=test would be valid resolution as well, but let them (us?) have it...

Thanks to all involved!