Sign in Join

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

Mailing lists / lazarus / 2011-10

Lazarus bigide 0.9.30.2RC2 doesn't compile on FreeBSD

16 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

Alonso Cárdenas Márquez

Hi

I'm trying compile latest version of Lazarus with bigide option, but it failed with the following messages

Compiling memdslaz.pas
PPU Loading /usr/local/lib/fpc/2.4.4/units/x86_64-freebsd/fcl-db/memds.ppu PPU Source: memds.pp not found
Recompiling memds, checksum changed for db
memds.pp(10,46) Fatal: Can't find unit memds used by MemDSLaz Fatal: Compilation aborted
gmake[2]: *** [memdslaz.ppu] Error 1
gmake[2]: se sale del directorio
`/usr/ports/editors/lazarus/work/lazarus/components/memds' gmake[1]: *** [bigidecomponents] Error 2
gmake[1]: se sale del directorio
`/usr/ports/editors/lazarus/work/lazarus/components' gmake: *** [bigidecomponents] Error 2
*** Error code 2

Stop in /usr/ports/editors/lazarus.
*** Error code 1

Stop in /usr/ports/editors/lazarus.

freepascal units were compiled using the additional OPT value OPT='-CX'

Lazarus was compiled using the additional OPT value OPT="-Sgic -Fu/usr/local/lib/fpc/2.4.4/units/x86_64-freebsd/* -Fl/usr/local/lib -Fl/usr/local/lib/qt4"

Bundle version of lazarus built without problems it just failed with bigide

Vincent suggested compile lazarus with -vut to get more information. Get the log file from http://people.freebsd.org/~acm/ports/logs/lazarus.log.tar.gz

If it is a problem with configuration what could I do for avoid it? or what kind of configurations could affect directly to it ?

Greetings
ACM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111028/217b641a/attachment.html>

Reply by email

Mattias Gaertner
to Alonso Cárdenas Márquez
Show quoted text 27 lines
Hi I'm trying compile latest version of Lazarus with bigide option, but it failed with the following messages Compiling memdslaz.pas PPU Loading /usr/local/lib/fpc/2.4.4/units/x86_64-freebsd/fcl-db/memds.ppu PPU Source: memds.pp not found Recompiling memds, checksum changed for db memds.pp(10,46) Fatal: Can't find unit memds used by MemDSLaz Fatal: Compilation aborted gmake[2]: *** [memdslaz.ppu] Error 1 gmake[2]: se sale del directorio `/usr/ports/editors/lazarus/work/lazarus/components/memds' gmake[1]: *** [bigidecomponents] Error 2 gmake[1]: se sale del directorio `/usr/ports/editors/lazarus/work/lazarus/components' gmake: *** [bigidecomponents] Error 2 *** Error code 2 Stop in /usr/ports/editors/lazarus. *** Error code 1 Stop in /usr/ports/editors/lazarus. freepascal units were compiled using the additional OPT value OPT='-CX'

How were they compiled?
They need to be compiled with the -Ur flag. A "gmake all" normally does that.

Lazarus was compiled using the additional OPT value OPT="-Sgic -Fu/usr/local/lib/fpc/2.4.4/units/x86_64-freebsd/* -Fl/usr/local/lib -Fl/usr/local/lib/qt4"

The -Fu is normally in your /etc/fpc.cfg.

Show quoted text 7 lines
Bundle version of lazarus built without problems it just failed with bigide Vincent suggested compile lazarus with -vut to get more information. Get the log file from http://people.freebsd.org/~acm/ports/logs/lazarus.log.tar.gz If it is a problem with configuration what could I do for avoid it? or what kind of configurations could affect directly to it ?

Mattias

Reply by email

Alonso Cárdenas Márquez
to Mattias Gaertner

2011/10/28 Mattias Gaertner

Show quoted text 37 lines
On Fri, 28 Oct 2011 13:35:44 -0500 Alonso C?rdenas M?rquez wrote: > Hi > > I'm trying compile latest version of Lazarus with bigide option, but it > failed with the following messages > > Compiling memdslaz.pas > PPU Loading /usr/local/lib/fpc/2.4.4/units/x86_64-freebsd/fcl-db/memds.ppu > PPU Source: memds.pp not found > Recompiling memds, checksum changed for db > memds.pp(10,46) Fatal: Can't find unit memds used by MemDSLaz > Fatal: Compilation aborted > gmake[2]: *** [memdslaz.ppu] Error 1 > gmake[2]: se sale del directorio > `/usr/ports/editors/lazarus/work/lazarus/components/memds' > gmake[1]: *** [bigidecomponents] Error 2 > gmake[1]: se sale del directorio > `/usr/ports/editors/lazarus/work/lazarus/components' > gmake: *** [bigidecomponents] Error 2 > *** Error code 2 > > Stop in /usr/ports/editors/lazarus. > *** Error code 1 > > Stop in /usr/ports/editors/lazarus. > > freepascal units were compiled using the additional OPT value > OPT='-CX' How were they compiled? They need to be compiled with the -Ur flag. A "gmake all" normally does that.

They were compiled with gmake all. Each unit is generating .ppu .o and .a files

Show quoted text 7 lines
> Lazarus was compiled using the additional OPT value > OPT="-Sgic -Fu/usr/local/lib/fpc/2.4.4/units/x86_64-freebsd/* > -Fl/usr/local/lib -Fl/usr/local/lib/qt4" The -Fu is normally in your /etc/fpc.cfg.

I have defined this -Fu, because it contains variables that could change when it is tested/built on FreeBSD cluster.

It looks in lazarus port Makefile like OPT="-Sgic -Fu${UNITSDIR}/* -Fl${LOCALBASE}/lib -Fl${LOCALBASE}/lib/qt4", but I guess it is not the problem

Bundle version of lazarus built without problems it just failed with

bigide

Vincent suggested compile lazarus with -vut to get more information. Get

the

log file from http://people.freebsd.org/~acm/ports/logs/lazarus.log.tar.gz If it is a problem with configuration what could I do for avoid it? or

what

kind of configurations could affect directly to it ?

Mattias

--

Greetings
ACM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111028/7258c605/attachment-0001.html>

Reply by email

Vincent Snijders
to Alonso Cárdenas Márquez: Hi I'm trying compile latest version of Lazarus with bigide option, but it failed with…

2011/10/28 Alonso C?rdenas M?rquez :

Show quoted text 6 lines
Hi Bundle version of lazarus built without problems it just failed with bigide Vincent suggested compile lazarus with -vut to get more information. Get the log file from http://people.freebsd.org/~acm/ports/logs/lazarus.log.tar.gz

The output is hard to read, It seems to contain color codes and menu text and maybe even dupplicate lines.
Can't you just redirect the output to file.

If you can't, go the lazarus source directory and do gmake all OPT="-vut".

Vincent

Reply by email

Vincent Snijders
to Vincent Snijders

2011/10/29 Vincent Snijders :

Show quoted text 13 lines
2011/10/28 Alonso C?rdenas M?rquez : > Hi > > Bundle version of lazarus built without problems it just failed with bigide > Vincent suggested compile lazarus with -vut to get more information. Get the > log file from http://people.freebsd.org/~acm/ports/logs/lazarus.log.tar.gz The output is hard to read, It seems to contain color codes and menu text and maybe even dupplicate lines. Can't you just redirect the output to file. If you can't, go the lazarus source directory and do gmake all OPT="-vut".

gmake all OPT="-vut" > make.log

Reply by email

Alonso Cárdenas Márquez
to Vincent Snijders

2011/10/29 Vincent Snijders

Show quoted text 23 lines
2011/10/29 Vincent Snijders : > 2011/10/28 Alonso C?rdenas M?rquez : >> Hi >> > >> Bundle version of lazarus built without problems it just failed with bigide >> Vincent suggested compile lazarus with -vut to get more information. Get the >> log file from http://people.freebsd.org/~acm/ports/logs/lazarus.log.tar.gz > > The output is hard to read, It seems to contain color codes and menu > text and maybe even dupplicate lines. > Can't you just redirect the output to file. > > If you can't, go the lazarus source directory and do gmake all OPT="-vut". gmake all OPT="-vut" > make.log --

Please, get the new log at
http://people.freebsd.org/~acm/ports/logs/lazarus.log.tar.gz

I did gmake bigide instead of gmake all, because lazarus compiles without problems with gmake all

Greetings
ACM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111029/003dda3c/attachment.html>

Reply by email

Mattias Gaertner
to Alonso Cárdenas Márquez
Show quoted text 31 lines
2011/10/29 Vincent Snijders > 2011/10/29 Vincent Snijders : > > 2011/10/28 Alonso C?rdenas M?rquez : > >> Hi > >> > > > >> Bundle version of lazarus built without problems it just failed with > bigide > >> Vincent suggested compile lazarus with -vut to get more information. Get > the > >> log file from > http://people.freebsd.org/~acm/ports/logs/lazarus.log.tar.gz > > > > The output is hard to read, It seems to contain color codes and menu > > text and maybe even dupplicate lines. > > Can't you just redirect the output to file. > > > > If you can't, go the lazarus source directory and do gmake all > OPT="-vut". > > gmake all OPT="-vut" > make.log > > -- > Please, get the new log at http://people.freebsd.org/~acm/ports/logs/lazarus.log.tar.gz I did gmake bigide instead of gmake all, because lazarus compiles without problems with gmake all

After a gmake bigide, you have to do clean up before calling gmake all. Try a "gmake clean all".

Mattias

Reply by email

Alonso Cárdenas Márquez
to Mattias Gaertner

2011/10/29 Mattias Gaertner

Show quoted text 41 lines
On Sat, 29 Oct 2011 02:29:30 -0500 Alonso C?rdenas M?rquez wrote: > 2011/10/29 Vincent Snijders > > > 2011/10/29 Vincent Snijders : > > > 2011/10/28 Alonso C?rdenas M?rquez : > > >> Hi > > >> > > > > > >> Bundle version of lazarus built without problems it just failed with > > bigide > > >> Vincent suggested compile lazarus with -vut to get more information. Get > > the > > >> log file from > > http://people.freebsd.org/~acm/ports/logs/lazarus.log.tar.gz > > > > > > The output is hard to read, It seems to contain color codes and menu > > > text and maybe even dupplicate lines. > > > Can't you just redirect the output to file. > > > > > > If you can't, go the lazarus source directory and do gmake all > > OPT="-vut". > > > > gmake all OPT="-vut" > make.log > > > > -- > > > > Please, get the new log at > http://people.freebsd.org/~acm/ports/logs/lazarus.log.tar.gz > > I did gmake bigide instead of gmake all, because lazarus compiles without > problems with gmake all After a gmake bigide, you have to do clean up before calling gmake all. Try a "gmake clean all". Mattias

Mattias

The problem is not with gmake all, it failed when I try to compile lazarus using bigide. The log file of above url was generated with gmake bigide

Greetings
ACM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111029/728ca8b3/attachment.html>

Reply by email

Vincent Snijders
to Mattias Gaertner: On Fri, 28 Oct 2011 13:35:44 -0500 How were they compiled? They need to be compiled with…

2011/10/28 Mattias Gaertner :

Show quoted text 8 lines
On Fri, 28 Oct 2011 13:35:44 -0500 Alonso C?rdenas M?rquez wrote: > freepascal units were compiled using the additional OPT value > OPT='-CX' How were they compiled? They need to be compiled with the -Ur flag. A "gmake all" normally does that.

Were the fpc units compiler with -Ur?

Vincent

Reply by email

Alonso Cárdenas Márquez
to Vincent Snijders

2011/10/29 Vincent Snijders

Show quoted text 16 lines
2011/10/28 Mattias Gaertner : > On Fri, 28 Oct 2011 13:35:44 -0500 > Alonso C?rdenas M?rquez wrote: >> freepascal units were compiled using the additional OPT value >> OPT='-CX' > > How were they compiled? > They need to be compiled with the -Ur flag. A "gmake all" normally does > that. Were the fpc units compiler with -Ur? Vincent --

No they weren't , but I tested compiling all units with -Ur and lazarus failed with the same error, do you need log file?

Greetings
ACM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111029/a0f007bd/attachment.html>

Reply by email

Alonso Cárdenas Márquez
to Vincent Snijders: 2011/10/28 Mattias Gaertner : Were the fpc units compiler with -Ur? Vincent

2011/10/29 Vincent Snijders

Show quoted text 20 lines
2011/10/28 Mattias Gaertner : > On Fri, 28 Oct 2011 13:35:44 -0500 > Alonso C?rdenas M?rquez wrote: >> freepascal units were compiled using the additional OPT value >> OPT='-CX' > > How were they compiled? > They need to be compiled with the -Ur flag. A "gmake all" normally does > that. Were the fpc units compiler with -Ur? Vincent -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

log file at http://people.freebsd.org/~acm/ports/logs/lazarus-ur.log.tar.gz

Greetings
ACM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111029/7b21979c/attachment.html>

Reply by email

Alonso Cárdenas Márquez
to Alonso Cárdenas Márquez

El 29 de octubre de 2011 11:27, Alonso C?rdenas M?rquez <

