On 27/02/2026 01:16, Santiago Vila wrote:
<snip>
See this other package (src:transgui) which I discovered later,
note that this time the error is not "cannot find -lX11":
(9015) Linking /<<PKGBUILDDIR>>/units/transgui
/usr/bin/x86_64-linux-gnu-ld.bfd: cannot find -lgdk-x11-2.0: No such file or
directory
/usr/bin/x86_64-linux-gnu-ld.bfd: cannot find -lgtk-x11-2.0: No such file or
directory
/usr/bin/x86_64-linux-gnu-ld.bfd: cannot find -lgdk_pixbuf-2.0: No such file or
directory
/usr/bin/x86_64-linux-gnu-ld.bfd: cannot find -lpango-1.0: No such file or
directory
/usr/bin/x86_64-linux-gnu-ld.bfd: cannot find -latk-1.0: No such file or
directory
/<<PKGBUILDDIR>>/transgui.lpr(56,1) Error: (9013) Error while linking
/<<PKGBUILDDIR>>/transgui.lpr(56,1) Fatal: (10026) There were 1 errors
compiling module, stopping
Fatal: (1018) Compilation aborted
If fpc does not really need X11, it would seem that those are really
bugs in the affected packages, including src:transgui, not in fpc.
I think this would be a good opportunity to fix the packages themselves.
Thanks.
Agreed. There are other missing dependences apart from X11,
and I have only fixed for X11 (in libqtpas & libqt6pas, closing 1129081).
Those builds that only failed through "cannot find -lX11" should now be OK.
These other dependences were previously pulled via libgtk2.0-dev [1],
which for Qt packages, makes no sense going forward.
libatk1.0-dev
libcairo2-dev
libgdk-pixbuf-2.0-dev
libpango1.0-dev
So these need adding to affected packages.
[1] https://packages.debian.org/forky/libgtk2.0-dev