[fpc-devel] Failing Lazarus Codetools Pas2JS-related tests

Maxim Ganetsky ganmax at narod.ru
Tue Dec 26 13:44:01 CET 2023


26.12.2023 11:49, Michael Van Canneyt via fpc-devel пишет:
> On Mon, 25 Dec 2023, Maxim Ganetsky wrote:
>> Thanks. But still no luck. It seems like asterisks in config file are 
>> not expanded properly. See the output of compilation run for a 
>> trivial "Hello, World!" program:
>
> They are expanded. I've been using it for quite some time now.
> I don't think I've been hallucinating. See below :-)
>
>> ||
>> Info: Macro defined: UNICODE
>> ||
>> Info: Compiler exe: "/usr/local/bin/pas2js"
>> ||
>> Info: Using working directory: 
>> "/builds/freepascal.org/lazarus-sandbox/lazarus-test-4"
>> ||
>> Info: Using unit path: "/usr/local/lib/fpc/3.3.1/pas2js/*/src"
>> ||
>> Note: unit path not found: "/usr/local/lib/fpc/3.3.1/pas2js/*/src"
>
> Is the path correct to begin with ?

Sigh, no it is not:

$ ls -l /usr/local/lib/fpc/3.3.1/pas2js
|
total 4
||
drwxr-xr-x 2 root root 4096 Dec 25 17:37 rtl
||
$ ls -l /usr/local/lib/fpc/3.3.1/pas2js/rtl
||
total 48
||-rw-rw-r-- 1 root root 45451 Dec 25 15:49 rtl.js|

So `make install` does not work as expected?

> i.e. do the directories /usr/local/lib/fpc/3.3.1/pas2js/*/src actually 
> exist ?
>
-- 
Best regards,
  Maxim Ganetskymailto:ganmax at narod.ru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20231226/d2e27bd8/attachment.htm>


More information about the fpc-devel mailing list