[Pkg-pascal-devel] Bug#1060189: Bug#1060189: Bug#1060189: lazarus-src-3.0: diversion handling seems wrong (it works, but after an error)
Abou Al Montacir
abou.almontacir at sfr.fr
Fri Jan 12 21:44:01 GMT 2024
Hi Paul,
On Fri, 2024-01-12 at 20:12 +0100, Paul Gevers wrote:
> Hi Abou,
>
> On 11-01-2024 20:40, Abou Al Montacir wrote:
> > But this is the case of all lpk files where the binary package provide a
> > Manually compilable package while the source one provides a Compile As >
> > Needed package file.
>
> Don't we want them to be the same? Why do we even ship the files twice?
They are not the same for the following reasons:
When someone installs only binary packages (let's say an auto build setup) they
don't want to recompile units, and they don't even install sources, so we tell
lazbuild tool to not try to compile the units of this package. This is why the
lcl-units-* binary packages provide lpk fills with <AutoUpdate
Value="Manually"/>.
When a human installs full Lazarus on a desktop/laptop, he will want to install
sources and may need to recompile Lazarus (unfortunately upstream does not
support dynamically linked plugins and thus need to recompile lazarus when you
install some new packages). This will fail with <AutoUpdate Value="Manually"/>
and thus we change it to <AutoUpdate Value="AsNeeded"/>.
>
> > This was the case since many years now.
>
> Well, maybe I just didn't spot this issue before. But because of the
> /usr-merged work of helmut, I'm much more aware of diversions so they'd
> trigger me much more then they used to.
Makes sense, but I'm not sure I understand why diverted files should be the
same? Isn't diversion is used to enable a package to supersede another shipping
a different version of the same file?
--
Cheers,
Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20240112/d7043d1b/attachment-0001.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/20240112/d7043d1b/attachment-0001.sig>
More information about the Pkg-pascal-devel
mailing list