Merge lp:~logan/ubuntu/raring/ocfs2-tools/debian-merge into lp:ubuntu/raring/ocfs2-tools

Proposed by Logan Rosen
Status: Merged
Merge reported by: Logan Rosen
Merged at revision: not available
Proposed branch: lp:~logan/ubuntu/raring/ocfs2-tools/debian-merge
Merge into: lp:ubuntu/raring/ocfs2-tools
Diff against target: 139 lines (+18/-59)
8 files modified
.pc/.quilt_patches (+1/-0)
.pc/.quilt_series (+1/-0)
.pc/applied-patches (+0/-1)
.pc/popen2-ignore-depreciation-warn.patch/ocfs2console/ocfs2console (+0/-34)
debian/changelog (+16/-0)
debian/patches/popen2-ignore-depreciation-warn.patch (+0/-18)
debian/patches/series (+0/-1)
ocfs2console/ocfs2console (+0/-5)
To merge this branch: bzr merge lp:~logan/ubuntu/raring/ocfs2-tools/debian-merge
Reviewer Review Type Date Requested Status
Barry Warsaw (community) Needs Fixing
Ubuntu branches Pending
Review via email: mp+138871@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Barry Warsaw (barry) wrote :

This branch looks good in and of itself, however the problem with this package goes deeper in that ocfs2-tools 1.6.4-1ubuntu1 (i.e. the raring version, last built for quantal) FTBFS on raring now. It fails in the same way after the merge:

for p in o2cb.pc o2dlm.pc ocfs2.pc; do \
   /usr/bin/install -c -m 644 $p /«PKGBUILDDIR»/debian/tmp/usr/lib/pkgconfig/$p; \
        done
make[1]: Leaving directory `/«PKGBUILDDIR»'
   dh_install
dh_install: ocfs2console missing files (debian/tmp/usr/lib/python2.?/site-packages/ocfs2interface/*), aborting
make: *** [binary] Error 2

That needs to be fixed before this merge can be uploaded.

review: Needs Fixing
Revision history for this message
Barry Warsaw (barry) wrote :

I believe this is caused by a non-multiarch aware pythondev.m4 AM_CHECK_PYTHON_HEADERS. You can't assume that sys.prefix yields the -I include directory. Should be fixable using the right python-config magic.

Revision history for this message
Logan Rosen (logan) wrote :

Actually looks like this has been merged with changes from Barry.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== added file '.pc/.quilt_patches'
2--- .pc/.quilt_patches 1970-01-01 00:00:00 +0000
3+++ .pc/.quilt_patches 2012-12-08 23:05:23 +0000
4@@ -0,0 +1,1 @@
5+debian/patches
6
7=== added file '.pc/.quilt_series'
8--- .pc/.quilt_series 1970-01-01 00:00:00 +0000
9+++ .pc/.quilt_series 2012-12-08 23:05:23 +0000
10@@ -0,0 +1,1 @@
11+series
12
13=== modified file '.pc/applied-patches'
14--- .pc/applied-patches 2012-05-23 14:01:28 +0000
15+++ .pc/applied-patches 2012-12-08 23:05:23 +0000
16@@ -5,7 +5,6 @@
17 shorten-manpage-lines.patch
18 ld-no-add-needed.diff
19 ld-as-needed.diff
20-popen2-ignore-depreciation-warn.patch
21 ocfs2-controld-pcmk-id.patch
22 format-security.patch
23 ocfs2-controld-headers.patch
24
25=== removed directory '.pc/popen2-ignore-depreciation-warn.patch'
26=== removed directory '.pc/popen2-ignore-depreciation-warn.patch/ocfs2console'
27=== removed file '.pc/popen2-ignore-depreciation-warn.patch/ocfs2console/ocfs2console'
28--- .pc/popen2-ignore-depreciation-warn.patch/ocfs2console/ocfs2console 2011-03-25 16:53:58 +0000
29+++ .pc/popen2-ignore-depreciation-warn.patch/ocfs2console/ocfs2console 1970-01-01 00:00:00 +0000
30@@ -1,34 +0,0 @@
31-#!/usr/bin/python -W ignore::DeprecationWarning
32-
33-from ocfs2interface.about import process_args
34-nodeconf = process_args()
35-
36-#
37-# Current pygtk treats no DISPLAY as a WARNING. This means that
38-# pygtk initialization tries to continue even after gtk_init() has failed.
39-# All sorts of fun ensues. To prevent this, we turn the warning into an
40-# error for the duration of gtk initialization.
41-#
42-# Originally reported as Novell bugzilla #448523.
43-#
44-import warnings
45-warnings.filterwarnings("error")
46-try:
47- import gtk
48-except Exception, e:
49- import sys
50- if str(e).lower().find('display') == -1:
51- print >>sys.stderr, '''ERROR: Unable to initialize the windowing
52-system: %s\n''' % e
53- else:
54- print >>sys.stderr, '''ERROR: ocfs2console needs an X11 display.
55-Make sure a proper setup for your display environment exists.\n'''
56- sys.exit(1)
57-warnings.filters.pop(0)
58-
59-if nodeconf:
60- from ocfs2interface.nodeconfig import node_config
61- node_config()
62-else:
63- from ocfs2interface.console import main
64- main()
65
66=== modified file 'debian/changelog'
67--- debian/changelog 2012-05-23 14:01:28 +0000
68+++ debian/changelog 2012-12-08 23:05:23 +0000
69@@ -1,3 +1,19 @@
70+ocfs2-tools (1.6.4-2ubuntu1) raring; urgency=low
71+
72+ * Merge from Debian unstable. Remaining changes:
73+ - Build using dh_python2.
74+ - debian/patches/ubuntu-umode-ftbfs.patch: Fix FTBFS with undefined
75+ umode_t type in 3.3 kernels.
76+
77+ -- Logan Rosen <logatronico@gmail.com> Sat, 08 Dec 2012 18:00:15 -0500
78+
79+ocfs2-tools (1.6.4-2) unstable; urgency=low
80+
81+ * Remove popen2-ignore-depreciation-warn.patch: it has the opposite effect,
82+ turning deprecation warnings into errors (Closes: #682517, LP: #923754).
83+
84+ -- Jeremy Lainé <jeremy.laine@m4x.org> Wed, 15 Aug 2012 09:31:09 +0200
85+
86 ocfs2-tools (1.6.4-1ubuntu1) quantal; urgency=low
87
88 * Merge from Debian testing (LP: #1003157). Remaining changes:
89
90=== removed file 'debian/patches/popen2-ignore-depreciation-warn.patch'
91--- debian/patches/popen2-ignore-depreciation-warn.patch 2011-03-25 16:53:58 +0000
92+++ debian/patches/popen2-ignore-depreciation-warn.patch 1970-01-01 00:00:00 +0000
93@@ -1,18 +0,0 @@
94-Description: Ignore the depreciation warning that popen2 will raise when it is imported.
95- Pending conversion to subprocess module.
96-Author: Dave Walker (Daviey) <DaveWalker@ubuntu.com>
97-Bug: https://launchpad.net/bugs/655548
98---- a/ocfs2console/ocfs2console
99-+++ b/ocfs2console/ocfs2console
100-@@ -13,6 +13,11 @@
101- #
102- import warnings
103- warnings.filterwarnings("error")
104-+
105-+# Ignore the depreciation warning that popen2 will raise when it is imported.
106-+# FIXME: Pending conversion to subprocess module.
107-+warnings.simplefilter("ignore", DeprecationWarning)
108-+
109- try:
110- import gtk
111- except Exception, e:
112
113=== modified file 'debian/patches/series'
114--- debian/patches/series 2012-05-23 14:01:28 +0000
115+++ debian/patches/series 2012-12-08 23:05:23 +0000
116@@ -5,7 +5,6 @@
117 shorten-manpage-lines.patch
118 ld-no-add-needed.diff
119 ld-as-needed.diff
120-popen2-ignore-depreciation-warn.patch
121 ocfs2-controld-pcmk-id.patch
122 format-security.patch
123 ocfs2-controld-headers.patch
124
125=== modified file 'ocfs2console/ocfs2console'
126--- ocfs2console/ocfs2console 2011-03-25 16:53:58 +0000
127+++ ocfs2console/ocfs2console 2012-12-08 23:05:23 +0000
128@@ -13,11 +13,6 @@
129 #
130 import warnings
131 warnings.filterwarnings("error")
132-
133-# Ignore the depreciation warning that popen2 will raise when it is imported.
134-# FIXME: Pending conversion to subprocess module.
135-warnings.simplefilter("ignore", DeprecationWarning)
136-
137 try:
138 import gtk
139 except Exception, e:

Subscribers

People subscribed via source and target branches

to all changes: