[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
Tue Apr 7 20:33:23 UTC 2015
Package: openexr,libopenexr-dev
Version: 1.6.1-9
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package does not
bahave sanely.
Your package ships:
drwxr-xr-x root/root 0 2015-01-28 13:58 ./usr/share/doc/
drwxr-xr-x root/root 0 2015-01-28 13:58 ./usr/share/doc/openexr/
-rw-r--r-- root/root 9585 2007-10-09 21:30 ./usr/share/doc/openexr/changelog.gz
-rw-r--r-- root/root 4092 2015-01-28 13:45 ./usr/share/doc/openexr/changelog.Debian.gz
-rw-r--r-- root/root 2003 2011-02-12 16:40 ./usr/share/doc/openexr/copyright
but openexr.postinst does:
if [ ! -L /usr/share/doc/openexr ]
then
rm -rf /usr/share/doc/openexr
ln -s /usr/share/doc/libopenexr6 /usr/share/doc/openexr
fi
>From the attached log (usually somewhere in the middle...):
0m32.7s ERROR: FAIL: silently overwrites files via directory symlinks:
/usr/share/doc/openexr/changelog.Debian.gz (openexr) != /usr/share/doc/libopenexr6/changelog.Debian.gz (libopenexr6:amd64)
/usr/share/doc/openexr -> /usr/share/doc/libopenexr6
/usr/share/doc/openexr/changelog.gz (openexr) != /usr/share/doc/libopenexr6/changelog.gz (libopenexr6:amd64)
/usr/share/doc/openexr -> /usr/share/doc/libopenexr6
/usr/share/doc/openexr/copyright (openexr) != /usr/share/doc/libopenexr6/copyright (libopenexr6:amd64)
/usr/share/doc/openexr -> /usr/share/doc/libopenexr6
0m33.3s ERROR: FAIL: debsums reports modifications inside the chroot:
/usr/share/doc/openexr/changelog.Debian.gz
Same for libopenexr-dev:
0m39.0s ERROR: FAIL: silently overwrites files via directory symlinks:
/usr/share/doc/libopenexr-dev/changelog.Debian.gz (libopenexr-dev) != /usr/share/doc/libopenexr6/changelog.Debian.gz (libopenexr6:amd64)
/usr/share/doc/libopenexr-dev -> /usr/share/doc/libopenexr6
/usr/share/doc/libopenexr-dev/changelog.gz (libopenexr-dev) != /usr/share/doc/libopenexr6/changelog.gz (libopenexr6:amd64)
/usr/share/doc/libopenexr-dev -> /usr/share/doc/libopenexr6
/usr/share/doc/libopenexr-dev/copyright (libopenexr-dev) != /usr/share/doc/libopenexr6/copyright (libopenexr6:amd64)
/usr/share/doc/libopenexr-dev -> /usr/share/doc/libopenexr6
You'll need to use
dpkg-maintscript-helper symlink_to_dir ...
to clean up the wrong symlinks properly.
cheers,
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openexr_1.6.1-9.log.gz
Type: application/gzip
Size: 10977 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-phototools-devel/attachments/20150407/9224f49e/attachment.bin>
More information about the Pkg-phototools-devel
mailing list