Unnecessarily shipped libtool archive (.la) files are invalid

Bug #1253656 reported by Benjamin Drung
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vamp-plugin-sdk (Debian)
Fix Released
Unknown
vamp-plugin-sdk (Ubuntu)
Fix Released
High
Unassigned
Precise
Fix Released
Undecided
Unassigned
Quantal
Fix Released
Undecided
Unassigned

Bug Description

The libtool archive files /usr/lib/libvamp-hostsdk.la and /usr/lib/libvamp-sdk.la are invalid and break building packages with libtool. This causes the svn version of Audacity fail to build. There is no way to work around the broken .la files when using libtool.

The simple solution is to remove the .la files from the package. Then libtool with use the .so or .a files.

[Test Case]

echo "main() { return 0; }" > main.c
libtool --mode=link g++ main.c -o main $(pkg-config vamp-hostsdk --libs)

The libtool command should succeed instead of failing with:
libtool: link: `/usr/lib//libvamp-hostsdk.la' is not a valid libtool archive

[Regression Potential]

The risk for regressions is low. Only libtool uses the .la files. Linking against the libraries without using libtool will not be influenced by the existance or not existance of .la files.

Benjamin Drung (bdrung)
Changed in vamp-plugin-sdk (Ubuntu):
status: New → Fix Released
importance: Undecided → High
Revision history for this message
Benjamin Drung (bdrung) wrote :

Here is the debdiff for Ubuntu 12.04 (precise).

Changed in vamp-plugin-sdk (Ubuntu Precise):
status: New → Fix Committed
Changed in vamp-plugin-sdk (Ubuntu Quantal):
status: New → Fix Committed
Revision history for this message
Benjamin Drung (bdrung) wrote :

And here is the debdiff for Ubuntu 12.10 (quantal).

Changed in vamp-plugin-sdk (Ubuntu Precise):
status: Fix Committed → In Progress
Changed in vamp-plugin-sdk (Ubuntu Quantal):
status: Fix Committed → In Progress
Changed in vamp-plugin-sdk (Debian):
status: Unknown → New
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Benjamin, or anyone else affected,

Accepted vamp-plugin-sdk into quantal-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/vamp-plugin-sdk/2.1-1ubuntu0.12.10.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in vamp-plugin-sdk (Ubuntu Quantal):
status: In Progress → Fix Committed
tags: added: verification-needed
Changed in vamp-plugin-sdk (Ubuntu Precise):
status: In Progress → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

Hello Benjamin, or anyone else affected,

Accepted vamp-plugin-sdk into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/vamp-plugin-sdk/2.1-1ubuntu0.12.04.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Benjamin Drung (bdrung) wrote :

As you can see in the recipe for precise and quantal [1], Audacity builds again with -proposed enabled. Therefore I verify that the fix works.

[2] https://code.launchpad.net/~audacity-team/+recipe/audacity-daily.quantal

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vamp-plugin-sdk - 2.1-1ubuntu0.12.10.1

---------------
vamp-plugin-sdk (2.1-1ubuntu0.12.10.1) quantal-proposed; urgency=low

  * Remove broken .la files (Closes: #730108, LP: #1253656).
 -- Benjamin Drung <email address hidden> Thu, 21 Nov 2013 15:35:35 +0100

Changed in vamp-plugin-sdk (Ubuntu Quantal):
status: Fix Committed → Fix Released
Revision history for this message
Stéphane Graber (stgraber) wrote : Update Released

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package vamp-plugin-sdk - 2.1-1ubuntu0.12.04.1

---------------
vamp-plugin-sdk (2.1-1ubuntu0.12.04.1) precise-proposed; urgency=low

  * Remove broken .la files (Closes: #730108, LP: #1253656).
 -- Benjamin Drung <email address hidden> Thu, 21 Nov 2013 15:35:35 +0100

Changed in vamp-plugin-sdk (Ubuntu Precise):
status: Fix Committed → Fix Released
Changed in vamp-plugin-sdk (Debian):
status: New → 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.