[lazarus] compiling as root and the lrs files

Robert Young roblinux at rogers.com
Mon Apr 22 01:05:37 EDT 2002


Compiling as a default user the first time fails.

I removed my Lazarus CVS source folder and my /.Lazarus setting folder and rechecked out and recompiled as a default red hat 7.2 user I have attached the log file.

The file name is output.txt and is a log of the failure.

When I recompile as root it completes.
When I recompiled as default user after root compiles it compiles.

I now have a new problem when I was checking the fix regarding the lrs files. Lazarus receives an Access Violation now on simply saving the unit1.pas :(. I have attached the log for this as well.

failtosave.txt.

More info.
I am running fpc rpm's on a red hat 7.2 vanilla install.

Rob.


make -C lcl all
make[1]: Entering directory `/home/rob/lazarus/lcl'
/bin/rm -f units/allunits.ppu
/usr/bin/ppc386 -gl -Fuinterfaces/abstract -Fu. -Fu/usr/lib/fpc/1.0.5/units/linux/rtl -Fu/usr/lib/fpc/1.0.5/units/linux/paszlib -Fu/usr/lib/fpc/1.0.5/units/linux/inet -Fu/usr/lib/fpc/1.0.5/units/linux/fcl -Fu/usr/lib/fpc/1.0.5/units/linux/mysql -Fu/usr/lib/fpc/1.0.5/units/linux/ibase -Fu/usr/lib/fpc/1.0.5/units/linux/x11 -Fu/usr/lib/fpc/1.0.5/units/linux/opengl -Fu/usr/lib/fpc/1.0.5/units/linux/gtk -Fiinclude -FUunits -Fl/usr/lib/gcc-lib/i386-redhat-linux/2.96 -Fl/usr/kerberos/lib -Fl/usr/X11R6/lib -Fl/usr/lib/qt-2.3.1/lib -Fl/usr/lib/qt-1.45/lib -Fl/usr/lib/wine -Fl/usr/lib/mysql -Fl/usr/lib/sane -Fl/usr/local/lib -di386 allunits.pp
Free Pascal Compiler version 1.0.5 [2001/12/31] for i386
Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Linux for i386
Compiling allunits.pp
Compiling interfacebase.pp
Compiling lcllinux.pp
Compiling lcltype.pp
Compiling vclglobals.pp
Assembling vclglobals
Assembling lcltype
Compiling graphtype.pp
Compiling ./interfaces/abstract/interfaces.pp
Compiling interfacebase.pp
Compiling controls.pp
Compiling graphics.pp
Compiling lmessages.pp
Assembling lmessages
Compiling lresources.pp
Assembling lresources
Compiling controls.pp
Compiling imglist.pp
Assembling imglist
Compiling utrace.pp
Assembling utrace
Compiling menus.pp
Compiling ./interfaces/abstract/interfaces.pp
Compiling interfacebase.pp
Compiling controls.pp
Compiling forms.pp
Compiling buttons.pp
Compiling stdctrls.pp
Assembling stdctrls
Compiling messages.pp
Assembling buttons
Compiling ./interfaces/abstract/interfaces.pp
Compiling interfacebase.pp
Assembling interfacebase
Assembling interfaces
Compiling dialogs.pp
Writing Resource String Table file: units/dialogs.rst
Assembling dialogs
Compiling extctrls.pp
Assembling extctrls
Assembling forms
Assembling controls
Assembling menus
Compiling clipbrd.pp
Assembling clipbrd
Assembling graphics
Assembling lcllinux
Compiling registry.pp
Assembling registry
Compiling calendar.pp
Assembling calendar
Compiling filectrl.pp
Assembling filectrl
Compiling spin.pp
Assembling spin
Compiling comctrls.pp
Compiling toolwin.pp
Assembling toolwin
Compiling commctrl.pp
Assembling comctrls
Compiling arrow.pp
Assembling arrow
Compiling dynhasharray.pp
Assembling dynhasharray
Compiling clistbox.pp
Assembling clistbox
Compiling lazqueue.pp
Assembling lazqueue
46384 Lines compiled, 8.2 sec
make -C interfaces all
make[2]: Entering directory `/home/rob/lazarus/lcl/interfaces'
make -C gtk all
make[3]: Entering directory `/home/rob/lazarus/lcl/interfaces/gtk'
/bin/rm -f ../../units/gtk/interfaces.ppu ../../units/interfaces.ppu
/usr/bin/ppc386 -gl -Fu../../units -Fu. -Fu/usr/lib/fpc/1.0.5/units/linux/rtl -Fu/usr/lib/fpc/1.0.5/units/linux/paszlib -Fu/usr/lib/fpc/1.0.5/units/linux/inet -Fu/usr/lib/fpc/1.0.5/units/linux/fcl -Fu/usr/lib/fpc/1.0.5/units/linux/gtk -Fu/usr/lib/fpc/1.0.5/units/linux/mysql -Fu/usr/lib/fpc/1.0.5/units/linux/ibase -Fu/usr/lib/fpc/1.0.5/units/linux/x11 -Fu/usr/lib/fpc/1.0.5/units/linux/opengl -FU../../units/gtk -Fl/usr/lib/gcc-lib/i386-redhat-linux/2.96 -Fl/usr/kerberos/lib -Fl/usr/X11R6/lib -Fl/usr/lib/qt-2.3.1/lib -Fl/usr/lib/qt-1.45/lib -Fl/usr/lib/wine -Fl/usr/lib/mysql -Fl/usr/lib/sane -Fl/usr/local/lib -di386 interfaces.pp
Free Pascal Compiler version 1.0.5 [2001/12/31] for i386
Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Linux for i386
Compiling interfaces.pp
Compiling interfaces.pp
Compiling interfaces.pp
Compiling interfaces.pp
Compiling gtkint.pp
Compiling gtkdef.pp
Assembling gtkdef
gtkint.pp(91,15) Warning: An inherited method is hidden by TGTKOBJECT.SETCALLBACK
gtkint.pp(92,15) Warning: An inherited method is hidden by TGTKOBJECT.REMOVECALLBACKS
Compiling gtkwinapiwindow.pp
Assembling gtkwinapiwindow
Compiling keymap.pp
Assembling keymap
Assembling gtkint
Assembling interfaces
15528 Lines compiled, 3.4 sec
make[3]: Leaving directory `/home/rob/lazarus/lcl/interfaces/gtk'
make[2]: Leaving directory `/home/rob/lazarus/lcl/interfaces'
make[1]: Leaving directory `/home/rob/lazarus/lcl'
make -C components all
make[1]: Entering directory `/home/rob/lazarus/components'
make -C synedit all
make[2]: Entering directory `/home/rob/lazarus/components/synedit'
/bin/rm -f ../units/allunits.ppu
/usr/bin/ppc386 -gl -Fu../../lcl/units/gtk -Fu../../lcl/units -Fu. -Fu/usr/lib/fpc/1.0.5/units/linux/rtl -Fu/usr/lib/fpc/1.0.5/units/linux/paszlib -Fu/usr/lib/fpc/1.0.5/units/linux/inet -Fu/usr/lib/fpc/1.0.5/units/linux/fcl -Fu/usr/lib/fpc/1.0.5/units/linux/regexpr -Fu/usr/lib/fpc/1.0.5/units/linux/mysql -Fu/usr/lib/fpc/1.0.5/units/linux/ibase -FU../units -Fl/usr/lib/gcc-lib/i386-redhat-linux/2.96 -Fl/usr/kerberos/lib -Fl/usr/X11R6/lib -Fl/usr/lib/qt-2.3.1/lib -Fl/usr/lib/qt-1.45/lib -Fl/usr/lib/wine -Fl/usr/lib/mysql -Fl/usr/lib/sane -Fl/usr/local/lib -di386 allunits.pp
Free Pascal Compiler version 1.0.5 [2001/12/31] for i386
Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Linux for i386
Compiling allunits.pp
Compiling syntextdrawer.pp
Assembling syntextdrawer
Compiling syneditkeycmds.pp
Compiling syneditstrconst.pp
Assembling syneditkeycmds
Compiling synedittypes.pp
Compiling syneditsearch.pp
Assembling syneditsearch
Compiling syneditmiscprocs.pp
Assembling syneditmiscprocs
Compiling syneditmiscclasses.pp
Assembling syneditmiscclasses
Compiling synedittextbuffer.pp
Assembling synedittextbuffer
Compiling synedit.pp
Compiling synedithighlighter.pp
Assembling synedithighlighter
Assembling synedit
Compiling synhighlighterpas.pp
Assembling synhighlighterpas
Compiling syncompletion.pas
Assembling syncompletion
Compiling syneditautocomplete.pp
Assembling syneditautocomplete
Compiling synhighlighterhtml.pp
Assembling synhighlighterhtml
Compiling synhighlightercpp.pp
Assembling synhighlightercpp
Compiling synhighlighterxml.pas
Assembling synhighlighterxml
Compiling synhighlighterlfm.pas
Assembling synhighlighterlfm
Compiling synhighlighterperl.pas
Assembling synhighlighterperl
29049 Lines compiled, 7.4 sec
make[2]: Leaving directory `/home/rob/lazarus/components/synedit'
make -C codetools all
make[2]: Entering directory `/home/rob/lazarus/components/codetools'
/bin/rm -f ../units/allcodetoolunits.ppu
/usr/bin/ppc386 -gl -Fu. -Fu/usr/lib/fpc/1.0.5/units/linux/rtl -Fu/usr/lib/fpc/1.0.5/units/linux/paszlib -Fu/usr/lib/fpc/1.0.5/units/linux/inet -Fu/usr/lib/fpc/1.0.5/units/linux/fcl -Fu/usr/lib/fpc/1.0.5/units/linux/mysql -Fu/usr/lib/fpc/1.0.5/units/linux/ibase -FU../units -Fl/usr/lib/gcc-lib/i386-redhat-linux/2.96 -Fl/usr/kerberos/lib -Fl/usr/X11R6/lib -Fl/usr/lib/qt-2.3.1/lib -Fl/usr/lib/qt-1.45/lib -Fl/usr/lib/wine -Fl/usr/lib/mysql -Fl/usr/lib/sane -Fl/usr/local/lib -di386 allcodetoolunits.pp
Free Pascal Compiler version 1.0.5 [2001/12/31] for i386
Copyright (c) 1993-2000 by Florian Klaempfl
Target OS: Linux for i386
Compiling allcodetoolunits.pp
Compiling memcheck.pas
Assembling memcheck
Compiling codetoolmanager.pas
Compiling codetoolsstrconsts.pas
Writing Resource String Table file: ../units/codetoolsstrconsts.rst
Assembling codetoolsstrconsts
Compiling eventcodetool.pas
Compiling codetree.pas
Compiling basiccodetools.pas
Compiling sourcelog.pas
Assembling sourcelog
Compiling keywordfunclists.pas
Assembling keywordfunclists
Assembling basiccodetools
Compiling avl_tree.pas
Assembling avl_tree
Compiling codetoolmemmanager.pas
Assembling codetoolmemmanager
Assembling codetree
Compiling codeatom.pas
Compiling codecache.pas
Compiling linkscanner.pas
Compiling fileprocs.pas
Assembling fileprocs
Compiling expreval.pas
Assembling expreval
Assembling linkscanner
Assembling codecache
Assembling codeatom
Compiling pascalparsertool.pas
Compiling customcodetool.pas
Compiling sourcechanger.pas
Assembling sourcechanger
Assembling customcodetool
Assembling pascalparsertool
Compiling codecompletiontool.pas
Compiling methodjumptool.pas
Compiling stdcodetools.pas
Compiling finddeclarationtool.pas
Compiling definetemplates.pas
Assembling definetemplates
Compiling finddeclarationcache.pas
Assembling finddeclarationcache
Assembling finddeclarationtool
Assembling stdcodetools
Assembling methodjumptool
codecompletiontool.pas(1228,29) Error: Method (variable) and Procedure (variable) are not compatible
codecompletiontool.pas(1228,29) Error: Method (variable) and Procedure (variable) are not compatible
codecompletiontool.pas(1939) Fatal: There were 2 errors compiling module, stopping
make[2]: Leaving directory `/home/rob/lazarus/components/codetools'
make[1]: Leaving directory `/home/rob/lazarus/components'


NOTE: editor options config file not found
Note: miscellaneous options file not found - using defaults
Note: codetools config file not found - using defaults
Note: loading old codetools options file: /home/rob/.lazarus/codetoolsoptions.xml

NOTE: FPC Source Directory not set!  (see Environment Options)

NOTE: Could not create Define Template for Free Pascal Sources
Form Stream Signature=TPF0
Form Stream Signature=TPF0
TMainIDE.DoOpenProjectFile A "/home/rob/Projects/junk3/project1.lpi"
TMainIDE.DoCloseProject A
TMainIDE.DoCloseProject end 0
TMainIDE.DoOpenProjectFile B

*** TMainIDE.DoOpenEditorFile START "/home/rob/Projects/junk3/project1.pas"
TPascalParserTool.BuildTree B OnlyInterfaceNeeded=TRUE  /home/rob/Projects/junk3/project1.pas
(gtkwinapiwindow.pp) GTKAPIWidget_new, ToDo: check parameters, gtk-Critical
(gtkwinapiwindow.pp) GTKAPIWidget_Init B  check this:
GTKAPIWidget_Init END
GTKAPIWidget_new END
STOPPOK: [TGtkObject.SetText] Possible superfluous use of SetText, use SetLabel instead!
TMainIDE.DoOpenEditorFile END "/home/rob/Projects/junk3/project1.pas"
TMainIDE.DoOpenProjectFile end  CodeToolBoss.ConsistencyCheck=0
TMainIDE.DoNewProject A
TMainIDE.DoCloseProject A
TMainIDE.DoCloseEditorUnit A PageIndex=0
TMainIDE.DoCloseEditorUnit end
TMainIDE.DoCloseProject end 0
TMainIDE.DoNewEditorUnit A NewFilename=
TPascalParserTool.BuildTree B OnlyInterfaceNeeded=FALSE  project1.lpr
[TCustomFormEditor.CreateComponent] Class='TFORM'
[TJITForms] AddNewJITForm
NewFormName is Form1, NewClassName is TForm1
[TJITForms.RenameClass] OldName='TJITForm' NewName='TForm1' 
[TJITForms.RenameClass] OldName='TForm1' NewName='TForm1' 
TPascalParserTool.BuildTree B OnlyInterfaceNeeded=FALSE  project1.lpr
(gtkwinapiwindow.pp) GTKAPIWidget_new, ToDo: check parameters, gtk-Critical
(gtkwinapiwindow.pp) GTKAPIWidget_Init B  check this:
GTKAPIWidget_Init END
GTKAPIWidget_new END
STOPPOK: [TGtkObject.SetText] Possible superfluous use of SetText, use SetLabel instead!
(gtkwinapiwindow.pp) GTKAPIWidget_new, ToDo: check parameters, gtk-Critical
(gtkwinapiwindow.pp) GTKAPIWidget_Init B  check this:
GTKAPIWidget_Init END
GTKAPIWidget_new END
(gtkwinapiwindow.pp) GTKAPIWidget_new, ToDo: check parameters, gtk-Critical
(gtkwinapiwindow.pp) GTKAPIWidget_Init B  check this:
GTKAPIWidget_Init END
GTKAPIWidget_new END
TMainIDE.DoNewUnit end
TMainIDE.DoNewProject end 0
TMainIDE.DoSaveEditorUnit A PageIndex=0 SaveAs=TRUE SaveToTestDir=FALSE
TMainIDE.DoSaveProject A SaveAs=FALSE SaveToTestDir=FALSE
TMainIDE.DoSaveEditorUnit A PageIndex=0 SaveAs=TRUE SaveToTestDir=FALSE
TPascalParserTool.BuildTree B OnlyInterfaceNeeded=FALSE  unit1.pas
### TCodeToolManager.HandleException: "EACCESSVIOLATION: Access violation"
TPascalParserTool.BuildTree B OnlyInterfaceNeeded=TRUE  unit1.pas
TPascalParserTool.BuildTree B OnlyInterfaceNeeded=FALSE  /home/rob/Projects/junk/unit1.pas
### TCodeToolManager.HandleException: "EACCESSVIOLATION: Access violation"
STOPPOK: [TGtkObject.SetText] Possible superfluous use of SetText, use SetLabel instead!
An unhandled exception occurred at 0x0816DD91 :
Access violation
  0x0816DD91  TMAINIDE__DOSAVEFILERESOURCES,  line 2677 of main.pp
  0x081ECB45
  0x404C36B0  main,  line 257 of graphics.pp
An unhandled exception occurred at 0x081E6E4A :
Access violation
  0x081E6E4A

forms.pp - finalization section
[TMainIDE.Destroy] A
[TMainIDE.Destroy] B  -> inherited Destroy...
[TMainIDE.Destroy] END
[TgtkObject.Destroy] WARNING: There are 1 unreleased DCs, a detailed dump follows:
[TgtkObject.Destroy]   DCs:   082ED9E4
[TgtkObject.Destroy] WARNING: There are 10 unreleased GDIObjects, a detailed dump follows:
[TgtkObject.Destroy]   GDIOs: 082ECD04 082ECD74 082ECCB4 082EDB14 082EDAA4 082EDA34 082ECE54
[TgtkObject.Destroy]   gdiBrush: 8
[TgtkObject.Destroy]   gdiFont: 1
[TgtkObject.Destroy]   gdiPen: 1





More information about the Lazarus mailing list