Hi alltogether On Thu, Mar 19, 2009 at 10:47:24PM +1100, Ben Finney wrote: > > On jeu, 19 mar 2009 12:28:02 +1100, Ben Finney wrote: > > > Hmm. When I try this on some of my packages it fails, because > > > apparently ‘dpkg-buildpackage -tc’ isn't how ‘pbuilder’ is running > > > the program. > > > > > > How, within a pbuilder hook program, can I get the complete > > > command line that pbuilder uses to invoke ‘dpkg-buildpackage’? > > > > Ithink you can find more information about this in : > > /usr/sbin/pbuilder > > and > > /usr/lib/pbuilder/pbuilder-buildpackage > > > > Hope this will help. > > It helps a little, but AFAICT the command line is not actually > available for use by the hook program. Am I missing something? > > This problem is still fuzzy for me. I've never been sure exactly what > the precise sequence we're supposed to test actually *is*. > > While people have been happy to say “try a pbuilder hook”, what > should that hook *do*, exactly? Build the package twice — but with > what exact command line? Should the first be different from the > second? > > Looking at ‘pbuilder-buildpackage’, it doesn't use the ‘-tc’ option to > clean the source tree after build; does that mean pbuilder is not the > right tool here? Or not its default configuration? If not, then what > tool has been revealing the bugs that lead to this whole issue of > double-build failures? I think that is a really good point you observed. How is the check "does it build twice in a row" cleanly really done when tested when rebuild of the whole archive was done? Bests Salvatore
Attachment:
signature.asc
Description: Digital signature