Skip to content

Downloading JDK Broken #72

SeeJayEmm opened this Issue Dec 11, 2012 · 7 comments

8 participants


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
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


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 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/
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

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


Guys has anyone found a workaround for this issue?


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


This allowed the build to complete.


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 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

Fix for issue #74 #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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.