There is a new package in v4.0
packager/registration/fcl_unicodertl.lpk
and it does not seem to build on either Debian or Arch linux.
Fatal: (10022) Can't find unit System.Classes used by LazarusPackageIntf
Is this a regression, or is this new package maybe intended to be Windows or Mac only?
I don't know the details / So someone else will have to react / or it needs to go the bugtracker (if not resolved coincidentally by any comment below).
"system.classes" is afaik for fpc 3.3.1. (Or even, only for special installs of 3.3.1 ?).
There is a define in that unit "LazarusPackageIntf": FPC_DOTTEDUNITS and this controls if the code is for current fpc, or the new flavour with dotted unit names.
Possible, that define is incorrectly set on your setup. And if so, I don't know why.
One possible reason could be that you have more than one version of FPC installed. (3.3.1 and either 3.2.2 or 3.2.3 ?)
Or that you had one of them in the past, and the other now, and there are left overs...
Any such left overs or double presence may lead to incorrect detection.
If there are/were multiple fpc versions involved on your setup(if not then ignore)
Note that on Linux, more than one fpc is possible, but rather tricky.
By default the fpc config goes into /etc/fpc.cfg
(or alternatively into your home folder // IIRC ~/.fpc but may be something similar instead).
And that means, that multiple installs need special care so they don't affect each other...
- It may be (I heard, but never tested) possible to IFDEF in the fpc.cfg.
- it is also possible to move the fpc.cfg into a location relative to each install (but I don't recall the exact location, and conditions)
- It is possible to wrap fpc into a shell script and add a parameter with the location for fpc.cfg (that is what fpcupdeluxe does) - of course then all acces must use that script
In the 2nd and 3rd case, you still may have to make sure that there is no global/home fpc.cfg as it may be found in addition (again, not sure...)