[fpc-devel] fpc 3.3.1 fails in fpjwarsa
Older Ubuntu, trying to update (starting compiler is 3.2.2) make clean make all OPT=" -O-1 -gw3 " make install INSTALL_PREFIX=/home/m/fpc/ Compiling ./fcl-web/src/fcm/fpfcmstrings.pp Writing Resource String Table file: fpfcmstrings.rsj Compiling ./fcl-web/src/jwt/fpjwarsa.pp fpjwarsa.pp(21,35) Error: Identifier not found "TJWTSigner" fpjwarsa.pp(21,35) Error: Class type expected, but got "" fpjwarsa.pp(25,64) Error: Identifier not found "TJWTKey" fpjwarsa.pp(26,62) Error: Identifier not found "TJWTKey" fpjwarsa.pp(23,20) Error: There is no method in an ancestor class to be overridden: "class AlgorithmName:System.AnsiString;" fpjwarsa.pp(25,14) Error: There is no method in an ancestor class to be overridden: "CreateSignature(TJWT;):System.AnsiString;" fpjwarsa.pp(26,14) Error: There is no method in an ancestor class to be overridden: "Verify(const AnsiString;):System.Boolean;" fpjwarsa.pp(56,38) Error: Identifier not found "TJWTSigner" fpjwarsa.pp(56,38) Error: Class type expected, but got "" fpjwarsa.pp(60,64) Error: Identifier not found "TJWTKey" fpjwarsa.pp(61,62) Error: Identifier not found "TJWTKey" fpjwarsa.pp(58,20) Error: There is no method in an ancestor class to be overridden: "class AlgorithmName:System.AnsiString;" fpjwarsa.pp(60,14) Error: There is no method in an ancestor class to be overridden: "CreateSignature(TJWT;):System.AnsiString;" fpjwarsa.pp(61,14) Error: There is no method in an ancestor class to be overridden: "Verify(const AnsiString;):System.Boolean;" fpjwarsa.pp(89,1) Fatal: There were 14 errors compiling module, stopping Fatal: Compilation aborted The installer encountered the following error: Compilation of "BuildUnit_fcl_web.pp" failed $00542579 $0054C7E2 $0054B87E $0054CADB $0054FEAA $00540F3B $005415C0 $0047868F $004A5AF9 ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again
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) Linking bin/x86_64-linux/webidl2pas /usr/bin/ld.bfd: /path/compiler/utils/pas2js/units/x86_64-linux/webidl2pas.o:(.fpc.n_links+0x50): undefined reference to `DEBUGSTART_$CUSTAPP' /usr/bin/ld.bfd: /path/compiler/utils/pas2js/units/x86_64-linux/webidl2pas.o:(.fpc.n_links+0x58): undefined reference to `DEBUGEND_$CUSTAPP' It compiles with the ppu files of fpc 3.3.1 and 3.2.2 tough, but not with the sources ... I use binary FPC installers, so don't get these errors, everything is fine in this regard. Build image is successfully updated and tests work OK now, thanks. -- Best regards, Maxim Ganetsky mailto:gan...@narod.ru ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again
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) Linking bin/x86_64-linux/webidl2pas /usr/bin/ld.bfd: /path/compiler/utils/pas2js/units/x86_64-linux/webidl2pas.o:(.fpc.n_links+0x50): undefined reference to `DEBUGSTART_$CUSTAPP' /usr/bin/ld.bfd: /path/compiler/utils/pas2js/units/x86_64-linux/webidl2pas.o:(.fpc.n_links+0x58): undefined reference to `DEBUGEND_$CUSTAPP' It compiles with the ppu files of fpc 3.3.1 and 3.2.2 tough, but not with the sources ... I don't know if it applies. But I have in some cases seen similar linking issues, if parts of the code were compiled with DWARF-2 and other parts with DWARF-3 ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again
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: /path/compiler/utils/pas2js/units/x86_64-linux/webidl2pas.o:(.fpc.n_links+0x50): undefined reference to `DEBUGSTART_$CUSTAPP' /usr/bin/ld.bfd: /path/compiler/utils/pas2js/units/x86_64-linux/webidl2pas.o:(.fpc.n_links+0x58): undefined reference to `DEBUGEND_$CUSTAPP' It compiles with the ppu files of fpc 3.3.1 and 3.2.2 tough, but not with the sources ... Mattias ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again
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 look at this. I changed the fpmake.pp. Please test. Pas2Js cannot be built now: #7 941.6 Cloning into 'pas2js'... | #7 944.6 /usr/lib/fpc/3.3.1/ppcx64 fpmake.pp || #7 944.6 Free Pascal Compiler version 3.3.1 [2024/03/19] for x86_64 || #7 944.6 Copyright (c) 1993-2024 by Florian Klaempfl and others || #7 944.6 Target OS: Linux for x86-64 || #7 944.6 Compiling fpmake.pp || #7 944.7 fpmake.pp(228,5) Error: Identifier not found "T" || #7 944.7 fpmake.pp(230,7) Error: Identifier not found "T" || #7 944.7 fpmake.pp(363) Fatal: There were 2 errors compiling module, stopping || #7 944.7 Fatal: Compilation aborted ||#7 944.7 make: *** [Makefile:1550: fpmake] Error 1| -- Best regards, Maxim Ganetskymailto:gan...@narod.ru ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
Re: [fpc-devel] Failing Lazarus Codetools Pas2JS-related tests - again
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. Mattias ___ fpc-devel maillist - fpc-devel@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel