Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-18 Thread FreeMan

fpc r30257 lazarus r48409
Still I get error and I'm not build my project:

Access violation.


Press OK to ignore and risk data corruption.

Press Cancel to kill the program.



On 17.03.2015 16:43, FreeMan wrote:

On 17.03.2015 14:20, Mattias Gaertner wrote:

Why are there no line infos? Have you stripped the IDE?

Please run the IDE in gdb to get a stacktrace.

Mattias

in r48406
I attached gdb logs

from terminal.
lazbuild wrote this lines, but not stop building, its continue
...
in/rm -f
/bin/rm -f fpcmade.x86_64-darwin Package.fpc ppas.sh script.res link.res
/bin/rm -f *.s *_ppas.sh
make[2]: Leaving directory `/opt/lazarus/components/macroscript'
make[1]: Leaving directory `/opt/lazarus/components'
make: Leaving directory `/opt/lazarus'
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file 
for FCL 1.0.1: /opt/lazarus/packager/units/x86_64-darwin/FCL.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file 
for lnetbase 0.6.6: 
/opt/proje_laz/components/all_libs/lnet/x86_64-darwin-qt/lnetbase.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file 
for dcpcrypt 2.0.4.1: 
/opt/proje_laz/components/all_libs/dcpcrypt/x86_64-darwin-qt/dcpcrypt.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file 
for LazUtils 1.0: 
/opt/lazarus/components/lazutils/lib/x86_64-darwin/LazUtils.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file 
for zlibar_package 0.2.1: 
/opt/proje_laz/components/all_libs/zlibar/x86_64-darwin-qt/zlibar_package.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file 
for CodeTools 1.0.1: 
/opt/lazarus/components/codetools/units/x86_64-darwin/CodeTools.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file 
for LCLBase 1.5: /opt/lazarus/lcl/units/x86_64-darwin/LCLBase.compiled

..
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-18 Thread Mattias Gaertner
On Wed, 18 Mar 2015 08:57:49 +0200
Juha Manninen juha.mannine...@gmail.com wrote:

 On Wed, Mar 18, 2015 at 12:57 AM, Juha Manninen
 juha.mannine...@gmail.com wrote:
  I wonder why this bug did not appear for you. I am doing a basic
  Lazarus build with Debug IDE profile on Linux using either of the 2
  widgetsets, after changing any unit a little.
 
 I am still using FPC 2.6.2 in that Linux machine. It has worked well
 so far. Could it make a difference? I will do more tests.
 Anyway, the
  'CheckDuplicateUnits: FindUnitSourcePPU() changed CurUnit to Nil. Not good!'
 assertion failed every time for me.

Sorry. Fixed.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-18 Thread FreeMan

On 18.03.2015 11:41, FreeMan wrote:
lazarus r48397 create this error, while Tools -- Configure Build 
lazarus ...

r48396 without error and can build

On 18.03.2015 11:16, FreeMan wrote:

fpc r30257 lazarus r48409
Still I get error and I'm not build my project:

Access violation.

Press OK to ignore and risk data corruption.

Press Cancel to kill the program.





On Wed, 18 Mar 2015 08:57:49 +0200
Juha Manninenjuha.mannine...@gmail.com  wrote:


On Wed, Mar 18, 2015 at 12:57 AM, Juha Manninen
juha.mannine...@gmail.com  wrote:

I wonder why this bug did not appear for you. I am doing a basic
Lazarus build with Debug IDE profile on Linux using either of the 2
widgetsets, after changing any unit a little.

I am still using FPC 2.6.2 in that Linux machine. It has worked well
so far. Could it make a difference? I will do more tests.
Anyway, the
  'CheckDuplicateUnits: FindUnitSourcePPU() changed CurUnit to Nil. Not good!'
assertion failed every time for me.

Sorry. Fixed.

Mattias


Yes fixed.
 No matter, all human can make mistake.
thank you.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-18 Thread FreeMan
lazarus r48397 create this error, while Tools -- Configure Build 
lazarus ...

r48396 without error and can build

On 18.03.2015 11:16, FreeMan wrote:

fpc r30257 lazarus r48409
Still I get error and I'm not build my project:

Access violation.

Press OK to ignore and risk data corruption.

Press Cancel to kill the program.




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-18 Thread Juha Manninen
On Wed, Mar 18, 2015 at 12:57 AM, Juha Manninen
juha.mannine...@gmail.com wrote:
 I wonder why this bug did not appear for you. I am doing a basic
 Lazarus build with Debug IDE profile on Linux using either of the 2
 widgetsets, after changing any unit a little.

I am still using FPC 2.6.2 in that Linux machine. It has worked well
so far. Could it make a difference? I will do more tests.
Anyway, the
 'CheckDuplicateUnits: FindUnitSourcePPU() changed CurUnit to Nil. Not good!'
assertion failed every time for me.

Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread Mattias Gaertner
On Tue, 17 Mar 2015 22:03:28 +0200
Juha Manninen juha.mannine...@gmail.com wrote:

 I also get a SIGSEGV every time I build Lazarus from inside IDE. I can
 prevent the crash only by selecting Clean all in the Configure build
 lazarus.
 
 #0  0x01364185 in CHECKDUPLICATEUNITS
 (parentfp=0x7fffbf60) at ../packager/interpkgconflictfiles.pas:876
 #1  0x013638ac in CHECKINTERPKGFILES

Fixed.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread FreeMan

lazarus r48404 fpc r30250 osx qt x64

When compile my project, I get this error:

Division by zero.

Press OK to ignore and risk data corruption.

Press Cancel to kill the program.


this lines from terminal, when error created:

TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
rxnew 2.6.5.152: 
/opt/proje_laz/components/all_libs/rx/x86_64-darwin-qt/rxnew.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
TurboPowerIPro 1.0: 
/opt/lazarus/components/turbopower_ipro/units/x86_64-darwin/qt/TurboPowerIPro.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
ZVDateTimeCtrls 1.5.1: 
/opt/proje_laz/components/all_libs/zvDateTimeCtrls/x86_64-darwin-qt/ZVDateTimeCtrls.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
cffilter_laz 4.0: 
/opt/proje_laz/components/all_libs/clever_filter/x86_64-darwin-qt/cffilter_laz.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
dbplan_laz 7.5.3.1: 
/opt/proje_laz/components/all_libs/plan_laz/x86_64-darwin-qt/dbplan_laz.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
UGS_secury 2.0: 
/opt/proje_laz/components/all_libs/UGS_sec/x86_64-darwin-qt/UGS_secury.compiled
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
UGS_TurtleCat 2.0.1: 
/opt/proje_laz/components/all_libs/UGS/x86_64-darwin-qt/UGS_TurtleCat.compiled

ERROR in IDE:
Creating gdb catchable error:
TApplication.HandleException Division by zero
  Stack trace:
  $00010065D7FE
  $000100B34FFD
  $000100B37170
  $000100B36AB0
  $000100529725
  $00010051BC4B
  $00010053657F
  $000100087A68
  $00010007E4AE
  $000100414787
  $000100418371
  $0001004160BD
  $000100F58F7F
  $0001002A8D4C
  $0001001F45D2
  $0001001F5108
  $0001000127F3
2015-03-17 11:29:12.841 lazarus[92511:296713] modalSession has been 
exited prematurely - check for a reentrant call to endModalSession:

^[[1;2D
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread FreeMan

Maybe this result helpful, I get from message window:

Warning: other unit files search path (aka unit path) of dcpcrypt_laz 
2.0.4.1 contains /opt/proje_laz/components/dcpcrypt/Ciphers, which 
belongs to package dcpcrypt
Warning: other sources path of package lnetbase 0.6.6 contains 
directory ../lib, which is already in the unit search path.
Warning: Duplicate unit zlibar_package in zlibar_package 0.2.1, 
ppu=/opt/proje_laz/components/all_libs/zlibar/x86_64-darwin-qt/zlibar_package.ppu, 
source=/opt/proje_laz/components/zlibar/zlibar_package.pas
Warning: Duplicate unit zlibar_package in UGS_secury 2.0, 
ppu=/opt/proje_laz/components/all_libs/zlibar/x86_64-darwin-qt/zlibar_package.ppu, 
source=/opt/proje_laz/components/zlibar/zlibar_package.pas
Warning: Duplicate unit zlibar in zlibar_package 0.2.1, 
ppu=/opt/proje_laz/components/all_libs/zlibar/x86_64-darwin-qt/zlibar.ppu, 
source=/opt/proje_laz/components/zlibar/zlibar.pas
Warning: Duplicate unit zlibar in UGS_secury 2.0, 
ppu=/opt/proje_laz/components/all_libs/UGS_sec/x86_64-darwin-qt/zlibar.ppu, 
source=/opt/proje_laz/components/zlibar/zlibar.pas
Warning: Duplicate unit xlsxooxml in laz_fpspreadsheet 1.4.2, 
ppu=/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsxooxml.ppu, 
source=/opt/proje_laz/components/fpspreadsheet/xlsxooxml.pas
Warning: Duplicate unit xlsxooxml in laz_fpspreadsheet_visual 1.4.2, 
ppu=/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsxooxml.ppu, 
source=/opt/proje_laz/components/fpspreadsheet/xlsxooxml.pas
Warning: Duplicate unit xlsconst in laz_fpspreadsheet 1.4.2, 
ppu=/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsconst.ppu, 
source=/opt/proje_laz/components/fpspreadsheet/xlsconst.pas
Warning: Duplicate unit xlsconst in laz_fpspreadsheet_visual 1.4.2, 
ppu=/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsconst.ppu, 
source=/opt/proje_laz/components/fpspreadsheet/xlsconst.pas
Warning: Duplicate unit xlscommon in laz_fpspreadsheet 1.4.2, 
ppu=/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlscommon.ppu, 
source=/opt/proje_laz/components/fpspreadsheet/xlscommon.pas
Warning: Duplicate unit xlscommon in laz_fpspreadsheet_visual 1.4.2, 
ppu=/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlscommon.ppu, 
source=/opt/proje_laz/components/fpspreadsheet/xlscommon.pas
Warning: Duplicate unit xlsbiff8 in laz_fpspreadsheet 1.4.2, 
ppu=/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff8.ppu, 
source=/opt/proje_laz/components/fpspreadsheet/xlsbiff8.pas
Warning: Duplicate unit xlsbiff8 in laz_fpspreadsheet_visual 1.4.2, 
ppu=/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff8.ppu, 
source=/opt/proje_laz/components/fpspreadsheet/xlsbiff8.pas
Warning: Duplicate unit xlsbiff5 in laz_fpspreadsheet 1.4.2, 
ppu=/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff5.ppu, 
source=/opt/proje_laz/components/fpspreadsheet/xlsbiff5.pas
Warning: Duplicate unit xlsbiff5 in laz_fpspreadsheet_visual 1.4.2, 
ppu=/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff5.ppu, 
source=/opt/proje_laz/components/fpspreadsheet/xlsbiff5.pas
Warning: Duplicate unit xlsbiff2 in laz_fpspreadsheet 1.4.2, 
ppu=/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff2.ppu, 
source=/opt/proje_laz/components/fpspreadsheet/xlsbiff2.pas
Warning: Duplicate unit xlsbiff2 in laz_fpspreadsheet_visual 1.4.2, 
ppu=/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/xlsbiff2.ppu, 
source=/opt/proje_laz/components/fpspreadsheet/xlsbiff2.pas
Warning: Duplicate unit wikitable in laz_fpspreadsheet 1.4.2, 
ppu=/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/wikitable.ppu, 
source=/opt/proje_laz/components/fpspreadsheet/wikitable.pas
Warning: Duplicate unit wikitable in laz_fpspreadsheet_visual 1.4.2, 
ppu=/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/wikitable.ppu, 
source=/opt/proje_laz/components/fpspreadsheet/wikitable.pas



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread Juha Manninen
On Tue, Mar 17, 2015 at 11:14 PM, Mattias Gaertner
nc-gaert...@netcologne.de wrote:
 Fixed.

No, there is still a Nil reference. I added some assertions, see r48408.
I also removed the Pointer casts in ComparePGInterPkgUnitnames()
although it was not the problem really.

I wonder why this bug did not appear for you. I am doing a basic
Lazarus build with Debug IDE profile on Linux using either of the 2
widgetsets, after changing any unit a little.

Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread Juha Manninen
I also get a SIGSEGV every time I build Lazarus from inside IDE. I can
prevent the crash only by selecting Clean all in the Configure build
lazarus.

#0  0x01364185 in CHECKDUPLICATEUNITS
(parentfp=0x7fffbf60) at ../packager/interpkgconflictfiles.pas:876
#1  0x013638ac in CHECKINTERPKGFILES
(IDEOBJECT=0x77f590c0, PKGLIST=0x7fffe071f180, FILESCHANGED=false)
at ../packager/interpkgconflictfiles.pas:1041
#2  0x00b65cc4 in PACKAGEGRAPHCHECKINTERPKGFILES
(this=0x7fffe02307c0, IDEOBJECT=0x77f590c0,
PKGLIST=0x7fffe071f180, FILESCHANGED=false) at
../packager/pkgmanager.pas:929
#3  0x00b51c1d in COMPILEREQUIREDPACKAGES
(this=0x77f590c0, APACKAGE=0x0, FIRSTDEPENDENCY=0x7fffe01c4ec0,
SKIPDESIGNTIMEPACKAGES=false, POLICY=PUPASNEEDED)
at ../packager/packagesystem.pas:3666
#4  0x00b82a99 in DOCOMPILEAUTOINSTALLPACKAGES
(this=0x7fffe02307c0, FLAGS=..., ONLYBASE=false) at
../packager/pkgmanager.pas:5877
#5  0x004d0dd8 in DOBUILDLAZARUSSUB (this=0x7fffe51f22e0,
FLAGS=...) at main.pp:7360
#6  0x004d12ea in DOBUILDLAZARUS (this=0x7fffe51f22e0,
FLAGS=...) at main.pp:7418
...

The whole backtrace is attached.

Juha
Program received signal SIGSEGV, Segmentation fault.
0x01364185 in CHECKDUPLICATEUNITS (parentfp=0x7fffbf60) at 
../packager/interpkgconflictfiles.pas:876
876 debugln(['CheckPPUFilesInWrongDirs duplicate units found: 
file1=',CurUnit.FullFilename,'(',CurUnit.OwnerInfo.Name,') 
ppu=',PPUFilenil,' 
file2=',OtherFile.FullFilename,'(',OtherFile.OwnerInfo.Name,') 
ppu=',OtherPPUFilenil]);
(gdb) bt
#0  0x01364185 in CHECKDUPLICATEUNITS (parentfp=0x7fffbf60) at 
../packager/interpkgconflictfiles.pas:876
#1  0x013638ac in CHECKINTERPKGFILES (IDEOBJECT=0x77f590c0, 
PKGLIST=0x7fffe071f180, FILESCHANGED=false) at 
../packager/interpkgconflictfiles.pas:1041
#2  0x00b65cc4 in PACKAGEGRAPHCHECKINTERPKGFILES (this=0x7fffe02307c0, 
IDEOBJECT=0x77f590c0, PKGLIST=0x7fffe071f180, FILESCHANGED=false) at 
../packager/pkgmanager.pas:929
#3  0x00b51c1d in COMPILEREQUIREDPACKAGES (this=0x77f590c0, 
APACKAGE=0x0, FIRSTDEPENDENCY=0x7fffe01c4ec0, SKIPDESIGNTIMEPACKAGES=false, 
POLICY=PUPASNEEDED)
at ../packager/packagesystem.pas:3666
#4  0x00b82a99 in DOCOMPILEAUTOINSTALLPACKAGES (this=0x7fffe02307c0, 
FLAGS=..., ONLYBASE=false) at ../packager/pkgmanager.pas:5877
#5  0x004d0dd8 in DOBUILDLAZARUSSUB (this=0x7fffe51f22e0, FLAGS=...) at 
main.pp:7360
#6  0x004d12ea in DOBUILDLAZARUS (this=0x7fffe51f22e0, FLAGS=...) at 
main.pp:7418
#7  0x004c16eb in MNUTOOLBUILDLAZARUSCLICKED (this=0x7fffe51f22e0, 
SENDER=0x7fffe034b5e0) at main.pp:4719
#8  0x009c8772 in MENUITEMCLICK (this=0x7fffe034b5e0, 
SENDER=0x7fffe034b5e0) at menuintf.pas:575
#9  0x009ce2fd in MENUITEMCLICK (this=0x7fffe034b5e0, 
SENDER=0x7fffe034b5e0) at menuintf.pas:1650
#10 0x009caa5f in TRIGGERCLICK (this=0x7fffe034b5e0) at menuintf.pas:932
#11 0x015c640b in CLICK (this=0x7fffdbbc19f0) at 
editortoolbar_impl.pas:162
#12 0x007cd33e in MOUSEUP (this=0x7fffdbbc19f0, BUTTON=MBLEFT, 
SHIFT=..., X=12, Y=10) at include/toolbutton.inc:133
#13 0x006bde6a in DOMOUSEUP (this=0x7fffdbbc19f0, MESSAGE=..., 
BUTTON=MBLEFT) at include/control.inc:2169
#14 0x006bec81 in WMLBUTTONUP (this=0x7fffdbbc19f0, MESSAGE=...) at 
include/control.inc:2613
#15 0x00433851 in SYSTEM_TOBJECT_$__DISPATCH$formal ()
#16 0x006beb48 in WMXBUTTONQUADCLK (this=0x7fffdbbc19f0, MESSAGE=...) 
at include/control.inc:2582
#17 0x006bb4aa in PERFORM (this=0x7fffdbbc19f0, MSG=514, WPARAM=0, 
LPARAM=655372) at include/control.inc:1451
#18 0x006a6456 in ISCONTROLMOUSEMSG (this=0x7fffdbbbd5f0, THEMESSAGE=0) 
at include/wincontrol.inc:4663
#19 0x006a8cec in WNDPROC (this=0x7fffdbbbd5f0, MESSAGE=...) at 
include/wincontrol.inc:5288
#20 0x0076dcc0 in DELIVERMESSAGE (this=0x7fffdb7424b0, MSG=0, 
AISINPUTEVENT=true) at qt/qtwidgets.pas:5517
#21 0x0076848b in SLOTMOUSE (this=0x7fffdb7424b0, SENDER=0x2d4c2b0, 
EVENT=0x7fffd310) at qt/qtwidgets.pas:3623
#22 0x007658da in EVENTFILTER (this=0x7fffdb7424b0, SENDER=0x2d4c2b0, 
EVENT=0x7fffd310) at qt/qtwidgets.pas:2568
#23 0x0078fbbc in EVENTFILTER (this=0x7fffdb7424b0, SENDER=0x2d4c2b0, 
EVENT=0x7fffd310) at qt/qtwidgets.pas:16000
#24 0x00791477 in VIEWPORTEVENTFILTER (this=0x7fffdb7421f0, 
EVENT=0x7fffd310, RETVAL=0x7fffcf7f) at qt/qtwidgets.pas:16486
#25 0x77726b7d in QLCLAbstractScrollArea::viewportEvent(QEvent*) () 
from /usr/local/lib/libQt4Pas.so.5
#26 0x7359c646 in 
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () 
from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x73e15e0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) 
() from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#28 0x73e1c5dd 

Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread Mattias Gaertner
On Tue, 17 Mar 2015 11:36:41 +0200
FreeMan freema...@delphiturkiye.com wrote:

 lazarus r48404 fpc r30250 osx qt x64
 
 When compile my project, I get this error:
 
 Division by zero.

Please test with revision 48405.

Mattias


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread FreeMan

On 17.03.2015 13:45, Mattias Gaertner wrote:

On Tue, 17 Mar 2015 11:36:41 +0200
FreeMan freema...@delphiturkiye.com wrote:
lazarus r48404 fpc r30250 osx qt x64

When compile my project, I get this error:

Division by zero.
Please test with revision 48405.

Mattias


I tested, but NOT fixed. Just on message windows not show warnings. in 
terminal when compile

still I get this errors:

TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
ZVDateTimeCtrls 1.5.1: 
/opt/proje_laz/components/all_libs/zvDateTimeCtrls/x86_64-darwin-qt/ZVDateTimeCtrls.compiled

TApplication.HandleException Access violation
  Stack trace:
  $000100B36EFF
  $000100B36858
  $000100529515
  $00010051BA3B
  $00010053636F
  $000100087858
  $00010007E29E
  $000100414577
  $000100418161
  $000100415EAD
  $000100F58EBF
  $0001002A8B3C
  $0001001F43C2
  $0001001F4EF8
  $0001000125E3
  $0001001F2A6E
  $0001001E6114
2015-03-17 14:00:36.777 lazarus[32947:368541] modalSession has been 
exited prematurely - check for a reentrant call to endModalSession:


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-17 Thread Mattias Gaertner
On Tue, 17 Mar 2015 14:03:02 +0200
FreeMan freema...@delphiturkiye.com wrote:

 On 17.03.2015 13:45, Mattias Gaertner wrote:
  On Tue, 17 Mar 2015 11:36:41 +0200
  FreeMan freema...@delphiturkiye.com wrote:
  lazarus r48404 fpc r30250 osx qt x64
 
  When compile my project, I get this error:
 
  Division by zero.
  Please test with revision 48405.
 
  Mattias
 
 I tested, but NOT fixed. Just on message windows not show warnings. in 
 terminal when compile
 still I get this errors:
 
 TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
 ZVDateTimeCtrls 1.5.1: 
 /opt/proje_laz/components/all_libs/zvDateTimeCtrls/x86_64-darwin-qt/ZVDateTimeCtrls.compiled
 TApplication.HandleException Access violation
Stack trace:
$000100B36EFF
$000100B36858
$000100529515
$00010051BA3B
$00010053636F
$000100087858
$00010007E29E
$000100414577
$000100418161
$000100415EAD
$000100F58EBF
$0001002A8B3C
$0001001F43C2
$0001001F4EF8
$0001000125E3
$0001001F2A6E
$0001001E6114

Why are there no line infos? Have you stripped the IDE?

Please run the IDE in gdb to get a stacktrace.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-16 Thread Péter Gábor


2015-03-15 21:09 keltezéssel, Mattias Gaertner írta:
  
 Warning: Duplicate unit ZUpdateSqlEditor in zcore 7.1, orphaned ppu
 ~/_components/zeoslib/packages/lazarus/lib/i386-linux/ZUpdateSqlEditor.ppu
 Warning: Duplicate unit ZUpdateSqlEditor in zcomponent 7.1,
 source=~/_components/zeoslib/src/component/ZUpdateSqlEditor.pas
 
 Orphaned means here: no corresponding source file was found in the
 package.
 
 It seems ZUpdateSqlEditor belongs to package zcomponent, but the ppu is
 in the output directory of package zcore.
 Either this a bug in the packages or you forgot to clean
 up.
 
The package files (*.lpk) and only the corresponding pascal files are in
the same directory by the package's author:

zeoslib/packages/lazarus/zcomponent.pas
zeoslib/packages/lazarus/zcore.pas
zeoslib/packages/lazarus/zdbc.pas
zeoslib/packages/lazarus/zparsesql.pas
zeoslib/packages/lazarus/zplain.pas
zeoslib/packages/lazarus/zcomponent.lpk
zeoslib/packages/lazarus/zcore.lpk
zeoslib/packages/lazarus/zdbc.lpk
zeoslib/packages/lazarus/zparsesql.lpk
zeoslib/packages/lazarus/zplain.lpk

Additiona sources of the packages are in an other place (in the
distributed archive):

zeoslib/src/*
zeoslib/src/component/*
zeoslib/src/core/*
zeoslib/src/dbc/*
zeoslib/src/parsesql/*
zeoslib/src/plain/*

  
 Warning: Duplicate unit fpolebasic in laz_fpspreadsheet 1.5,
 ppu=fpspreadsheet/lib/i386-linux/fpolebasic.ppu,
 source=fpspreadsheet/fpolebasic.pas
 Warning: Duplicate unit fpolebasic in laz_fpspreadsheet_visual 1.5,
 ppu=fpspreadsheet/lib/i386-linux/fpolebasic.ppu,
 source=fpspreadsheet/fpolebasic.pas
 
 The two packages use the same sources. Either this is a
 bug in the packages or you are not supposed to use both.
 

laz_fpspreadsheet is added to the list of dependencies in
laz_fpspreadsheet_visual, so the visual component cannot be
installed/used without the other.

The package files (*.lpk), the corresponding pascal files, and the
additional pascal/other files are in the same directory by the package's
author:

fpspreadsheet/*


For me the both above seem to be very similar situation (except the
location of additional source/other files).

Cleanup doesn't help in this cases. After removing the ../lib/
directories the first rebuild runs without the warnings (of course), but
next time the warnings appear again.

The package files (*.lpk) are in the same directory, so the compiled ppu
files can/will go into the same place by default.

So these issues seem to be related to package (mis)configurations or the
defaults assumed by Lazarus if something (e.g. output directory) isn't
defined.



 Warning: Duplicate unit registersqlite in sqlite3laz 0.4,
 Warning: Duplicate unit registersqlite in sqlitelaz 0.4,

These warnings are okay for me, because they may be needed in separate
projects (for any reason).


 Warning: Duplicate unit main in #IDE,
 Warning: Duplicate unit main in SdpoDynmatrix 1.0,

Also these warnings are okay for me, because such a situation my lead to
strange results.

-- 
Péter Gábor
p...@freemail.hu

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-16 Thread Mattias Gaertner
On Mon, 16 Mar 2015 16:28:43 +0100
Péter Gábor p...@freemail.hu wrote:

[...]
 The package files (*.lpk) and only the corresponding pascal files are in
 the same directory by the package's author:
 
 zeoslib/packages/lazarus/zcomponent.pas
 zeoslib/packages/lazarus/zcore.pas
 zeoslib/packages/lazarus/zdbc.pas
 zeoslib/packages/lazarus/zparsesql.pas
 zeoslib/packages/lazarus/zplain.pas
 zeoslib/packages/lazarus/zcomponent.lpk
 zeoslib/packages/lazarus/zcore.lpk
 zeoslib/packages/lazarus/zdbc.lpk
 zeoslib/packages/lazarus/zparsesql.lpk
 zeoslib/packages/lazarus/zplain.lpk

The zdbc.pas is in the path of all these packages. That means
every time one of these packages is compiled the compiler has a chance
to build a new zdbc.ppu.
And it is hard for the user, to find out what package contains unit
zdbc.
Ergo: this setup is valid, but not recommended.
Maybe the many warnings can be reduced to a few.

 
 Additiona sources of the packages are in an other place (in the
 distributed archive):
 
 zeoslib/src/*
 zeoslib/src/component/*
 zeoslib/src/core/*
 zeoslib/src/dbc/*
 zeoslib/src/parsesql/*
 zeoslib/src/plain/*
 
   
  Warning: Duplicate unit fpolebasic in laz_fpspreadsheet 1.5,
  ppu=fpspreadsheet/lib/i386-linux/fpolebasic.ppu,
  source=fpspreadsheet/fpolebasic.pas
  Warning: Duplicate unit fpolebasic in laz_fpspreadsheet_visual 1.5,
  ppu=fpspreadsheet/lib/i386-linux/fpolebasic.ppu,
  source=fpspreadsheet/fpolebasic.pas
  
  The two packages use the same sources. Either this is a
  bug in the packages or you are not supposed to use both.
  
 
 laz_fpspreadsheet is added to the list of dependencies in
 laz_fpspreadsheet_visual, so the visual component cannot be
 installed/used without the other.
 
 The package files (*.lpk), the corresponding pascal files, and the
 additional pascal/other files are in the same directory by the package's
 author:
 
 fpspreadsheet/*
 
 
 For me the both above seem to be very similar situation (except the
 location of additional source/other files).

Yes.

 
 Cleanup doesn't help in this cases. After removing the ../lib/
 directories the first rebuild runs without the warnings (of course), but
 next time the warnings appear again.

Yes.
Eventually there should be a warning about shr

 
 The package files (*.lpk) are in the same directory, so the compiled ppu
 files can/will go into the same place by default.

I improved it a bit: When a ppu is in two packages and only one package
has a source, there will be no warning.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-15 Thread Péter Gábor
Today I ran into the same error, so I made some tests...

The fixes (1.4*) branch can be compiled with lazbuild and from the ide
itself without error.
Trunk (1.5) version of Lazarus IDE builds itself successfully with a lot
of duplicate unit warnings (did not appear some days before).
Trunk version of LazBuild generates the following output and fails:
(the home path is replaced with ~ symbol to short this log)

 BEGIN 
SetPrimaryConfigPath NewValue=~/.lazarus_test - ~/.lazarus_test
primary config path: ~/.lazarus_test/
TFPCTargetConfigCache.NeedsUpdate TargetOS= TargetCPU= Options=
config file changed ~/.fpc.cfg
TFPCTargetConfigCache.Update ~/Projektek/fpcbuild/release/bin/fpc
TargetOS= TargetCPU= CompilerOptions= ExtraOptions=
PATH=~/Projektek/binutils/cross/bin/:~/Projektek/fpcbuild/release/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
RunTool ~/Projektek/fpcbuild/release/bin/fpc -iWTOTP
RunTool ~/Projektek/fpcbuild/release/bin/fpc -va compilertest.pas
TFPCTargetConfigCache.Update: has changed
TBuildManager.SetBuildTarget Old=i386-linux-gtk2 New=i386-linux-gtk2
FPC=True LCL=False
NOTE: Building Lazarus IDE with profile Build IDE with Packages
TBuildManager.SetBuildTarget Old=i386-linux-gtk2 New=i386-linux-gtk2
FPC=True LCL=False
TFPCTargetConfigCache.NeedsUpdate TargetOS=linux TargetCPU=i386
Options= config file changed ~/.fpc.cfg
TFPCTargetConfigCache.Update ~/Projektek/fpcbuild/release/bin/fpc
TargetOS=linux TargetCPU=i386 CompilerOptions=
ExtraOptions=-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg
PATH=~/Projektek/binutils/cross/bin/:~/Projektek/fpcbuild/release/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
RunTool ~/Projektek/fpcbuild/release/bin/fpc -iWTOTP -Pi386
-Tlinux -Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg
RunTool ~/Projektek/fpcbuild/release/bin/fpc -va -Pi386 -Tlinux
-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg
compilertest.pas
TFPCTargetConfigCache.Update: has changed
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for
FCL 1.0.1: ~/Projektek/Lazarus-trunk/packager/units/i386-linux/FCL.compiled
 SAME MESSAGES HERE FOR VARIOUS PACKAGES 
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for
CodeTools 1.0.1:
~/Projektek/Lazarus-trunk/components/codetools/units/i386-linux/CodeTools.compiled
TFPCTargetConfigCache.NeedsUpdate TargetOS= TargetCPU=
Options=-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg
compiler file changed ~/Projektek/fpcbuild/release/bin/fpc
FileAge=1426260910 StoredAge=0
TFPCTargetConfigCache.Update ~/Projektek/fpcbuild/release/bin/fpc
TargetOS= TargetCPU=
CompilerOptions=-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg
ExtraOptions=-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg
PATH=~/Projektek/binutils/cross/bin/:~/Projektek/fpcbuild/release/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
RunTool ~/Projektek/fpcbuild/release/bin/fpc -iWTOTP
-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg
-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg
RunTool ~/Projektek/fpcbuild/release/bin/fpc -va
-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg
-Fr~/Projektek/Lazarus-trunk/components/codetools/fpc.errore.msg
compilertest.pas
TFPCTargetConfigCache.Update: has changed
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for
laz_fpspreadsheet 1.5:
~/Projektek/lazarus-ccr/components/fpspreadsheet/lib/i386-linux/laz_fpspreadsheet.compiled
 SAME MESSAGES HERE FOR VARIOUS PACKAGES 
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for
LR_ZeosDB 0.2.2:
~/Projektek/Lazarus-trunk/components/lazreport/source/addons/ZeosDB/lib/i386-linux/LR_ZeosDB.compiled
An unhandled exception occurred at $:
EAccessViolation: Access violation
  $
  $08049CAD
  $08049A0D
  $0804CA96
  $0804E221

TFPCMsgFilePool.Destroy file still used:
~/Projektek/fpcbuild/fpcsrc/compiler/msg/errore.msg
An unhandled exception occurred at $0850F42D:
Exception: TFPCMsgFilePool.Destroy some files are still used
  $0850F42D
  $0805EF62
  $08062416
  $080600B4
  $0804E221

 END 

-- 
Gábor


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-15 Thread Mattias Gaertner
On Sun, 15 Mar 2015 18:50:01 +0100
Péter Gábor p...@freemail.hu wrote:

 Also I noticed that there is some duplicate file not only duplicate
 unit messages. I tried to find different kinds of duplicate file/unit
 warnings.
 (home+base path is replaced with ~ symbol for easier reading)

Thanks.

 
 Warning: Duplicate unit ZUpdateSqlEditor in zcore 7.1, orphaned ppu
 ~/_components/zeoslib/packages/lazarus/lib/i386-linux/ZUpdateSqlEditor.ppu
 Warning: Duplicate unit ZUpdateSqlEditor in zcomponent 7.1,
 source=~/_components/zeoslib/src/component/ZUpdateSqlEditor.pas

Orphaned means here: no corresponding source file was found in the
package.

It seems ZUpdateSqlEditor belongs to package zcomponent, but the ppu is
in the output directory of package zcore.
Either this a bug in the packages or you forgot to clean
up.

Note: bug may be too harsh. It probably works most of the time
because of the order of unit paths. But it can mean trouble:
- when compiling packages in parallel
- The IDE and its addons do not work in the same way as the
  compiler. The compiler is called multiple times, each time with
  different search paths and only seeing the ppu files of the other
  packages. The IDE and addons mostly work on the sources and they
  search with combined search paths. Duplicates can lead to different
  results.
- This can lead to strange errors and is confusing for the user.

 
 Warning: Duplicate unit ZSybaseToken in zcore 7.1, orphaned ppu
 ~/_components/zeoslib/packages/lazarus/lib/i386-linux/ZSybaseToken.ppu
 Warning: Duplicate unit ZSybaseToken in zparsesql 7.1,
 ppu=~/_components/zeoslib/packages/lazarus/lib/i386-linux/ZSybaseToken.ppu,
 source=~/_components/zeoslib/src/parsesql/ZSybaseToken.pas

Same, with different packages.

 
 Warning: Duplicate unit registersqlite in sqlite3laz 0.4,
 ppu=~/Lazarus-trunk/components/sqlite/lib/i386-linux/gtk2/registersqlite.ppu,
 source=~/Lazarus-trunk/components/sqlite/registersqlite.pas
 Warning: Duplicate unit registersqlite in sqlitelaz 0.4,
 ppu=~/Lazarus-trunk/components/sqlite/lib/i386-linux/gtk2/registersqlite.ppu,
 source=~/Lazarus-trunk/components/sqlite/registersqlite.pas

Maybe you should only use one of these packages: either sqlite or
sqlite3?

 
 Warning: Duplicate unit main in #IDE,
 ppu=~/Lazarus-trunk/units/i386-linux/gtk2/main.ppu,
 source=~/Lazarus-trunk/ide/main.pp
 Warning: Duplicate unit main in SdpoDynmatrix 1.0,
 source=~/_components/Sdpo/SdpoDynmatrix/main.pas

Oh.
Hopefully main.ppu of SdpoDynmatrix is not used at design time.

 
 Warning: Duplicate unit fpolebasic in laz_fpspreadsheet 1.5,
 ppu=~/lazarus-ccr/components/fpspreadsheet/lib/i386-linux/fpolebasic.ppu,
 source=~/lazarus-ccr/components/fpspreadsheet/fpolebasic.pas
 Warning: Duplicate unit fpolebasic in laz_fpspreadsheet_visual 1.5,
 ppu=~/lazarus-ccr/components/fpspreadsheet/lib/i386-linux/fpolebasic.ppu,
 source=~/lazarus-ccr/components/fpspreadsheet/fpolebasic.pas

The two packages use the same sources. Either this is a
bug in the packages or you are not supposed to use both.

 
 Warning: Duplicate file  in sqlite3laz 0.4,
 path=~/Lazarus-trunk/components/sqlite/lib/i386-linux/gtk2/sqlitecomponenteditor.lfm
 Warning: Duplicate file  in sqlitelaz 0.4,
 path=~/Lazarus-trunk/components/sqlite/sqlitecomponenteditor.lfm

The  is a bug. I fixed this.
See above about sqlite/sqlite3.


Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-15 Thread Mattias Gaertner
On Sun, 15 Mar 2015 16:54:30 +0100
Péter Gábor p...@freemail.hu wrote:

[...]
 Trunk (1.5) version of Lazarus IDE builds itself successfully with a lot
 of duplicate unit warnings (did not appear some days before).

That is a new feature.
Can you give an example for wrong duplicate warning?

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-15 Thread Mattias Gaertner
On Sun, 15 Mar 2015 16:54:30 +0100
Péter Gábor p...@freemail.hu wrote:

[...]
 An unhandled exception occurred at $:
 EAccessViolation: Access violation
   $
   $08049CAD
   $08049A0D
   $0804CA96
   $0804E221

Fixed.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-15 Thread Péter Gábor
Also I noticed that there is some duplicate file not only duplicate
unit messages. I tried to find different kinds of duplicate file/unit
warnings.
(home+base path is replaced with ~ symbol for easier reading)

Warning: Duplicate unit ZUpdateSqlEditor in zcore 7.1, orphaned ppu
~/_components/zeoslib/packages/lazarus/lib/i386-linux/ZUpdateSqlEditor.ppu
Warning: Duplicate unit ZUpdateSqlEditor in zcomponent 7.1,
source=~/_components/zeoslib/src/component/ZUpdateSqlEditor.pas

Warning: Duplicate unit ZSybaseToken in zcore 7.1, orphaned ppu
~/_components/zeoslib/packages/lazarus/lib/i386-linux/ZSybaseToken.ppu
Warning: Duplicate unit ZSybaseToken in zparsesql 7.1,
ppu=~/_components/zeoslib/packages/lazarus/lib/i386-linux/ZSybaseToken.ppu,
source=~/_components/zeoslib/src/parsesql/ZSybaseToken.pas

Warning: Duplicate unit registersqlite in sqlite3laz 0.4,
ppu=~/Lazarus-trunk/components/sqlite/lib/i386-linux/gtk2/registersqlite.ppu,
source=~/Lazarus-trunk/components/sqlite/registersqlite.pas
Warning: Duplicate unit registersqlite in sqlitelaz 0.4,
ppu=~/Lazarus-trunk/components/sqlite/lib/i386-linux/gtk2/registersqlite.ppu,
source=~/Lazarus-trunk/components/sqlite/registersqlite.pas

Warning: Duplicate unit main in #IDE,
ppu=~/Lazarus-trunk/units/i386-linux/gtk2/main.ppu,
source=~/Lazarus-trunk/ide/main.pp
Warning: Duplicate unit main in SdpoDynmatrix 1.0,
source=~/_components/Sdpo/SdpoDynmatrix/main.pas

Warning: Duplicate unit fpolebasic in laz_fpspreadsheet 1.5,
ppu=~/lazarus-ccr/components/fpspreadsheet/lib/i386-linux/fpolebasic.ppu,
source=~/lazarus-ccr/components/fpspreadsheet/fpolebasic.pas
Warning: Duplicate unit fpolebasic in laz_fpspreadsheet_visual 1.5,
ppu=~/lazarus-ccr/components/fpspreadsheet/lib/i386-linux/fpolebasic.ppu,
source=~/lazarus-ccr/components/fpspreadsheet/fpolebasic.pas

Warning: Duplicate file  in sqlite3laz 0.4,
path=~/Lazarus-trunk/components/sqlite/lib/i386-linux/gtk2/sqlitecomponenteditor.lfm
Warning: Duplicate file  in sqlitelaz 0.4,
path=~/Lazarus-trunk/components/sqlite/sqlitecomponenteditor.lfm


2015-03-15 18:19 keltezéssel, Mattias Gaertner írta:
 
 Can you give an example for wrong duplicate warning?
 
 Mattias
 

-- 
Péter Gábor
p...@freemail.hu

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-14 Thread FreeMan

On 14.03.2015 17:44, Mattias Gaertner wrote:

make[2]: Leaving directory `/opt/lazarus/components/macroscript'

