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
=== modified file 'debian/changelog'
--- debian/changelog 2011-02-11 22:49:31 +0000
+++ debian/changelog 2011-08-22 18:54:24 +0000
@@ -1,3 +1,11 @@
1mooproxy (1.0.0-1ubuntu1) oneiric; urgency=low
2
3 * change to source format 3.0 (quilt)
4 * debian/patches/fix_as_needed_build.patch:
5 - patch Makefile to fix build with ld --as-needed (LP: #770784)
6
7 -- Julian Taylor <jtaylor.debian@googlemail.com> Mon, 22 Aug 2011 20:45:21 +0200
8
1mooproxy (1.0.0-1) unstable; urgency=low9mooproxy (1.0.0-1) unstable; urgency=low
210
3 * New upstream release.11 * New upstream release.
412
=== modified file 'debian/control'
--- debian/control 2011-02-11 22:49:31 +0000
+++ debian/control 2011-08-22 18:54:24 +0000
@@ -1,7 +1,8 @@
1Source: mooproxy1Source: mooproxy
2Section: net2Section: net
3Priority: extra3Priority: extra
4Maintainer: Marcel Moreaux <marcelm@qvdr.net>4Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
5XSBC-Original-Maintainer: Marcel Moreaux <marcelm@qvdr.net>
5Build-Depends: debhelper (>= 5.0.0)6Build-Depends: debhelper (>= 5.0.0)
6Standards-Version: 3.9.17Standards-Version: 3.9.1
78
89
=== added directory 'debian/patches'
=== added file 'debian/patches/fix_as_needed_build.patch'
--- debian/patches/fix_as_needed_build.patch 1970-01-01 00:00:00 +0000
+++ debian/patches/fix_as_needed_build.patch 2011-08-22 18:54:24 +0000
@@ -0,0 +1,19 @@
1Description: fix build with -Wl,--as-needed
2 The object files must be before the libraries which provide the
3 symbols they need
4Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/mooproxy/+bug/770784
5Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632114
6Author: Julian Taylor <jtaylor.debian@googlemail.com>
7Index: mooproxy-1.0.0/Makefile
8===================================================================
9--- mooproxy-1.0.0.orig/Makefile 2011-06-29 19:18:05.966860693 +0200
10+++ mooproxy-1.0.0/Makefile 2011-06-29 19:18:28.196860701 +0200
11@@ -10,7 +10,7 @@
12 all: mooproxy
13
14 mooproxy: $(OBJS)
15- $(CC) $(LFLAGS) $(OBJS) -o mooproxy
16+ $(CC) $(OBJS) -o mooproxy $(LFLAGS)
17 # strip mooproxy
18
19 # If a header file changed, maybe some data formats changed, and all object
020
=== added file 'debian/patches/series'
--- debian/patches/series 1970-01-01 00:00:00 +0000
+++ debian/patches/series 2011-08-22 18:54:24 +0000
@@ -0,0 +1,1 @@
1fix_as_needed_build.patch
02
=== added directory 'debian/source'
=== added file 'debian/source/format'
--- debian/source/format 1970-01-01 00:00:00 +0000
+++ debian/source/format 2011-08-22 18:54:24 +0000
@@ -0,0 +1,1 @@
13.0 (quilt)

Subscribers

People subscribed via source and target branches

to all changes: