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

Bug 43913

Summary: qtruby not installed with kdebindings
Product: Gentoo Linux Reporter: Ian Monroe <gentoo>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ian Monroe 2004-03-06 13:58:27 UTC
The kdebindings package apparently installs nothing related to ruby, despite my USE flags including it.

$ qpkg -l kdebindings
/usr
/usr/lib
/usr/lib/perl5
/usr/lib/perl5/site_perl
/usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.2/i686-linux
/usr/lib/perl5/site_perl/5.8.2/i686-linux/DCOP.pm
/usr/lib/perl5/site_perl/5.8.2/i686-linux/DCOP
/usr/lib/perl5/site_perl/5.8.2/i686-linux/DCOP/Object.pm
/usr/lib/perl5/site_perl/5.8.2/i686-linux/auto
/usr/lib/perl5/site_perl/5.8.2/i686-linux/auto/DCOP
/usr/lib/perl5/site_perl/5.8.2/i686-linux/auto/DCOP/DCOP.so
/usr/lib/perl5/site_perl/5.8.2/i686-linux/auto/DCOP/.packlist
/usr/lib/perl5/site_perl/5.8.2/i686-linux/auto/DCOP/DCOP.bs
/usr/lib/perl5/5.8.2
/usr/lib/perl5/5.8.2/i686-linux
/usr/lib/perl5/5.8.2/i686-linux/perllocal.pod
/usr/lib/python2.3
/usr/lib/python2.3/pydcop.py
/usr/lib/python2.3/site-packages
/usr/lib/python2.3/site-packages/pcop.la
/usr/lib/python2.3/site-packages/pcop.so
/usr/share
/usr/share/doc
/usr/share/doc/kdebindings-3.2.0
/usr/share/doc/kdebindings-3.2.0/README.gz
/usr/share/doc/kdebindings-3.2.0/COPYING.gz
/usr/share/doc/kdebindings-3.2.0/ChangeLog.gz
/usr/share/doc/kdebindings-3.2.0/NEWS.gz
/usr/share/doc/kdebindings-3.2.0/AUTHORS.gz
/usr/share/man
/usr/share/man/man3
/usr/share/man/man3/DCOP.3pm.gz
/usr/kde
/usr/kde/3.2
/usr/kde/3.2/lib
/usr/kde/3.2/lib/libqtjava.la
/usr/kde/3.2/lib/libsmokeqt.la
/usr/kde/3.2/lib/libkjsembed.so.1.0.0
/usr/kde/3.2/lib/libsmokeqt.so.1.2.1
/usr/kde/3.2/lib/libsmokeqt.so -> libsmokeqt.so.1.2.1
/usr/kde/3.2/lib/libqtc.so.1.0.0
/usr/kde/3.2/lib/libsmokeqt.so.1 -> libsmokeqt.so.1.2.1
/usr/kde/3.2/lib/libkjsembed.la
/usr/kde/3.2/lib/libkdejava.la
/usr/kde/3.2/lib/java
/usr/kde/3.2/lib/java/qtjava.jar
/usr/kde/3.2/lib/java/koala.jar
/usr/kde/3.2/lib/java/org
/usr/kde/3.2/lib/java/org/kde
/usr/kde/3.2/lib/java/org/kde/koala
/usr/kde/3.2/lib/java/org/kde/qt
/usr/kde/3.2/lib/libkdejava.so.1.0.0
/usr/kde/3.2/lib/libqtc.so -> libqtc.so.1.0.0
/usr/kde/3.2/lib/libkdec.la
/usr/kde/3.2/lib/kde3
/usr/kde/3.2/lib/kde3/libjsconsoleplugin.la
/usr/kde/3.2/lib/kde3/libimagefxplugin.la
/usr/kde/3.2/lib/kde3/libcustomqobjectplugin.so
/usr/kde/3.2/lib/kde3/libjsconsoleplugin.so
/usr/kde/3.2/lib/kde3/libcustomqobjectplugin.la
/usr/kde/3.2/lib/kde3/libimagefxplugin.so
/usr/kde/3.2/lib/kde3/libcustomobjectplugin.so
/usr/kde/3.2/lib/kde3/libcustomobjectplugin.la
/usr/kde/3.2/lib/libqtjava.so.1.0.0
/usr/kde/3.2/lib/libkjsembed.so.1 -> libkjsembed.so.1.0.0
/usr/kde/3.2/lib/libqtc.la
/usr/kde/3.2/lib/libkjsembed.so -> libkjsembed.so.1.0.0
/usr/kde/3.2/lib/libkdec.so.1.2.0
/usr/kde/3.2/lib/libqtc.so.1 -> libqtc.so.1.0.0
/usr/kde/3.2/lib/libkdejava.so.1 -> libkdejava.so.1.0.0
/usr/kde/3.2/include
/usr/kde/3.2/include/smoke.h
/usr/kde/3.2/include/kdejava
/usr/kde/3.2/include/kdejava/KDESupport.h
/usr/kde/3.2/include/kdejava/KDEJavaSlot.h
/usr/kde/3.2/include/kjsembed
/usr/kde/3.2/include/kjsembed/slotutils.h
/usr/kde/3.2/include/kjsembed/jsbindingplugin.h
/usr/kde/3.2/include/kjsembed/jseventutils.h
/usr/kde/3.2/include/kjsembed/jsvalueproxy_imp.h
/usr/kde/3.2/include/kjsembed/jssecuritypolicy.h
/usr/kde/3.2/include/kjsembed/jsbinding.h
/usr/kde/3.2/include/kjsembed/jsobjectproxy.h
/usr/kde/3.2/include/kjsembed/jsbuiltin.h
/usr/kde/3.2/include/kjsembed/xmlactionclient.h
/usr/kde/3.2/include/kjsembed/customobject_imp.h
/usr/kde/3.2/include/kjsembed/jsconsolewidget.h
/usr/kde/3.2/include/kjsembed/jsproxy_imp.h
/usr/kde/3.2/include/kjsembed/jsbuiltin_imp.h
/usr/kde/3.2/include/kjsembed/jsobjectproxy_imp.h
/usr/kde/3.2/include/kjsembed/kjsembedpart.h
/usr/kde/3.2/include/kjsembed/kjsembedpart_imp.h
/usr/kde/3.2/include/kjsembed/jsopaqueproxy_imp.h
/usr/kde/3.2/include/kjsembed/jsopaqueproxy.h
/usr/kde/3.2/include/kjsembed/jsproxy.h
/usr/kde/3.2/include/kjsembed/jseventmapper.h
/usr/kde/3.2/include/kjsembed/jsfactory.h
/usr/kde/3.2/include/kjsembed/jsobjecteventproxy.h
/usr/kde/3.2/include/kjsembed/jsfactory_imp.h
/usr/kde/3.2/include/kjsembed/jsvalueproxy.h
/usr/kde/3.2/include/kjsembed/slotproxy.h
/usr/kde/3.2/include/qtjava
/usr/kde/3.2/include/qtjava/QtSupport.h
/usr/kde/3.2/include/qtjava/JavaSlot.h
/usr/kde/3.2/bin
/usr/kde/3.2/bin/clib
/usr/kde/3.2/bin/javalib
/usr/kde/3.2/bin/kjscmd
/usr/kde/3.2/bin/koala
/usr/kde/3.2/doc
/usr/kde/3.2/doc/javalib
/usr/kde/3.2/doc/javalib/index-6.html
/usr/kde/3.2/doc/javalib/index-2.html
/usr/kde/3.2/doc/javalib/index.html
/usr/kde/3.2/doc/javalib/index-1.html
/usr/kde/3.2/doc/javalib/index-4.html
/usr/kde/3.2/doc/javalib/index-5.html
/usr/kde/3.2/doc/javalib/index-3.html
/usr/kde/3.2/share
/usr/kde/3.2/share/services
/usr/kde/3.2/share/services/imagefx_plugin.desktop
/usr/kde/3.2/share/services/customqobject_plugin.desktop
/usr/kde/3.2/share/services/customobject_plugin.desktop
/usr/kde/3.2/share/mimelnk
/usr/kde/3.2/share/mimelnk/application
/usr/kde/3.2/share/mimelnk/application/x-javascript.desktop
/usr/kde/3.2/share/applications
/usr/kde/3.2/share/applications/kde
/usr/kde/3.2/share/applications/kde/kjscmd.desktop
/usr/kde/3.2/share/apps
/usr/kde/3.2/share/apps/konqueror
/usr/kde/3.2/share/apps/konqueror/kpartplugins
/usr/kde/3.2/share/apps/konqueror/kpartplugins/plugin_jsconsole.rc
/usr/kde/3.2/share/servicetypes
/usr/kde/3.2/share/servicetypes/binding_type.desktop
/usr/kde/3.2/lib/libqtjava.so -> libqtjava.so.1.0.0
/usr/kde/3.2/lib/libkdejava.so -> libkdejava.so.1.0.0
/usr/kde/3.2/lib/libqtjava.so.1 -> libqtjava.so.1.0.0
/usr/kde/3.2/lib/libkdec.so.1 -> libkdec.so.1.2.0
/usr/kde/3.2/lib/libkdec.so -> libkdec.so.1.2.0
$ pwd
/tmp/kdebindings-3.2.0/qtruby/rubylib/examples/qt-examples/hello
$ ./main.rb
./main.rb:3:in `require': No such file to load -- Qt (LoadError)
        from ./main.rb:3


Reproducible: Didn't try
Steps to Reproduce:




Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3) 
================================================================= 
System uname: 2.6.3 i686 AMD Athlon(tm) XP 2000+ 
Gentoo Base System version 1.4.3.13 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.57-r1 
Automake: sys-devel/automake-1.7.7 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-O2 -mcpu=i686 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox userpriv" 
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/mnt/new/portage" 
SYNC="rsync://vh224401.truman.edu/gentoo-portage" 
USE="3dnow X aalib ada alsa apache2 apm arts artswrappersuid avi berkdb cdr 
crypt cups dga directfb doc dvd encode faad flash foomaticdb gdbm ggi gif 
gphoto2 gpm gtk gtk2 guile imap imlib ipv6 java jikes jpeg kde ldap libg++ 
libwww mad matroska mikmod mmx motif mozilla mozsvg mpeg mysql ncurses nls oav 
oggvorbis opengl oss pam pda pdflib perl png pnp python qt quicktime readline 
ruby samba scanner sdl slang slp spell sse ssl svga tcltk tcpd tetex tiff 
truetype wmf x86 xml xml2 xmms xosd xv xvid zlib"
Comment 1 Ian Monroe 2004-03-07 13:45:32 UTC
On a perhaps unrelated note, I tried emerging it with all the USEs off except for ruby just to see what it would install and recieved the following error:

$ USE="-python -java -perl -gtk -mozilla"  emerge -v kdebindings
[snip]
make[4]: Entering directory `/var/tmp/portage/kdebindings-3.2.0/work/kdebindings-3.2.0/qtjava/javalib'
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O2 -mcpu=i686 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common    -o javalib -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib   main.o ./qtjava/libqtjava.la -lqt-mt  -lz -lpng -lz -lm -lXext -lX11  -lSM -lICE -lpthread
cf qtjava.jar org/kde/qt/*.class
/bin/sh: line 1: cf: command not found
make[4]: *** [qtjava.jar] Error 127
make[4]: Leaving directory `/var/tmp/portage/kdebindings-3.2.0/work/kdebindings-3.2.0/qtjava/javalib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdebindings-3.2.0/work/kdebindings-3.2.0/qtjava/javalib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebindings-3.2.0/work/kdebindings-3.2.0/qtjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebindings-3.2.0/work/kdebindings-3.2.0'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebindings-3.2.0 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 2 Ian Monroe 2004-03-07 14:05:11 UTC
Bug #39841 mentions the problem as well, not really the same bug though.
Comment 3 Alexander Kellett 2004-06-07 04:15:25 UTC
grep DO_NO_COMPILE *
remove the qtruby / korundum stuff via a patch in
the ebuild, and qtruby will build...
i'll create a ebuild for qtruby only soon.
Alex
Comment 4 Dan Armak (RETIRED) gentoo-dev 2004-11-06 09:23:26 UTC
I just committed 'split' kdebindings (3.3.1) ebuilds into the main portage tree. Testing is solicited - I intend to unmask them soon. Split ebuilds for all the other kde-base packages are available at kde-metaebuilds.berlios.de.

What this means: you can now emerge just the bindings you want (or all of them, of course) as separate packages with interdependencies and so forth. In particular, you can run 'emerge qtruby'. The new packages are all in the kde-base category (and the kdebindings-meta package depends on all of them).
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2004-12-06 17:55:33 UTC
so we'll call this bug fixed