PascalABC.NET на Linux

Общая формулировка: проект не удаётся собрать или запустить на Ubuntu 16.04 и 18.04 никаким доступным способом.

  1. Предварительные условия.

Чистая Ubuntu 16.04.6 х86 (и 18.04.5 amd64, там всё аналогично). Более ранние сборки этих выпусков недоступны, 18.04.5 х86 к тому же ещё и не устанавливается (но это тема не для данного форума).

Действия, рекомендованные на гитхабовской страничке PascalABC.NET (установка mono и скачивание исходников с гитхаба), выполняются без ошибок.

  1. Попытка запустить зипованный собранный проект для Windows из-под mono:
user@pascaller:~$ cd workspace/pascalabc/bin/
user@pascaller:~/workspace/pascalabc/bin$ mono pabcnetc.exe
Loading core

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0008b] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00000] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002df] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00000] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00000] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00044] in <581daa62f76b40c0ba9ede594e003c82>:0 
   --- End of inner exception stack trace ---
  at PascalABCCompiler.Compiler.Reload () [0x00015] in <56cdefc47132418393f2b995c742dd89>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
  at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x000d9] in <56cdefc47132418393f2b995c742dd89>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
  at PascalABCCompiler.ConsoleCompiler.Reset () [0x0001b] in <749d981268b845a585aabc1dd2e10d58>:0 
  at PascalABCCompiler.ConsoleCompiler.Main (System.String[] initialArgs) [0x0009c] in <749d981268b845a585aabc1dd2e10d58>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0008b] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00000] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002df] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00000] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00000] in <581daa62f76b40c0ba9ede594e003c82>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00044] in <581daa62f76b40c0ba9ede594e003c82>:0 
   --- End of inner exception stack trace ---
  at PascalABCCompiler.Compiler.Reload () [0x00015] in <56cdefc47132418393f2b995c742dd89>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
  at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x000d9] in <56cdefc47132418393f2b995c742dd89>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
  at PascalABCCompiler.ConsoleCompiler.Reset () [0x0001b] in <749d981268b845a585aabc1dd2e10d58>:0 
  at PascalABCCompiler.ConsoleCompiler.Main (System.String[] initialArgs) [0x0009c] in <749d981268b845a585aabc1dd2e10d58>:0 
user@pascaller:~/workspace/pascalabc/bin$ 
  1. Попытка использовать выложденный на гитхабе дебиановский пакет:
user@pascaller:~/workspace/pascalabc$ sudo apt install ./pascalabcnet_3.7.1-2699_all.deb 
[sudo] пароль для user: 
Чтение списков пакетов… Готово
Построение дерева зависимостей       
Чтение информации о состоянии… Готово
Заметьте, вместо «./pascalabcnet_3.7.1-2699_all.deb» выбирается «pascalabcnet»
Будут установлены следующие дополнительные пакеты:
  geany geany-common libchm1 libwxbase3.0-0v5 libwxgtk3.0-0v5 xchm
Следующие НОВЫЕ пакеты будут установлены:
  geany geany-common libchm1 libwxbase3.0-0v5 libwxgtk3.0-0v5 pascalabcnet
  xchm
