ERROR! Packages failed to build. #57

Closed
diolwe opened this Issue Sep 3, 2012 · 3 comments

Projects

None yet

3 participants

@diolwe
diolwe commented Sep 3, 2012

I get the following errormessage after applying the fix to adjust to Oracles website changes for 6u35:

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] Fehler 1
dpkg-buildpackage: Fehler: debian/rules build gab Fehler-Exitstatus 2
^H^H23419's retcode: 2
success

Any ideas what's going wrong and how I can fix it? It used to work on this machine ...

@slhsen
slhsen commented Sep 5, 2012

I also get the same error on Ubuntu 10.04.3 LTS

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
^H^H5985's retcode: 2
success
@seanbright

There is a patch for this in issue #56

@diolwe
diolwe commented Sep 11, 2012

Thank you! That solved it.

@diolwe diolwe closed this Sep 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment