[MacPorts] #70817: lazarus with GTK backend fails to start due to Access violation

MacPorts noreply at macports.org
Fri Sep 20 01:06:13 UTC 2024


#70817: lazarus with GTK backend fails to start due to Access violation
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.10.1
Resolution:                |   Keywords:
      Port:  lazarus       |
---------------------------+--------------------

Comment (by barracuda156):

 P. S. And cocoa is just broken, as usual:
 {{{
 /opt/local/bin/gmkdir -p lib/powerpc-darwin-cocoa
 /opt/local/bin/ppcppc -MObjFPC -Scgim -O1 -g -gl -l -vewnhibq -dLCL
 -dLCLcocoa -gw -Fuunits/cocoa -Fu../../packager/units/powerpc-darwin
 -Fu../lazutils/lib/powerpc-darwin -Fu../buildintf/units/powerpc-darwin
 -Fu../freetype/lib/powerpc-darwin -Fu../../lcl/units/powerpc-darwin
 -Fu../../lcl/units/powerpc-darwin/cocoa -Fu../lazcontrols/lib/powerpc-
 darwin/cocoa -Fu../lclextensions/lib/powerpc-darwin-cocoa
 -Fu../ideintf/units/powerpc-darwin/cocoa -Fu. -Fiinclude/intf/cocoa
 -Fiunits -Fiinclude/intf -FE. -FUlib/powerpc-darwin-cocoa -gl -dpowerpc
 laz.virtualtreeview_package.pas
 Hint: (11030) Start of reading config file /opt/local/etc/fpc.cfg
 Hint: (11031) End of reading config file /opt/local/etc/fpc.cfg
 Free Pascal Compiler version 3.2.2 [2024/02/06] for powerpc
 Copyright (c) 1993-2021 by Florian Klaempfl and others
 (1002) Target OS: Darwin for PowerPC
 (3104) Compiling laz.virtualtreeview_package.pas
 (3104) Compiling laz.virtualtrees.pas
 (3104) Compiling ./units/cocoa/laz.fakeactivex.pas
 (9001) Assembling (pipe) lib/powerpc-darwin-cocoa/laz.fakeactivex.s
 (3104) Compiling ./units/cocoa/laz.virtualpanningwindow.pas
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/./units/cocoa/laz.virtualpanningwindow.pas(21,21)
 Hint: (5024) Parameter "OwnerHandle" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/./units/cocoa/laz.virtualpanningwindow.pas(21,49)
 Hint: (5024) Parameter "Position" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/./units/cocoa/laz.virtualpanningwindow.pas(23,20)
 Hint: (5024) Parameter "ClipRegion" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/./units/cocoa/laz.virtualpanningwindow.pas(17,5)
 Note: (5029) Private field "TVirtualPanningWindow.FOwnerHandle" is never
 used
 (9001) Assembling (pipe) lib/powerpc-darwin-
 cocoa/laz.virtualpanningwindow.s
 (3104) Compiling laz.vtgraphics.pas
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.vtgraphics.pas(21,104)
 Hint: (5024) Parameter "ConstantAlpha" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.vtgraphics.pas(21,119)
 Hint: (5024) Parameter "Bias" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.vtgraphics.pas(23,28)
 Hint: (5024) Parameter "Bits" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.vtgraphics.pas(23,43)
 Hint: (5024) Parameter "Width" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.vtgraphics.pas(23,55)
 Hint: (5024) Parameter "Height" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.vtgraphics.pas(23,63)
 Hint: (5024) Parameter "Row" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.vtgraphics.pas(25,34)
 Hint: (5024) Parameter "Bitmap" not used
 (9001) Assembling (pipe) lib/powerpc-darwin-cocoa/laz.vtgraphics.s
 (3104) Compiling ./units/cocoa/laz.fakemmsystem.pas
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/./units/cocoa/laz.fakemmsystem.pas(18,10)
 Warning: (5033) Function result does not seem to be set
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/./units/cocoa/laz.fakemmsystem.pas(10,26)
 Hint: (5024) Parameter "x1" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/./units/cocoa/laz.fakemmsystem.pas(23,10)
 Warning: (5033) Function result does not seem to be set
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/./units/cocoa/laz.fakemmsystem.pas(12,24)
 Hint: (5024) Parameter "x1" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/./units/cocoa/laz.fakemmsystem.pas(33,21)
 Hint: (5057) Local variable "ATime" does not seem to be initialized
 (9001) Assembling (pipe) lib/powerpc-darwin-cocoa/laz.fakemmsystem.s
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.virtualtrees.pas(4233,60)
 Hint: (5024) Parameter "ContentRect" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.virtualtrees.pas(4790,26)
 Hint: (5024) Parameter "dc" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.virtualtrees.pas(4790,35)
 Hint: (5024) Parameter "Left" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.virtualtrees.pas(4790,41)
 Hint: (5024) Parameter "Top" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.virtualtrees.pas(4790,46)
 Hint: (5024) Parameter "Right" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.virtualtrees.pas(4790,53)
 Hint: (5024) Parameter "Bottom" not used
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.virtualtrees.pas(5146,6)
 Note: (6058) Call to subroutine "function CompareByte(const buf1:<Formal
 type>;const buf2:<Formal type>;len:LongInt):LongInt;" marked as inline is
 not inlined
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.virtualtrees.pas(5650,53)
 Hint: (5057) Local variable "Msg" does not seem to be initialized
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.virtualtrees.pas(5771,18)
 Warning: (4105) Implicit string type conversion with potential data loss
 from "UnicodeString" to "AnsiString"
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.virtualtrees.pas(5786,3)
 Error: (3026) Wrong number of parameters specified for call to "SetString"
 /opt/local/libexec/fpc/lib/fpc/3.2.2/units/powerpc-
 darwin/univint/MacOSAll.ppu:TextUtils.pas(343,11) Error: (5088) Found
 declaration: SetString(StringHandle;const ShortString);
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.virtualtrees.pas(5791,3)
 Error: (3026) Wrong number of parameters specified for call to "SetString"
 /opt/local/libexec/fpc/lib/fpc/3.2.2/units/powerpc-
 darwin/univint/MacOSAll.ppu:TextUtils.pas(343,11) Error: (5088) Found
 declaration: SetString(StringHandle;const ShortString);
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.virtualtrees.pas(5816,3)
 Error: (3026) Wrong number of parameters specified for call to "Move"
 /opt/local/libexec/fpc/lib/fpc/3.2.2/units/powerpc-
 darwin/univint/MacOSAll.ppu:Quickdraw.pas(887,11) Error: (5088) Found
 declaration: Move(SmallInt;SmallInt);
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.virtualtrees.pas(23402,9)
 Error: (3026) Wrong number of parameters specified for call to "Move"
 /opt/local/libexec/fpc/lib/fpc/3.2.2/units/powerpc-
 darwin/univint/MacOSAll.ppu:Quickdraw.pas(887,11) Error: (5088) Found
 declaration: Move(SmallInt;SmallInt);
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.virtualtrees.pas(23413,7)
 Error: (3026) Wrong number of parameters specified for call to "Move"
 /opt/local/libexec/fpc/lib/fpc/3.2.2/units/powerpc-
 darwin/univint/MacOSAll.ppu:Quickdraw.pas(887,11) Error: (5088) Found
 declaration: Move(SmallInt;SmallInt);
 /opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview/laz.virtualtrees.pas(25106,9)
 Error: (3026) Wrong number of parameters specified for call to "Move"
 /opt/local/libexec/fpc/lib/fpc/3.2.2/units/powerpc-
 darwin/univint/MacOSAll.ppu:Quickdraw.pas(887,11) Error: (5088) Found
 declaration: Move(SmallInt;SmallInt);
 laz.virtualtrees.pas(36837) Fatal: (10026) There were 12 errors compiling
 module, stopping
 Fatal: (1018) Compilation aborted
 make[2]: *** [laz.virtualtreeview_package.ppu] Error 1
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_devel_lazarus/lazarus/work/lazarus/components/virtualtreeview'
 make[1]: *** [idepackages] Error 2
 }}}

 So we need to use some other backend.

-- 
Ticket URL: <https://trac.macports.org/ticket/70817#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list