Merge lp:~scarneiro/ubuntu/oneiric/osptoolkit/fix-for-756018 into lp:ubuntu/oneiric/osptoolkit

Proposed by Sebastian Carneiro
Status: Merged
Merged at revision: 3
Proposed branch: lp:~scarneiro/ubuntu/oneiric/osptoolkit/fix-for-756018
Merge into: lp:ubuntu/oneiric/osptoolkit
Diff against target: 54 lines (+14/-2)
4 files modified
Makefile (+1/-1)
debian/changelog (+9/-0)
debian/control (+2/-1)
debian/rules (+2/-0)
To merge this branch: bzr merge lp:~scarneiro/ubuntu/oneiric/osptoolkit/fix-for-756018
Reviewer Review Type Date Requested Status
Chris Coulson (community) Approve
Stefano Rivera Needs Fixing
Ubuntu branches Pending
Review via email: mp+67437@code.launchpad.net

Description of the change

Added ssl libraries to Makefile on enroll target to fix FTBFS when using ld --as-needed.

Upon approval of this proposal, I will submit it to Debian.

To post a comment you must log in.
Revision history for this message
Stefano Rivera (stefanor) wrote :

Looks like there's something else we should deal with while we are here:

E: libosptk3-dev: non-empty-dependency_libs-in-la-file usr/lib/libosptk.la

$ lintian-info --tags non-empty-dependency_libs-in-la-file
N: non-empty-dependency_libs-in-la-file
N:
N: The dependency_libs field in the .la file has not been cleared. It has
N: long been a release goal to get rid of unneeded .la files and clearing
N: the dependency_libs field from the rest of them.
N:
N: A non-empty dependency_libs field will also stall the Multi-Arch
N: conversation.
N:
N: The in itself .la file may be useful, if the library is loaded
N: dynamically via libltdl.
N:
N: Refer to http://wiki.debian.org/ReleaseGoals/LAFileRemoval,
N: http://lists.debian.org/debian-devel/2011/05/msg01003.html, and
N: http://lists.debian.org/debian-devel/2011/05/msg01146.html for
N: details.
N:
N: Severity: serious, Certainty: certain
N:
N: Check: shared-libs, Type: binary, udeb
N:

review: Needs Fixing
5. By Sebastian Carneiro

debian/rules modified to clear the dependency_libs field of .la files
on install target.

Revision history for this message
Sebastian Carneiro (scarneiro) wrote :

Modified debian/rules to clear dependency_libs field of .la files on install target.

Best regards.

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Looks good, thanks!

review: Approve
Revision history for this message
Sebastian Carneiro (scarneiro) wrote :

Thanks yo you. Patch forwarded to Debian. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=555877

Revision history for this message
Sebastian Carneiro (scarneiro) wrote :

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'Makefile'
2--- Makefile 2007-12-30 20:37:26 +0000
3+++ Makefile 2011-07-11 03:34:25 +0000
4@@ -119,7 +119,7 @@
5
6 enroll: $(ENREXEC)
7 $(ENREXEC): $(ENROBJS) $(OSPLIB)
8- libtool --mode=link $(CC) -o $(@) $(^)
9+ libtool --mode=link $(CC) -o $(@) $(^) $(SSLLIBS)
10
11 test: $(EXPEXEC)
12 $(EXPEXEC): $(EXPOBJS) $(OSPLIB)
13
14=== modified file 'debian/changelog'
15--- debian/changelog 2007-12-30 20:37:26 +0000
16+++ debian/changelog 2011-07-11 03:34:25 +0000
17@@ -1,3 +1,12 @@
18+osptoolkit (3.4.2-1ubuntu1) oneiric; urgency=low
19+
20+ * Makefile: Added ssl libraries to enroll target, to fix FTBFS when using
21+ ld --as-needed (LP: #756018)
22+ * debian/rules: modified to clear the dependency_libs field of .la files
23+ on install target.
24+
25+ -- Sebastian Carneiro <scarneiro@fibertel.com.ar> Mon, 11 Jul 2011 00:28:42 -0300
26+
27 osptoolkit (3.4.2-1) unstable; urgency=low
28
29 * Initial Release (Closes: Bug#468110).
30
31=== modified file 'debian/control'
32--- debian/control 2007-12-30 20:37:26 +0000
33+++ debian/control 2011-07-11 03:34:25 +0000
34@@ -1,5 +1,6 @@
35 Source: osptoolkit
36-Maintainer: TransNexus, Inc. <support@transnexus.com>
37+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
38+XSBC-Original-Maintainer: TransNexus, Inc. <support@transnexus.com>
39 Uploaders: Di-Shi Sun <di-shi@transnexus.com>
40 Section: utils
41 Priority: optional
42
43=== modified file 'debian/rules'
44--- debian/rules 2007-12-30 20:37:26 +0000
45+++ debian/rules 2011-07-11 03:34:25 +0000
46@@ -68,6 +68,8 @@
47
48 # Add here commands to install the package into debian/libosptk-dev
49 $(MAKE) VERSION="$(version)" MAJOR="$(major)" DESTDIR=$(CURDIR)/debian/libosptk$(major)-dev install-dev
50+ find $(CURDIR)/debian/libosptk$(major)-dev -name "*.la" -exec \
51+ sed -i -e "s,^dependency_libs=.*,dependency_libs=''," {} +
52
53 # Add here commands to install the package into debian/osptoolkit
54 $(MAKE) VERSION="$(version)" MAJOR="$(major)" DESTDIR=$(CURDIR)/debian/osptoolkit install-bin

Subscribers

People subscribed via source and target branches