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

Bug 325461

Summary: kde-base/kdebindings-ruby-4.4.4 fails to build
Product: Gentoo Linux Reporter: Christian Faulhammer (RETIRED) <fauli>
Component: New packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: enhancement CC: qt
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 313999, 322791    
Attachments: build.log

Description Christian Faulhammer (RETIRED) gentoo-dev 2010-06-25 09:34:24 UTC
See attached build.log
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2010-06-25 09:35:01 UTC
Created attachment 236475 [details]
build.log
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2010-06-25 09:38:17 UTC
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.11.1-r0, 2.6.34-gentoo i686)
=================================================================
System uname: Linux-2.6.34-gentoo-i686-AMD_Athlon-tm-_X2_Dual_Core_Processor_BE-2400-with-gentoo-1.12.13
Timestamp of tree: Fri, 25 Jun 2010 07:00:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -msse3"
CHOST="i686-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/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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="-O2 -march=athlon-xp -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aiglx alsa applet artworkextra asf audiofile bash-completion berkdb bidi bogofilter bootsplash branding bzip2 cairo ccache cdda cddb cdparanoia cdr cli console consolekit cracklib crypt css cups curl custom-cflags dbus deskbar dga directfb divx4linux dri dts dvd dvdr dvdread dvi emacs emboss encode evince exif fam fat fbcon fbcondecor fdftk ffmpeg foomaticdb fortran ftp gb gcj gdbm gif glitz gphoto2 gpm gsf gtk gtk2 gtkhtml hal howl iconv icq idn imagemagick imlib ipv6 java javascript jpeg jpeg2k kpathsea libnotify libotf lirc lm_sensors mad matroska mikmod mime mmx mmxext mng modules mp3 mp4 mpeg mpeg2 mudflap mule mysql nautilus ncurses nforce2 nls noaudio nocardbus nocxx novideo nowebdav nptl nptlonly nss nvidia objc objc++ objc-gc offensive ogg opengl openmp pam pango passwordsave pcre pdf plotutils pmu png policykit ppds pppd prediction preview-latex print publishers python qt-static qt3support readline reflection run-as-root samba sdk secure-delete semantic-desktop session slang smp spell spl sse ssl startup-notification svg svga sysfs t1lib tcpd theora threads thumbnailing tiff toolkit-scroll-bars totem truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd videos vorbis win32codecs wmf wxwindows x264 x86 xcb xface xft xml xorg xosd xpm xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" 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" CAMERAS="ptp2" ELIBC="glibc" INPUT_DEVICES="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="atiusb" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" 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, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2010-06-25 09:47:55 UTC
*** Bug 325463 has been marked as a duplicate of this bug. ***
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2010-06-25 09:48:57 UTC
Your ruby seems borked.
I asked Diego and he say that you could try to source /etc/profile in your chroot, because you dont have working rubygems there.

Plz report if it is still issue.
Comment 5 Andreas K. Hüttel archtester gentoo-dev 2010-06-25 12:26:21 UTC
You can also try installing rubygems first.
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2010-06-25 13:11:58 UTC
krossruby now succeeds with rubygems installed.  Shouldn't it get pulled in?

kdebindings-ruby fails later now:

inking CXX shared module ../../lib/khtml.so
[ 63%] Built target rubykhtml
Scanning dependencies of target rubyokular
[ 65%] Building CXX object ruby/okular/CMakeFiles/rubyokular.dir/okular.o
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/okular/okular.cpp:24:32: error: smoke/okular_smoke.h: No such file or directory
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/okular/okular.cpp: In function 'VALUE getClassList(VALUE)':
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/okular/okular.cpp:33: error: 'okular_Smoke' was not declared in this scope
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/okular/okular.cpp: In function 'void Init_okular()':
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/okular/okular.cpp:58: error: 'init_okular_Smoke' was not declared in this scope
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/okular/okular.cpp:60: error: 'okular_Smoke' was not declared in this scope
make[2]: *** [ruby/okular/CMakeFiles/rubyokular.dir/okular.o] Error 1
make[1]: *** [ruby/okular/CMakeFiles/rubyokular.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX shared module ../../lib/nepomuk.so
[ 65%] Built target rubynepomuk
Linking CXX shared module ../../lib/ktexteditor.so
[ 65%] Built target rubyktexteditor
make: *** [all] Error 2


I rebuilt smoke already.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2010-06-25 13:34:45 UTC
Hi Christian, 

I'm mostly responsible for this ebuild. Yes, probably rubygems should be pulled in (I vaguely remember having had that problem too).

I'll fix it in the kde overlay later; kde-team, if you agree, could you please add a DEPEND on dev-ruby/rubygems ?! (I'm not on IRC and more or less offline until sunday evening...)

About the second problem... could you please double-check that your installed smoke has the okular useflag set?!

Thanks, 
Andreas (dilfridge)
Comment 8 Christian Faulhammer (RETIRED) gentoo-dev 2010-06-25 13:56:35 UTC
(In reply to comment #7)
> About the second problem... could you please double-check that your installed
> smoke has the okular useflag set?!

 Of course it is not!  My eyes failed me when I rebuilt it...anyway, we are getting closer.  Is this some problem with qt-test (here with USE="exceptions iconv")?

[ 87%] Building CXX object ruby/soprano/CMakeFiles/rubysoprano.dir/soprano.o
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/qttest/qttesthandlers.cpp:26: error: 'QTestAccessibilityEvent' was not declared in this scope
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/qttest/qttesthandlers.cpp:26: error: 'QTestAccessibilityEvent' was not declared in this scope
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/qttest/qttesthandlers.cpp:26: error: template argument 1 is invalid
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/qttest/qttesthandlers.cpp:26: error: no matches converting function 'marshall_ValueListItem' to type 'void (*)(class Marshall*)'
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/qtruby/src/marshall_macros.h:166: error: candidates are: template<class Item, class ItemList, const char* ItemSTR> void marshall_ValueListItem(Marshall*)
make[2]: *** [ruby/qttest/CMakeFiles/qttest.dir/qttesthandlers.o] Error 1
make[1]: *** [ruby/qttest/CMakeFiles/qttest.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 89%] Building CXX object ruby/soprano/CMakeFiles/rubysoprano.dir/sopranohandlers.o
Linking CXX shared module ../../lib/soprano.so
[ 89%] Built target rubysoprano
Linking CXX shared module ../../lib/okular.so
[ 89%] Built target rubyokular
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2010-06-25 14:21:13 UTC
> [ 87%] Building CXX object ruby/soprano/CMakeFiles/rubysoprano.dir/soprano.o
> /var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/qttest/qttesthandlers.cpp:26:
> error: 'QTestAccessibilityEvent' was not declared in this scope
> /var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/qttest/qttesthandlers.cpp:26:
> error: 'QTestAccessibilityEvent' was not declared in this scope

fun fun fun... qt-guys, why is qt-test now always built with -no-accessibility (and does not even have a accessibility use flag)?

something changed here and we did not notice...
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2010-06-25 14:39:50 UTC
(In reply to comment #9)
> fun fun fun... qt-guys, why is qt-test now always built with -no-accessibility
> (and does not even have a accessibility use flag)?

 We need qt-gui with USE=accessibility and smoke with USE="akonadi okular", please adjust.  Then it is fine.
Comment 11 Andreas K. Hüttel archtester gentoo-dev 2010-06-25 14:52:16 UTC
(In reply to comment #10)
>  We need qt-gui with USE=accessibility 

Bad... that's a real bug, this is the only remaining package in kde-base afaik.

> and smoke with USE="akonadi okular",
> please adjust.  Then it is fine.
> 

This should be caught by the use-dependencies, nothing to fix here. (Unless you got that bug with emerge instead of ebuild.)
Comment 12 Christian Faulhammer (RETIRED) gentoo-dev 2010-06-25 14:58:27 UTC
(In reply to comment #11)
> (In reply to comment #10)
> >  We need qt-gui with USE=accessibility 
> 
> Bad... that's a real bug, this is the only remaining package in kde-base afaik.

 Oh, you want to get rid of it?  Oh, yes, some others want it disabled, I see now.

> > and smoke with USE="akonadi okular",
> > please adjust.  Then it is fine.
> > 
> 
> This should be caught by the use-dependencies, nothing to fix here. (Unless you
> got that bug with emerge instead of ebuild.)

 I got it with emerge.  And that's interesting, because I have USE="semantic-desktop" only on kdebindings-ruby.
Comment 13 Maciej Mrozowski gentoo-dev 2010-06-25 15:23:20 UTC
Qt accessibility thing should be handled in kde4-base eclass. As for smoke, there's already $(add_kdebase_dep smoke 'akonadi?,okular?,phonon?,qscintilla?,qwt?,semantic-desktop?'), not sure why it fails for you, I'll investigate.
Comment 14 Andreas K. Hüttel archtester gentoo-dev 2010-06-25 15:34:05 UTC
(In reply to comment #13)
> Qt accessibility thing should be handled in kde4-base eclass. As for smoke,
> there's already $(add_kdebase_dep smoke
> 'akonadi?,okular?,phonon?,qscintilla?,qwt?,semantic-desktop?'), not sure why it
> fails for you, I'll investigate.
> 

Thanks a lot... I'll be mostly offline over the weekend, so I cant help much, but I'll be back on sunday evening. 
Comment 15 Christian Faulhammer (RETIRED) gentoo-dev 2010-06-25 21:09:08 UTC
(In reply to comment #13)
> Qt accessibility thing should be handled in kde4-base eclass. As for smoke,
> there's already $(add_kdebase_dep smoke
> 'akonadi?,okular?,phonon?,qscintilla?,qwt?,semantic-desktop?'), not sure why it
> fails for you, I'll investigate.

 For the record:

emerge -av --keep-going $(cat /tmp/package.keywords-KDE /tmp/package.keywords-dep)

has been used for the emerge.
Comment 16 Guy 2010-06-25 22:04:14 UTC
 
I'm having what appears to be the same problem.

Based on commentary here, I did the following:

emerge rubygems
echo "kde-base/smoke okular" >> /etc/portage/package.use

emerge -puNDv world displayed the following results:

Calculating dependencies... done!
[ebuild   R   ] kde-base/smoke-4.4.4-r1  USE="okular* phonon webkit -akonadi
(-aqua) -attica -debug (-kdeenablefinal) (-kdeprefix) -multimedia -qimageblitz
-qscintilla -qwt -semantic-desktop" 0 kB
[ebuild     U ] kde-base/kdebindings-ruby-4.4.4 [4.4.3] USE="webkit -akonadi
(-aqua) -debug (-kdeenablefinal) (-kdeprefix) -okular -phonon -plasma
-qscintilla -qwt -semantic-desktop" RUBY_TARGETS="ruby18" 0 kB
[ebuild     U ] kde-base/kdebindings-meta-4.4.4 [4.4.3] USE="java python ruby
(-aqua) -csharp (-kdeprefix)" 0 kB
[ebuild     U ] kde-base/kde-meta-4.4.4 [4.4.3] USE="accessibility nls sdk
(-aqua) (-kdeprefix) -semantic-desktop" 0 kB

Total: 4 packages (3 upgrades, 1 reinstall), Size of downloads: 0 kB


I did:

emerge -uND world

However, the emerge of kdebindings-ruby still did not go to completion. I
received the following results:

[ 50%] Building CXX object ruby/qtruby/src/CMakeFiles/qtruby4.dir/qtruby.o      
[ 52%] Building CXX object
ruby/qtuitools/CMakeFiles/rubyqtuitools.dir/qtuitools.o                         
[ 54%] [ 56%] [ 58%] Building CXX object
ruby/qtwebkit/CMakeFiles/rubyqtwebkit.dir/qtwebkit.o                            
Building CXX object ruby/qtscript/CMakeFiles/qtscript.dir/qtscript.o            
Building CXX object ruby/soprano/CMakeFiles/rubysoprano.dir/soprano.o           
Linking CXX shared module ../../../lib/qtruby4.so                               
[ 60%] Building CXX object
ruby/qtuitools/CMakeFiles/rubyqtuitools.dir/qtuitoolshandlers.o                 
[ 62%] Building CXX object
ruby/qtwebkit/CMakeFiles/rubyqtwebkit.dir/qtwebkithandlers.o                    
[ 64%] Building CXX object
ruby/qtscript/CMakeFiles/qtscript.dir/qtscripthandlers.o                        
[ 66%] Building CXX object ruby/qttest/CMakeFiles/qttest.dir/qttest.o           
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/soprano/soprano.cpp:10:33:
error: smoke/soprano_smoke.h: No such file or directory                 
Linking CXX shared module ../../lib/qtwebkit.so
Linking CXX shared module ../../lib/qtuitools.so                                
Linking CXX shared module ../../lib/qtscript.so                                 
[ 68%] Building CXX object ruby/qttest/CMakeFiles/qttest.dir/qttesthandlers.o   
[ 68%] Built target qtruby4                                                     
Scanning dependencies of target rubyakonadi
Linking CXX shared module ../../lib/qttest.so                                   
[ 68%] Built target rubyqtwebkit                                                
[ 70%] Building CXX object
ruby/soprano/CMakeFiles/rubysoprano.dir/sopranohandlers.o
[ 70%]
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/soprano/soprano.cpp:
In function ‘VALUE getClassList(VALUE)’:                               
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/soprano/soprano.cpp:22:
error: ‘soprano_Smoke’ was not declared in this scope
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/soprano/soprano.cpp:
In function ‘void Init_soprano()’:
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/soprano/soprano.cpp:47:
error: ‘init_soprano_Smoke’ was not declared in this scope
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/soprano/soprano.cpp:49:
error: ‘soprano_Smoke’ was not declared in this scope
Built target qtscript
Scanning dependencies of target korundum4
make[2]: *** [ruby/soprano/CMakeFiles/rubysoprano.dir/soprano.o] Error 1        
make[2]: *** Waiting for unfinished jobs....                                    
[ 72%] Scanning dependencies of target rubykhtml                                
Building CXX object ruby/akonadi/CMakeFiles/rubyakonadi.dir/akonadi.o           
make[1]: *** [ruby/soprano/CMakeFiles/rubysoprano.dir/all] Error 2              
make[1]: *** Waiting for unfinished jobs....
[ 74%] Building CXX object
ruby/akonadi/CMakeFiles/rubyakonadi.dir/akonadihandlers.o
[ 74%] Built target rubyqtuitools                                               
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/akonadi/akonadi.cpp:24:33:
error: smoke/akonadi_smoke.h: No such file or directory
[ 74%] Built target qttest
[ 76%] [ 78%] Building CXX object ruby/khtml/CMakeFiles/rubykhtml.dir/khtml.o
[ 80%] [ 82%] Building CXX object
ruby/khtml/CMakeFiles/rubykhtml.dir/khtmlhandlers.o                             
Building CXX object
ruby/korundum/src/CMakeFiles/korundum4.dir/korundum4_automoc.o                  
Building CXX object ruby/korundum/src/CMakeFiles/korundum4.dir/Korundum.o       
[ 84%] Building CXX object
ruby/korundum/src/CMakeFiles/korundum4.dir/kdehandlers.o                        
Linking CXX shared module ../../lib/khtml.so                                    
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/akonadi/akonadi.cpp:
In function ‘VALUE getClassList(VALUE)’:                                    
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/akonadi/akonadi.cpp:33:
error: ‘akonadi_Smoke’ was not declared in this scope
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/akonadi/akonadi.cpp:
In function ‘void Init_akonadi()’:
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/akonadi/akonadi.cpp:58:
error: ‘init_akonadi_Smoke’ was not declared in this scope
/var/tmp/portage/kde-base/kdebindings-ruby-4.4.4/work/ruby18/kdebindings-ruby-4.4.4/ruby/akonadi/akonadi.cpp:60:
error: ‘akonadi_Smoke’ was not declared in this scope
make[2]: *** [ruby/akonadi/CMakeFiles/rubyakonadi.dir/akonadi.o] Error 1
make[1]: *** [ruby/akonadi/CMakeFiles/rubyakonadi.dir/all] Error 2
Linking CXX shared library ../../../lib/korundum4.so
[ 84%] Built target rubykhtml                                                   
[ 84%] Built target korundum4
make: *** [all] Error 2
 * ERROR: kde-base/kdebindings-ruby-4.4.4 failed:

For me, kdebindings-ruby is now failing on soprano_smoke.h and akonadi_smoke.


Based in the above messages, I re-emerged soprano and tried again with the same
errors:

emerge soprano
emerge smoke
emerge kdebindings-ruby


Still no joy.

If I add USE="akonodi" and do:

USE="akonodi" emerge smoke kdebindings-ruby

the error messages regarding akonodi_smoke.h go away.

Note that I don't particularly want USE="akonadi"

Thank you for looking at this and for your time.
Comment 17 Maciej Mrozowski gentoo-dev 2010-06-26 01:30:57 UTC
I think I know what's going on, cmake options are improperly set (-DENABLE instead of -DWITH) which causes akonadi, okular etc support to be compiled (and should be disabled).
I've fixed cmake options in kde-base/smoke some time ago, I suppose kdebindings-ruby is affected in the same way (and probably kdebindings-csharp as well).
Comment 18 Maciej Mrozowski gentoo-dev 2010-06-26 02:08:04 UTC
This is now fixed, please reopen if you still encounter this kdebindings-ruby issue.
Comment 19 Guy 2010-06-26 02:58:11 UTC
I removed "kde-base/smoke okular" from /etc/portage/package.use

I then did:

emerge --sync
emerge smoke
emerge kdebindings-ruby

Everything emerged successfully.

Thanks!
Comment 20 SpanKY gentoo-dev 2010-06-29 23:13:40 UTC
can we please have the USE=accessibility restricted to the very few packages that need it instead of kludging it for every single kde package ?
Comment 21 SpanKY gentoo-dev 2010-07-02 20:26:12 UTC
forgot to re-open
Comment 22 Andreas K. Hüttel archtester gentoo-dev 2010-07-02 22:10:12 UTC
(In reply to comment #20)
> can we please have the USE=accessibility restricted to the very few packages
> that need it instead of kludging it for every single kde package ?
> 

I think that may be a misunderstanding now. Fauli and me thought at some point that this package explicitly needs qt-gui[accessibility]. In reality this dependency is only there for specific use-flag combinations and handled by the eclass, and reavertm fixed that. I'd suggest resolving the bug, since the dependency on the accessibility flag is only indirectly present if the kde components need it (as far as I understand).
Comment 23 Maciej Mrozowski gentoo-dev 2010-07-03 03:31:34 UTC
I'd like you to help me understand what's the deal with disabling accessibility USE flag.

accessibility USE flag doesn't pull any additional dependencies. What it does it makes building accessibility widgets optional (which are normally - outside of Gentoo - build nevertheless - part if QtGui and Qt3Support libs).

So what it does it actually changes API. Of course all Qt4/KDE4 applications assume full QtGui / Qt3Support APIs are complete.

And what Gentoo does here is unnecessary, unsupported and probably shouldn't have been done in first place (accessibility USE flag should be removed).

accessibility USE flag will stay pulled in kde4-base eclass. I'll also ask Qt team to remove it in a future.
Comment 24 Alex Alexander (RETIRED) gentoo-dev 2010-07-03 09:17:47 UTC
I don't see why we should remove the accessibility USE flag from qt-gui. The build system lets us disable it, so it is not a hack.

Anything requiring the accessibility features of qt-gui should depend on qt-gui[accessibility].

Same goes for qt3-support[accessibility] :)
Comment 25 Andreas K. Hüttel archtester gentoo-dev 2010-07-15 19:38:24 UTC
Resolving as per comment #19. 

Note that there is NOTHING in the resolution that requires qt[accessibility]. So there's really no point in reopening the bug for a discussion of the merits of that useflag... :o)