Your message dated Wed, 10 Oct 2018 11:35:03 +0000
with message-id <e1gaclb-000hct...@fasolo.debian.org>
and subject line Bug#910233: fixed in subversion 1.11.0~rc2-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.11.0~rc2-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: Tue, 09 Oct 2018 22:21:31 -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.11.0~rc2-1
Distribution: experimental
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.11.0~rc2-1) experimental; urgency=medium
 .
   * Update to new upstream version 1.11.0~rc2.
     + Drop java patch now that upstream can build against Java 10
   * control:
     + Bump minimum Java version to 1.8
     + Bump Build-Conflicts on libsvn-dev
   * Add 1.11 release notes and update others
   * libsvn1: Add new symbols, remove obsolete experimental shelving APIs
   * 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
Checksums-Sha1:
 e690ee6b9c0a6c59dc0dfbe4c700a5fbd220a3c7 3583 subversion_1.11.0~rc2-1.dsc
 b1c4a40e0a8d4569cfedb0ae8e33e1c99d5e7f3c 11460925 
subversion_1.11.0~rc2.orig.tar.gz
 4af103ac49be247e910fe329983643ea0f2f904f 2107 
subversion_1.11.0~rc2.orig.tar.gz.asc
 97814da23af0d5f9f0934c7eeefa9c4513685b6c 2406088 
subversion_1.11.0~rc2-1.debian.tar.xz
Checksums-Sha256:
 3959f66d7a5ea95a3d2ce50b59a08a7f09a9a62aed1c60eb8c83a8b48c46def3 3583 
subversion_1.11.0~rc2-1.dsc
 70bada0da4f3e34d43ded1c8c11b198d220b5532995bd8f1d9c27226858f40c2 11460925 
subversion_1.11.0~rc2.orig.tar.gz
 b5ea6f419d6755f1e80c7a8eeac352c110bb9c7ab995698dffc3715abb546cb2 2107 
subversion_1.11.0~rc2.orig.tar.gz.asc
 1ef733f1dbcb9dd466acd16b9a9331e0598433e6b54a93a1ba8067d65c9e63a3 2406088 
subversion_1.11.0~rc2-1.debian.tar.xz
Files:
 b4c72bb43d7a1af54e724e7d763b82f8 3583 vcs optional subversion_1.11.0~rc2-1.dsc
 304890d7218047ac2e0f7d6e5b260f10 11460925 vcs optional 
subversion_1.11.0~rc2.orig.tar.gz
 91374ee3d456b675056bc04d38be4e8a 2107 vcs optional 
subversion_1.11.0~rc2.orig.tar.gz.asc
 1bfc64665e62814e2fad60129db2d653 2406088 vcs optional 
subversion_1.11.0~rc2-1.debian.tar.xz

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

iQKoBAEBCgCSFiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAlu94RhfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx
QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIUHGphbWVzc2Fu
QGRlYmlhbi5vcmcACgkQ3+aRrjMbo9uqbA//YCCajwWwQFu+dr+NqxrSjIIHmMiL
rIVDyJyGmEfs3Kek/tI1nP9daEU0HuodDzRHa4h29rY1Q7mUdXjqzDuDy6lMRPU2
4+KXFFGQeS214/0KltGRrt+tCp8VQZdnyBqmKdTG0Nxj/ofCYRviWR48NE0Ie6B1
csg9SylMsoo7hBmHNkBzFFOlquZlTPBI9T878GK1M944SHQZRUEKIMAoAeRilSDz
ThZHt8kynOLtSLHMVlT2MVFPhKiuFk0fMT+1G5OXmIUfRuh9C6Myb6Yn3pzicPKa
ImUVivX+eG2d8ivQW8F0c3XISBVZbbRya2E6pqUokEB3Ykk2PQEdDzZ7D+EKJbWo
ltRN2y5V2hvjvLLAdMbpPw2s1fnk8TVJHg3TrGNNaIXZWhVy5DKDVY8G7oCyVuoD
9HoXAaoqJNCTKUwTJ7scQzDZgRBsiUsgpTyYwF8rR4szXA6aBi1IscGK7klY4NCx
EzPQ2LLRu2kRqOWWiWLk0u8xe6KcuhSI85Rc0c1+1v0KG00oYuzAuQsS4FD1GIKE
Wxidw7MP55pOxZAT5INSHTA+1Ukgq/y0z0iFZjVkgJpBsWtAYT498vqGB4v+W26l
/DuMhZTNl9vdX7ZCdADnrBmjtf0sdIbaA0d9f6/4hm6tto7oKlnhmLojp1hkuuv0
4/PleT/cgHQ/3Ao=
=O4uR
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to