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

Michael Van Canneyt michael at freepascal.org
Tue Dec 26 14:21:16 CET 2023



On Tue, 26 Dec 2023, Maxim Ganetsky via fpc-devel wrote:

> 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?

It does, but 'make install' only does half the job for making a release:
pas2js works with sources only, which are not installed by 'make install'.

Normally, Mattias makes a pas2js release, but how he does this is still a secret, even for me :-)
(not that this 'secret' is intended)

Michael.


More information about the fpc-devel mailing list