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

Bug#607498: lintian: detecting multiple lines in a single doc-base file entry



Package: lintian
Version: 2.4.3
Severity: Wishlist

A doc-base entry with multiple files should listed in a single line,
rather than enlisted in several lines.

For example, in fcitx 1:4.0.1-1, the doc-base entry must be like this:

Format: text
Files: /usr/share/doc/fcitx/Develop_Readme /usr/share/doc/fcitx/API.txt.gz /usr/share/doc/fcitx/pinyin.txt

If I list all three files in three lines, it will result in an
installation error:

Format: text
Files: /usr/share/doc/fcitx/Develop_Readme
       /usr/share/doc/fcitx/API.txt.gz
       /usr/share/doc/fcitx/pinyin.txt

This will produce an error while processing doc-base file(s), which I
think lintian could consider add a detection:

$ sudo dpkg -i fcitx_4.0.1-1_i386.deb
(正在读取数据库 ... 系统当前总共安装有 168523 个文件和目录。)
正预备替换 fcitx 1:4.0.1-1 (使用 fcitx_4.0.1-1_i386.deb) ...
正在解压缩将用于更替的包文件 fcitx ...
正在设置 fcitx (1:4.0.1-1) ...
 
正在处理用于 doc-base 的触发器...
Processing 1 changed doc-base file(s)...
Registering documents with scrollkeeper...
Unsuccessful stat on filename containing newline at
/usr/share/perl5/Debian/DocBase/Programs/Scrollkeeper.pm line 86.
正在处理用于 man-db 的触发器...
正在处理用于 libc-bin 的触发器...
ldconfig deferred processing now taking place

-- 
Regards,
Aron Xu

Attachment: signature.asc
Description: Digital signature


Reply to: