Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 338108

Summary: plasma-workspace-4.5.1 fails to build
Product: Gentoo Linux Reporter: Frossie <frossie>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: /var/tmp/portage/kde-base/plasma-workspace-4.5.1/temp/environment
full emerge log

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:

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/
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/
[ 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:
 *, 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 (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"
CFLAGS="-O2 -march=athlon64 -pipe"
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"
FEATURES="assume-digests candy distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en fr el"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
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" 

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]
Comment 2 Frossie 2010-09-20 05:10:56 UTC
Created attachment 248080 [details]
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/
/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
[ 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
      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.