Your message dated Sat, 20 Oct 2018 19:11:52 +0000
with message-id <e1gdwfa-000cfp...@fasolo.debian.org>
and subject line Bug#910233: fixed in subversion 1.10.3-1
has caused the Debian Bug report #910233,
regarding libsvn-{dev,java}: unhandled symlink to directory conversion: 
/usr/share/doc/PACKAGE
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.)


-- 
910233: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910233
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libsvn-dev,libsvn-java
Version: 1.10.2-1
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

an upgrade test with piuparts revealed that your package installs files
over existing symlinks and possibly overwrites files owned by other
packages. This usually means an old version of the package shipped a
symlink but that was later replaced by a real (and non-empty)
directory. This kind of overwriting another package's files cannot be
detected by dpkg.

This was observed on the following upgrade paths:

  wheezy -> jessie -> stretch -> buster

For /usr/share/doc/PACKAGE this may not be problematic as long as both
packages are installed, ship byte-for-byte identical files and are
upgraded in lockstep. But once one of the involved packages gets
removed, the other one will lose its documentation files, too,
including the copyright file, which is a violation of Policy 12.5:
https://www.debian.org/doc/debian-policy/ch-docs.html#copyright-information

For other overwritten locations anything interesting may happen.

Note that dpkg intentionally does not replace directories with symlinks
and vice versa, you need the maintainer scripts to do this.
See in particular the end of point 4 in
https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html#details-of-unpack-phase-of-installation-or-upgrade

It is recommended to use the dpkg-maintscript-helper commands
'dir_to_symlink' and 'symlink_to_dir' (available since dpkg 1.17.14)
to perform the conversion, ideally using d/$PACKAGE.maintscript.
Do not forget to add 'Pre-Depends: ${misc:Pre-Depends}' in d/control.
See dpkg-maintscript-helper(1) and dh_installdeb(1) for details.


>From the attached log (scroll to the bottom...):

1m32.4s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libsvn-dev/changelog.Debian.gz (libsvn-dev:amd64) != 
/usr/share/doc/libsvn1/changelog.Debian.gz (libsvn1:amd64)
    /usr/share/doc/libsvn-dev -> /usr/share/doc/libsvn1
  /usr/share/doc/libsvn-dev/changelog.gz (libsvn-dev:amd64) != 
/usr/share/doc/libsvn1/changelog.gz (libsvn1:amd64)
    /usr/share/doc/libsvn-dev -> /usr/share/doc/libsvn1
  /usr/share/doc/libsvn-dev/copyright (libsvn-dev:amd64) != 
/usr/share/doc/libsvn1/copyright (libsvn1:amd64)
    /usr/share/doc/libsvn-dev -> /usr/share/doc/libsvn1

1m37.7s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libsvn-java/changelog.Debian.gz (libsvn-java) != 
/usr/share/doc/libsvn1/changelog.Debian.gz (libsvn1:amd64)
    /usr/share/doc/libsvn-java -> /usr/share/doc/libsvn1
  /usr/share/doc/libsvn-java/changelog.gz (libsvn-java) != 
/usr/share/doc/libsvn1/changelog.gz (libsvn1:amd64)
    /usr/share/doc/libsvn-java -> /usr/share/doc/libsvn1
  /usr/share/doc/libsvn-java/copyright (libsvn-java) != 
/usr/share/doc/libsvn1/copyright (libsvn1:amd64)
    /usr/share/doc/libsvn-java -> /usr/share/doc/libsvn1


Even if it was forgotten to properly handle this transition
in jessie, it is not too late to finally clean this up for buster.


cheers,

Andreas

Attachment: libsvn-dev_1.10.2-1.log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: subversion
Source-Version: 1.10.3-1

We believe that the bug you reported is fixed in the latest version of
subversion, 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 910...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
James McCoy <james...@debian.org> (supplier of updated subversion 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: SHA512

Format: 1.8
Date: Sat, 20 Oct 2018 14:27:55 -0400
Source: subversion
Binary: subversion libsvn1 libsvn-dev libsvn-doc libapache2-mod-svn 
python-subversion subversion-tools libsvn-java libsvn-perl ruby-svn
Architecture: source
Version: 1.10.3-1
Distribution: unstable
Urgency: medium
Maintainer: James McCoy <james...@debian.org>
Changed-By: James McCoy <james...@debian.org>
Description:
 libapache2-mod-svn - Apache Subversion server modules for Apache httpd
 libsvn-dev - Development files for Apache Subversion libraries
 libsvn-doc - Developer documentation for libsvn
 libsvn-java - Java bindings for Apache Subversion
 libsvn-perl - Perl bindings for Apache Subversion
 libsvn1    - Shared libraries used by Apache Subversion
 python-subversion - Python bindings for Apache Subversion
 ruby-svn   - Ruby bindings for Apache Subversion
 subversion - Advanced version control system
 subversion-tools - Assorted tools related to Apache Subversion
Closes: 910233
Changes:
 subversion (1.10.3-1) unstable; urgency=medium
 .
   * Update to new upstream version 1.10.3.
   * lintian:
     + Update libapache2-mod-svn override due to tag being renamed
     + Add libsvn1 override for package-name-doesnt-match-sonames
   * libsvn-{java,dev}: Use absolute target path for symlink_to_dir calls
     (Closes: #910233)
   * rules: Allow quiet builds when DEB_BUILD_OPTIONS=terse
   * Declare compliance with Policy 4.2.1
   * libsvn-java: Remove obsolete libsvn-jni Conflicts/Replaces
   * Update release notes
Checksums-Sha1:
 99bf0699cbdf4c099638a6a50bd0206e8d42e820 3516 subversion_1.10.3-1.dsc
 745fa03956a25b8ff0af548e1eed68904f8d7e7c 11343430 subversion_1.10.3.orig.tar.gz
 a32d4e708d73af12bd4630fbf24ea292d0a926dc 2093 subversion_1.10.3.orig.tar.gz.asc
 228112ef4ba20d1d550b6a87393c85fb9f5c20ef 2404068 
subversion_1.10.3-1.debian.tar.xz
Checksums-Sha256:
 79fb744f871e7ebb0ea5cee55727d77561b191fcf685100da2a06828cc415117 3516 
subversion_1.10.3-1.dsc
 001ed5498a9e43e370756a0bc804c417ebee6df022ff291c0bb64dc6ba63fda0 11343430 
subversion_1.10.3.orig.tar.gz
 b2127023d245b1c6c09fb59897d6f5ee3442b6dc7959517a6818a8aa83668b63 2093 
subversion_1.10.3.orig.tar.gz.asc
 ec45a8b3c09a5144b19914a848ade0d3d95ee9bc0cd12fcf30347d3b1f1cbee1 2404068 
subversion_1.10.3-1.debian.tar.xz
Files:
 1179a7df16543449ae2e9eb067776c46 3516 vcs optional subversion_1.10.3-1.dsc
 c9ba07038c1107183099c62d93b6262a 11343430 vcs optional 
subversion_1.10.3.orig.tar.gz
 f07b54b41d52de7f518bbe6f4242a0f5 2093 vcs optional 
subversion_1.10.3.orig.tar.gz.asc
 d41fd134abf39131161db460635052e2 2404068 vcs optional 
subversion_1.10.3-1.debian.tar.xz

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

iQKoBAEBCgCSFiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAlvLdehfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx
QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIUHGphbWVzc2Fu
QGRlYmlhbi5vcmcACgkQ3+aRrjMbo9tXAg//ZU6aIVhewCxWFNVqLqiFUpir4+Lz
EruZOywiwH3nn7by2jjFdIPBoCN9+og2xrcPM9PoDGP0CDKjIPwo7FdZosprUqVl
i2o3OFxagTPBZcZhVQJ3ufqPSOIuXdJ3hoWy56L62OYVvvUd4cERUPD1FaSTj4Gv
oQUm7Zh9Cq4O/8jEi32lqx2U+yzSnTiWFJg84GJC0FpGyRT/TULpKIKB3NEzqvQw
YFNu3P/ME091ju/BbwZsK+NsN6Qj/64FjIMVdqpx2m3so3vZAhZtQaVpl8HCmYT6
32bXqMoJY+dFlaHOdmXCUf2TeFQlQfJ7V7KR220PD9nyDMRJSgvDf6Pdz1EQjUAu
iUS2du4UE8oqSab45e6SOpuL0dljK1sVVMfSTajwh90G4mRFSOH+gwv01LK9m1PV
bc5ysXMiDTQych5SJ0HLTwyD913ifG/Q5jPHjQqnm9BtmH+GGhNOoUBCA2SSu4hd
naCezDdYmSJTzMiX9uBa/qkp3Zfzuozl208gsCMhe5Y9dRoGYg6Jk4kstwxbhTk0
4ST/LSSi5P/FgAq3SBlv0avhK212iaTDmr7Yr5VTv7YrIa441/Nao0S6t51pVtvm
zsWQ4q+HEpI9AAdPkE9AevPupaN4AFPXOUgzYjLNBjjZ72kmKSU7J1tAuZWTab3F
BPu4N89k/1AVgqA=
=xLU1
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to