[Pkg-pascal-devel] checksum errors on lazarus builds
Abou Al Montacir
abou.almontacir at sfr.fr
Tue Feb 11 22:00:04 GMT 2025
Hi Paul,
On Tue, 2025-02-11 at 21:15 +0100, Paul Gevers wrote:
> Hi
>
> On 11-02-2025 20:47, Abou Al Montacir wrote:
> > Yes indeed, partial update also needs to be handled correctly.
>
> Officially Debian doesn't support partial upgrades, but it happens to
> work reasonably well, and autopkgtest migration gating has improved that
> situation a bit. So it's a real nice to have.
I've started adding the breaks dependency but finally had a thought that we are
maybe going in the wrong direction.
The package fp-utils provide a utility called fpc-depends. This is used to
resolve ${fpc:Depends} upon build and was supposed to act just like
${shlibs:Depends}.
So maybe the right solution is to bump the ABI version, which makes sense as we
are just breaking binary interface by compiling units with code compatible with
dynamically linked applications (PIC & PIE).
That will solve the problem of break, because all LCL and CGE units depend on
fpc-abi-3.2.2 so when it is bumped to for example fpc-abi-3.2.2+pie the old
LCL/CGE units will not find that virtual package and thus have an implicit
break, while the new one will require the new virtual pakage and thus break with
old compiler.
Does this makes sense? I think this is the reason why this tool was introduced
by Torsten Werner 16 years and half ago.
--
Cheers,
Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20250211/2f28989b/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/20250211/2f28989b/attachment.sig>
More information about the Pkg-pascal-devel
mailing list