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

Re: many packages fail to build twice in a row again



Charles Plessy <plessy@debian.org> writes:

> Le Tue, Dec 20, 2011 at 10:01:44PM +0200, Peter Eisentraut a écrit :
>> With recent dpkg(-source) changes, many packages are again failing to
>> build twice in a row, because of uncommitted upstream changes.  Fixing
>> this was a lenny release goal, maybe it should be one again?!?  Most
>> importantly, maybe someone who has access to one of those build grids
>> can run the old tests again, because I feel by accidentally stumbling
>> upon these problems we will not be able to find and fix many of them any
>> time soon.
>
> Personally I have given up making packages buildable twice in a row using
> â??debian cleanâ?? for the packages I maintain with git, as it is really easy to
> reset the repository with â??git cleanâ?? and â??git checkoutâ??.
>
> Half of the source packages that declare a VCS are managed with Git.  I think
> that instead of making complex workarounds, we would benefit of allowing the
> 3.0 (git) source format, where â??git cleanâ?? and â??git checkoutâ?? could be ran from
> the clean target of debian/rules, if there is agreement that it does not
> violate the principle of least surprise, as it also wipes out changes made in
> the debian directory.
>
> About acceptability of that format for our archive, I have not seen direct
> evidence that it is unsuitable, see http://bugs.debian.org/642801.
>
> Have a nice day,

That totaly violates the principle of least surprise. debian/rules clean
should never undo changes made by the user.

MfG
        Goswin


Reply to: