[Pkg-pascal-devel] Bug#1026719: vmg: FTBFS: /usr/bin/ld.bfd: cannot find -latk-1.0: No such file or directory

Abou Al Montacir abou.almontacir at sfr.fr
Sun Jan 1 19:02:51 GMT 2023


Hi Samuel,

> On Tue, 20 Dec 2022 19:27:23 +0100 Samuel Thibault <sthibault at debian.org>
> wrote:
> Control: reassign -1 lazarus
> Control: affects -1 + vmg
> 
> Hello,
> 
> Lucas Nussbaum, le mar. 20 déc. 2022 18:31:46 +0100, a ecrit:
> > > Linking ./vmg
> > > /usr/bin/ld.bfd: cannot find -lgdk-x11-2.0: No such file or directory
> > > /usr/bin/ld.bfd: cannot find -lgtk-x11-2.0: No such file or directory
...
> > > /usr/bin/ld.bfd: cannot find -latk-1.0: No such file or directory
> 
> Yes, we had discussed it a bit in #967798, it is an issue in Lazarus:
> fp-units-gtk2-3.2.0 used to have the libgtk2.0-dev dependency, but
> fp-units-gtk2-3.2.2 doesn't any more, but it should, it shouldn't be up
> to users of the gtk2 unit to know which C dependency it should take.

Sorry, but, as FPC maintaining team member, I don't share this __ should __
statement for the following reasons.
 * GTK2 is declared as deprecated in Debian since long time ago.
 * Technically, Lazarus doe snot need libgtk2.0-dev for running, and thus should
   not pull it.
 * Technically, FPC does not need any GTK related lib, it only provide binding
   units. So it should not pull it either.
 * For building, Lazarus build depends on libgtk2.0-dev, until it will migrate
   to gtk3. And so shall do all programs that use it.

I hope this makes it clear, why neither Lazarus, nor FPC or any of their
packages should pull libgtk2.0-dev package.
You should handle this bug in VMG, and probably the best way to do it is to
build depend on libgtk-2.0-dev until you
fix https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=967798
-- 
Cheers, Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20230101/0a8ef151/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/20230101/0a8ef151/attachment-0001.sig>


More information about the Pkg-pascal-devel mailing list