[Pkg-octave-devel] Octave 3.4

Sébastien Villemot sebastien.villemot at ens.fr
Thu Dec 15 11:37:29 UTC 2011


Thomas Weber <tweber at debian.org> writes:

> On Sat, Dec 10, 2011 at 10:29:40PM +0100, Thomas Weber wrote:
>> > - I cannot run git-buildpackage without the --git-ignore-new option,
>> >   because some files tracked by git are deleted by debian/clean. A
>> >   similar issue is discussed in this old thread:
>> > 
>> >    http://www.mail-archive.com/debian-ocaml-maint@lists.debian.org/msg22803.html
>> > 
>> >   ...and the conclusion is that a patch would be more appropriate for
>> >   removing generated files from upstream tarball. An alternative
>> >   solution would be to use "git update-index --assume-unchanged", but
>> >   this is local to a working copy and does not propagate to remote
>> >   repositories if my understanding is correct.
>> 
>> Sigh. The problem as I see it is: we must be able to regenerate the PDF
>> files (if we patch just one source file for them, they will be
>> regenerated anyway). But quilt has no support for binary files, so we
>> cannot simply patch the files away.
>
> Hmm, can you just simply try and delete "debian/clean"? This seems to
> fix everything here for me. We can kick off a documentation rebuild by
> just touching some .txi files and it seems that the packaging machinery
> doesn't look at diffs of generated binary files.

Removing debian/clean helps. I am then able to run git-buildpackage
without any option when starting from a clean repository.

But then if I try to do a second build in a row, dpkg-source complains
about modified files (both text and binary files). I think this is not
policy compliant. I attach a patch which fixes the problem.

Also note that for the second build in a row, I have to give the
--git-ignore-new option. But I think we cannot do much about that, at
least because dh_autoreconf deletes the files that it has modified
(instead of restoring them to their original state).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-debian-source-options-exclude-various-regenerated-fi.patch
Type: text/x-diff
Size: 681 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20111215/77145267/attachment.patch>
-------------- next part --------------

-- 
S?bastien Villemot
Researcher in Economics & Debian Maintainer
http://www.dynare.org/sebastien
Phone: +33-1-40-77-49-90 - GPG Key: 4096R/381A7594
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20111215/77145267/attachment.pgp>


More information about the Pkg-octave-devel mailing list