[Bug 923343] [NEW] pkgstripfiles: creates symlinks that point to themselves

Felix Geyer debfx-pkg at fobos.de
Sun Jan 29 13:08:49 UTC 2012


Public bug reported:

pkgstripfiles/symlink_doc() creates symlinks that point to themselves if
there are cyclic dependencies inside a package.

For example in qt4-x11:
> pkgstripfiles: processing control file: debian/qdbus/DEBIAN/control, package qdbus, directory debian/qdbus
> .. removing usr/share/doc/qdbus/changelog.gz
> Searching for duplicated docs in dependency libqt4-dbus...
>   symlinking LGPL_EXCEPTION.txt in qdbus to file in qdbus
>   symlinking changelog.Debian.gz in qdbus to file in qdbus

which results in ./usr/share/doc/qdbus/LGPL_EXCEPTION.txt ->
../qdbus/LGPL_EXCEPTION.txt

http://lintian.ubuntuwire.org/tags/lengthy-symlink.html has some more
examples.

** Affects: pkgbinarymangler (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pkgbinarymangler in Ubuntu.
https://bugs.launchpad.net/bugs/923343

Title:
  pkgstripfiles: creates symlinks that point to themselves

Status in “pkgbinarymangler” package in Ubuntu:
  New

Bug description:
  pkgstripfiles/symlink_doc() creates symlinks that point to themselves
  if there are cyclic dependencies inside a package.

  For example in qt4-x11:
  > pkgstripfiles: processing control file: debian/qdbus/DEBIAN/control, package qdbus, directory debian/qdbus
  > .. removing usr/share/doc/qdbus/changelog.gz
  > Searching for duplicated docs in dependency libqt4-dbus...
  >   symlinking LGPL_EXCEPTION.txt in qdbus to file in qdbus
  >   symlinking changelog.Debian.gz in qdbus to file in qdbus

  which results in ./usr/share/doc/qdbus/LGPL_EXCEPTION.txt ->
  ../qdbus/LGPL_EXCEPTION.txt

  http://lintian.ubuntuwire.org/tags/lengthy-symlink.html has some more
  examples.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pkgbinarymangler/+bug/923343/+subscriptions




More information about the foundations-bugs mailing list