Bug#844700: pbuilder: please support build profiles

James Clarke jrtc27 at jrtc27.com
Fri Nov 18 10:56:28 UTC 2016


Control: retitle -1 pbuilder: Add --profiles flag

Hi,
> On 18 Nov 2016, at 08:22, Samuel Thibault <sthibault at debian.org> wrote:
> 
> Package: pbuilder
> Version: 0.226.1
> Severity: wishlist
> 
> Hello,
> 
> When bootstrapping a package which depends on itself (directly or
> through a loop), one uses e.g.
> 
> dpkg-buildpackage -Pstage1
> 
> which disables the self-dependency in Build-Depends.
> 
> However, using
> 
> pdebuild --debbuildopts -Pstage1
> 
> tries to install the self-dependency, I have to explicitly remove the
> dependency from debian/control.
> 
> It would be nice if pdebuild had a way to specify a build profile, so
> that it only tries to install what is needed for the bootstrap.

There's no flag that I know of (we should probably add one), but
setting DEB_BUILD_PROFILES should work and be honoured by
all the resolvers (except gdebi). --debbuildopts doesn't look
inside its argument, hence why the resolvers don't know to use
certain build profiles.

Regards,
James



More information about the Pbuilder-maint mailing list