Merge lp:~ssalley/ubuntu/natty/likewise-open/likewise-open-fix-716615 into lp:ubuntu/natty/likewise-open

Proposed by Scott Salley
Status: Merged
Merge reported by: Benjamin Drung
Merged at revision: not available
Proposed branch: lp:~ssalley/ubuntu/natty/likewise-open/likewise-open-fix-716615
Merge into: lp:ubuntu/natty/likewise-open
Diff against target: 67 lines (+47/-0)
3 files modified
debian/changelog (+8/-0)
debian/patches/add-dependencies-2.diff (+38/-0)
debian/patches/series (+1/-0)
To merge this branch: bzr merge lp:~ssalley/ubuntu/natty/likewise-open/likewise-open-fix-716615
Reviewer Review Type Date Requested Status
Andres Rodriguez (community) Approve
Artur Rona (community) Needs Fixing
Benjamin Drung Needs Fixing
Ubuntu branches Pending
Review via email: mp+49458@code.launchpad.net

Description of the change

Allows the branch to build and adds a library to a plugin (driver.so) that it use to get from the container (lwsmd) but is now dropped by the linker since lwsmd doesn't actually need that library.

These changes were intended to go in the last set of changes but I somehow forgot to commit them.

To post a comment you must log in.
Revision history for this message
Benjamin Drung (bdrung) wrote :

A upstream tarball that is packaged for Ubuntu should have -0ubuntuX as Debian revision instead of -X. -X is reserved for Debian. Please fix the version.

Most developers write first the change and then the fixed bug, e.g. "* Doing foobar (LP: #123456)." or "* Doing foobar. (LP: #123456)"

review: Needs Fixing
Revision history for this message
Artur Rona (ari-tczew) wrote :

Thank you for your time and efforts making Ubuntu better! However, there are some issues:

1) debian/changelog: I really encourage to improve entry, some like this:

 * debian/patches/add-dependencies-2.diff:
   - Fix FTBFS with ld --no-add-needed. (LP: #716615)

2) Could you add DEP3 tags to add-dependencies-2.diff?
https://wiki.ubuntu.com/PackagingGuide/PatchSystems#Patch%20Tagging%20Guidelines

review: Needs Fixing
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi All,