Show quoted text 31 lines
escribi?: 2011/10/29 Vincent Snijders > 2011/10/28 Mattias Gaertner : > > On Fri, 28 Oct 2011 13:35:44 -0500 > > Alonso C?rdenas M?rquez wrote: > >> freepascal units were compiled using the additional OPT value > >> OPT='-CX' > > > > How were they compiled? > > They need to be compiled with the -Ur flag. A "gmake all" normally does > > that. > > Were the fpc units compiler with -Ur? > > Vincent > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > log file at http://people.freebsd.org/~acm/ports/logs/lazarus-ur.log.tar.gz Greetings ACM

any news here? or what could I test for give you more information? btw, bigide compiled without problem with lazarus 0.9.22, 0.9.24 and maybe 0.9.26

Greetings
ACM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111106/cf209945/attachment.html>

Reply by email

Vincent Snijders
to Alonso Cárdenas Márquez

2011/11/6 Alonso C?rdenas M?rquez :

any news here? or what could I test for give you more information? btw,

The error you get hints at a wrongly compiled fpc unit.

You still didn't give an answer to the question if the fpc units were compiled with -Ur, didn't you?

Maybe the compiler output while building fpc, would be helpful.

bigide compiled without problem with lazarus 0.9.22, 0.9.24 and maybe 0.9.26

That most likely was with different fpc versions, so not the same compiled units, you currently are using.

Vincent

Reply by email

Alonso Cárdenas Márquez
to Vincent Snijders

2011/11/6 Vincent Snijders

Show quoted text 7 lines
2011/11/6 Alonso C?rdenas M?rquez : > any news here? or what could I test for give you more information? btw, The error you get hints at a wrongly compiled fpc unit. You still didn't give an answer to the question if the fpc units were compiled with -Ur, didn't you?

Yes, I did.

http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-October/068283.html http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-October/068290.html

Maybe the compiler output while building fpc, would be helpful.

I compiled fpc using a bootstrap with the same version of fpc-source (2.4.4) built from a GNU/Linux distribution using crosscompiling. Do you want output of fpc compile time or fpc+units? do you need the output using OPT=-vut?

Show quoted text 10 lines
That most likely was with different fpc versions, so not the same compiled units, you currently are using. Vincent --

Greetings
ACM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111106/da88727b/attachment.html>

Reply by email

Alonso Cárdenas Márquez
to Vincent Snijders: 2011/11/6 Alonso C?rdenas M?rquez : The error you get hints at a wrongly compiled fpc…

2011/11/6 Vincent Snijders

Show quoted text 23 lines
2011/11/6 Alonso C?rdenas M?rquez : > any news here? or what could I test for give you more information? btw, The error you get hints at a wrongly compiled fpc unit. You still didn't give an answer to the question if the fpc units were compiled with -Ur, didn't you? Maybe the compiler output while building fpc, would be helpful. > bigide compiled without problem with lazarus 0.9.22, 0.9.24 and maybe 0.9.26 That most likely was with different fpc versions, so not the same compiled units, you currently are using. Vincent -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

fpc+units build log file at
http://people.freebsd.org/~acm/ports/logs/fpc.log.tar.gz

btw, the log file contain build information of all units necessary (it includes fpc-fcl-db unit) for compile lazarus bigide

Greetings
ACM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20111106/9da336ce/attachment-0001.html>

Reply by email

Vincent Snijders
to Alonso Cárdenas Márquez: 2011/11/6 Vincent Snijders Yes, I did. http://lists.lazarus.freepascal.org/pipermail/lazar…

2011/11/6 Alonso C?rdenas M?rquez :

Show quoted text 13 lines
2011/11/6 Vincent Snijders > > 2011/11/6 Alonso C?rdenas M?rquez : > > any news here? or what could I test for give you more information? btw, > The error you get hints at a wrongly compiled fpc unit. > > You still didn't give an answer to the question if the fpc units were > ?compiled with -Ur, didn't you? Yes, I did. http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-October/068283.html http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-October/068290.html

It was not clear directly that -Ur was applied when building the fpc units. On closer inspection, it seems to be the case, no include files of the system unit were searched.

Show quoted text 5 lines
> ?Maybe the compiler output while building fpc, would be helpful. I compiled fpc using a bootstrap with the same version of fpc-source (2.4.4) built from a GNU/Linux distribution using crosscompiling. Do you want output of fpc compile time or fpc+units? do you need the output using OPT=-vut?

I will try to get access to a 64 bits freebsd machine,

Vincent

Reply by email