Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 345671 - Failed to emerge kde-base/plasma-workspace-4.4.5
Summary: Failed to emerge kde-base/plasma-workspace-4.4.5
Status: RESOLVED WONTFIX
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: qt-4.7
  Show dependency tree
 
Reported: 2010-11-15 21:03 UTC by Hirschi
Modified: 2011-04-25 20:55 UTC (History)
2 users (show)

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


Attachments
build.log plasma-workspace-4.4.5 (build.log,17.05 KB, text/plain)
2010-11-15 21:09 UTC, Hirschi
Details
battery.h patch file adding missing signal (plasma-workspace-4.4.5-battery.patch,717 bytes, patch)
2010-11-28 15:15 UTC, momesana
Details | Diff
Updated ebuild (plasma-workspace-4.4.5-r1.ebuild,2.88 KB, text/plain)
2010-11-29 02:46 UTC, Christoph Erhardt
Details
Updated ebuild (plasma-workspace-4.4.5.ebuild,2.88 KB, text/plain)
2011-01-24 00:59 UTC, Christoph Erhardt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hirschi 2010-11-15 21:03:31 UTC
kde-base/plasma-workspace-4.4.5 failed to emerge:

[ebuild  N    ] kde-base/plasma-workspace-4.4.5  USE="handbook python semantic-desktop xinerama (-aqua) -debug (-google-gadgets) (-kdeenablefinal) (-kdeprefix) -rss" 

...
[  0%] Built target plasma_applet_activitybar_automoc
Scanning dependencies of target plasma_applet_battery_automoc
Scanning dependencies of target plasma_applet_calendar_automoc
Generating battery.moc
Generating calendar.moc
Generating panelappletoverlay.moc
Generating desktopview.moc
/var/tmp/portage/kde-base/plasma-workspace-4.4.5/work/plasma-workspace-4.4.5/plasma/generic/applets/battery/battery.h:175: Error: NOTIFY signal 'labelAlphaChanged' of property 'labelAlpha' does not exist in class Battery.
automoc4: process for /var/tmp/portage/kde-base/plasma-workspace-4.4.5/work/plasma-workspace-4.4.5_build/plasma/generic/applets/battery/battery.moc failed: Unknown error
pid to wait for: 0
returning failed..
[  0%] make[2]: *** [plasma/generic/applets/battery/CMakeFiles/plasma_applet_battery_automoc] Error 1
make[1]: *** [plasma/generic/applets/battery/CMakeFiles/plasma_applet_battery_automoc.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Built target plasma_applet_calendar_automoc
Generating dashboardview.moc
Generating panelview.moc
Generating desktopcorona.moc
Generating checkbox.moc
Generating controllerwindow.moc
Generating widget.moc
Generating toolbutton.moc
[  0%] Built target kdeinit_plasma-desktop_automoc
make: *** [all] Error 2
emake failed
 * ERROR: kde-base/plasma-workspace-4.4.5 failed:
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 6402:  Called kde4-meta_src_compile
 *   environment, line 3897:  Called kde4-base_src_compile
 *   environment, line 3552:  Called cmake-utils_src_compile
 *   environment, line 1731:  Called _execute_optionaly 'src_compile'
 *   environment, line  741:  Called enable_cmake-utils_src_compile
 *   environment, line 2100:  Called cmake-utils_src_make
 *   environment, line 1750:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
Comment 1 Hirschi 2010-11-15 21:05:49 UTC
emerge --info =kde-base/plasma-workspace-4.4.5

Portage 2.1.9.24 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.12.1-r3, 2.6.36-gentoo i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.36-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_U7700_@_1.33GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 15 Nov 2010 11:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r2
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4
sys-devel/make:      3.82
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ "
LANG="de_DE.utf8@euro"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
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/hirschi"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa apm asf berkdb bluetooth branding bzip2 cairo cdaudio cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr dvdread emboss encode exif fam firefox firefox3 flac fortran gdbm gif gmp gpm gtk hal howl iconv ipv6 java jpeg kde laptop lcms ldap libnotify lm_sensors logitech-mouse mad mikmod mng modules mozilla mp3 mp4 mpeg mudflap mysql ncurses networkmanager new-login nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcmcia pcre pdf perl png ppds pppd python qt3 qt3support qt4 rdesktop readline samba sdl semantic-desktop session smbclient spell sql ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb vidix vorbis win32codecs wma x264 x86 xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid 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 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa" 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
Comment 2 Hirschi 2010-11-15 21:09:49 UTC
Created attachment 254439 [details]
build.log plasma-workspace-4.4.5

The complete build.log
Comment 3 momesana 2010-11-28 15:15:26 UTC
Created attachment 255739 [details, diff]
battery.h patch file adding missing signal
Comment 4 momesana 2010-11-28 15:15:50 UTC
Today, I ran into the same issue. Don't know why it happens, because I had been able to compile that same package without problems earlier (using Qt-4.6.x if I am not mistaken) but it fails with my current setup (using Qt-4.7.1). I've looked into the code and a signal is missing in the battery.h header file. Adding that missing signal fixes the bug. I've appended a patch file called plasma-workspace-4.4.5-battery.patch to this post. Copy it over to the files directory of the package directory of your portage or overlay tree and add the following line "${FILESDIR}/${PN}-4.4.5-battery.patch" to the ebuilds patch section so it becomes:

PATCHES=(
        "${FILESDIR}/${PN}-4.4.2-xinerama_cmake_automagic.patch"
        "${FILESDIR}/${PN}-4.4.5-battery.patch"
)

Regenerate the digest by issuing ebuild /path/to/ebuild/plasma-workspace-4.4.5.ebuild and emerge that package again.

Cheers
Comment 5 Christoph Erhardt 2010-11-29 02:46:18 UTC
Created attachment 255785 [details]
Updated ebuild

Thanks for the patch fixing the build problem. I have attached a revision-bumped ebuild ready for inclusion into the Portage tree.
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2011-01-06 14:47:22 UTC
Are you all using plasma-workspace-4.4.5 with qt-4.7.1?
Comment 7 Christoph Erhardt 2011-01-24 00:55:40 UTC
(In reply to comment #6)
> Are you all using plasma-workspace-4.4.5 with qt-4.7.1?
I recently moved on to KDE 4.5, but when I hit this bug, I was indeed using these versions.
Comment 8 Christoph Erhardt 2011-01-24 00:59:04 UTC
Created attachment 260561 [details]
Updated ebuild

Oops, a revision bump doesn't make much sense for a build error fix.
Comment 9 Nikita Melnichenko 2011-02-17 21:57:47 UTC
Thanks for the corrected ebuild. It worked for me! :)
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2011-02-27 14:52:11 UTC
This needs testing with stable qt-4.6.3 before it can be added. 

In the meantime, running stable kde with unstable qt is not really a recommended combination. Give kde-4.6.0 (with kdepim-4.4.10) a try, it's worth it!
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2011-04-25 20:55:33 UTC
Closing this as WONTFIX, since this combination is not supported and also soon obsolete.