Re: FTBFS if built twice in a row
Russ Allbery <firstname.lastname@example.org> writes:
> Goswin von Brederlow <email@example.com> writes:
>> Russ Allbery <firstname.lastname@example.org> writes:
>>> This check would fail many packages that can still be built twice in a
>>> row (any package that runs autotools during the build process without
>>> doing a complicated dance to preserve the upstream-shipped files, for
>>> example), and it's not clear to me that there's a consensus that those
>>> packages are really broken.
>> But exceedingly anoying when doing a patch and debdiff.
> Not if you use pdebuild or similarly build in a chroot, which IMO everyone
> should be doing.
I use xen instances and that changes nothing at all.
1. My ~/src is mounted inside the build environment so I don't have to
copy the source around all the time
2. building generates the diff.gz and dsc file
Note: you can't generally even build source outside the build
environment as any Build-Depends could be required
Note 2: Building source can already add huge amount of spam to the
So when you "debdiff debian.dsc local.dsc" you get all the changes
even the autogenerated stuff. Real pain to have 100k line diff for a 5