The ebuild roles along fine until --------------------------------- creating src/tools/Makefile creating Makefile creating java-gnome.spec creating java-gtk.spec sed: -e expression #1, char 78: Unknown option to `s' sed: -e expression #1, char 71: Unknown option to `s' sed: -e expression #1, char 102: Unknown option to `s' make -C src gtk-only make -C test gtk-only make[1]: Entering directory `/var/tmp/portage/java-gtk-0.7.1/work/java-gnome-0.7.1/src' make[1]: *** No rule to make target `gtk-only'. Stop. make[1]: Leaving directory `/var/tmp/portage/java-gtk-0.7.1/work/java-gnome-0.7.1/src' make: *** [distro] Error 2 make: *** Waiting for unfinished jobs.... make[1]: Entering directory `/var/tmp/portage/java-gtk-0.7.1/work/java-gnome-0.7.1/test' make[1]: *** No rule to make target `gtk-only'. Stop. make[1]: Leaving directory `/var/tmp/portage/java-gtk-0.7.1/work/java-gnome-0.7.1/test' make: *** [tests] Error 2 !!! ERROR: dev-java/java-gtk-0.7.1 failed. !!! Function src_compile, Line 44, Exitcode 2 !!! (no error message) ----------------------- Looks like the sed substitute delimeter is a colon which won't jive with $CLASSPATH being interpolated (as it contains colons). I tried fixing that and it just broke further along in the chain.
Created attachment 8089 [details, diff] java-gtk: as it worked for me Hi! As found in the forum dev-java/java-gtk-0.7.1.ebuild does not build on all systems. It didn't work on my system, so I made some changes to the ebuild and got it working. Changes were: 1) I commented the line JAVAC="`which jikes` -classpath $CLASSPATH:." \ out. I don't know want it does exactly, but it worked after removing it. 2) I substituted the ":" seperator in the sed -e lines since ${CLASSPATH} may contain unescaped ":" 3) I substituted the emake with a make. BTW, I did the same with the java-gnome ebuild. Greeting, Bj
Created attachment 8089 [details, diff] java-gtk: as it worked for me Hi! As found in the forum dev-java/java-gtk-0.7.1.ebuild does not build on all systems. It didn't work on my system, so I made some changes to the ebuild and got it working. Changes were: 1) I commented the line JAVAC="`which jikes` -classpath $CLASSPATH:." \ out. I don't know want it does exactly, but it worked after removing it. 2) I substituted the ":" seperator in the sed -e lines since ${CLASSPATH} may contain unescaped ":" 3) I substituted the emake with a make. BTW, I did the same with the java-gnome ebuild. Greeting, Björn Michaelsen ------------------------------------------------------------------- Björn Michaelsen bmichaelsen@t-email.de Hamburg, Germany gpg-fingerprint: D649 8C78 1CB1 23CF 5CCF CA1A C1B5 BBEC C9E5 A256 wwwkeys.pgp.net -------------------------------------------------------------------
Created attachment 8090 [details, diff] java-gnome: as it worked for me Hi! As found in the forum dev-java/java-gtk-0.7.1.ebuild does not build on all systems. It didn't work on my system, so I made some changes to the ebuild and got it working. Changes were: 1) I commented the line JAVAC="`which jikes` -classpath $CLASSPATH:." \ out. I don't know want it does exactly, but it worked after removing it. 2) I substituted the ":" seperator in the sed -e lines since ${CLASSPATH} may contain unescaped ":" 3) I substituted the emake with a make. BTW, I did the same with the java-gnome ebuild. Greeting, Bj
Created attachment 8090 [details, diff] java-gnome: as it worked for me Hi! As found in the forum dev-java/java-gtk-0.7.1.ebuild does not build on all systems. It didn't work on my system, so I made some changes to the ebuild and got it working. Changes were: 1) I commented the line JAVAC="`which jikes` -classpath $CLASSPATH:." \ out. I don't know want it does exactly, but it worked after removing it. 2) I substituted the ":" seperator in the sed -e lines since ${CLASSPATH} may contain unescaped ":" 3) I substituted the emake with a make. BTW, I did the same with the java-gnome ebuild. Greeting, Björn Michaelsen ------------------------------------------------------------------- Björn Michaelsen bmichaelsen@t-email.de Hamburg, Germany gpg-fingerprint: D649 8C78 1CB1 23CF 5CCF CA1A C1B5 BBEC C9E5 A256 wwwkeys.pgp.net -------------------------------------------------------------------
*** Bug 13223 has been marked as a duplicate of this bug. ***
fixed up, should work now no problems (workedhere)