Sign in Join

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

Mailing lists / fpc-devel / 2019-10

Build problem

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Pascal Riekenberg

What went wrong when i get this error during recompiling fpc trunk? .
.
.
Compiling ide\wwinhelp.pas
Compiling ide\fpcodcmp.pas
Compiling ide\fpcodtmp.pas
Compiling ide\fptemplt.pas
Linking ide\bin\i386-win32\fp.exe
[ 99%] Compiled package ide
Start compiling package vcl-compat for target i386-win32. Warning: Source file "system.netencoding.pp" from package vcl-compat not found for i386-win32 The installer encountered the following error:
Could not compile target system.netencoding from package vcl-compat make[2]: *** [smart] Error 1
make[2]: Leaving directory `c:/freepascal/fpc/trunk/packages' make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory `c:/freepascal/fpc/trunk' make: *** [build-stamp.i386-win32] Error 2

I went back to a revision which compiled before but does not now. The script i am using didn't change. I deleted two, no longer needed versions of fpc in my fpc directory. Directory structure: C:\freepascal\
binutils\
fpc\
trunk\
fixes_3_0\ (deleted)
fixes_3_2\ (deleted)
laz\
.
.

Build script:
set myroot=c:\freepascal
set myFPC=%myroot%\fpc\trunk
set mybinutils=%myroot%\binutils
set PATH=%mybinutils%\i386-win32;%myFPC%\bin\i386-win32;%PATH% cd %myFPC%
rd /s /q %myfpc%\examples
copy %myFPC%\bin\i386-win32\fpc.cfg %myroot%\fpc.cfg svn cleanup . --remove-unversioned --remove-ignored make distclean all install OPT="-godwarfsets -gl -O-" INSTALL_PREFIX=%myFPC% PP=%mybinutils%\ppc386.exe DATA2INC=%myFPC%\utils\data2inc.exe if errorlevel 1 goto ende
make crossinstall OPT="-godwarfsets -gl -O-" OS_TARGET=win64 CPU_TARGET=x86_64 INSTALL_PREFIX=%myFPC% PP=%mybinutils%\ppc386.exe DATA2INC=%myFPC%\utils\data2inc.exe if errorlevel 1 goto ende2
make crossinstall OPT="-godwarfsets -gl -O-" OS_TARGET=linux CPU_TARGET=x86_64 INSTALL_PREFIX=%myFPC% PP=%mybinutils%\ppc386.exe DATA2INC=%myFPC%\utils\data2inc.exe if errorlevel 1 goto ende2
rem make crossinstall OPT="-godwarfsets -gl -O- -XPpowerpc-aix-" AS=as OS_TARGET=aix CPU_TARGET=powerpc INSTALL_PREFIX=%myFPC% PP=%mybinutils%\ppc386.exe DATA2INC=%myFPC%\utils\data2inc.exe rem if errorlevel 1 goto ende2
make crossinstall OPT="-godwarfsets -gl -O- -XPpowerpc-aix-" AS=as OS_TARGET=aix CPU_TARGET=powerpc64 INSTALL_PREFIX=%myFPC% PP=%mybinutils%\ppc386.exe DATA2INC=%myFPC%\utils\data2inc.exe if errorlevel 1 goto ende2
:ende2
copy %myroot%\fpc.cfg %myFPC%\bin\i386-win32\fpc.cfg copy fpc.exe %mybinutils%\i386-win32
copy %mybinutils%\i386-win32\powerpc* %myFPC%\bin\i386-win32 copy %mybinutils%\i386-win32\x86_64-linux* %myFPC%\bin\i386-win32 copy %mybinutils%\i386-win32\*.dll %myFPC%\bin\i386-win32 :ende

Pascal

Reply by email

Michael Van Canneyt
to Pascal Riekenberg
Pascal Riekenberg wrote 12 lines
What went wrong when i get this error during recompiling fpc trunk? . . . Compiling ide\wwinhelp.pas Compiling ide\fpcodcmp.pas Compiling ide\fpcodtmp.pas Compiling ide\fptemplt.pas Linking ide\bin\i386-win32\fp.exe [ 99%] Compiled package ide Start compiling package vcl-compat for target i386-win32. Warning: Source file "system.netencoding.pp" from package vcl-compat not found for i386-win32

The file was renamed to lowercase. This can create problems on windows. Remove the vcl-compat directory and do a svn update; see if that helps.

Michael.

Reply by email

Pascal Riekenberg
to Michael Van Canneyt
Show quoted text 21 lines
Michael Van Canneyt hat am 3. Oktober 2019 um 10:00 geschrieben: On Thu, 3 Oct 2019, Pascal Riekenberg wrote: > What went wrong when i get this error during recompiling fpc trunk? > . > . > . > Compiling ide\wwinhelp.pas > Compiling ide\fpcodcmp.pas > Compiling ide\fpcodtmp.pas > Compiling ide\fptemplt.pas > Linking ide\bin\i386-win32\fp.exe > [ 99%] Compiled package ide > Start compiling package vcl-compat for target i386-win32. > Warning: Source file "system.netencoding.pp" from package vcl-compat not found for i386-win32 The file was renamed to lowercase. This can create problems on windows. Remove the vcl-compat directory and do a svn update; see if that helps. Michael.

Thanks, that did it!

Reply by email