[Pkg-pascal-devel] problem creating package for unstable

Thorsten Alteholz debian at alteholz.de
Sun Oct 23 10:08:27 BST 2022


Hi everybody,

when I compile some software[1] under Bullseye with:
   lazbuild udm.lpi
everything works fine.

When I do this under unstable, I get errors like:
   (1002) Target OS: Linux for x86-64
   (3104) Compiling playwavepackage.pas
   (3104) Compiling uplaysound.pas
   /home/thorsten/source/uplaysound.pas(35,22) Fatal: (10022) Can't find 
unit LResources used by uplaysound
   Fatal: (1018) Compilation aborted
   Error: /usr/bin/ppcx64 returned an error exitcode

If I add
-Fu/usr/lib/lazarus/2.2.2/lcl/units/x86_64-linux
-Fu/usr/lib/lazarus/2.2.2/components/ideintf/units/x86_64-linux/gtk2/

to /etc/fpc.cfg, the above error disappears (but other units are still 
missing).
Shouldn't those units be available automatically? Do you have any idea 
what I am doing wrong?

   Thorsten


[1] https://salsa.debian.org/debian-astro-team/udm/-/blob/master/udm.lpi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20221023/01ef6b04/attachment.htm>


More information about the Pkg-pascal-devel mailing list