Ships a .la file

Bug #1281659 reported by Dmitry Shachnev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
indicator-appmenu (Ubuntu)
Fix Released
Medium
Charles Kerr

Bug Description

Binary package indicator-appmenu currently ships /usr/lib/indicators3/7/libappmenu.la file. Per Debian Policy section 10.2, this should be avoided. See:

http://packages.ubuntu.com/trusty/i386/indicator-appmenu/filelist
https://www.debian.org/doc/debian-policy/ch-files.html#s-libraries
https://wiki.debian.org/ReleaseGoals/LAFileRemoval

Related branches

Charles Kerr (charlesk)
Changed in indicator-appmenu (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Charles Kerr (charlesk) wrote :

So when I run "bzr bd", that file gets installed like this:

> /bin/bash ../libtool --mode=install /usr/bin/install -c libappmenu.la '/home/charles/canonical/src/indicator-appmenu/build-area/indicator-appmenu-13.01.0+14.04.20131125/debian/tmp/usr/lib/indicators3/7/'

And the "find" rule in debian/rules to prune out the static & libtool libraries doesn't match this path:

> override_dh_install:
> find debian/indicator-appmenu -name \*.la -delete
> find debian/indicator-appmenu -name \*.a -delete
> dh_install --fail-missing

Replacing "debian/indicator-appmenu-name" with "debian/tmp" should resolve this.

Charles Kerr (charlesk)
Changed in indicator-appmenu (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Charles Kerr (charlesk)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package indicator-appmenu - 13.01.0+14.04.20140318-0ubuntu1

---------------
indicator-appmenu (13.01.0+14.04.20140318-0ubuntu1) trusty; urgency=low

  [ Charles Kerr ]
  * Check for PROP_LABEL to be non-null before passing it a long to
    gtk_label_set_text_with_mnemonic().
  * When pruning libtool/static libraries in debian/rules'
    override_dh_install, use a matching pattern that actually finds the
    files we want to prune. (LP: #1281659)
  * Minor copyediting of schema key's summary/description. (LP: #970903)
 -- Ubuntu daily release <email address hidden> Tue, 18 Mar 2014 09:52:58 +0000

Changed in indicator-appmenu (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.