Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2022-12

LCL compilation fail for at least x86_linux

6 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marcus Sackrow

Hi,

the LCL compilation fails since b40000c46c16207dc00997df6aeb83f01198787b

for all platforms I let compile in my Jenkins for example x86_64-linux

Compiling ./widgetset/wsforms.pp
customform.inc(38,5) Warning: Case statement does not handle all possible cases
customform.inc(647,3) Note: Local variable "NewState" not used
customform.inc(1164,26) Error: Incompatible types: got "TAnchors" expected "Set Of TAnchorKind"
customform.inc(1168,8) Error: Incompatible types: got "SYSTEM.UITYPES.TAnchorKind" expected "CONTROLS.TAnchorKind"
customform.inc(1170,8) Error: Incompatible types: got "SYSTEM.UITYPES.TAnchorKind" expected "CONTROLS.TAnchorKind"
forms.pp(2345) Fatal: There were 3 errors compiling module, stopping
Fatal: Compilation aborted
make[1]: *** [Makefile:4639: alllclunits.ppu] Error 1
make[1]: Leaving directory '/var/lib/jenkins/workspace/LCL_off_x86_64-linux/lcl'

full log at

https://build.alb42.de:8081/job/LCL_off_x86_64-linux/12105/console

Greetings,

Marcus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20221217/dda56c5c/attachment.htm>

Reply by email

John Landmesser
to Marcus Sackrow
Marcus Sackrow wrote 33 lines
Hi, the LCL compilation fails since b40000c46c16207dc00997df6aeb83f01198787b for all platforms I let compile in my Jenkins for example x86_64-linux Compiling ./widgetset/wsforms.pp customform.inc(38,5) Warning: Case statement does not handle all possible cases customform.inc(647,3) Note: Local variable "NewState" not used customform.inc(1164,26) Error: Incompatible types: got "TAnchors" expected "Set Of TAnchorKind" customform.inc(1168,8) Error: Incompatible types: got "SYSTEM.UITYPES.TAnchorKind" expected "CONTROLS.TAnchorKind" customform.inc(1170,8) Error: Incompatible types: got "SYSTEM.UITYPES.TAnchorKind" expected "CONTROLS.TAnchorKind" forms.pp(2345) Fatal: There were 3 errors compiling module, stopping Fatal: Compilation aborted make[1]: *** [Makefile:4639: alllclunits.ppu] Error 1 make[1]: Leaving directory '/var/lib/jenkins/workspace/LCL_off_x86_64-linux/lcl' full log at https://build.alb42.de:8081/job/LCL_off_x86_64-linux/12105/console Greetings, Marcus

No probs here on XFCE and Linux manjaro 6.0.11-1-MANJARO #1 SMP PREEMPT_DYNAMIC Fri Dec 2 21:23:52 UTC 2022 x86_64 GNU/Linux

What i did:

Renamed existing folder lazarus, did a

git clone https://gitlab.com/freepascal.org/lazarus/lazarus.git lazarus

and then in new lazarus folder

make clean
make all useride

Result:

Lazarus 2.3.0 (rev main-2_3-2521-gb40000c46c) FPC 3.2.2 x86_64-linux-gtk2

So lazarus just compiles fine ...

Regards

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20221217/e853ef73/attachment.htm>

Reply by email

Marco van de Voort
to John Landmesser
John Landmesser wrote 5 lines
Lazarus 2.3.0 (rev main-2_3-2521-gb40000c46c) FPC 3.2.2 x86_64-linux-gtk2 So lazarus just compiles fine ...

Copying a bunch of base types to uitypes has been committed to FPC trunk.? Marcus is probably using trunk.

Merging this to 3.2.4 is under debate. I favour merging it back to fixes, to keep the transition period as short as possible, since major releases are even slower to emerge than pointreleases.

Reply by email

Marcus Sackrow
to Marco van de Voort

Hi,

Marco van de Voort wrote 14 lines
On 17-12-2022 17:49, John Landmesser via lazarus wrote: > > Lazarus 2.3.0 (rev main-2_3-2521-gb40000c46c) FPC 3.2.2 > x86_64-linux-gtk2 > > So lazarus just compiles fine ... > Copying a bunch of base types to uitypes has been committed to FPC trunk.? Marcus is probably using trunk. Merging this to 3.2.4 is under debate. I favour merging it back to fixes, to keep the transition period as short as possible, since major releases are even slower to emerge than pointreleases.

yes it is trunk, thats the second meaning of this jenkins compilation because sometimes FPC fails only appear when compiling other sources (like LCL)

and yes If I look more careful to, the compilatino was triggered by this change in FPC

https://gitlab.com/freepascal.org/fpc/source/-/commit/d1616cb0d1210c44ab76807346e10dcba9ab6a63

Greetings,

Marcus

Reply by email

Ondrej Pokorny
to Marcus Sackrow
Marcus Sackrow wrote 26 lines
Hi, Am 17.12.22 um 18:25 schrieb Marco van de Voort via lazarus: > > On 17-12-2022 17:49, John Landmesser via lazarus wrote: >> >> Lazarus 2.3.0 (rev main-2_3-2521-gb40000c46c) FPC 3.2.2 >> x86_64-linux-gtk2 >> >> So lazarus just compiles fine ... >> > Copying a bunch of base types to uitypes has been committed to FPC > trunk.? Marcus is probably using trunk. > > Merging this to 3.2.4 is under debate. I favour merging it back to > fixes, to keep the transition period as short as possible, since major > releases are even slower to emerge than pointreleases. yes it is trunk, thats the second meaning of this jenkins compilation because sometimes FPC fails only appear when compiling other sources (like LCL) and yes If I look more careful to, the compilatino was triggered by this change in FPC https://gitlab.com/freepascal.org/fpc/source/-/commit/d1616cb0d1210c44ab76807346e10dcba9ab6a63

Yes, sorry, I forgot to commit the Lazarus part of the patch yesterday.

It should be OK now.

Ondrej

Reply by email

Marcus Sackrow
to Ondrej Pokorny
Ondrej Pokorny wrote 19 lines
Am 17.12.2022 um 18:46 schrieb Marcus Sackrow via lazarus: > Hi, > > Am 17.12.22 um 18:25 schrieb Marco van de Voort via lazarus: >> >> On 17-12-2022 17:49, John Landmesser via lazarus wrote: >>> >>> Lazarus 2.3.0 (rev main-2_3-2521-gb40000c46c) FPC 3.2.2 >>> x86_64-linux-gtk2 >>> >>> So lazarus just compiles fine ... >>> >> Copying a bunch of base types to uitypes has been committed to FPC >> trunk.? Marcus is probably using trunk. >> Yes, sorry, I forgot to commit the Lazarus part of the patch yesterday. It should be OK now.

It all compiles fine now with trunk,

Thanks

Greetings,

Marcus

Reply by email