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

Re: svn-buildpackage with pbuilder



On Wed, Nov 17, 2010 at 1:22 PM, Daniel Leidert
<Daniel.Leidert.Spam@gmx.net> wrote:
> anatoly techtonik wrote:
>> On Tue, Nov 16, 2010 at 7:30 PM, David Paleino <dapal@debian.org> wrote:
>> > On Tue, 16 Nov 2010 19:07:04 +0200, anatoly techtonik wrote:
>> >
>> >> I am trying to use svn-buildpackage with pbuilder to check my
>> >> dependencies.
>> >> pbuilder documentation mentions that it automatically satisfy the
>> >> build-dependencies inside chroot, but this doesn't happen.
>> >> I execute
>> >>
>> >> $ svn-buildpackage --svn-ignore-new --svn-builder='pdebuild'
>> >>
>> >> and get the error message:
>> >> ...
>> >> dpkg-checkbuilddeps: Unmet build dependencies: python-all cdbs docbook-xsl
>> >> W: Unmet build-dependency in source
>> >> ...
>> >>
>> >> How can I make pbuilder fetch these required dependencies?
>
> pbuilder does install the necessary dependencies. But it does so
> *inside* the chroot. But before it runs the "clean" target in the
> debian rules file. So you need the build-dependencies at your system
> too. But there pdebuild won't install them. You have to change the
> pdebuild action orders:
>
> [snip]
>> dpkg-checkbuilddeps: Unmet build dependencies: python-all cdbs docbook-xsl
>> dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied;
>> aborting.
>> ...
>
> Read about the --use-pdebuild-internal switch:
> http://www.netfort.gr.jp/~dancer/software/pbuilder-doc/pbuilder-doc.html#pdebuild

Great! That works. Thanks for explanation of this magic behavior.

--
anatoly t.


Reply to: