Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369941 - kde-misc/eyesaver-0.2a fails to build
Summary: kde-misc/eyesaver-0.2a fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-03 19:48 UTC by Sujeet Akula
Modified: 2011-06-04 00:04 UTC (History)
1 user (show)

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


Attachments
simple patch to fix the compile error (eyesaver-0.1-fix.patch,376 bytes, patch)
2011-06-03 19:48 UTC, Sujeet Akula
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sujeet Akula 2011-06-03 19:48:49 UTC
Created attachment 275717 [details, diff]
simple patch to fix the compile error

Hi,

This is in the KDE overlay. The source file calls the KRun constructor with scope-resolution as if it were static or a singleton. 

Here is the typical error message:

Building CXX object CMakeFiles/plasma_applet_eyesaver.dir/eyesaver.o
/var/tmp/portage/kde-misc/eyesaver-0.2a/work/eyesaver/eyesaver-0.1/eyesaver.cpp: In member function 'void Plasmaeyesaver::apridocum()':
/var/tmp/portage/kde-misc/eyesaver-0.2a/work/eyesaver/eyesaver-0.1/eyesaver.cpp:85:9: error: expected type-specifier
/var/tmp/portage/kde-misc/eyesaver-0.2a/work/eyesaver/eyesaver-0.1/eyesaver.cpp:85:9: error: expected ';'

Please include the attached patch to fix it up (one simply needs to remove the "KRun::")
Comment 1 Sujeet Akula 2011-06-03 20:24:57 UTC
By the way, this was with gcc-4.5.2.

additional info:


Portage 2.2.0_alpha37 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.12.2-r0, 2.6.31-gentoo-r6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-AMD_Phenom-tm-_II_X4_965_Processor-with-gentoo-2.0.2
Timestamp of tree: Fri, 03 Jun 2011 06:00:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r1, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.65-r1
sys-devel/automake:       1.8.5-r3, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            3.4.6-r2, 4.3.4, 4.4.5, 4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo kde science sunrise Local-Overlay
Installed sets: @plasmoids
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula AdobeFlash-10.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/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"
CXXFLAGS="-march=barcelona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://mirrors.rit.edu/gentoo/ http://distfiles.gentoo.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US hi hi_IN"
MAKEOPTS="-j5"
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/kde /usr/local/portage/layman/science /usr/local/portage/layman/sunrise /usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac aalib acl acpi aim alsa amd64 apache2 apm audiofile bash-completion bcmath blas bzip2 cairo cdda cddb cdparanoia cdr cgi cli consolekit cracklib crypt cscope css cups curl cxx dbus dga djvu doc dri dts dv dvd dvdr encode exif expat fbcondecor ffmepg fftw firefox flac fortran ftp gd gdbm geoip gif gimp ginac glut gmp gnuplot gnutls gphoto2 gpm gps graphviz gsl gzip handbook hddtemp iconv icu idn ieee1394 imagemagick imap imlib ipod ipv6 jabber java javascript jingle jpeg jpeg2k kde lame lapack latex libcaca libsamplerate libwww lm_sensors lzo maildir matroska matrox mime mmap mmx mng modules mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz mysql ncurses nls nntp nocd nptl nptlonly nsplugin nspluginwrapper octave offensive ogg opengl openmp oscar pam pcre pdf perl plasma png policykit ppds pppd pulseaudio python qt3 qt3support qt4 quicktime raw rdesktop readline rss samba semantic-desktop session shorten skey smp sndfile sockets sox speex spell spl sse sse2 ssl subversion svg sysfs syslog tcpd threads tiff truetype udev unicode usb vcd video vim-syntax vim-with-x vorbis wavpack wifi wmf x264 xft xml xorg xpm xscreensaver xulrunner xvid yahoo zlib" ALSA_CARDS="usb-audio 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 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US hi hi_IN" PHP_TARGETS="php5-3" 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, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

kde-misc/eyesaver-0.2a was built with the following:
USE="(multilib) (-aqua) -debug (-kdeenablefinal)"
Comment 2 Dimitris Papapoulios 2011-06-04 00:01:44 UTC
I applied the patch to the ebuild and now it build fine. Thank you for your report and for the patch too :)