Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 338108 - plasma-workspace-4.5.1 fails to build
Summary: plasma-workspace-4.5.1 fails to build
Status: VERIFIED 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:
Depends on:
Blocks:
 
Reported: 2010-09-20 05:09 UTC by Frossie
Modified: 2010-09-20 18:02 UTC (History)
0 users

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


Attachments
/var/tmp/portage/kde-base/plasma-workspace-4.5.1/temp/environment (environment,254.00 KB, text/plain)
2010-09-20 05:10 UTC, Frossie
Details
/var/tmp/portage/kde-base/plasma-workspace-4.5.1/temp/build.log (build.log,70.07 KB, text/plain)
2010-09-20 05:10 UTC, Frossie
Details
full emerge log (emerge.log,71.67 KB, text/plain)
2010-09-20 05:14 UTC, Frossie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Frossie 2010-09-20 05:09:38 UTC
I am very confused by this one. Trying to build plasma-workspace as part of kdebase-meta and not getting very far, but bugger if I can't figure out what the problem is. 

The only unusual issue is that I am having an apparent issue with PyKDE4 when building system-config=printer-kde as reported in this bug: http://bugs.gentoo.org/show_bug.cgi?id=337583

But in this case there is no explicit complaint. 

Any hints as to what could be going wrong?

Reproducible: Always

Actual Results:  
All goes along merrily until:

[ 44%] Built target plasma_engine_filebrowser
Linking CXX shared library ../../../../lib/libplasma-geolocation-interface.so
In file included from /usr/include/KDE/KCategoryDrawer:1,
                 from /var/tmp/portage/kde-base/plasma-workspace-4.5.1/work/plasma-workspace-4.5.1/plasma/generic/applets/systemtray/ui/applet.cpp:49:
/usr/include/KDE/../kcategorydrawer.h:98: warning: ‘KCategoryDrawer’ is deprecated (declared at /usr/include/KDE/../kcategorydrawer.h:44)
/usr/include/KDE/../kcategorydrawer.h:98: warning: ‘KCategoryDrawer’ is deprecated
/usr/include/KDE/../kcategorydrawer.h:123: warning: ‘virtual void KCategoryDrawerV2::mouseButtonPressed(const QModelIndex&, QMouseEvent*)’ was hidden
/usr/include/KDE/../kcategorydrawer.h:176: warning:   by ‘virtual void KCategoryDrawerV3::mouseButtonPressed(const QModelIndex&, const QRect&, QMouseEvent*)’
/usr/include/KDE/../kcategorydrawer.h:125: warning: ‘virtual void KCategoryDrawerV2::mouseButtonReleased(const QModelIndex&, QMouseEvent*)’ was hidden
/usr/include/KDE/../kcategorydrawer.h:189: warning:   by ‘virtual void KCategoryDrawerV3::mouseButtonReleased(const QModelIndex&, const QRect&, QMouseEvent*)’
/usr/include/KDE/../kcategorydrawer.h:129: warning: ‘virtual void KCategoryDrawerV2::mouseButtonDoubleClicked(const QModelIndex&, QMouseEvent*)’ was hidden
/usr/include/KDE/../kcategorydrawer.h:211: warning:   by ‘virtual void KCategoryDrawerV3::mouseButtonDoubleClicked(const QModelIndex&, const QRect&, QMouseEvent*)’
[ 44%] Built target plasma-geolocation-interface
Linking CXX shared module ../../../../lib/plasma_applet_systemtray.so
[ 44%] Built target plasma_applet_systemtray
make: *** [all] Error 2
emake failed
 * ERROR: kde-base/plasma-workspace-4.5.1 failed:
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 6532:  Called kde4-meta_src_compile
 *   environment, line 4070:  Called kde4-base_src_compile
 *   environment, line 3726:  Called cmake-utils_src_compile
 *   environment, line 1905:  Called _execute_optionaly 'src_compile'
 *   environment, line  795:  Called enable_cmake-utils_src_compile
 *   environment, line 2274:  Called cmake-utils_src_make
 *   environment, line 1924:  Called die





