From: James Page <james.page@ubuntu.com>
To: Sage Weil <sage@inktank.com>
Cc: Gary Lowell <gary.lowell@inktank.com>,
Wido den Hollander <wido@widodh.nl>,
ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: Debian packaging question
Date: Wed, 12 Dec 2012 21:12:04 +0000 [thread overview]
Message-ID: <50C8F324.40600@ubuntu.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1212120742140.8754@cobra.newdream.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On 12/12/12 15:44, Sage Weil wrote:
>>> I thought this was going to be the easy solution, but on
>>> running a
>>>>> quick test, we are already calling pbuilder with the
>>>>> --binary-arch option and it its building the java package
>>>>> anyway. It looks like there is a deeper issue in that we
>>>>> building the java package in the default target. It looks
>>>>> like for this to work, we need to move the java library
>>>>> build to it's own target in the Makefile, and build that
>>>>> target from the binary-indep target in the debian rules
>>>>> file. Does this sound like I'm on the right track ?
>>>
>>> Gah - this will bite when I do the next upload to Ubuntu as
>>> well then; Can I suggest that we rework debian/rules for
>>> debhelper >= 7 and use overrides rather than the current 'old
>>> style' rules which define all tasks? I was toying with doing
>>> this anyway (and have it working locally) - it does cut out
>>> some of the content from d/rules and makes it a bit more
>>> *magic*
>>>
>>> Thoughts? I'm happy to raise a pull request for this.
> Yes, please! In the meantime, does build-indep sound like a valid
> workaround? (This hiccup has been delaying some simple fixes in
> 0.55.1, but unless there is a quick fix I think we'll just release
> it without the java bindings for now to get those fixes out to
> people.)
Yes; I'd recommend looking at the postfix source package on how todo
this with the binary-arch and binary-indep targets:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/raring/postfix/raring/view/head:/debian/rules
- -i and -a flags and the differentiator between -i(ndependent) and
- -a(rchitecture) builds
- --
James Page
Ubuntu Core Developer
Debian Maintainer
james.page@ubuntu.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/
iQIcBAEBCAAGBQJQyPMkAAoJEL/srsug59jD10EP/iO9IFmSgIetIEJVCdvxuTvE
Vb9eLt9fT1Z3Www63RLzQJZUi870slQM8/62ivjTRDn+zMvf2TJFeU+tVBF3tmT+
/fSwJPkMld/uC92uQUS4NHwnmVdeD4Ns5MNDSJ6XgLAm+7uZgGD0k9SAj7ILIBzm
QzTnLon1DxTG77nUxkyj0aNxaDH9SeOAxy3K6DL/qieQH1vYaUB6xWTqZjk4LoiH
CBGU289PGKkmQmX52CLXCyITjDGrZrJxpsiv7PiFL5Uz7v+udLkkjaOaiS5r5Hv3
eXgXkNGt3sQvFpQbcNXViP5BjZ9+m20KLxizazKaXsnxMpcq7K3qfblm4SoBtPvu
YsORgD1osY2jyJtBiqAnbYA3N32uMM9jxJ4Gk36Mkh5ksJPkzQULKYaJyskLTfXE
v5akVn+6p/G3Jl8DXE7+QzQCTYc7A9DvF3I3GWDFQMaDtsQtm4IwXpyAuURt6EJ6
EsLCb6wWG2UfMzk8cvltNDelfYuQMqQqx1jEY/BlhRt9uu13oJEe6pGB1DAd9iax
fEpUr/0sicqn7ElgK+cuBiT13qi1+klYHfEYlHS/+JdGcmaN2q5lUPkvfc3D8A9g
30736F0+s+LNCHIqIip1sav5JAC7ZmhTCcb+1ll+J+qvGO1kKzbsHc4D932EuBbo
T+HX0+YTFvrt8pUATjLd
=IHTl
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2012-12-12 21:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-11 5:19 Debian packaging question Gary Lowell
2012-12-11 5:34 ` Wido den Hollander
2012-12-11 6:32 ` Gary Lowell
2012-12-11 10:06 ` James Page
2012-12-11 23:00 ` Gary Lowell
2012-12-12 11:04 ` James Page
2012-12-12 15:44 ` Sage Weil
2012-12-12 21:12 ` James Page [this message]
2012-12-12 22:17 ` James Page
2012-12-12 23:38 ` Gary Lowell
2012-12-13 9:09 ` James Page
2012-12-14 4:38 ` Gary Lowell
2012-12-14 9:03 ` James Page
2012-12-11 5:34 ` Sage Weil
2012-12-11 6:38 ` Gary Lowell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50C8F324.40600@ubuntu.com \
--to=james.page@ubuntu.com \
--cc=ceph-devel@vger.kernel.org \
--cc=gary.lowell@inktank.com \
--cc=sage@inktank.com \
--cc=wido@widodh.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox