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

Re: dpkg-buildpackage OK, git-buildpackage not OK.



On Wed, Oct 28, 2009 at 12:11:25AM +0000, Sylvain Le Gall wrote:
> >> #   (use "git add/rm <file>..." to update what will be committed)
> >> #   (use "git checkout -- <file>..." to discard changes in working directory)
> >> #
> >> #	deleted:    src/r_devices.c
> >> #	deleted:    src/rdevices.ml
> >> #
> >> no changes added to commit (use "git add" and/or "git commit -a")
> >> 
> >> Use --git-ignore-new to ignore.
> >> make: *** [git-buildpackage] Erreur 1
> >
> git-buildpackage do additional check to ensure that after a clean you
> are back to pristine. It doesn't seems to be the case, because you have
> deleted file. 

Still, this kind of errors are usually worrisome. In general, they mean
that doing a "build"/"clean" cycle does not bring the source tree back
in the same state as it was before starting the build. That might cause
errors such as the infamous "FTBFS when built twice in a row".

So, please avoid working around that with --git-ignore-new, but rather
fix the build process so that that files are not removed during build
(or, as you suggested, restore them upon "clean").

Cheers.

-- 
Stefano Zacchiroli -o- PhD in Computer Science \ PostDoc @ Univ. Paris 7
zack@{upsilon.cc,pps.jussieu.fr,debian.org} -<>- http://upsilon.cc/zack/
Dietro un grande uomo c'è ..|  .  |. Et ne m'en veux pas si je te tutoie
sempre uno zaino ...........| ..: |.... Je dis tu à tous ceux que j'aime

Attachment: signature.asc
Description: Digital signature


Reply to: