On Thu, Feb 26, 2026 at 08:21:45PM +0000, Peter Blackman wrote:

> fpc does not itself need X11. Its a command line compiler.
> 
> I think the best solution is to add a dependency on libx11-dev
> to the lazarus lcl. Leave this with me.

Ok, I do nothing, but I'm not sure that adding libx11-dev as a
dependency is the best course of action here.

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.

Reply via email to