Emerging krita-2.1.0 with USE="-opengl" fails with: distcc[27812] ERROR: compile /var/tmp/ccache/kis_tool_f.tmp.straylight.27766.ii on localhost failed In file included from /var/tmp/portage/app-office/krita-2.1.0/work/krita-2.1.0/krita/ui/tool/kis_tool_freehand.cc:49: /var/tmp/portage/app-office/krita-2.1.0/work/krita-2.1.0/krita/image/recorder/kis_macro.h:76: warning: 'virtual void KisMacro::addAction(const KisRecordedAction&, cons t KisRecordedAction*)' was hidden /var/tmp/portage/app-office/krita-2.1.0/work/krita-2.1.0/krita/image/recorder/kis_action_recorder.h:41: warning: by 'void KisActionRecorder::addAction(const KisRecor dedAction&)' In file included from /var/tmp/portage/app-office/krita-2.1.0/work/krita-2.1.0/krita/ui/tool/kis_tool_freehand.cc:70: /var/tmp/portage/app-office/krita-2.1.0/work/krita-2.1.0/krita/ui/kis_3d_object_model.h:59: error: 'GLuint' does not name a type /var/tmp/portage/app-office/krita-2.1.0/work/krita-2.1.0/krita/ui/kis_3d_object_model.h:74: error: 'GLuint' does not name a type make[2]: *** [krita/ui/CMakeFiles/kritaui.dir/tool/kis_tool_freehand.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /var/tmp/portage/app-office/krita-2.1.0/work/krita-2.1.0/krita/ui/kis_view2.cpp: In member function 'void KisView2::loadPlugins()': /var/tmp/portage/app-office/krita-2.1.0/work/krita-2.1.0/krita/ui/kis_view2.cpp:700: warning: 'static T* KService::createInstance(const KSharedPtr<KService>&, QObject* , const QStringList&, int*) [with T = KParts::Plugin]' is deprecated (declared at /usr/include/kservice.h:541) /var/tmp/portage/app-office/krita-2.1.0/work/krita-2.1.0/krita/ui/kis_view2.cpp:705: warning: 'static KLibLoader* KLibLoader::self()' is deprecated (declared at /usr/i nclude/klibloader.h:142) /var/tmp/portage/app-office/krita-2.1.0/work/krita-2.1.0/krita/ui/tool/kis_tool_paint.cc: In member function 'virtual QWidget* KisToolPaint::createOptionWidget()': /var/tmp/portage/app-office/krita-2.1.0/work/krita-2.1.0/krita/ui/tool/kis_tool_paint.cc:179: warning: 'virtual QString KisToolPaint::quickHelp() const' is deprecated (declared at /var/tmp/portage/app-office/krita-2.1.0/work/krita-2.1.0/krita/ui/tool/kis_tool_paint.h:105) /var/tmp/portage/app-office/krita-2.1.0/work/krita-2.1.0/krita/ui/tool/kis_tool_paint.cc: In member function 'void KisToolPaint::slotPopupQuickHelp()': /var/tmp/portage/app-office/krita-2.1.0/work/krita-2.1.0/krita/ui/tool/kis_tool_paint.cc:241: warning: 'virtual QString KisToolPaint::quickHelp() const' is deprecated (declared at /var/tmp/portage/app-office/krita-2.1.0/work/krita-2.1.0/krita/ui/tool/kis_tool_paint.h:105) make[1]: *** [krita/ui/CMakeFiles/kritaui.dir/all] Error 2 make: *** [all] Error 2 * ERROR: app-office/krita-2.1.0 failed: * Make failed! I haven't had time to test it with opengl enabled, but judging from the error it fails because of the -opengl flag. Anyway, my old laptop doesn't have any opengl acceleration to speak of...
Portage 2.1.7.7 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.11-r0, 2.6.30-gentoo-r5 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r5-i686-Mobile_Intel-R-_Celeron-TM-_CPU_1200MHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 26 Nov 2009 17:45:02 +0000 distcc 3.1 i686-pc-linux-gnu [enabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.4 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.2-r2 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/udev/rules.d" CXXFLAGS="-O2 -march=pentium3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests ccache distcc distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ " LANG="fi_FI.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="fi" 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 /usr/local/portage/layman/kde3" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa avahi berkdb bluetooth bonjour bzip2 cairo cdda cddb cli consolekit cracklib crypt cups dbus dirac dri dvd encode exif faac faad ffmpeg flac fortran gdbm gif gnome gnome-keyring gnutls gpm gstreamer gtk hal iconv ipod ipv6 jack jpeg kde ladspa laptop lash lcms libnotify libsamplerate lzma mmx modules mp3 mtp mudflap musicbrainz ncurses networkmanager nls nptl nptlonly nsplugin ogg openexr openmp pam pcre perl phonon plasma png policykit pppd pulseaudio python qt3support qt4 readline reflection schroedinger semantic-desktop session sndfile speex spl sqlite sqlite3 sse ssl svg sysfs tcpd theora tiff truetype unicode usb vorbis webkit x264 x86 xcb xorg xvid zeroconf zip zlib" ALSA_CARDS="pdaudiocf virmidi via82xx via82xx-modem portman2x4 usb-audio usb-us1221 usb-usx2y" 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 keyboard mouse joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fi" USERLAND="GNU" VIDEO_CARDS="savage vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Yep, compiles ok with USE="opengl"
Please post complete build.log
Created attachment 211401 [details] Disabled distcc for testing purposes, still fails.
Created attachment 211876 [details, diff] Fix build with USE=-opengl I wrote it myself, didn't check upstream bugzilla or git if it's fixed by other means. Seems to work here.
http://bugs.kde.org/217239
(In reply to comment #6) > http://bugs.kde.org/217239 > + 05 Dec 2009; Samuli Suominen <ssuominen@gentoo.org> krita-2.1.0.ebuild, + +files/krita-2.1.0-opengl.patch: + Fix building with USE="-opengl" wrt #294787, thanks to Jouni Rinne for + reporting. If upstream bug changes, I'll update the patch