Обновлено 0 пакетов, установлено 7 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Необходимо скачать 8 449 kB/15,0 MB архивов.
После данной операции объём занятого дискового пространства возрастёт на 60,4 MB.
Хотите продолжить? [Д/н] 
......
Получено 8 449 kB за 0с (9 941 kB/s)       
Выбор ранее не выбранного пакета geany-common.
(Чтение базы данных … на данный момент установлено 205903 файла и каталога.)
Подготовка к распаковке …/geany-common_1.27-1_all.deb …
Распаковывается geany-common (1.27-1) …
Выбор ранее не выбранного пакета geany.
Подготовка к распаковке …/archives/geany_1.27-1_i386.deb …
Распаковывается geany (1.27-1) …
Выбор ранее не выбранного пакета libchm1.
Подготовка к распаковке …/libchm1_2%3a0.40a-3_i386.deb …
Распаковывается libchm1 (2:0.40a-3) …
Выбор ранее не выбранного пакета libwxbase3.0-0v5:i386.
Подготовка к распаковке …/libwxbase3.0-0v5_3.0.2+dfsg-1.3ubuntu0.1_i386.deb …
Распаковывается libwxbase3.0-0v5:i386 (3.0.2+dfsg-1.3ubuntu0.1) …
Выбор ранее не выбранного пакета libwxgtk3.0-0v5:i386.
Подготовка к распаковке …/libwxgtk3.0-0v5_3.0.2+dfsg-1.3ubuntu0.1_i386.deb …
Распаковывается libwxgtk3.0-0v5:i386 (3.0.2+dfsg-1.3ubuntu0.1) …
Выбор ранее не выбранного пакета pascalabcnet.
Подготовка к распаковке …/pascalabcnet_3.7.1-2699_all.deb …
Распаковывается pascalabcnet (3.7.1-2699) …
Выбор ранее не выбранного пакета xchm.
Подготовка к распаковке …/xchm_2%3a1.23-2build1_i386.deb …
Распаковывается xchm (2:1.23-2build1) …
Обрабатываются триггеры для doc-base (0.10.7) …
Обработка 1 добавленный файл doc-base...
Регистрация документа в scrollkeeper...
Обрабатываются триггеры для hicolor-icon-theme (0.15-0ubuntu1.1) …
Обрабатываются триггеры для libc-bin (2.23-0ubuntu11.2) …
Обрабатываются триггеры для gnome-menus (3.13.3-6ubuntu3.1) …
Обрабатываются триггеры для desktop-file-utils (0.22-1ubuntu5.2) …
Обрабатываются триггеры для mime-support (3.59ubuntu1) …
Обрабатываются триггеры для man-db (2.7.5-1) …
Настраивается пакет geany-common (1.27-1) …
Настраивается пакет geany (1.27-1) …
Настраивается пакет libchm1 (2:0.40a-3) …
Настраивается пакет libwxbase3.0-0v5:i386 (3.0.2+dfsg-1.3ubuntu0.1) …
Настраивается пакет libwxgtk3.0-0v5:i386 (3.0.2+dfsg-1.3ubuntu0.1) …
Настраивается пакет pascalabcnet (3.7.1-2699) …
Do you wish to configure Geany? [y/N] y 
Specify your username: user
Настраивается пакет xchm (2:1.23-2build1) …
Обрабатываются триггеры для libc-bin (2.23-0ubuntu11.2) …
user@pascaller:~/workspace/pascalabc$ find / -name "pabcnetc.exe"
/usr/share/pascalabcnet/pabcnetc.exe
/home/user/workspace/pascalabc/bin/pabcnetc.exe
user@pascaller:~/workspace/pascalabc$ mono /usr/share/pascalabcnet/pabcnetc.exe
Loading core...
Unhandled Exception:
System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0008b] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002df] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00044] in <687dc53510a24d93878ad8ae8fabe101>:0 
   --- End of inner exception stack trace ---
  at PascalABCCompiler.Compiler.Reload () [0x00015] in <947b4bf5c6054bd58a1ee8ce80900c79>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
  at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x000d9] in <947b4bf5c6054bd58a1ee8ce80900c79>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
  at PascalABCCompiler.ConsoleCompiler.Reset () [0x0001b] in <907396fea7d347a99af59e46fb81fe90>:0 
  at PascalABCCompiler.ConsoleCompiler.Main (System.String[] initialArgs) [0x0009c] in <907396fea7d347a99af59e46fb81fe90>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0008b] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002df] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00044] in <687dc53510a24d93878ad8ae8fabe101>:0 
   --- End of inner exception stack trace ---
  at PascalABCCompiler.Compiler.Reload () [0x00015] in <947b4bf5c6054bd58a1ee8ce80900c79>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
  at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x000d9] in <947b4bf5c6054bd58a1ee8ce80900c79>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
  at PascalABCCompiler.ConsoleCompiler.Reset () [0x0001b] in <907396fea7d347a99af59e46fb81fe90>:0 
  at PascalABCCompiler.ConsoleCompiler.Main (System.String[] initialArgs) [0x0009c] in <907396fea7d347a99af59e46fb81fe90>:0 
user@pascaller:~/workspace/pascalabc$ 
  1. Попытка сборки среды – длиннющий протокол, в конце которого вот что:
Mono Ahead of Time compiler - compiling assembly /home/user/workspace/pascalabc/pascalabcnet/bin/Errors.dll
AOTID 6631E9CA-ED27-ADA2-3B3B-C9F7C2112006
Code: 4160(62%) Info: 102(1%) Ex Info: 744(11%) Unwind Info: 60(0%) Class Info: 911(13%) PLT: 24(0%) GOT Info: 453(6%) Offsets: 242(3%) GOT: 272
Compiled: 37/37 (100%), No GOT slots: 28 (75%), Direct calls: 0 (0%)
Executing the native assembler: "as"   -o /tmp/mono_aot_WYUHfc.o /tmp/mono_aot_WYUHfc
Executing the native linker: "ld"  -shared -o /home/user/workspace/pascalabc/pascalabcnet/bin/Errors.dll.so.tmp  /tmp/mono_aot_WYUHfc.o 
JIT time: 3 ms, Generation time: 2 ms, Assembly+Link time: 11 ms.
Loading core...

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0008b] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00000] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002df] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00000] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00000] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00044] in <ede10acd6272406b8ce078ad8403b923>:0 
   --- End of inner exception stack trace ---
  at PascalABCCompiler.Compiler.Reload () [0x00015] in <beb380f5ac244394b2dbf2fbbc2751db>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
  at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x000d9] in <beb380f5ac244394b2dbf2fbbc2751db>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
  at PascalABCCompiler.ConsoleCompiler.Reset () [0x0001b] in <50b076e7a7b64b499200f0b58002c623>:0 
  at PascalABCCompiler.ConsoleCompiler.Main (System.String[] initialArgs) [0x0009c] in <50b076e7a7b64b499200f0b58002c623>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0008b] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00000] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002df] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00000] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00000] in <ede10acd6272406b8ce078ad8403b923>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00044] in <ede10acd6272406b8ce078ad8403b923>:0 
   --- End of inner exception stack trace ---
  at PascalABCCompiler.Compiler.Reload () [0x00015] in <beb380f5ac244394b2dbf2fbbc2751db>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
  at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x000d9] in <beb380f5ac244394b2dbf2fbbc2751db>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
  at PascalABCCompiler.ConsoleCompiler.Reset () [0x0001b] in <50b076e7a7b64b499200f0b58002c623>:0 
  at PascalABCCompiler.ConsoleCompiler.Main (System.String[] initialArgs) [0x0009c] in <50b076e7a7b64b499200f0b58002c623>:0 
user@pascaller:~/workspace/pascalabc/pascalabcnet$ 

Ну, и как оживить среду? У ребёнка лочка на это чудо на занятиях. Windows не предлагать ни в каком виде – ни в виртуалке, ни на голом железе.

1 симпатия

Поидее, это единственный вариант, при котором вам создаёт .pdb файлы. Попробуйте получить точную строчку ошибки, а то пока слишком много вариантов что могло пойти не так.

Или, если вы сможете открыть решение PascalABCNET.sln и запустить 1 из проектов, или Core\PABCNETC, или Core\PABCNETCClear и установить аргументы командной строки, чтоб сразу компилировало какой то .pas файл - будет ещё больше информации.

Чем я из линукса это решение открою???!!!

Монодевелопом? Его скачивать около часа, скачаю – попробую.

Вроде была какая то из студий, работающая под всеми системами. Вроде Visual Studio Code.
Ну, я понимаю что если у вас её нет - это много разбираться ставить, поэтому и говорю “если сможете”.