# emerge --info =kde-base/plasma-workspace-4.5.1
Portage 2.1.9.8 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.12.1-r1, 2.6.34-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-x86_64-AMD_Phenom-tm-_II_X3_720_Processor-with-gentoo-2.0.1
Timestamp of tree: Mon, 20 Sep 2010 04:15:02 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 1.3.7::<unknown repository>, 2.1.11
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.5-r1, 3.1.2-r4
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13::<unknown repository>, 2.65-r1
sys-devel/automake:  1.4_p6::<unknown repository>, 1.5::<unknown repository>, 1.6.3::<unknown repository>, 1.7.9-r1::<unknown repository>, 1.8.5-r3::<unknown repository>, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.1.2, 4.2.4-r1, 4.3.4, 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b, 2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -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/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=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests candy distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en fr el"
MAKEOPTS="-j7"
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"
SYNC="rsync://rsync21.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 amr apache2 arts berkdb bluetooth branding browserplugin bzip2 cairo cddb cdparanoia cli consolekit cracklib crypt cups cxx dbus dri dts dv dvd dvdr dvdread emboss encode exif extensions extras fam ffmpeg firefox flac fontconfig fortran gd gdbm geolocation gif gnutls gpm gstreamer gtk hal http iconv ieee1394 ipv6 jabber java jikes jpeg kde kpathsea lame lcms libnotify libsamplerate mad mikmod mmx mng modules mozbranding mp3 mp4 mpeg mplayer mudflap mule multilib mysql ncurses nls nptl nptlonly nsplugin ogg openexr opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime readline redeyes reflection sdl secure-delete semantic-desktop session slp sndfile sox spell splitdebug sql sqlite sse sse2 ssl startup-notification svg sysfs tcl tcpd test threads thumbnail thumbnails tiff truetype udb udev unicode usb utils verbose vorbis webkit x264 xcb xine xml xml2 xmp xorg xpm xulrunner xv xvid xvmc yaz 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr el" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


I am going to attach the build log to a reply.
Comment 1 Frossie 2010-09-20 05:10:33 UTC
Created attachment 248079 [details]
/var/tmp/portage/kde-base/plasma-workspace-4.5.1/temp/environment
Comment 2 Frossie 2010-09-20 05:10:56 UTC
Created attachment 248080 [details]
/var/tmp/portage/kde-base/plasma-workspace-4.5.1/temp/build.log
Comment 3 Frossie 2010-09-20 05:14:30 UTC
Created attachment 248081 [details]
full emerge log
Comment 4 Jorge Manuel B. S. Vicetto Gentoo Infrastructure gentoo-dev 2010-09-20 12:49:23 UTC
The error is present a few lines above:

Linking CXX shared module ../../../../lib/plasma_engine_dict.so
/var/tmp/portage/kde-base/plasma-workspace-4.5.1/work/plasma-workspace-4.5.1/plasma/generic/applets/notifications/ui/notifications.cpp:67:38:[ 41%]  error: X11/extensions/scrnsaver.h: No such file or directory
Built target plasma_engine_executable

Do you have x11-libs/libXScrnSaver installed? If not, please paste the output of emerge -uDpv plasma-workspace
Comment 5 Frossie 2010-09-20 18:02:26 UTC
Thank you Jorge for spotting that, I must be going blind. 

I did have it installed:

# emerge -s libXScrnSaver
Searching...      
[ Results for search key : libXScrnSaver ]
[ Applications found : 1 ]

*  x11-libs/libXScrnSaver
      Latest version available: 1.2.0
      Latest version installed: 1.2.0
      Size of files: 242 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   X.Org XScrnSaver library
      License:       MIT


But I rebuilt it anyway and plasma-workspace builds now. Mystery!

I am marking this as resolved, thank you for taking the time to help.