<html><head></head><body bgcolor="#ffffff" text="#2e3436" link="#2a76c6" vlink="#2e3436"><div>On Mon, 2018-11-12 at 16:21 +0300, Alexander Kernozhitsky wrote:</div><blockquote type="cite"><pre>
Yes. The program is very minimalistic (see the attachments)
...
It seems that lazbuild tries to find the file with compiler messages, but 
fails.</pre><pre></pre></blockquote><div>I finally understood the issue.</div><div>Lazbuild tries to look to the compiler error message at the wrong location:</div><pre>/usr/share/fpcsrc/3.0.4/compiler/msg/errore.msg</pre><div>However the error messages file is located in Debian at:</div><pre>/usr/lib/x86_64-linux-gnu/fpc/3.0.4/msg/errore.msg</pre><div>So Lazarus/lazbuild does not find it and falls back on a copy shipped by lazarus-src:</div><pre>/usr/lib/lazarus/1.8.4/components/codetools/fpc.errore.msg</pre><div>However as you did not install lazarus-src, the file pointer is nil and an error happens when trying to access it.</div><div>The first step to fix this is to try to understand why do we install the error message file in the wrong place?</div><div><pre><pre>-- <br></pre>Cheers,
Abou Al Montacir</pre></div></body></html>