flexiondotorg / oab-java6

Create a local 'apt' repository for Sun Java 6 and/or Oracle Java 7 packages.
Other
625 stars 171 forks source link

Syntax error, retcode 2, ubuntu 10.04 #77

Closed dfreelan closed 11 years ago

dfreelan commented 11 years ago

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