Can't rebuild Lazarus (Codetools' BeautifyStatement generate invalid source)
Original Reporter info from Mantis: perecs
-
Reporter name: Pere Casanovas
Original Reporter info from Mantis: perecs
- Reporter name: Pere Casanovas
Description:
1.- If I build a single application with a Tform and a Tbutton it builds correctly, but if the application includes some SQLdb componets it show:
Write Error: Unable to create file
"/usr/lib/lazarus/components/sqldb/sqldblaz.pas"
If I try build the SQLDB application from root, then show this error.
/usr/lib/lazarus/components/sqldb/sqldblaz.pas(5,1) Fatal: String exceeds line
Attached sqldblaz.pas created by Lazarus.
2.- When I try to rebuild lazarus, with or without new packages it shows the same error with the first package to compile:
/usr/lib/lazarus/lcl/translations.pas(864,3) Note: Local variable "p" not used
"LCL" completed
"SynEdit" completed
"CodeTools" completed
"Package Registration" completed
"IDE Interface" completed
"JIT Form" completed
"Examples" completed
/usr/lib/lazarus/components/tachart/tachartlazaruspkg.pas(5,1) Fatal: String exceeds line
The error is the same of an attached sqldblaz.pas and it repeats when I try to compile any package.
Additional information:
I'd had Lazarus 0.9.22 from .rpm on Debian etch working fine. (Pentium III, 256 MB ram)
Then I updated Debian etch to lenny, uninstalled fpc and Lazarus, deleted all fpc, lazarus and .lazarus directories and installed fpc 2.2.2.3 and Lazarus 0.9.26 (.deb) by synaptic from:
http://www.hu.freepascal.org/lazarus/ lazarus-stable universe
It had been installed without any problem, but I can't rebuild Lazarus and install packages. I tried to build with GTK and GTK2 with same results.
I don't know if it is a bug, but I don't know how solve it.
Sorry for my bad English
Mantis conversion info:
- Mantis ID: 12681
- Version: 0.9.26
- Fixed in version: 0.9.26.2
- Fixed in revision: 18405 (#fd633ee9)
- Target version: 0.9.26.2
- LazTarget: 0.9.28