Re: What option should I now use to do source only builds
Hi Andreas
On 03/17/2017 11:32 PM, Andreas Tille wrote:
> Hi,
>
> I have understood from NEWS.debian of pbuilder 0.228 that the '-S'
> option does not work any more. Unfortunately I did not understood what
> I need to do now to do a source only build (nor what the problem of this
> simple way was).
James Clarke wrote in https://bugs.debian.org/853886#10:
"For source-only builds, I don't understand why you would want to
perform the build in a chroot. You already have to be able to build the
source package outside the chroot, which then gets copied into the
chroot, unpacked and a new source package is built; why not use the
first source package? If your aim is to check the package builds, you're
not actually building any binary packages; you should instead use the
new --source-only-changes option, which will build binary packages but
also generate a source-only changes."
Personally I now use with gbp:
--git-pbuilder-options="--binary-indep --source-only-changes"
Alternatively Mattia suggested something like:
--git-pbuilder debuild -S
Greets
jre
Reply to: