• Bug#1099741: dgit: does not work out of the box with the rosettasciio r

    From Ian Jackson@21:1/5 to All on Fri Mar 28 18:30:01 2025
    Control: reassign -1 src:git-buildpackage

    Picca Frédéric-Emmanuel writes ("Bug#1099741: dgit: does not work out of the box with the rosettasciio repository"):
    I try to build a package comming from here
    ...
    it seems to me that this is something related to the gitattributes.

    $ cat .gitattributes
    # Set default behaviour, in case users don't have core.autocrlf set.
    * text=auto
    *.py diff=python
    *.bat eol=crlf
    *.msa eol=crlf
    *.nsi eol=crlf

    That seems likely.

    It seems like you are trying to base your work on upstream tarballs.
    In that case, to work with dgit, your git objects must contain
    precisely the same as the tarball - in this case, with crlf line endings.

    I looked at doc/make.bat and the version in the git tree seems to have
    nl line endings, even though the version in the Debian archive has
    crlf line endings.

    I conjecture that this tune

    gbp import-orig --uscan

    failed to defuse the gitattributes before doing the tarball import.

    Ian.

    --
    Ian Jackson <ijackson@chiark.greenend.org.uk> These opinions are my own.

    Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk,
    that is a private address which bypasses my fierce spamfilter.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)