Downloading JDK Broken #72

Closed
SeeJayEmm opened this Issue Dec 11, 2012 · 7 comments

Comments

Projects
None yet
8 participants
@SeeJayEmm

It appears that the downloads are broken again. Building fails, log snipped attached. Also files downloaded are the wrong size:

root@saffron:/var/local/oab/pkg# ls -l jdk-7*
-rw-r--r-- 1 root staff 2051 2012-12-11 17:03 jdk-7u9-linux-i586.tar.gz
-rw-r--r-- 1 root staff 2051 2012-12-11 17:03 jdk-7u9-linux-x64.tar.gz

Build information

TOP = usr/lib/jvm
VENDOR = oracle
RELEASE = 7
PRODUCT = java7
basename = oracle-java7
version = 7
releng_ver = 9
unpackdir = jdk1.7.0_09
srcdir = x64-jdk
all_archs = i586 x64
arch = x64
archdir = amd64
bin_pattern = jdk-7u9-linux-%.tar.gz

rm -rf jdk1.7.0_09
tar xf jdk-7u9-linux-i586.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
make: *** [unpack-i586-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2 585's retcode: 2

@2ndactinnovations

This comment has been minimized.

Show comment
Hide comment
@2ndactinnovations

2ndactinnovations Dec 13, 2012

Error comes from git tagging that returns the tags ordered by name (so v7.10 comes first when we expected it last). One temporary fix is to replace the line git tag -l | tail -n1 by git tag -l 'v7.1*' | tail - n1 (line 421). This will be ok I believe for all v7 updates till it reaches v7.2x

Error comes from git tagging that returns the tags ordered by name (so v7.10 comes first when we expected it last). One temporary fix is to replace the line git tag -l | tail -n1 by git tag -l 'v7.1*' | tail - n1 (line 421). This will be ok I believe for all v7 updates till it reaches v7.2x

@eugenp

This comment has been minimized.

Show comment
Hide comment
@eugenp

eugenp Dec 14, 2012

Bumping into the same problem - the workaround did not work either:

 [x] Checking out ==> standard input <==
v7.10-1 failed
 [i] Showing the last 5 lines from the logfile (/home/ubuntu/oab-java.sh.log)...
error: pathspec 'input' did not match any file(s) known to git.
error: pathspec '<==' did not match any file(s) known to git.
error: pathspec 'v7.10-1' did not match any file(s) known to git.                                                                                                                                                          28642's retcode: 1
failed

eugenp commented Dec 14, 2012

Bumping into the same problem - the workaround did not work either:

 [x] Checking out ==> standard input <==
v7.10-1 failed
 [i] Showing the last 5 lines from the logfile (/home/ubuntu/oab-java.sh.log)...
error: pathspec 'input' did not match any file(s) known to git.
error: pathspec '<==' did not match any file(s) known to git.
error: pathspec 'v7.10-1' did not match any file(s) known to git.                                                                                                                                                          28642's retcode: 1
failed
@ehsanullahjan

This comment has been minimized.

Show comment
Hide comment
@ehsanullahjan

ehsanullahjan Dec 15, 2012

I also got this error when trying to install Java 7 on Ubuntu 12.04.

I also got this error when trying to install Java 7 on Ubuntu 12.04.

@feugatos

This comment has been minimized.

Show comment
Hide comment
@feugatos

feugatos Dec 16, 2012

Guys has anyone found a workaround for this issue?

Guys has anyone found a workaround for this issue?

@SeeJayEmm

This comment has been minimized.

Show comment
Hide comment
@SeeJayEmm

SeeJayEmm Dec 16, 2012

I manually downloaded the missing files into /var/local/oab/pkg

jdk-7u9-linux-i586.tar.gz
jdk-7u9-linux-x64.tar.gz

This allowed the build to complete.

I manually downloaded the missing files into /var/local/oab/pkg

jdk-7u9-linux-i586.tar.gz
jdk-7u9-linux-x64.tar.gz

This allowed the build to complete.

@drdamour

This comment has been minimized.

Show comment
Hide comment
@drdamour

drdamour Dec 17, 2012

I got this issue to when trying to run with the -7 switch. the tar's downloaded are HTML files with this relevant text:

System error. Please re-try your action. If you continue to get this error, please contact the Administrator.

manually downloading the tar's from http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html and placing them in /var/local/oab/pkg was a successful work around.

maybe the script should do an MD5 check before trying to untar?

I got this issue to when trying to run with the -7 switch. the tar's downloaded are HTML files with this relevant text:

System error. Please re-try your action. If you continue to get this error, please contact the Administrator.

manually downloading the tar's from http://www.oracle.com/technetwork/java/javase/downloads/jdk7u9-downloads-1859576.html and placing them in /var/local/oab/pkg was a successful work around.

maybe the script should do an MD5 check before trying to untar?

@rywall rywall referenced this issue Jan 6, 2013

Closed

Fix for issue #74 #75

@helterscelter

This comment has been minimized.

Show comment
Hide comment
@helterscelter

helterscelter Jan 8, 2013

at least one comment on the pull request rywall referenced above indicates that the patch may fix this issue as well. (based on the conversation above it makes sense that this would be the case)
#75

at least one comment on the pull request rywall referenced above indicates that the patch may fix this issue as well. (based on the conversation above it makes sense that this would be the case)
#75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment