Bug#656251: lazbuild: lazarus 0.9.30.2 does not work with fpc 2.6.0 when building graphic applications

2012-01-18 Thread Abou Al Montacir
This is because LCL was compiled with 2.4.4 RTL. This should be fixed by
uploading a new Lazarus. I'll do it soon.


signature.asc
Description: This is a digitally signed message part


Bug#656251: lazbuild: lazarus 0.9.30.2 does not work with fpc 2.6.0 when building graphic applications

2012-01-17 Thread Paul Gevers
Package: lcl-utils-0.9.30.2
Version: 0.9.30.2-1
File: /usr/lib/lazarus/0.9.30.2/lazbuild
Severity: important

Dear Maintainer,

While trying to build my package winff for upload to Debian I
encountered the following issue:


lazbuild --widgetset=gtk2 -B winff.lpr
NOTE: miscellaneous options file not found - using defaults
TBaseCompilerOptions.MakeOptionsString UnitOutputDirectory=
CurOutputDir=
TCompiler.Compile WorkingDir=/tmp/buildd/winff-1.4.1/
CompilerFilename=/usr/bin/fpc CompilerParams= -MObjFPC -Sgi -O1 -g
-XX  -k--as-needed -WG -vewnhi -l
-Fu/usr/lib/lazarus/0.9.30.2/components/codetools/units/i386-linux
-Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux
-Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux/gtk2
-Fu/usr/lib/lazarus/0.9.30.2/packager/units/i386-linux -Fu. -owinff
-dLCL -dLCLgtk2 winff.lpr
[TCompiler.Compile] CmdLine=/usr/bin/fpc -B  -MObjFPC -Sgi -O1 -g -XX
-k--as-needed -WG -vewnhi -l
-Fu/usr/lib/lazarus/0.9.30.2/components/codetools/units/i386-linux
-Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux
-Fu/usr/lib/lazarus/0.9.30.2/lcl/units/i386-linux/gtk2
-Fu/usr/lib/lazarus/0.9.30.2/packager/units/i386-linux -Fu. -owinff
-dLCL -dLCLgtk2 winff.lpr
Hint: Start of reading config file /etc/fpc.cfg
Hint: End of reading config file /etc/fpc.cfg
Error: Illegal parameter: -WG
ERROR: failed compiling of project /tmp/buildd/winff-1.4.1/winff.lpi


While googling I found the following e-mail [1] on upstream developers
maillist where it is stated that lazarus needs two fixes [2][3]
back-ported in order to work with fpc 2.6.0 which was recently uploaded
to Debian.

[1] http://www.hu.freepascal.org/lists/fpc-devel/2012-January/027866.html
[2]
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revroot=lazarusrevision=31125
[3]
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revroot=lazarusrevision=31127

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-14-generic (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set
to C)
Shell: /bin/sh linked to /bin/dash

Versions of packages lcl-utils-0.9.30.2 depends on:
ii  debconf [debconf-2.0]1.5.41
ii  fp-compiler  2.6.0-1
ii  fp-compiler-2.6.0 [fp-compiler]  2.6.0-1



signature.asc
Description: OpenPGP digital signature