./localize.sh
Free Pascal Compiler version 2.6.2 [2013/07/07] for i386
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling updatepofiles.pas
Linking updatepofiles.exe
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
446 lines compiled, 0.4 sec
Free Pascal Compiler version 2.6.2 [2013/07/07] for i386
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling generateincfiles.pas
Linking generateincfiles.exe
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
546 lines compiled, 0.4 sec
../languages/fpgui.po
An unhandled exception occurred at $0806B0A1 :
EConvertError : "" is an invalid integer
$0806B0A1
$0804841A
$0804A6D9
I cannot reproduce the issue. I've just tested on my main development system: FreeBSD 64-bit with FPC 2.6.4 using the latest 'develop' branch.
A few suggestions. Manually run 'build_tools.bat' to make sure you have the latest executables built. Maybe upgrade to FPC 2.6.4 (as 2.6.2 is rather old now).
If you still have problems, I'll do some more testing on other systems.
For fpc-2.6.4:
[user@localhost tools]$ ./build_tools.bat
Free Pascal Compiler version 2.6.4 [2014/10/01] for i386
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling updatepofiles.pas
Linking updatepofiles.exe
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
446 lines compiled, 2.0 sec
Free Pascal Compiler version 2.6.4 [2014/10/01] for i386
Copyright (c) 1993-2014 by Florian Klaempfl and others
Target OS: Linux for i386
Compiling generateincfiles.pas
Linking generateincfiles.exe
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
546 lines compiled, 0.4 sec
[user@localhost tools]$ ./localize.sh
find: `../units': No such file or directory
../languages/fpgui.po
An unhandled exception occurred at $08069971 :
EConvertError : "" is an invalid integer
$08069971
$080483DA
$0804A699
Reprodused in Fedora, Mageia.
There is new version for localize.sh in attachment.
Now I get the following error:
I'll take a closer look at the original issue and test on some Linux VM's I have.