Но, конечно, дебаг .Net Framework приложения под линуксом это издевательство. И над ребёнком, по моему, это тоже будет издевательством, потому что под ним не то что отладчик, но даже и анализатор кода использовать не выйдет. По крайней мере без эмулятора. Но я таки не предлагаю, а говорю а возможных минусах.

VS Code имеется как снаповский пакет, устанавливаемый одной командой, но только для amd64, для 32-разрядных платформ нету. Для пробы мне надо переустановить линукс, это позже, скорее всего, завтра (это не быстро).

Кстати, и на гитхабе нужна была бы отметка, в какой ОС проходят сборка и установка дебиановского пакета.

А зачем обязательно пересобирать? Нельзя взять готовый консольный компилятор и подключть его к geany?

Да, помнится, там какую-то расширенную версию Mono надо было поставить. Возможно, она уже интегрирована в последние линуксы - раньше это было не так

Судя по сообщению об ошибке какого-то типа в Mono нет. Причем, ошибка одна как при сборке проекта, так и при его запуске.

Нужна конечно точная строка ошибки. Можем попробовать собрать вам тестовую версию с pdb - тогда строки ошибки будут видны - весь стек

Нельзя. Валится точно таким же образом; кстати, см. п. 2 моего сообщения, я с этого начал. pabcnetcclean.exe тоже валится (только что проверил; в test.pas – тест из трёх строк с вики) :

user@pascaller:~/workspace$ geany test.pas
user@pascaller:~/workspace$ mono --debug /usr/share/pascalabcnet/pabcnetcclear.exe test.pas

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0008b] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002df] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00044] in <687dc53510a24d93878ad8ae8fabe101>:0 
   --- End of inner exception stack trace ---
  at PascalABCCompiler.Compiler.Reload () [0x00015] in <947b4bf5c6054bd58a1ee8ce80900c79>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
  at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x000d9] in <947b4bf5c6054bd58a1ee8ce80900c79>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
  at PascalABCCompiler.ConsoleCompiler.Main (System.String[] args) [0x0000b] in <06b54fbffaa3436da9760dea6f823f58>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0008b] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 %,
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x0005f] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00013] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00058] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x00038] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002df] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00000] in <687dc53510a24d93878ad8ae8fabe101>:0 
  at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00044] in <687dc53510a24d93878ad8ae8fabe101>:0 
   --- End of inner exception stack trace ---
  at PascalABCCompiler.Compiler.Reload () [0x00015] in <947b4bf5c6054bd58a1ee8ce80900c79>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
  at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x000d9] in <947b4bf5c6054bd58a1ee8ce80900c79>:0 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
  at PascalABCCompiler.ConsoleCompiler.Main (System.String[] args) [0x0000b] in <06b54fbffaa3436da9760dea6f823f58>:0 
user@pascaller:~/workspace$ 

Вообще, возникает интересный такой вопрос: какая сборка среды на каком линуксе и каком моно последний раз собиралась и запускалась гладко?

Насчёт тестовой версии – ОК, давайте, попробую.

Ага. Загрузил решение PascalABCNET.sln в монодевелоп, запустил очистку, потом сборку. 141 ошибка, 278 предупреждений. Такое впечатление, что не хватает некоторых файлов, подключаемых по using.

А что за очистка?

Прежде всего, надо глянуть, подключились ли все зависимости в проектах. using - это только пространства имен. Если не подключились, подключить их руками

В Monodevelop Проект - Очистить все (или Очистить <имя_проекта>). В нелокализованных средах разработки это обычно Cleanup, в Makefile – цель clean. Удаление остатков от предыдущих сборок.

А Вы с Monodevelop никогда не работали?! :astonished:

Мда. Дня на два работы как минимум.

Вы поставили полную mono? (mono-complete)

Да, конечно, – инструкцию с гитхаба по установке зависимостей я выполнил на 100%, никаких сообщений об ошибке не наблюдалось. Всё было сделано одинаково и на x86, и на amd64, результат одинаковый.

