oab-java6 icon indicating copy to clipboard operation
oab-java6 copied to clipboard

oab-java.sh (0.3.0) fails in current state

Open brendandc opened this issue 11 years ago • 8 comments

I get the following error in the log: cp -a x64/jre debian/oracle-java7-bin/usr/lib/jvm/java-7-oracle-1.7.0.51 cp: cannot stat `x64/jre': No such file or directory make: *** [binary-oracle-java7-bin] Error 1 dpkg-buildpackage: error: debian/rules binary gave error exit status 2 ^H^H8242's retcode: 2 success

And this in standard out: ERROR! Packages failed to build.

Somebody else filed: https://github.com/rraptorr/oracle-java7/issues/15 against oracle-java7 but they think its an issue here. It seemed like they had to change their format due to changes in dpkg (see comment in link).

For reference I am running the script on vagrant's precise64.box. Any other details, I'd be happy to provide.

brendandc avatar Jan 15 '14 20:01 brendandc

Just a heads up but I believe #119 is an older report of this issue.

shinji257 avatar Jan 18 '14 17:01 shinji257

I've somewhat similar issue regardless of the architecture

cp -a x64/jre debian/oracle-java7-bin/usr/lib/jvm/java-7-oracle-1.7.0.51 cp: cannot stat `x64/jre': No such file or directory make: *** [binary-oracle-java7-bin] Error 1 dpkg-buildpackage: error: debian/rules binary gave error exit status 2 ^H^H29243's retcode: 2

cp -a i586/jre debian/oracle-java7-bin/usr/lib/jvm/java-7-oracle-1.7.0.51 cp: cannot stat `i586/jre': No such file or directory make: *** [binary-oracle-java7-bin] Error 1 dpkg-buildpackage: error: debian/rules binary gave error exit status 2 9696's retcode: 2

x3bandy avatar Jan 23 '14 06:01 x3bandy

Try the referenced pull request an see if it works for you when manually applied. Hopefully the maintainer will accept the patch.

shinji257 avatar Jan 23 '14 07:01 shinji257

Thanks!

I can confirm that it works

x3bandy avatar Jan 23 '14 07:01 x3bandy

yup worked for me

wget https://raw.github.com/ladios/oab-java6/70408f49e9e5b44820354b630220ca2c0c1060a7/oab-java.sh -O oab-java.sh

for now...

drdamour avatar Feb 11 '14 06:02 drdamour

Unable to make it work :( Tried different versions of oab-java.sh. Also, from ladios. Tried script mentiod by @drdamour OS: Debian Jessie

Using rraptorr/oracle-java7 directly works. It seems that something wrong with paths.

UPD: I've used master of rraptorr/oracle-java7

jsirex avatar Apr 01 '14 15:04 jsirex

Update to previous post: recently make it works with branch from ladios/master

jsirex avatar Apr 24 '14 11:04 jsirex

Yeah, same as jsirex, https://github.com/ladios/oab-java6/blob/master/oab-java.sh works with Java 8. Any chances this repository will be updated?

zasran avatar Apr 29 '14 23:04 zasran