Do you use the stable version of Lazarus? For production use, you should use only the stable version, not the development version.
On the project that failed to build, can you check if the setting is configured to Linux target? If you want to target Windows binary, you should first make your Lazarus/FPC to cross compile to Windows.