Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Syntax error, retcode 2, ubuntu 10.04 #77

Closed
dfreelan opened this Issue Dec 28, 2012 · 0 comments

Comments

Projects
None yet
2 participants

what i'm running:
cd ~/
wget https://github.com/flexiondotorg/oab-java6/raw/0.2.4/oab-java.sh -O oab-java.sh
chmod +x
oab-java.sh
sudo ./oab-java.sh

Error on console:
[x] Building the packages success
ERROR! Packages failed to build.

last lines of log file:

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

what to do?!

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