Покопался в диагностике в монодевелопе. Как и ожидал. В коде есть привязки к WPF, которые не могут быть скомпилированы на mono, но могут присутствовать в коде, скомпилированном на дотнете и работающем на mono, – в случае, если возможности WPF на моно не используются. Однако падение в посте иного рода.

WPF – зло. По работе знаю.

Надо компилировать проект консольного компилятора pabcnetcclear.exe. Вам как раз это и надо. Там нет никаких привязок.

Оболочка не скомпилируется

Понял, попробую. Пока 32-разрядный линукс.

Дебажная сборка pabcnetcclear.exe – собралась, ошибок 0, предупреждений 174.

Релизная сборка pabcnetcclear.exe сразу после дебажной без очистки – монодевелоп завалился.

Релизная сборка pabcnetcclear.exe с предварительной очисткой решения – прошла, ошибок 0, предупреждений 174.

Проверю работоспособность чуть позже, отпишусь.

PS. Всё хуже, попробовал поменять выходной каталог, начались ошибки. Переустановлю систему начисто (на amd64) – повторю и отпишусь ещё раз.

Установил чистую ОС xubuntu-18.04.5 amd64, выкачал все обновления, установил зависимости по рецепту с гитхаба проекта pascalabc.net плюс дополнительно пакет monodevelop со всеми его зависимостями, выкачал исходники компилятора с git. Загружаю в среду monodevelop решение PascalABCNET, далее в проводнике решений выбираю PascalABCNET > Core > PABCNETCclear. По умолчанию для решения установлена конфигурация сборки Debug. Дальше несколько деталей, которые не очевидны, но могут влиять на исполнимость проекта:

  1. В параметрах проекта PABCNETCclear (контекстное меню) Сборка > Общие, на этой панели два параметра: а) Целевая платформа – .NET Framework 4 (варианты выбора от версии 2.0 до 4.7.1, mono в списке отсутствует); б) флажок “Не ссылаться на mscorlib.dll” снят.
  2. Сборка > Настраиваемые команды, в поле “Концигурация” выбрано Debug (доступно ещё Release). Очищаем каталог bin в папке решения (возможно, так делать не надо, но я не знаю, что в нём), выполняем сборку проекта по F7. Проект собрался, ошибок 0, предупреждений 174.

Сооружаем простенький паскалевский файлик:

user@pabctest:~/workspace/pascalabcnet/bin$ cat hello.pas
program hello;
begin
	writeln('Hello,world!');
end.	

Запускаем свежесобранный компилятор:

user@pabctest:~/workspace/pascalabcnet/bin$ mono --debug pabcnetcclear.exe hello.pas

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x000ac] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3234 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00001] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3143 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002dd] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:1190 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00001] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:2105 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00001] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:2252 
  at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00046] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:2266 
   --- End of inner exception stack trace ---
  at PascalABCCompiler.Compiler.Reload () [0x00017] in /home/user/workspace/pascalabcnet/Compiler/Compiler.cs:1061 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
  at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x00142] in /home/user/workspace/pascalabcnet/Compiler/Compiler.cs:1051 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
  at PascalABCCompiler.ConsoleCompiler.Main (System.String[] args) [0x0000d] in /home/user/workspace/pascalabcnet/pabcnetc_clear/ConsoleCompiler.cs:121 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x000ac] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3234 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00001] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3143 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002dd] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:1190 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00001] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:2105 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00001] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:2252 
  at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00046] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:2266 
   --- End of inner exception stack trace ---
  at PascalABCCompiler.Compiler.Reload () [0x00017] in /home/user/workspace/pascalabcnet/Compiler/Compiler.cs:1061 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
  at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x00142] in /home/user/workspace/pascalabcnet/Compiler/Compiler.cs:1051 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
  at PascalABCCompiler.ConsoleCompiler.Main (System.String[] args) [0x0000d] in /home/user/workspace/pascalabcnet/pabcnetc_clear/ConsoleCompiler.cs:121 
