[Pkg-pascal-devel] Bug#902888: [lcl-utils-1.8] lazbuild crash when lazarus-src is not installed

Abou Al Montacir abou.almontacir at sfr.fr
Sun Jan 13 11:31:59 GMT 2019


On Sun, 2018-12-02 at 22:16 +0100, Abou Al Montacir wrote:
> On Mon, 2018-11-12 at 16:21 +0300, Alexander Kernozhitsky wrote:
> > Yes. The program is very minimalistic (see the attachments)
> > ...
> > It seems that lazbuild tries to find the file with compiler messages, but 
> > fails.
> I finally understood the issue.
It seems not true, actually!
> Lazbuild tries to look to the compiler error message at the wrong location:
> /usr/share/fpcsrc/3..4/compiler/msg/errore.msgHowever the error messages file
> is located in Debian at:
> /usr/lib/x86_64-linux-gnu/fpc/3.0.4/msg/errore.msgSo Lazarus/lazbuild does not
> find it and falls back on a copy shipped by lazarus-src:
> /usr/lib/lazarus/1.8.4/components/codetools/fpc.errore.msgHowever as you did
> not install lazarus-src, the file pointer is nil and an error happens when
> trying to access it.
> The first step to fix this is to try to understand why do we install the error
> message file in the wrong place?
The error messages current location is decided by FPC make file and not by our
scripts. And even it we are going to overwrite this we may want to move the
error files to either
/usr/share/fpc/3.0.4/compiler/msg/errore.msgor to
/usr/share/fp-compiler-3.0.4/msg/errore.msg
but not to
/usr/share/fpcsrc/3..4/compiler/msg/errore.msg
For now I'll probably try to change Lazarus default search path.
-- 
Cheers,
Abou Al Montacir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20190113/190d1da2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-pascal-devel/attachments/20190113/190d1da2/attachment.sig>


More information about the Pkg-pascal-devel mailing list