Re: [fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again

2024-03-20 Thread Michael Van Canneyt via fpc-devel
On Tue, 19 Mar 2024, Martin Frb via fpc-devel wrote: On 19/03/2024 15:41, Mattias Gaertner via fpc-devel wrote: On 19.03.24 14:58, Maxim Ganetsky via fpc-devel wrote: [...] #7 944.7 fpmake.pp(228,5) Error: Identifier not found "T" Ah, you are using fpc 3.3.1 to compile it. Fixed. But

Re: [fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again

2024-03-19 Thread Maxim Ganetsky via fpc-devel
19.03.2024 17:41, Mattias Gaertner via fpc-devel пишет: On 19.03.24 14:58, Maxim Ganetsky via fpc-devel wrote: [...] #7 944.7 fpmake.pp(228,5) Error: Identifier not found "T" Ah, you are using fpc 3.3.1 to compile it. Fixed. But I get strange linker errors compiling webidl2pas: (9015)

Re: [fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again

2024-03-19 Thread Martin Frb via fpc-devel
On 19/03/2024 15:41, Mattias Gaertner via fpc-devel wrote: On 19.03.24 14:58, Maxim Ganetsky via fpc-devel wrote: [...] #7 944.7 fpmake.pp(228,5) Error: Identifier not found "T" Ah, you are using fpc 3.3.1 to compile it. Fixed. But I get strange linker errors compiling webidl2pas: (9015)

Re: [fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again

2024-03-19 Thread Mattias Gaertner via fpc-devel
On 19.03.24 14:58, Maxim Ganetsky via fpc-devel wrote: [...] #7 944.7 fpmake.pp(228,5) Error: Identifier not found "T" Ah, you are using fpc 3.3.1 to compile it. Fixed. But I get strange linker errors compiling webidl2pas: (9015) Linking bin/x86_64-linux/webidl2pas /usr/bin/ld.bfd:

Re: [fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again

2024-03-19 Thread Maxim Ganetsky via fpc-devel
19.03.2024 12:56, Mattias Gaertner via fpc-devel пишет: On 18.03.24 20:29, Michael Van Canneyt via fpc-devel wrote: [...] #7 1429.0 -Fu$CfgDir/../lib/fpc/3.3.1/pas2js/*/*/namespaced || #7 1429.0 -Fi$CfgDir/../lib/fpc/3.3.1/pas2js/*/*/src This seems wrong to me, but Mattias will need to

Re: [fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again

2024-03-19 Thread Mattias Gaertner via fpc-devel
On 18.03.24 20:29, Michael Van Canneyt via fpc-devel wrote: [...] #7 1429.0 -Fu$CfgDir/../lib/fpc/3.3.1/pas2js/*/*/namespaced || #7 1429.0 -Fi$CfgDir/../lib/fpc/3.3.1/pas2js/*/*/src This seems wrong to me, but Mattias will need to look at this. I changed the fpmake.pp. Please test.

Re: [fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again

2024-03-18 Thread Maxim Ganetsky via fpc-devel
18.03.2024 22:15, Mattias Gaertner via fpc-devel пишет: On 18.03.24 18:43, Maxim Ganetsky via fpc-devel wrote: [...] After recent update of FPC 3.3.1 (and Pas2JS) in Lazarus CI several Codetools tests related to Pas2JS started failing again: TTestPas2js.TestPas2js_ReadSettings: pas2js

Re: [fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again

2024-03-18 Thread Michael Van Canneyt via fpc-devel
On Mon, 18 Mar 2024, Maxim Ganetsky via fpc-devel wrote: Hello. After recent update of FPC 3.3.1 (and Pas2JS) in Lazarus CI several Codetools tests related to Pas2JS started failing again: TTestPas2js.TestPas2js_ReadSettings: pas2js system unit not found

Re: [fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again

2024-03-18 Thread Mattias Gaertner via fpc-devel
On 18.03.24 18:43, Maxim Ganetsky via fpc-devel wrote: [...] After recent update of FPC 3.3.1 (and Pas2JS) in Lazarus CI several Codetools tests related to Pas2JS started failing again: TTestPas2js.TestPas2js_ReadSettings: pas2js system unit not found

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

2024-03-18 Thread Maxim Ganetsky via fpc-devel
Hello. After recent update of FPC 3.3.1 (and Pas2JS) in Lazarus CI several Codetools tests related to Pas2JS started failing again: TTestPas2js.TestPas2js_ReadSettings: pas2js system unit not found TTestPas2js.TestPas2js_FindDeclaration: pas2js system unit not found

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

2023-12-26 Thread Maxim Ganetsky via fpc-devel
26.12.2023 19:40, Michael Van Canneyt via fpc-devel пишет: On Tue, 26 Dec 2023, Maxim Ganetsky via fpc-devel wrote: 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

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

2023-12-26 Thread Michael Van Canneyt via fpc-devel
On Tue, 26 Dec 2023, Maxim Ganetsky via fpc-devel wrote: 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'. They were before. I rolled back to

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

2023-12-26 Thread Maxim Ganetsky via fpc-devel
26.12.2023 16:21, Michael Van Canneyt via fpc-devel пишет: 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

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

2023-12-26 Thread Michael Van Canneyt via fpc-devel
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

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

2023-12-26 Thread Maxim Ganetsky via fpc-devel
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

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

2023-12-26 Thread Michael Van Canneyt via fpc-devel
On Mon, 25 Dec 2023, Maxim Ganetsky wrote: 25.12.2023 18:35, Michael Van Canneyt via fpc-devel пишет: On Mon, 25 Dec 2023, Maxim Ganetsky via fpc-devel wrote: || -Fu$CfgDir../lib/fpc/3.3.1/pas2js/rtl/src | I see that there are missing directory separators after $CfgDir, maybe this is

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

2023-12-26 Thread Maxim Ganetsky via fpc-devel
25.12.2023 18:35, Michael Van Canneyt via fpc-devel пишет: On Mon, 25 Dec 2023, Maxim Ganetsky via fpc-devel wrote: || -Fu$CfgDir../lib/fpc/3.3.1/pas2js/rtl/src | I see that there are missing directory separators after $CfgDir, maybe this is the reason? I added it. Thanks. But still no

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

2023-12-25 Thread Michael Van Canneyt via fpc-devel
On Mon, 25 Dec 2023, Maxim Ganetsky via fpc-devel wrote: || -Fu$CfgDir../lib/fpc/3.3.1/pas2js/rtl/src | I see that there are missing directory separators after $CfgDir, maybe this is the reason? I added it. Also probably it would be worth to consider removing code duplication between

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

2023-12-25 Thread Maxim Ganetsky via fpc-devel
25.12.2023 16:51, Maxim Ganetsky via fpc-devel пишет: 25.12.2023 13:01, Michael Van Canneyt via fpc-devel пишет: On Sun, 24 Dec 2023, Maxim Ganetsky via fpc-devel wrote: As far as I know, Mattias is busy with it and has at least fixed the tests ? I see the commit by Mattias now, but it

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

2023-12-25 Thread Maxim Ganetsky via fpc-devel
25.12.2023 13:01, Michael Van Canneyt via fpc-devel пишет: On Sun, 24 Dec 2023, Maxim Ganetsky via fpc-devel wrote: As far as I know, Mattias is busy with it and has at least fixed the tests ? I see the commit by Mattias now, but it does not affect config file created by `make install`,

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

2023-12-25 Thread Michael Van Canneyt via fpc-devel
On Sun, 24 Dec 2023, Maxim Ganetsky via fpc-devel wrote: As far as I know, Mattias is busy with it and has at least fixed the tests ? I see the commit by Mattias now, but it does not affect config file created by `make install`, because the following duplicated code is used for creating

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

2023-12-24 Thread Maxim Ganetsky via fpc-devel
24.12.2023 17:24, Michael Van Canneyt пишет: On Sun, 24 Dec 2023, Maxim Ganetsky via fpc-devel wrote: 24.12.2023 01:07, Michael Van Canneyt via fpc-devel пишет: On Sat, 23 Dec 2023, Maxim Ganetsky via fpc-devel wrote: 20.12.2023 12:36, Mattias Gaertner via fpc-devel пишет: On

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

2023-12-24 Thread Michael Van Canneyt via fpc-devel
On Sun, 24 Dec 2023, Maxim Ganetsky via fpc-devel wrote: 24.12.2023 01:07, Michael Van Canneyt via fpc-devel пишет: On Sat, 23 Dec 2023, Maxim Ganetsky via fpc-devel wrote: 20.12.2023 12:36, Mattias Gaertner via fpc-devel пишет: On 20.12.23 10:18, Michael Van Canneyt via fpc-devel

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

2023-12-23 Thread Maxim Ganetsky via fpc-devel
24.12.2023 01:07, Michael Van Canneyt via fpc-devel пишет: On Sat, 23 Dec 2023, Maxim Ganetsky via fpc-devel wrote: 20.12.2023 12:36, Mattias Gaertner via fpc-devel пишет: On 20.12.23 10:18, Michael Van Canneyt via fpc-devel wrote: [...] Is this an FPC regression or the tests should be

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

2023-12-23 Thread Michael Van Canneyt via fpc-devel
On Sat, 23 Dec 2023, Maxim Ganetsky via fpc-devel wrote: 20.12.2023 12:36, Mattias Gaertner via fpc-devel пишет: On 20.12.23 10:18, Michael Van Canneyt via fpc-devel wrote: [...] Is this an FPC regression or the tests should be adapted somehow? Can this be related to introduction of

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

2023-12-23 Thread Maxim Ganetsky via fpc-devel
20.12.2023 12:36, Mattias Gaertner via fpc-devel пишет: On 20.12.23 10:18, Michael Van Canneyt via fpc-devel wrote: [...] Is this an FPC regression or the tests should be adapted somehow? Can this be related to introduction of subtargets to Pas2JS? It could be, although I suspect it is

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

2023-12-20 Thread Mattias Gaertner via fpc-devel
On 20.12.23 10:18, Michael Van Canneyt via fpc-devel wrote: [...] Is this an FPC regression or the tests should be adapted somehow? Can this be related to introduction of subtargets to Pas2JS? It could be, although I suspect it is more likely that the sources moved to a subdir src in each

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

2023-12-20 Thread Michael Van Canneyt via fpc-devel
On Wed, 20 Dec 2023, Maxim Ganetsky via fpc-devel wrote: Hello. After recent update of FPC 3.3.1 (and Pas2JS) in Lazarus CI several Codetools tests related to Pas2JS started failing: TTestPas2js.TestPas2js_ReadSettings: pas2js system unit not found TTestPas2js.TestPas2js_FindDeclaration:

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

2023-12-19 Thread Maxim Ganetsky via fpc-devel
Hello. After recent update of FPC 3.3.1 (and Pas2JS) in Lazarus CI several Codetools tests related to Pas2JS started failing: TTestPas2js.TestPas2js_ReadSettings: pas2js system unit not found TTestPas2js.TestPas2js_FindDeclaration: pas2js system unit not found