Lazarus fails to build on macOS after r63109

Original Reporter info from Mantis: trev @trevoz
  • Reporter name: Trevor Roydhouse

Description:

Lazarus: r63113
FPC: r44876

#!/bin/sh
svn cleanup --remove-unversioned
make distclean all LCL_PLATFORM=cocoa CPU_TARGET=x86_64 bigide

cocoawsstdctrls.pas(495,60) Error: Identifier idents no member "ReadOnly"
cocoawsstdctrls.pas(1053,10) Warning: Class types "NSTextField" and "NSTextField_LCLExt" are not related
cocoawsstdctrls.pas(1085,11) Warning: Class types "NSTextDelegateProtocol" and "NSObject" are not related
cocoawsstdctrls.pas(1790,22) Error: Identifier idents no member "ReadOnly"
cocoawsstdctrls.pas(1831,22) Error: Identifier idents no member "ReadOnly"
cocoawsstdctrls.pas(1849,22) Error: Identifier idents no member "ReadOnly"
cocoawsstdctrls.pas(1865,22) Error: Identifier idents no member "ReadOnly"
cocoawsstdctrls.pas(1877,22) Error: Identifier idents no member "ReadOnly"
cocoawsstdctrls.pas(1892,22) Error: Identifier idents no member "ReadOnly"
cocoawsstdctrls.pas(1904,22) Error: Identifier idents no member "ReadOnly"
cocoawsstdctrls.pas(2297) Fatal: There were 8 errors compiling module, stopping
Fatal: Compilation aborted
make[3]: *** [../lcl.ppu] Error 1
make[2]: *** [cocoa_all] Error 2
make[1]: *** [interfaces] Error 2
make: *** [lcl] Error 2

Steps to reproduce:

Attempt to compile Lazarus IDE after r63109.

Additional information:

Looks like the following commits cause the problem:

Code: [Select]
------------------------------------------------------------------------
r63112 | juha | 2020-05-03 00:13:43 +1000 (Sun, 03 May 2020) | 1 line
LCL: Remove also public property TCustomComboBox.ReadOnly.
------------------------------------------------------------------------
r63111 | juha | 2020-05-02 20:51:09 +1000 (Sat, 02 May 2020) | 1 line
Assertions to debug issue #36318 (closed).
------------------------------------------------------------------------
r63110 | juha | 2020-05-02 07:12:54 +1000 (Sat, 02 May 2020) | 1 line
LCL: Remove deprecated TComboBox.ReadOnly.
------------------------------------------------------------------------

Mantis conversion info:

  • Mantis ID: 37009
  • OS: macOS
  • OS Build: 10.14.6
  • Platform: Apple 2018 Mac mini
  • Version: 2.1 (SVN)
  • Fixed in revision: 63115 (#56f22cd0)
  • Monitored by: » @trevoz (Trevor Roydhouse)