Liraz Siri's picture

I don't think we've successfully tested applying a patch from a 64bit system, so beric may be right and this is an environment issue. If you chroot from a 64bit into a 32bit system, things can get a little bit hairy.

So try patching tklpatch-chroot. Prepend "linux32" to this command:

$bin $root env -i \
    HOME=/root \
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/bin:/usr/sbin \
    DEBIAN_FRONTEND=noninteractive \
    /bin/sh -c "$command"
So it looks like this:
linux32 $bin $root env -i \
    HOME=/root \
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/bin:/usr/sbin \
    DEBIAN_FRONTEND=noninteractive \
    /bin/sh -c "$command"
If that's the problem then we should be able to fix it somehow (e.g., maybe by detecting a 64bit environment, etc.)