[Pkg-phototools-devel] Bug#782098: openexr, libopenexr-dev: directory vs. symlink conflict: /usr/share/doc/{openexr, libopenexr-dev} -> /usr/share/doc/libopenexr6

Andreas Beckmann anbe at debian.org
Sun Sep 13 18:48:48 UTC 2015


Control: found -1 2.2.0-3

On 2015-09-13 15:51, Mathieu Malaterre wrote:
> Andreas,
> 
> Could you please be little more verbose than just:

I wanted to followup with more information, but got distracted by something ...

> I have not been able to reproduce your issue using openexr 1.6.1-8.1
> -> openexr 2.2.0-3

now we get

0m58.5s ERROR: FAIL: silently overwrites files via directory symlinks:
  /usr/share/doc/libopenexr-dev/changelog.Debian.gz (libopenexr-dev) != /usr/share/doc/libopenexr6v5/changelog.Debian.gz (libopenexr6v5:amd64)
    /usr/share/doc/libopenexr-dev -> libopenexr6v5
  /usr/share/doc/libopenexr-dev/changelog.gz (libopenexr-dev) != /usr/share/doc/libopenexr6v5/changelog.gz (libopenexr6v5:amd64)
    /usr/share/doc/libopenexr-dev -> libopenexr6v5
  /usr/share/doc/libopenexr-dev/copyright (libopenexr-dev) != /usr/share/doc/libopenexr6v5/copyright (libopenexr6v5:amd64)
    /usr/share/doc/libopenexr-dev -> libopenexr6v5


Probably this should fix it (UNTESTED!):

in openexr.maintscript add (don't replace the existing bits, they will be needed for upgrades from jessie)

      symlink_to_dir /usr/share/doc/openexr libopenexr6v5 2.2.0-4~

and the corresponding bits for libopenexr-dev, too


Andreas

Hm, curious how many more packages will fall into this trap due to the GCC v5 library renames ...



More information about the Pkg-phototools-devel mailing list