Merge lp:~jtaylor/ubuntu/oneiric/mooproxy/fix-770784 into lp:ubuntu/oneiric/mooproxy

Proposed by Julian Taylor
Status: Merged
Merged at revision: 4
Proposed branch: lp:~jtaylor/ubuntu/oneiric/mooproxy/fix-770784
Merge into: lp:ubuntu/oneiric/mooproxy
Diff against target: 67 lines (+31/-1)
5 files modified
debian/changelog (+8/-0)
debian/control (+2/-1)
debian/patches/fix_as_needed_build.patch (+19/-0)
debian/patches/series (+1/-0)
debian/source/format (+1/-0)
To merge this branch: bzr merge lp:~jtaylor/ubuntu/oneiric/mooproxy/fix-770784
Reviewer Review Type Date Requested Status
Chase Douglas (community) Approve
Ubuntu branches Pending
Review via email: mp+72367@code.launchpad.net

Description of the change

fix ftbs

To post a comment you must log in.
Revision history for this message
Chase Douglas (chasedouglas) wrote :

The fix looks good. However, it should be in a patch in debian/patches instead of a direct change to the top-level Makefile.

It would be good to get this fix pushed upstream. I can't find an upstream contact, though. Perhaps you could email the change to the upstream maintainer listed in debian/copyright? This is not a blocker for getting the change into Ubuntu.

review: Needs Fixing
Revision history for this message
Julian Taylor (jtaylor) wrote :

the package has no patchsystem.
should one be added?

Revision history for this message
Chase Douglas (chasedouglas) wrote :

Yes, a patch system should be added. You can find info at http://pkg-perl.alioth.debian.org/howto/quilt.html#integrating_with_the_package_build_process. The more modern the better :). Please let us know if you need help!

I would suggest coordinating this work with the Debian maintainer if possible. The ideal solution would be to have it fixed in Debian and then request a package sync back to Ubuntu. If the Debian maintainer isn't responsive at first, we can upload the changes to Ubuntu first and then try to get them back into Debian afterwards.

5. By Julian Taylor

* change to source format 3.0 (quilt)
* debian/patches/fix_as_needed_build.patch:
  - patch Makefile to fix build with ld --as-needed (LP: #770784)

Revision history for this message
Julian Taylor (jtaylor) wrote :

branch updated.
I have submitted the fix to debian on 29 Jun 2011 and have not yet received an answer yet.
I attached the debdiff with the patch system to the bug.

The debian maintainer seems to be the upstream maintainer, so no further forwarding should be necessary. But I still pinged him directly.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

Looks good. I forgot to mention that the distro should be left as UNRELEASED instead of oneiric, but that can be fixed by the merger/uploader.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-02-11 22:49:31 +0000
3+++ debian/changelog 2011-08-22 18:54:24 +0000
4@@ -1,3 +1,11 @@
5+mooproxy (1.0.0-1ubuntu1) oneiric; urgency=low
6+
7+ * change to source format 3.0 (quilt)
8+ * debian/patches/fix_as_needed_build.patch:
9+ - patch Makefile to fix build with ld --as-needed (LP: #770784)
10+
11+ -- Julian Taylor <jtaylor.debian@googlemail.com> Mon, 22 Aug 2011 20:45:21 +0200
12+
13 mooproxy (1.0.0-1) unstable; urgency=low
14
15 * New upstream release.
16
17=== modified file 'debian/control'
18--- debian/control 2011-02-11 22:49:31 +0000
19+++ debian/control 2011-08-22 18:54:24 +0000
20@@ -1,7 +1,8 @@
21 Source: mooproxy
22 Section: net
23 Priority: extra
24-Maintainer: Marcel Moreaux <marcelm@qvdr.net>
25+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
26+XSBC-Original-Maintainer: Marcel Moreaux <marcelm@qvdr.net>
27 Build-Depends: debhelper (>= 5.0.0)
28 Standards-Version: 3.9.1
29
30
31=== added directory 'debian/patches'
32=== added file 'debian/patches/fix_as_needed_build.patch'
33--- debian/patches/fix_as_needed_build.patch 1970-01-01 00:00:00 +0000
34+++ debian/patches/fix_as_needed_build.patch 2011-08-22 18:54:24 +0000
35@@ -0,0 +1,19 @@
36+Description: fix build with -Wl,--as-needed
37+ The object files must be before the libraries which provide the
38+ symbols they need
39+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mooproxy/+bug/770784
40+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632114
41+Author: Julian Taylor <jtaylor.debian@googlemail.com>
42+Index: mooproxy-1.0.0/Makefile
43+===================================================================
44+--- mooproxy-1.0.0.orig/Makefile 2011-06-29 19:18:05.966860693 +0200
45++++ mooproxy-1.0.0/Makefile 2011-06-29 19:18:28.196860701 +0200
46+@@ -10,7 +10,7 @@
47+ all: mooproxy
48+
49+ mooproxy: $(OBJS)
50+- $(CC) $(LFLAGS) $(OBJS) -o mooproxy
51++ $(CC) $(OBJS) -o mooproxy $(LFLAGS)
52+ # strip mooproxy
53+
54+ # If a header file changed, maybe some data formats changed, and all object
55
56=== added file 'debian/patches/series'
57--- debian/patches/series 1970-01-01 00:00:00 +0000
58+++ debian/patches/series 2011-08-22 18:54:24 +0000
59@@ -0,0 +1,1 @@
60+fix_as_needed_build.patch
61
62=== added directory 'debian/source'
63=== added file 'debian/source/format'
64--- debian/source/format 1970-01-01 00:00:00 +0000
65+++ debian/source/format 2011-08-22 18:54:24 +0000
66@@ -0,0 +1,1 @@
67+3.0 (quilt)

Subscribers

People subscribed via source and target branches

to all changes: