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

Launchpad Bug Tracker 923343 at bugs.launchpad.net
Fri Feb 3 05:50:18 UTC 2012


This bug was fixed in the package pkgbinarymangler - 114

---------------
pkgbinarymangler (114) precise; urgency=low

  [ Felix Geyer ]
  * pkgstripfiles, symlink_doc(): Don't create symlinks that would point to
    the same package. (LP: #923343)
  * test/run: Add test_doc_symlink_dependency_cycle() to make sure that
    pkgstripfiles works correctly when there is a dependency cycle inside
    a source package.

  [ Martin Pitt ]
  * pkgstripfiles: Always update md5sum even if advpng fails. Also call advpng
    if optipng fails, to at least get some optimization. Thanks Felix Geyer!
    (LP: #923407)
  * pkgstripfiles: Do not truncate changelogs when they are in a different
    directory pointed to a symlink. Add corresponding test case which mimics
    the perl hack that it applies to its doc files. (LP: #923430)
 -- Martin Pitt <martin.pitt at ubuntu.com>   Fri, 03 Feb 2012 06:36:35 +0100

** Changed in: pkgbinarymangler (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released

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