Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14119 - java-gtk build failing . . . sed portions broken
Summary: java-gtk build failing . . . sed portions broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Todd Berman (RETIRED)
URL:
Whiteboard:
Keywords:
: 13223 (view as bug list)
Depends on: 15006
Blocks:
  Show dependency tree
 
Reported: 2003-01-17 17:03 UTC by Matthew M. Austin
Modified: 2003-05-03 15:52 UTC (History)
3 users (show)

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


Attachments
java-gtk: as it worked for me (java-gtk-0.7.1.ebuild,1.64 KB, patch)
2003-02-09 09:41 UTC, Björn Michaelsen
Details | Diff
java-gnome: as it worked for me (java-gnome-0.7.1.ebuild,2.01 KB, patch)
2003-02-09 09:43 UTC, Björn Michaelsen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew M. Austin 2003-01-17 17:03:56 UTC
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.
Comment 1 Björn Michaelsen 2003-02-09 09:41:34 UTC
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
Comment 2 Björn Michaelsen 2003-02-09 09:41:34 UTC
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
-------------------------------------------------------------------
Comment 3 Björn Michaelsen 2003-02-09 09:43:49 UTC
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
Comment 4 Björn Michaelsen 2003-02-09 09:43:49 UTC
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
-------------------------------------------------------------------
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-10 07:04:32 UTC
*** Bug 13223 has been marked as a duplicate of this bug. ***
Comment 6 Todd Berman (RETIRED) gentoo-dev 2003-05-03 15:52:49 UTC
fixed up, should work now no problems (workedhere)