Recent

Author Topic: Error with last fixes_3.2 branch  (Read 649 times)

Fred vS

  • Hero Member
  • *****
  • Posts: 3952
    • StrumPract is the musicians best friend
Error with last fixes_3.2 branch
« on: June 13, 2026, 10:49:27 pm »
An error occurred while compiling fpc with the last fixes_3.2 branch:

Code: Pascal  [Select][+][-]
  1. fphttpserver.pp(683,35) Error: identifier idents no member "CanRead"
  2. fphttpserver.pp(1027) Fatal: There were 1 errors compiling module, stopping
  3. Fatal: Compilation aborted
  4.  
  5. The installer encountered the following error:
  6. Compilation of "BuildUnit_fcl_web.pp" failed
  7. make[2]: *** [Makefile:1735: smart] Error 1

This is the problematic commit; https://gitlab.com/freepascal.org/fpc/source/-/commit/6153dd8c81585f05a7b73c543b3639407712a2d7

In the main branch, "CanRead" is defined in /source-main/packages/fcl-net/src/ssockets.pp; to fix it for fixes_3.2 branch the fcl-net and rtl-objpas packages might also need updating, lot of work...  %) (or maybe revert the problematic commit)
« Last Edit: June 14, 2026, 04:12:43 am by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

patyit

  • New Member
  • *
  • Posts: 37
Re: Error with last fixes_3.2 branch
« Reply #1 on: June 15, 2026, 01:54:04 pm »
Yes, I can confirm the error, I can't update the FPC via FpcUpDeluxe.

Lazarus 4.7 (rev lazarus_4_6-10-gc8453c79d3) FPC 3.2.3 x86_64-linux-gtk2

patyit

  • New Member
  • *
  • Posts: 37
Re: Error with last fixes_3.2 branch
« Reply #2 on: June 15, 2026, 11:00:39 pm »
The previous error has been fixed, but another one has appeared:

Code: Pascal  [Select][+][-]
  1. Compiling ./fcl-web/src/jwt/fpjwasha256.pp
  2. fpjwasha256.pp(14,37) Error: Identifier not found "TJWTSigner"
  3. fpjwasha256.pp(14,37) Error: class type expected, but got "<erroneous type>"
  4. fpjwasha256.pp(17,57) Error: Identifier not found "TJWTKey"
  5. fpjwasha256.pp(18,56) Error: Identifier not found "TJWTKey"
  6. fpjwasha256.pp(16,20) Error: There is no method in an ancestor class to be overridden: "class AlgorithmName:AnsiString;"
  7. fpjwasha256.pp(17,14) Error: There is no method in an ancestor class to be overridden: "CreateSignature(TJWT;<erroneous type>):AnsiString;"
  8. fpjwasha256.pp(18,14) Error: There is no method in an ancestor class to be overridden: "Verify(const AnsiString;<erroneous type>):Boolean;"
  9. fpjwasha256.pp(21,1) Fatal: There were 7 errors compiling module, stopping
  10. Fatal: Compilation aborted

Fred vS

  • Hero Member
  • *****
  • Posts: 3952
    • StrumPract is the musicians best friend
Re: Error with last fixes_3.2 branch
« Reply #3 on: June 16, 2026, 12:51:51 am »
The previous error has been fixed, but another one has appeared:

Code: Pascal  [Select][+][-]
  1. Compiling ./fcl-web/src/jwt/fpjwasha256.pp
  2. fpjwasha256.pp(14,37) Error: Identifier not found "TJWTSigner"
  3. fpjwasha256.pp(14,37) Error: class type expected, but got "<erroneous type>"
  4. fpjwasha256.pp(17,57) Error: Identifier not found "TJWTKey"
  5. fpjwasha256.pp(18,56) Error: Identifier not found "TJWTKey"
  6. fpjwasha256.pp(16,20) Error: There is no method in an ancestor class to be overridden: "class AlgorithmName:AnsiString;"
  7. fpjwasha256.pp(17,14) Error: There is no method in an ancestor class to be overridden: "CreateSignature(TJWT;<erroneous type>):AnsiString;"
  8. fpjwasha256.pp(18,14) Error: There is no method in an ancestor class to be overridden: "Verify(const AnsiString;<erroneous type>):Boolean;"
  9. fpjwasha256.pp(21,1) Fatal: There were 7 errors compiling module, stopping
  10. Fatal: Compilation aborted

Hum, strange here on linux https://gitlab.com/freepascal.org/fpc/source/-/tree/fixes_3_2?ref_type=heads fpc compiled ok.
What is your OS?
       
Code: Pascal  [Select][+][-]
  1. Compiling ./fcl-web/src/jwt/fpjwt.pp
  2.        Compiling ./fcl-web/src/jwt/fpoauth2.pp
  3.        Compiling ./fcl-web/src/jwt/fpoauth2ini.pp
  4.        Compiling ./fcl-web/src/jwt/fpjwasha256.pp
  5.        Compiling ./fcl-web/src/jwt/fpjwasha512.pp
  6.        Compiling ./fcl-web/src/jwt/fpjwasha384.pp
  7.        Compiling ./fcl-web/src/jwt/fpjwaes256.pp
« Last Edit: June 16, 2026, 01:00:36 am by Fred vS »
I use Lazarus 2.2.0 32/64 and FPC 3.2.2 32/64 on Debian 11 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt.

https://github.com/fredvs
https://gitlab.com/fredvs
https://codeberg.org/fredvs

HaraldNieswandt

  • Newbie
  • Posts: 3
Re: Error with last fixes_3.2 branch
« Reply #4 on: June 16, 2026, 10:13:48 am »
Good morning,

the same error occurred here over the last few days, but just now, the update of my fixes & fixes via FpcUpDeLuxe worked without any issues ...

patyit

  • New Member
  • *
  • Posts: 37
Re: Error with last fixes_3.2 branch
« Reply #5 on: June 16, 2026, 09:49:02 pm »
My OS is XUbuntu 24.04.04 LTS x86_64
Lazarus 4.7 (rev lazarus_4_6-10-gc8453c79d3) FPC 3.2.3 x86_64-linux-gtk2

I just tried with FPCUpDeluxe and I get the same error.

 

TinyPortal © 2005-2018