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

ERROR! Packages failed to build. #57

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

ERROR! Packages failed to build. #57

diolwe opened this issue Sep 3, 2012 · 3 comments

Comments

@diolwe
Copy link

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
Copy link

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
Copy link

There is a patch for this in issue #56

@diolwe
Copy link
Author

diolwe commented Sep 11, 2012

Thank you! That solved it.

@diolwe diolwe closed this as completed Sep 11, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants