Re: Debian packaging question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Dec 12, 2012, at 2:17 PM, James Page wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> On 12/12/12 15:44, Sage Weil wrote:
>>>> 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.)
> 
> Try this -
> https://github.com/javacruft/ceph/commit/eb9516b92fbf1d09376ad86bc081d927f47656c0
> 
> I've given it a quick sniff locally to check the package build process
> generates the arch:all packages when requested (and does not when a
> architecture specific build is requested).
> 

Hi James -

I took your new rules file out for a spin.  It built ok, but we still got the libcephfs-java_0.55.1-1precise_all.deb built despite the --binary-arch flag.  The command used for the build is:

sudo pbuilder build --binary-arch --debug --distribution precise --basetgz /srv/debian-base/precise.tgz --buildresult /tmp/release/0.55.1/ --debbuildopts '-j8 -b' /tmp/release/0.55.1/ceph_0.55.1-1precise.dsc

And the log shows the -B option on dpkg-buildpackage:

I: Building the package
I: Running cd tmp/buildd/*/ && env PATH="/usr/lib/ccache:/usr/sbin:/usr/bin:/sbin:/bin" dpkg-buildpackage -us -uc   -B -j8 -b -rfakeroot

I'm not sure what to look at next.

Thanks,
Gary

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux