Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53099 - kdebindings 3.2.2 fails to build
Summary: kdebindings 3.2.2 fails to build
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 All
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-05 17:15 UTC by Per Wigren
Modified: 2004-12-06 19:28 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Per Wigren 2004-06-05 17:15:37 UTC
kdebindings try to build java-bindings even though I have -java in my USE-flags, and it fails:

Making all in qtjava
make[4]: Entering directory `/var/tmp/portage/kdebindings-3.2.2/work/kdebindings-3.2.2/qtjava/javalib/qtjava'
/usr/qt/3/bin/moc ./JavaSlot.h -o JavaSlot.moc
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -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 -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  -c -o JavaSlot.lo JavaSlot.cpp
In file included from JavaSlot.moc:11,
                 from JavaSlot.cpp:22:
JavaSlot.h:23:17: jni.h: No such file or directory
In file included from JavaSlot.moc:11,
                 from JavaSlot.cpp:22:
JavaSlot.h:50: error: parse error before `*' token
JavaSlot.h:57: error: `JNIEnv' was not declared in this scope
JavaSlot.h:57: error: `env' was not declared in this scope
JavaSlot.h:57: error: `jobject' was not declared in this scope
JavaSlot.h:57: error: parse error before `,' token
JavaSlot.h:62: error: `JNIEnv' was not declared in this scope
JavaSlot.h:62: error: `env' was not declared in this scope
JavaSlot.h:62: error: `jstring' was not declared in this scope
JavaSlot.h:62: error: parse error before `,' token
JavaSlot.h:70: error: `JNIEnv' was not declared in this scope
JavaSlot.h:70: error: `env' was not declared in this scope
JavaSlot.h:70: error: `jstring' was not declared in this scope
JavaSlot.h:70: error: parse error before `,' token
JavaSlot.h:176: error: `jobjectArray' was not declared in this scope
JavaSlot.h:176: error: parse error before `)' token
JavaSlot.h:179: error: 'jobject' is used as a type, but is not defined as a
   type.
JavaSlot.h:188: error: `JNIEnv' was not declared in this scope
JavaSlot.h:188: error: `env' was not declared in this scope

[A LOT of related errors removed]

JavaSlot.cpp:2362: error: syntax error before `{' token
JavaSlot.cpp:2366: error: cannot declare member function `JavaSignal::
   JavaSignal' within `JavaSlot'
JavaSlot.cpp:2366: error: syntax error before `{' token
JavaSlot.cpp:2370: error: parse error before `)' token
JavaSlot.cpp:2371: error: cannot declare member function `JavaSignal::emitArgs'
   within `JavaSlot'
JavaSlot.cpp:2371: error: syntax error before `{' token
make[4]: *** [JavaSlot.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdebindings-3.2.2/work/kdebindings-3.2.2/qtjava/javalib/qtjava'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdebindings-3.2.2/work/kdebindings-3.2.2/qtjava/javalib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdebindings-3.2.2/work/kdebindings-3.2.2/qtjava'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdebindings-3.2.2/work/kdebindings-3.2.2'
make: *** [all] Error 2

!!! ERROR: kde-base/kdebindings-3.2.2 failed.
!!! Function kde_src_compile, Line 129, Exitcode 2
!!! died running emake, kde_src_compile:make
Comment 1 Per Wigren 2004-06-06 01:01:55 UTC
I made it compile by using USE="java", but as mentioned in bug 43913 it didn't install the Ruby-bindings which was why in wanted kdebindings in the first place :(
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2004-06-16 08:56:07 UTC
what happens if you throw in a DO_NOT_COMPILE="qtjava"?  The java use flag turned off triggers "--without-java" which is the only java related option I can see in the configure script, so I don't know why it tries to build it.

I'm not sure why qtruby isn't built.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-09-20 15:42:47 UTC
Is this still a problem in KDE 3.3 Per?
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2004-12-06 19:28:12 UTC
should work now.