Skip to content
This repository was archived by the owner on Apr 9, 2019. It is now read-only.
This repository was archived by the owner on Apr 9, 2019. It is now read-only.

ERROR! Packages failed to build. #58

@fuho

Description

@fuho

Output from script:

oab-java.sh v0.2.5 - Create a local 'apt' repository for Sun Java 6 and/or Oracle Java 7 packages.

Copyright (c) Martin Wimpress, http://flexion.org. MIT License

By running this script to download Java you acknowledge that you have
read and accepted the terms of the Oracle end user license agreement.

If you want to see what this is script is doing while it is running then execute
the following from another shell:

tail -f /home/omero/oab-java6/oab-java.sh.log

[x] Installing Java build requirements success
[x] Making build directories success
[x] Removing clones of https://github.com/rraptorr/sun-java6 success
[x] Cloning https://github.com/rraptorr/sun-java6 success
[x] Checking out v6.35-1 success
[x] Getting Java SE download page success
[x] Getting current release download page success
[x] Getting previous releases download page success
[x] Downloading jdk-6u35-linux-i586.bin : success
[x] Symlinking jdk-6u35-linux-i586.bin success
[x] Downloading jdk-6u35-linux-x64.bin : success
[x] Symlinking jdk-6u35-linux-x64.bin success
[x] Getting Java Cryptography Extension download page success
[x] Downloading jce_policy-6.zip : 8.89 KB success
[x] Symlinking jce_policy-6.zip success
[x] Updating the changelog success
[x] Building the packages success
ERROR! Packages failed to build.

This is the last part of the log (the one with error):

Build information

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

rm -rf jdk1.6.0_35
binsize=$(wc -c jdk-6u35-linux-i586.bin | awk '{print $1}');
zipstart=$(unzip -ql jdk-6u35-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-6u35-linux-i586.bin > tmp-jdk.zip
expr: syntax error
tail: jdk-6u35-linux-i586.bin: invalid number of bytes
make: *** [unpack-i586-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
��13917's retcode: 2
success

Running on fresh install of Ubuntu 11.04 64b server. Any idea what is going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions