Your message dated Sat, 07 Mar 2015 07:19:00 +0000
with message-id <e1yu90m-0004as...@franck.debian.org>
and subject line Bug#777122: fixed in patch 2.7.5-1
has caused the Debian Bug report #777122,
regarding patch: regression patching files via directory symlinks
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
777122: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777122
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: patch
Version: 2.7.4-1
Severity: serious
Justification: causes FTBFS in other packages

Hi,

I think patch now refuses a legitimate use of directory symlinks,
causing nvidia-graphics-drivers to FTBFS.
It does not involve creating symlinks and only uses relative "forward" symlinks
for directories, not the files involved, reproduce as follows:

mkdir -p a/link b/link
echo hello > a/link/file
echo world > b/link/file
diff -u a/link/file b/link/file > the.patch
rm -f a/link/file b/link/file
rmdir a/link b/link a b

mkdir dir
ln -s dir link
echo hello > dir/file

$ cat link/file
hello

$ patch -p1 --debug 32 < the.patch
Resolving path "link/" (failed)
Refusing to follow symbolic link link

$ patch -p1 --follow-symlinks --debug 32 < the.patch
Resolving path "link/" (failed)
Refusing to follow symbolic link link

The description of the --follow-symlinks option did not sound like it
was intended for this case (but rather for symlinks to file targets),
but I tried it anyway.

Looking at the code, getting into a ELOOP situation here sounds like a
logic flaw.


Andreas

--- End Message ---
--- Begin Message ---
Source: patch
Source-Version: 2.7.5-1

We believe that the bug you reported is fixed in the latest version of
patch, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 777...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Laszlo Boszormenyi (GCS) <g...@debian.org> (supplier of updated patch package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sat, 07 Mar 2015 06:27:14 +0000
Source: patch
Binary: patch
Architecture: source amd64
Version: 2.7.5-1
Distribution: unstable
Urgency: medium
Maintainer: Laszlo Boszormenyi (GCS) <g...@debian.org>
Changed-By: Laszlo Boszormenyi (GCS) <g...@debian.org>
Description:
 patch      - Apply a diff file to an original
Closes: 777122
Changes:
 patch (2.7.5-1) unstable; urgency=medium
 .
   * New upstream release.
   * Fix symlink directory regression (closes: #777122).
   * Update Standards-Version to 3.9.6 .
Checksums-Sha1:
 63aee4f9f8b13d4734557c745db78216d99d7787 1795 patch_2.7.5-1.dsc
 8fd8f8f8ba640d871bce1bd33c7fd5e2ebe03a1e 727704 patch_2.7.5.orig.tar.xz
 9208549344c913cf055622f7db9ae34f184a7d3b 8116 patch_2.7.5-1.debian.tar.xz
 f5218d69afa4e63dd6bdebc838917ec5927d8868 109154 patch_2.7.5-1_amd64.deb
Checksums-Sha256:
 909ac12aa395f8b32a4524dcea67207567e99d2560e2a833ba577ec64c4cc1bd 1795 
patch_2.7.5-1.dsc
 fd95153655d6b95567e623843a0e77b81612d502ecf78a489a4aed7867caa299 727704 
patch_2.7.5.orig.tar.xz
 c5b9797658fdc1c150072fc9568279bd62c591b2fc43fa6d33750a9a4e8f0ddd 8116 
patch_2.7.5-1.debian.tar.xz
 4216a864e12ac63833bca0131b93efd867cde5c9847a2a05c608eeec3dbb3b79 109154 
patch_2.7.5-1_amd64.deb
Files:
 a99f533a1d63f0369703e9169214100b 1795 vcs standard patch_2.7.5-1.dsc
 e3da7940431633fb65a01b91d3b7a27a 727704 vcs standard patch_2.7.5.orig.tar.xz
 916187a32b65aafca7b41c49168e9351 8116 vcs standard patch_2.7.5-1.debian.tar.xz
 26ab690459b20ce8c6bcaa4f421f49c0 109154 vcs standard patch_2.7.5-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJU+qUQAAoJENzjEOeGTMi/WnMQAJVaQypf/xFlIKdZztwDQWRB
8Tq/rwRTp75ewwMhdaKCYPE+N/9LOp6bTsLxOyfQHJWM3ZNAf/dXmYkOqD0uN0fK
SIXZPFkbGogj84DapBZbkg3kGj1YuiKmj3pPBVVqxMZ1ykUYNgrpNXy3JA7YJR0c
zsPpj7qXK2YmLzGtnQsj65nVTFz2uRaErFUWyipXn+rD541K0ESf0M6nLbGf9LQA
28vT9GODL01Hy5pglKf8HU8zy7wLBSz+9asXFqldkgA7/QFPAg6245Vz1U9DL8e4
Neka+NE+6b+/IAJ2a/AE+Z5EJOE2dKsgz4oExZGoSnBXO/HfecpCGEjGSDmlZdCH
ezFXHoh79GgqmAFhaTBZ0r6PvSc7cQ4C/WEUndIosx3MnQC35ikMXjtbRQOw5xqw
+KCssK6sE9xptRB4wV/mVdtJj2VIu5rnOtQWNwVSFS0NH//3eKVg3GSPAdyjp3C1
yeThj4eLBz2L7LIDRjjtq30LjY8dFzBBvceEU3vTrrpHVdso1YSnkdXDrbot+tuc
hrsupPcMRQs+QMtk3FEt7zYuK4Mh86Lyr5m9PfT1fbDIfqLUghMshXRJCrL5yFgg
KqHnZw8OR2RK4JHU3h11TWlvORplmLIFsmxvyD3RH/+4qwsgBqqsPy94/r2MOX3R
Pge4f6O+PnWmfH2FYKeq
=ZiWc
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to