[Pkg-pascal-devel] Lazarus lintian warnings

Peter Blackman peter at pblackman.plus.com
Mon Oct 21 16:15:54 BST 2024


Hi,

I'm thinking of fixing these.
The 47 current warnings break down into only 4 flavours.

1) hardening-no-pie
This is a direct consequence of disabling -pie on architectures
where fpc won't build that way. So makes sense to override these.

2) script-not-executable
These occur only in the lazarus-src package, where its unlikely that
its intended for these scripts to be run by end users. I suggest 
overriding these too, rather than chmod them. After all, and end user
can trivially set the bit themselves should they (unlikely) wish to run 
them.

3) duplicate-font-file
Genuine issue. Tempting to just remove them. Should the autopkgtest 
fail, solution could be to depend on fonts-freefont-ttf and include 
symlinks in aggpas directory.

4) national-encoding
"Support for national encodings is being phased out.
Please convert the file to UTF-8 using iconv or a similar tool."

This would be a real problem for certain locales if the support 
disappears. Could run iconv in dh_install.


Cheers,
Peter B



More information about the Pkg-pascal-devel mailing list