The problem will continue to exist regardless of Lazarus version unless you contact the maintainer of the package to fix it.
It's same problem in new lazarus 2.2.0
Quote from: folkeu08 on January 12, 2022, 06:40:13 pmIt's same problem in new lazarus 2.2.0No. The issue has been fixed in rx-trunk on Nov 30,2021 by the package maintainer. rxnew compiles with every Lazarus version. But be aware: This is not true for the version which is distributed by online-package-manager (OPM)
actual version - https://svn.code.sf.net/p/lazarus-ccr/svn/components/rx/trunk