Your message dated Sat, 23 Oct 2021 21:48:33 +0000
with message-id <[email protected]>
and subject line Bug#976679: fixed in commons-io 2.11.0-1
has caused the Debian Bug report #976679,
regarding commons-io: Fails to delete a symlink pointing to a non-existing file
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 [email protected]
immediately.)


-- 
976679: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=976679
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: commons-io
Version: 2.8.0
Severity: normal
Tags: patch

Hi,

Since version 2.8.0, commons-io fails at deleting a symlink when it points to 
nothing. Such situation was met in some tests of libsis-base-java (temporarily 
deactivated in order to face this issue), leading to bug #976490.

This issue is well-documented on the Apache issue tracker [0] and I'm proposing 
the enclosed patch by Bernd Rinn to get around it in version 2.8.0.

Bye,
Pierre

[0] https://issues.apache.org/jira/browse/IO-692


-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (90, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.9.0-4-amd64 (SMP w/4 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- org/apache/commons/io/file/PathUtils.java.orig      2020-01-22 
15:10:16.000000000 +0100
+++ org/apache/commons/io/file/PathUtils.java   2020-10-28 21:32:24.874024999 
+0100
@@ -358,7 +358,8 @@
         }
         final PathCounters pathCounts = Counters.longPathCounters();
         final boolean exists = Files.exists(file, LinkOption.NOFOLLOW_LINKS);
-        final long size = exists ? Files.size(file) : 0;
+        final boolean existsFollowLink = Files.exists(file);
+        final long size = existsFollowLink ? Files.size(file) : 0;
         if (overrideReadOnly(options) && exists) {
             setReadOnly(file, false, LinkOption.NOFOLLOW_LINKS);
         }

--- End Message ---
--- Begin Message ---
Source: commons-io
Source-Version: 2.11.0-1
Done: Markus Koschany <[email protected]>

We believe that the bug you reported is fixed in the latest version of
commons-io, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <[email protected]> (supplier of updated commons-io 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 23 Oct 2021 21:26:26 +0200
Source: commons-io
Architecture: source
Version: 2.11.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers 
<[email protected]>
Changed-By: Markus Koschany <[email protected]>
Closes: 976679
Changes:
 commons-io (2.11.0-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream version 2.11.0.
     - No longer fails to delete a symlink pointing to a non-existing file.
       (Closes: #976679)
   * Declare compliance with Debian Policy 4.6.0.
Checksums-Sha1:
 6ca836e5ec6e453c72c6a57f07f9764ca8dc020c 2370 commons-io_2.11.0-1.dsc
 119842d93a20807c7e1ed7a367dd759c8126b9ee 498841 commons-io_2.11.0.orig.tar.gz
 7d3ba6fa38da4a821c7eb0b4e002c900d19acc07 4488 commons-io_2.11.0-1.debian.tar.xz
 d5db48b8874d3342529f734b046068564f716996 13566 
commons-io_2.11.0-1_amd64.buildinfo
Checksums-Sha256:
 20d67b60ec8e04b8dee9deefc9d7d84263b4a869255025bcc3ec18ac5a5b214f 2370 
commons-io_2.11.0-1.dsc
 5a55361cf2b97228f94b3c65e3a4af784581debe322be551c44b2776db1c6483 498841 
commons-io_2.11.0.orig.tar.gz
 19321797d9d1155145d2634f645ab61047d75cf44b81bae604bb3627fd9fb27e 4488 
commons-io_2.11.0-1.debian.tar.xz
 847f4e42e6985ecafc2aeb2efca8cfd39578b9a59cb222b0de6d21268c5dff5b 13566 
commons-io_2.11.0-1_amd64.buildinfo
Files:
 90a8a6be31102f60623c4f805db859c5 2370 java optional commons-io_2.11.0-1.dsc
 25381bda2798306094bad2f26c528000 498841 java optional 
commons-io_2.11.0.orig.tar.gz
 280a3843e6407d3d275ba21420f6c84a 4488 java optional 
commons-io_2.11.0-1.debian.tar.xz
 dc43b5843d33082282bb5f93e7c3f82e 13566 java optional 
commons-io_2.11.0-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAmF0gFFfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1HkhjkQAIzLZ4MzyPOhKLOf4+3g7O+36tSdM8grWhni
mg5Aq6x4tfbtPZMXIAe1caLQOEmTfB055pq0Bnkbh6SWFkuWZ/Wa2qswqKvW/gkR
SkepKIQYUXRE9mTJZRKKnbszEV45gOKqSj++87mifHdquROwVs/sux+TPzQRaW8y
18w2Nh3LL1iXDvXwWvSnJsNM4ih6SSJdWwv5XshqOutzojT6aIZ/R1S+uuYE8kve
jOrp6/bWrbXvC1ZfSzIrEue4SEtE1MAYbNLpXHf07AnWvqKoT+aRaCnagIQ+cfGO
HAlec6Bte9FgC5BIDZdr7FxQ9iSEJ8c1OXtFnNUjcUHqOGugmwbhkXfoEBfQ3HZ8
auzVDcc6Bi7Lq76M+IVcSLP4t4/h5v3p1jMmCXaC5waNw1uUcoOQWtDoJcJZ7wS/
JH8FR+I3GbBZ0dBwQIB3QWhKEWt/gAP0/qBQrWlLRO0Ms4mjJ4/qiB3hWzM34p+6
0aAJaDu08eIEk01pKwhw+bSlRD5xCbpMnR6EIuuTYqbBlLXiQbBIgxISSiOmEbsP
3CY5NSAJU/SHagQUs7gTXmgsL1MKahL/JxHaszQyJZZjzJ4z+kghjinEVV38XjBK
woVcU6Pffs4qftGaJQu5WWxSdNjlTjmWfRYVdfeQhNpQLd0OFrB6EUkl8i3RUwwk
1EfsnG67
=FtAp
-----END PGP SIGNATURE-----

--- End Message ---
__
This is the maintainer address of Debian's Java team
<https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>.
 Please use
[email protected] for discussions and questions.

Reply via email to