First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 155889
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gnome Accessibility <gnome-accessibility@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Michael Cramer <portage@bigmichi1.dyndns.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
java-access-bridge-1.6.0.patch a possible patch patch Vlastimil Babka (Caster) 2006-12-14 06:20 0000 628 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 155889 depends on: Show dependency tree
Show dependency graph
Bug 155889 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-11-21 13:42 0000
got this with the latest versions in portage:

make[6]: Nothing to be done for `all-am'.
make[6]: Leaving directory
`/var/tmp/portage/app-accessibility/gnome-speech-0.4.6/work/gnome-speech-0.4.6/drivers/freetts/java/org'
make[5]: Leaving directory
`/var/tmp/portage/app-accessibility/gnome-speech-0.4.6/work/gnome-speech-0.4.6/drivers/freetts/java/org'
make[5]: Entering directory
`/var/tmp/portage/app-accessibility/gnome-speech-0.4.6/work/gnome-speech-0.4.6/drivers/freetts/java'
/opt/sun-jdk-1.4.2.12/bin/javac -source 1.4 -d . \
        -classpath
../../../java/gnome-speech.jar:/usr/share/java-access-bridge/lib//gnome-java-bridge.jar:/usr/share/freetts/lib/freetts.jar:/usr/share/freetts/lib/en_us.jar:/usr/share/freetts/lib/cmulex.jar:/usr/share/freetts/lib/cmu_us_kal.jar
\
        ./org/GNOME/Speech/*.java
./org/GNOME/Speech/FreeTTSSpeaker.java:12: cannot access
org.GNOME.Bonobo.UnknownImpl
bad class file:
/usr/share/java-access-bridge/lib/gnome-java-bridge.jar(org/GNOME/Bonobo/UnknownImpl.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the
classpath.
public class FreeTTSSpeaker extends UnknownImpl implements SpeakerOperations {
                                    ^
1 error
make[5]: *** [org/GNOME/Speech/*.class] Error 1
make[5]: Leaving directory
`/var/tmp/portage/app-accessibility/gnome-speech-0.4.6/work/gnome-speech-0.4.6/drivers/freetts/java'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/var/tmp/portage/app-accessibility/gnome-speech-0.4.6/work/gnome-speech-0.4.6/drivers/freetts/java'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/var/tmp/portage/app-accessibility/gnome-speech-0.4.6/work/gnome-speech-0.4.6/drivers/freetts'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/app-accessibility/gnome-speech-0.4.6/work/gnome-speech-0.4.6/drivers'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/app-accessibility/gnome-speech-0.4.6/work/gnome-speech-0.4.6'
make: *** [all] Error 2

!!! ERROR: app-accessibility/gnome-speech-0.4.6 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ebuild.sh, line 1261:   Called gnome2_src_compile
  gnome2.eclass, line 64:   Called die

!!! compile failure
!!! If you need support, post the topmost build error, and the call stack if
relevant.



changing the inherit in gnome-speech-0.4.6 to java-pkg-2 fixes this

------- Comment #1 From Petteri Räty 2006-11-21 14:10:31 0000 -------
Should really make our packages fail with JAVA_PKG_STRICT and 1.5 bytecode
installed with >=virtual/jre-1.4

------- Comment #2 From Vlastimil Babka (Caster) 2006-12-14 06:20:49 0000 -------
Created an attachment (id=104040) [edit]
a possible patch

The problem is that its configure system doesn't honour JAVACFLAGS variable.
The usual trick (export JAVAC="${JAVAC} ${JAVACFLAGS}" before calling
configure) also doesn't help, so I had to pass it to emake directly. If you
know of more elegant solution, I'd like to hear. The only build system I know
thoroughly is ant :)

------- Comment #3 From Leonardo Boshell 2006-12-18 19:50:10 0000 -------
Thanks for the fix Caster, I've committed it as is; I doubt there's a more
elegant way to fix it :).

@comment #0:
Please upgrade to java-access-bridge-1.6.0-r1 to avoid this problem.

First Last Prev Next    No search results available      Search page      Enter new bug