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

Re: Does pbuilder need to be run for each build?



Thanks. To get the below command to work I had to modify my sudoers
file as follows:

sudo visudo:

Cmnd_Alias  PBUILDER = /usr/sbin/pbuilder, /usr/bin/pdebuild,
/usr/bin/debuild-pbuilder

misha  ALL=(ALL) NOPASSWD: PBUILDER
misha  ALL=(ALL) SETENV: PBUILDER

specifically, I had to add the SETENV command. I had not used pdebuild
previously, but had always used pbuilder --build.

Thank you!
Misha

On Wed, Oct 13, 2010 at 9:05 AM, Yaroslav Halchenko
<debian@onerussian.com> wrote:
> just .1 cent -- you can conveniently invoke pbuilder while using s-bp:
>
> *$> man svn-buildpackage | grep -e '--svn-builder='
>       --svn-builder=COMMAND
>           svn-buildpackage --svn-ignore-new --svn-builder=pdebuild
>
>
> On Wed, 13 Oct 2010, Andreas Tille wrote:
>> You should use pbuilder at least once to make sure the
>> Build-Dependencies are valid.
>
> I would make it further -- you would need to pdebuild the package prior any
> upload to Debian (or for sponsorship), to assure that it builds fine in an
> up-to-date sid/experimental environment, since your local environment might not
> be fully up-to-date and you would mask out possible problems.
>
> --
>                                  .-.
> =------------------------------   /v\  ----------------------------=
> Keep in touch                    // \\     (yoh@|www.)onerussian.com
> Yaroslav Halchenko              /(   )\               ICQ#: 60653192
>                   Linux User    ^^-^^    [175555]
>
>
>


Reply to: