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

Bug#929729: lintian: \n in filenames cause "md5sum: ...: No such file or directory"



Hi Jakub,

> Newlines in filenames make Lintian very unhappy:

[..]

Curiously, I can't seem to reproduce this when rebuilding the .deb
from your Git repository and dpkg 1.19.7:

    $ dpkg-buildpackage --version | head -n1
    Debian dpkg-buildpackage version 1.19.7.

    $ dpkg-buildpackage -uc -us
    […]

    $ lintian ../newline_1_all.deb
    E: newline: no-copyright-file
    E: newline: extended-description-is-empty

    $ echo $?
    1

> The source package for this deb is here:
> https://github.com/jwilk/newline.deb
> You will probably need very old dpkg (<< 1.18.1) to build it; see 
> #929727.

Looks like this was fixed in 1.19.7, ie. my current version.

However, I can reproduce with your previously attached .deb:

    $ lintian ~/Downloads/newline_1_all.deb 2>&1 | head -n2
    md5sum: 'usr/share/newline/\n/etc/issue': No such file or directory
    command failed with error code 123 at /home/lamby/git/debian/lintian/lintian/lib/Lintian/Command.pm line 344.
     

Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby@debian.org 🍥 chris-lamb.co.uk
       `-


Reply to: