Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Packages failed to build #39

zgorbe opened this Issue · 1 comment

3 participants


I got the following error when executing the script (on Ubuntu 10.04 64 bit):
[x] Symlinking jdk-6u33-linux-i586.bin success
[x] Downloading jdk-6u33-linux-x64.bin : success
[x] Symlinking jdk-6u33-linux-x64.bin success
[x] Updating the changelog success
[x] Building the packages success
ERROR! Packages failed to build.

The end of the log file looks like this:

Build information

TOP = usr/lib/jvm
VENDOR = sun
PRODUCT = java6
basename = sun-java6
version = 6
releng_ver = 33
unpackdir = jdk1.6.0_33
srcdir = x64-jdk
all_archs = i586 x64
arch = x64
archdir = amd64
bin_pattern = jdk-6u33-linux-%.bin

rm -rf jdk1.6.0_33
binsize=$(wc -c jdk-6u33-linux-i586.bin | awk '{print $1}'); \
zipstart=$(unzip -ql jdk-6u33-linux-i586.bin 2>&1 >/dev/null | sed -n -e 's/.* ([0-9][0-9]) extra bytes./\1/p'); \
tail -c $(expr $binsize - $zipstart) jdk-6u33-linux-i586.bin >
expr: syntax error
tail: jdk-6u33-linux-i586.bin: invalid number of bytes
make: *** [unpack-i586-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
^H^H1774's retcode: 2

Could you help me please to find out the root cause of this problem?


this is due to oracle changing links around and sun-java needing the JCE, see the pull-requests for a working fix (until flexiondotorg fixes them). see #37, #38

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.