user@pabctest:~/workspace/pascalabcnet/bin$ 

Сборка со снятым флажком “Не ссылаться на mscorlib.dll” не проходит, сразу 111 ошибок.

Поэкспериментируем с параметрами сборки.

  1. Целевая платформа – .NET Framework 2.0, а также 3.0. Сборка не проходит, одна ошибка – отсутствует пространство имён System.Linq.

  2. Целевая платформа – .NET Framework 3.5. Сборка проходит с 18 предупреждениями. Запуск компилятиора валится:

user@pabctest:~/workspace/pascalabcnet/bin$ mono --debug pabcnetcclear.exe hello.pas

Unhandled Exception:
System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x000ac] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3234 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00001] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3143 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002dd] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:1190 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00001] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:2105 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00001] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:2252 
  at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00046] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:2266 
   --- End of inner exception stack trace ---
  at PascalABCCompiler.Compiler.Reload () [0x00017] in /home/user/workspace/pascalabcnet/Compiler/Compiler.cs:1061 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
  at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x00142] in /home/user/workspace/pascalabcnet/Compiler/Compiler.cs:1051 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
  at PascalABCCompiler.ConsoleCompiler.Main (System.String[] args) [0x0000d] in /home/user/workspace/pascalabcnet/pabcnetc_clear/ConsoleCompiler.cs:121 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'PascalABCCompiler.SystemLibrary.SystemLibrary' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x000ac] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3234 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node..ctor (System.Reflection.ConstructorInfo con_info) [0x00078] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2227 
  at PascalABCCompiler.TreeRealization.compiled_constructor_node.get_compiled_constructor (System.Reflection.ConstructorInfo ci) [0x00019] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/functions.cs:2201 
  at PascalABCCompiler.TreeRealization.compiled_type_node.init_constructors () [0x00071] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3132 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st) [0x0004a] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3225 
  at PascalABCCompiler.TreeRealization.compiled_type_node.get_type_node (System.Type st, SymbolTable.TreeConverterSymbolTable tcst) [0x00001] in /home/user/workspace/pascalabcnet/TreeConverter/TreeRealization/types.cs:3143 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize_types () [0x002dd] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:1190 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.make_types () [0x00001] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:2105 
  at PascalABCCompiler.SystemLibrary.SystemLibrary.initialize () [0x00001] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:2252 
  at PascalABCCompiler.SystemLibrary.SystemLibrary..cctor () [0x00046] in /home/user/workspace/pascalabcnet/TreeConverter/SystemLib/StaticSystemLib.cs:2266 
   --- End of inner exception stack trace ---
  at PascalABCCompiler.Compiler.Reload () [0x00017] in /home/user/workspace/pascalabcnet/Compiler/Compiler.cs:1061 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler.Reload()
  at PascalABCCompiler.Compiler..ctor (PascalABCCompiler.SourceFilesProviderDelegate SourceFilesProvider, PascalABCCompiler.ChangeCompilerStateEventDelegate ChangeCompilerState) [0x00142] in /home/user/workspace/pascalabcnet/Compiler/Compiler.cs:1051 
  at (wrapper remoting-invoke-with-check) PascalABCCompiler.Compiler..ctor(PascalABCCompiler.SourceFilesProviderDelegate,PascalABCCompiler.ChangeCompilerStateEventDelegate)
  at PascalABCCompiler.ConsoleCompiler.Main (System.String[] args) [0x0000d] in /home/user/workspace/pascalabcnet/pabcnetc_clear/ConsoleCompiler.cs:121 
user@pabctest:~/workspace/pascalabcnet/bin$ 

Перепробовал все другие варианты целевых платформ, результат тот же самый дословно.

Господа разработчики, ваше слово.

 Институт математики, механики и компьютерных наук ЮФУ, 2005–2018
Администрация форума: В.Н. Брагилевский, С.С. Михалкович, А.М. Пеленицын
Yandex.Metrica