What did you do?

I didn't understand what you mean ?
Log not start from there, I get warning message in log and add 1-2 lines 
before. I have not error, I builded IDE and start using now

This is my commandline:

./lazbuild --pcp=/Users/$User_Name/.lazarus --quiet --build-all 
--skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-14 Thread FreeMan

On 14.03.2015 18:15, Mattias Gaertner wrote:

Your log showed a warning that the packages were not built properly.
If you want to know if this warning is serious you have to tell us what
you did.
Ok. I remove lazarus now, and run my script again. Downlaod svn lazarus 
then make. finished without error.

then execute that commandline ./lazbuild ...
then I get this errors now:
I removed same lines
.
TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
laz_fpspreadsheetexport_visual 1.4.2: 
/opt/proje_laz/components/all_libs/fpspreadsheet/x86_64-darwin-qt/laz_fpspreadsheetexport_visual.compiled

An unhandled exception occurred at $:
EAccessViolation: Access violation
  $
  $000130CF
  $00012D07
  $00017480

TFPCMsgFilePool.Destroy file still used: 
/opt/freepascal/3.1.1/compiler/msg/errore.msg

An unhandled exception occurred at $00010055A618:
Exception: TFPCMsgFilePool.Destroy some files are still used
  $00010055A618
  $000100019B35
  $00010001DAFE

For test, Run lazarus IDe, its worked, then from tools menu configure - 
build lazarus IDE builded ! restarted and all packs added !!!

Test my project, its compiled, running and debuging.

Log not start from there, I get warning message in log and add 1-2 lines
before. I have not error, I builded IDE and start using now
This is my commandline:

./lazbuild --pcp=/Users/$User_Name/.lazarus --quiet --build-all
--skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64

Well, if you pass --skip-dependencies, then you are an expert and
you know what you are doing. Or the opposite.

Mattias
yes I don't need compile every time same codes, I'm not change packs, if 
I add new one, work on it Imean try learn how to work then use it.


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-14 Thread Mattias Gaertner
On Sat, 14 Mar 2015 15:30:48 +0200
FreeMan freema...@delphiturkiye.com wrote:

 fpc r30183  lazarus r48342 yosemite.  xcode 6.2 and tools are upgraded.

Good.

 make[2]: Leaving directory `/opt/lazarus/components/macroscript'

What did you do?

 make[1]: Leaving directory `/opt/lazarus/components'
 make: Leaving directory `/opt/lazarus'
 TLazPackageGraph.CheckIfCurPkgOutDirNeedsCompile  Missing state file for 
 FCL 1.0.1: /opt/lazarus/packager/units/x86_64-darwin/FCL.compiled
 ...
 Missing state file for all laz and my 3rd party packages's get this 
 warning
 
 I know this is not error, but code is has to work, just let you know

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] lazbuild CheckIfCurPkgOutDirNeedsCompile Missing state file for

2015-03-14 Thread Mattias Gaertner
On Sat, 14 Mar 2015 17:56:56 +0200
FreeMan freema...@delphiturkiye.com wrote:

 On 14.03.2015 17:44, Mattias Gaertner wrote:
  make[2]: Leaving directory `/opt/lazarus/components/macroscript'
  What did you do?
 I didn't understand what you mean ?

Your log showed a warning that the packages were not built properly.
If you want to know if this warning is serious you have to tell us what
you did.


 Log not start from there, I get warning message in log and add 1-2 lines 
 before. I have not error, I builded IDE and start using now
 This is my commandline:
 
 ./lazbuild --pcp=/Users/$User_Name/.lazarus --quiet --build-all 
 --skip-dependencies --build-ide= --ws=qt --cpu=x86_64 --compiler=ppcx64

Well, if you pass --skip-dependencies, then you are an expert and
you know what you are doing. Or the opposite.

Mattias

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus