Bug#776257: Fails to apply patch with dangling symlink

Michael Biebl biebl at debian.org
Mon Jan 26 00:55:57 GMT 2015


Package: patch
Version: 2.7.3-1
Severity: serious

Hi,

the latest update of patch broke the systemd package and causes it to
FTBFS:

dpkg-source: info: applying escape-beef-up-new-systemd-escape-tool.patch
patching symbolic link src/escape/Makefile
symbolic link target '../Makefile' is invalid
dpkg-source: info: the patch has fuzz which is not allowed, or is malformed
dpkg-source: info: if patch 'escape-beef-up-new-systemd-escape-tool.patch' is correctly applied by quilt, use 'quilt refresh' to update it
dpkg-source: info: restoring quilt backup files for escape-beef-up-new-systemd-escape-tool.patch
dpkg-source: error: LC_ALL=C patch -t -F 0 -N -p1 -u -V never -g0 -E -b -B .pc/escape-beef-up-new-systemd-escape-tool.patch/ --reject-file=- < systemd-215/debian/patches/escape-beef-up-new-systemd-escape-tool.patch gave error exit status 2


Issue is trivial to reproduce, simply run "apt-get source systemd".
The patch creates a dangling symlink, which is nothing extraordinary
which worked with older versions of "patch".
Downgrading to the version which is currently in jessie fixes the issue.

Marking as RC, since this is causing other packages to FTBFS and
therefore shouldn't migrate to testing.

Michael


-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages patch depends on:
ii  libc6  2.19-13

patch recommends no packages.

Versions of packages patch suggests:
pn  diffutils-doc  <none>
ii  ed             1.10-2

-- no debconf information



More information about the Pkg-systemd-maintainers mailing list