Package: patch
Version: 2.7.1-6
Severity: important

patch(1) utility in jessie refuses to work on symlinks.  When the file
to be patched is a symlink, it produces the following error message:

  File FOO is not a regular file -- refusing to patch
  1 out of 1 hunk ignored -- saving rejects to file FOO.rej

This makes patch(1) basically useless for many our users.

The problem is that our workflow is hugely based around "local patching"
of symlinked trees.  For example, given an original linux kernel source
tree, symlink it to a temp directory (maybe on a separate tmpfs) apply some
local patch and build it (with ccache).

wheezy version of patch(1) just replaced a symlink with a patched
file and all was well.  jessie version just refuses to work.

For now I downgraded patch(1) package to the one from wheezy and added
an apt-preferencs pin for it.

Thanks,

/mjt


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to