[Pkg-pascal-devel] Lazarus lintian warnings
Abou Al Montacir
abou.almontacir at sfr.fr
Tue Oct 22 07:09:00 BST 2024
Hi Peter,
On Mon, 2024-10-21 at 16:15 +0100, Peter Blackman wrote:
> 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.
I would rather not hide an obvious problem and let it be visible.
FPC has a real issue there, and we should not mask it.
I don't recommend this way of hiding issues.
>
> 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.
Generally, upstream takes patches for this kind of issue.
I would add a patch for changing permissions, include it in current patch set
and forward it to upstream.
>
> 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.
That is probably the best solution. We do the same for CGE.
>
> 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.
We should be careful here as Paul stated in his mail.
We also need to forward patches to upstream in order not to have to update them
for each new release.
--
Cheers,
Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20241022/25fa2a91/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20241022/25fa2a91/attachment.sig>
More information about the Pkg-pascal-devel
mailing list