I've taken a look at previous uploads of likewise-open because of the versioning, and I've come to realize that natty version has been uploaded without the -0ubuntuX. This is because this package is maintained by upstream, and upstream itself provides the packaging for Ubuntu. (I can't seem to find it in Debian).

Now, given that upstream is providing its own debian directory and maintaining the changelog that way, I believe that the versioning is correct and should be kept, given that we should not remove upstream changelogs (or debian dirs), such as in this case.

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

> [...]This is because this package is maintained by upstream,
> and upstream itself provides the packaging for Ubuntu. (I can't seem to find
> it in Debian).

Not having a package in Debian isn't a reason for using -X instead of -0ubuntuX. When someone package likewise-open for Debian, the same version will be used for two different package. That will lead to confusion.

Using the wrong revision for the previous uploads does not permit to continue using the wrong revision.

Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi Benjamin,

I never said that not having a package in Debian is a reason for using -X instead of -0ubuntuX. This is a particular case on which upstream itself is maintaining packages directly in Ubuntu and such package has been quite a while in Ubuntu, but not in Debian.

Now, as far as I can see, given that in Ubuntu archives there's a package already with -2 (not -0ubuntu2), "fixing" it would involve doing something like -0ubuntu3 will result in a package with lower version. This is because -2 > -0ubuntu2.

This however, should ideally be fixed for new upstream release of likewise-open. Instead of using -X, should be -0ubuntuX.

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

> Now, as far as I can see, given that in Ubuntu archives there's a package
> already with -2 (not -0ubuntu2), "fixing" it would involve doing something
> like -0ubuntu3 will result in a package with lower version. This is because -2
> > -0ubuntu2.

Yes, that's right.

> This however, should ideally be fixed for new upstream release of likewise-
> open. Instead of using -X, should be -0ubuntuX.

Yes (or doing something like 6.0.0.53010-2is0ubuntu1).

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-01-24 15:57:30 +0000
3+++ debian/changelog 2011-02-11 20:27:54 +0000
4@@ -1,3 +1,11 @@
5+likewise-open (6.0.0.53010-3) natty; urgency=low
6+
7+ * LP: #716615
8+ - added debian/patches/add-dependencies-2.diff to add in more libraries
9+ needed for building and running.
10+
11+ -- Scott Salley <ssalley@likewise.com> Thu, 10 Feb 2011 11:15:29 -0800
12+
13 likewise-open (6.0.0.53010-2) natty; urgency=low
14
15 * LP: #684579
16
17=== added file 'debian/patches/add-dependencies-2.diff'
18--- debian/patches/add-dependencies-2.diff 1970-01-01 00:00:00 +0000
19+++ debian/patches/add-dependencies-2.diff 2011-02-11 20:27:54 +0000
20@@ -0,0 +1,38 @@
21+--- likewise-open-6.0.0.53010/lwsm/Makefile.am 2010-11-22 12:06:00 +0000
22++++ likewise-open-6.0.0.53010/lwsm/Makefile.am 2011-02-10 21:08:26 +0000
23+@@ -56,7 +56,8 @@
24+ server_driver_la_LIBADD = \
25+ $(top_builddir)/server/liblwsmloader.la \
26+ $(top_builddir)/common/liblwsmcommon.la \
27+- @LIB_PTHREAD@
28++ @LIB_PTHREAD@ \
29++ -llwioclient -llwadvapi -llwadvapi_nothr
30+ server_driver_la_LDFLAGS = $(AM_LDFLAGS) $(LOADER_LDFLAGS)
31+
32+ server_stub_la_SOURCES = server/stub.c
33+
34+--- likewise-open-6.0.0.53010/lwsm/Makefile.am 2010-11-22 12:06:00 +0000
35++++ likewise-open-6.0.0.53010/lwsm/Makefile.am 2011-02-09 21:54:38 +0000
36+@@ -90,7 +90,7 @@
37+ client_lwsm_LDADD = \
38+ $(top_builddir)/client/liblwsm.la \
39+ $(top_builddir)/common/liblwsmcommon.la \
40+- -llwadvapi -llwadvapi_nothr @LIB_PTHREAD@
41++ -llwadvapi -llwadvapi_nothr -llwmsg -llwmsg_nothr @LIB_PTHREAD@
42+
43+ # documentation
44+
45+
46+=== modified file 'lwsm/Makefile.am'
47+--- likewise-open-6.0.0.53010/lwsm/Makefile.am 2010-11-22 12:06:00 +0000
48++++ likewise-open-6.0.0.53010/lwsm/Makefile.am 2011-02-10 23:09:16 +0000
49+@@ -33,7 +33,7 @@
50+ client_liblwsm_la_SOURCES = \
51+ client/client.c \
52+ client/call.c
53+-client_liblwsm_la_LIBADD = $(top_builddir)/common/liblwsmcommon.la @LIB_PTHREAD@
54++client_liblwsm_la_LIBADD = $(top_builddir)/common/liblwsmcommon.la -llwmsg -llwmsg_nothr -llwadvapi_nothr @LIB_PTHREAD@
55+ client_liblwsm_la_LDFLAGS = $(AM_LDFLAGS) -export-symbols $(top_srcdir)/client/liblwsm.sym
56+
57+ server_liblwsmloader_la_SOURCES = server/loader.c
58+
59
60=== modified file 'debian/patches/series'
61--- debian/patches/series 2011-01-24 15:57:30 +0000
62+++ debian/patches/series 2011-02-11 20:27:54 +0000
63@@ -17,3 +17,4 @@
64 eventlog-libxml2
65 use_offsetof.diff
66 add-dependencies-1.diff
67+add-dependencies-2.diff

Subscribers

People subscribed via source and target branches

to all changes: