I have tried to update fpcup to work again on Windows and on ARM devices like the RPi2.
fpcup.exe --fpcURL="3.0" --lazURL="trunk"
fpcup.exe --fpcURL="trunk" --lazURL="trunk"
For fpc latest:Code: [Select]fpcup.exe --fpcURL="trunk" --lazURL="trunk"
fpcup.exe --fpcURL="trunk" --only="FPCcleanonly,FPCgetonly,FPCbuildonly"
fpcup.exe --fpcURL="trunk" --only="FPCcleanonly,FPCbuildonly" --keeplocalchanges
after I have patched the fpc source.
fpcup --fpcurl=trunk --keeplocalchanges --fpcopt="-dtest_win32_seh"
fpcup --fpcurl=trunk --keeplocalchanges --fpcopt="-dtest_win32_seh --only=fpc,fpccrosswin32-64"
Code: [Select]fpcup.exe --fpcURL="trunk" --only="FPCcleanonly,FPCgetonly,FPCbuildonly"
I will try the other variations some other time.You can try 2 attached variations (actually BAT files using configurations from INI):
What are your (main) favorites ?This is what I have to reinstall with every fpcup combination I use:
Wow ... you know what to ask for ... ! That is a BIG list !!!I am really sorry if you understood this as a request. I guess my English has failed in delivering my thoughts this time. I would be more then happy if you get interested in even just 1 package from the list. I apologize for the confusion, and I must say that you were very kind considering how my words were understood. My goal is first small list, and I have gone through checking of Typhon components mainly because I think that there are people not awared of Typhon exclusive package ports from Delphi (hats off to CT for this enormous effort) and maybe getting interested in making fpcup modules, and because many people would like the freedom to choose IDE based on liking and to be able to easily use fpcup Lazarus even for project originally started with Typhon. I simply don't like to be limited in such a way.
By no means fpcup will be able to deliver something like CodeTyphon, with its very extensive package list. As (original developer) late BigChimp stated: fpcup is something like an extensive macro for installing FPC and Lazarus.I don't see why not. If people start contributing list could be extended a lot. That's why I was thinking aloud mentioning idea about parameterized module files instead of module development. Much more people could contribute that way. Well, no one can forbid dreaming, right?
I will have a go on your first list of packages. Start with Cindy. And further.Well, I didn't plan to involve at this point, but since you were so kind and surprised me a lot (in a positive sense) I promise to take a look. Maybe it will be all clear, but if not, it would help if you try to document process of creating Cindy fpcup module. Maybe people will start contributing their favorite packages once they see it's not that hard. That would benefit all of us...
This is how I will proceed. But please feel free to add / change / cooperate. Input is always welcome and appreciated.
fpcup --fpcURL="trunk" --lazURL="default"
What you ask for is not possible with fpcup.
pascal sources download...You need to study FPCUP.INI file and see how existing modules are parameterized. Then you can make your own module where just single command is executed. That single command can be a BAT file using external tools for files download and then execute FPC recompilation.
then... download and override files from "custom_freepascal.txt".
then compile...
fpcup --fpcURL="default" --lazURL="default"
fpcup --fpcURL="default" --keeplocalchanges="false" --reapplylocalchanges="true" --only="fpc,fpccrosswin32-64"
[2015-05-05 18:27:56.206 Info] FPC: WARNING: found modified files.
C:\development\fpc\packages\fcl-db\src\sqlite\customsqliteds.pas
C:\development\fpc\packages\fcl-db\src\sqlite\sqlite3ds.pas
Diff with last revision stored in C:\development\fpc\REV30552.diff
FPC: reverting before updating.
FPC: reapplying local changes.
fpcup --force --fpcURL="default" --keeplocalchanges="false" --reapplylocalchanges="true" --only="fpc,fpccrosswin32-64"
This would mean that I have to add a new --force parameternew = it is not yet there ;)
[2015-05-05 18:26:17.286 Info] 2015.05.05. 18:26:17: fpcup fpcup001 (20150210) started.Between patching and finish are 9 minutes.
[2015-05-05 18:27:56.206 Info] FPC: WARNING: found modified files.
[2015-05-05 18:32:27.813 Info] FPC: update succeeded.
[2015-05-05 18:36:05.280 Info] 2015.05.05. 18:36:05: fpcup finished.
Between patching and finish are 9 minutes.
So fpcup did compile fpc.
The only think I can think of is multiple fpc disturbing each other !
Sorry I cannot help you more.
Testing and reports are very welcome !I will continue our PM conversation here since files can not be attached to PM, and all this would probably interest some other fpcup users...
Main thing: certainly, the Wiki page has to be updated !!This is a wiki reminder: Add howto for adding a new module to existing fpcup installation since it's not obvious. If there is no better way use once "--only=newmodulename" before new recompilation.
I have to reply quick ... I am on holiday .. will come back to you in a few days.Please forget completely fpcup until you return and enjoy your holiday ;-)
1 question: the whole of lazarus ccr is now downloaded (if enabled), but many packages are not used. Would it perhaps be better to make every of these packages a single module. To limit download bandwidth. Or is it a feature to have them all. I am open for every suggestion.If there would be only lazarus-ccr then I could maybe vote to break it into single modules, however plan would be to have many, many new modules in the future. If we bring a "rule" to break each into sub modules, then we would not have hundreds but thousands of them. I would prefer something like having "FPCUPUSER.INI" that if exists, would have priority in search for modules. That way for example we could have default lazarus-ccr module options in "FPCUP.INI", but if the user has made "FPCUPUSER.INI" and it contains lazarus-ccr module FPCUP should take that one instead. Also, it would virtually eliminate a need to touch original "FPCUP.INI".
(a possibility: combine ini sections :That's a nice type saving and readability improvement feature. Since both TrunkAll and TrunkLaz have the same list of modules, I could use this feature to avoid double typing.
[lazarus-ccr]
kcontrols=1
...
[TrunkAll]
includesection=lazarus-ccr
ecc=1
...
@JuhaManninen
Maintaining fpcup is, at this moment, just a pleasure and a desire to not forget (the work of) BigChimp.
So, if fpc-core wants to take over / continue : perfectly fine.
...
name=pascalscada
Requires=fpcup
Patch=$(fpcdir)/../extras/fpcup/componentpatches/$(name).diff
...
...
name=pascalscada
Requires=fpcup
Patch=$(fpcdir)/../extras/fpcup/componentpatches/$(name).diff
...
but pascalscada could still not be installed.1 question: how to handle the binaries from now on ?Ah! That's rather easy. You need to assign tag to commit. Then here is a small how-to: https://help.github.com/articles/creating-releases/
fpcup: WARNING: FPC: CleanModule: directory C:\Prg\Lazarus\TrunkAll\fpc does not exist. Exiting CleanModule.
fpcup: info: Checking out/updating FPC sources...
Executing : "info" "C:\Prg\Lazarus\TrunkAll\fpc" (working dir: )
Executing : "info" "C:\Prg\Lazarus\TrunkAll\fpc" (working dir: )
fpcup: info: INFO: directory C:\Prg\Lazarus\TrunkAll\fpc is not an SVN repository (or a repository with the wrong remote URL).
fpcup: info: INFO: creating directory C:\Prg\Lazarus\TrunkAll\fpc for SVN checkout.
Executing : "info" "C:\Prg\Lazarus\TrunkAll\fpc" (working dir: )
fpcup: info: Running SVN checkout or update.
Executing : "info" "C:\Prg\Lazarus\TrunkAll\fpc" (working dir: )
Executing : "info" "C:\Prg\Lazarus\TrunkAll\fpc" (working dir: )
Executing : "checkout" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "http://svn.freepascal.org/svn/fpc/trunk/" "C:\Prg\Lazarus\TrunkAll\fpc" (working dir: )
Executing : "checkout" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "http://svn.freepascal.org/svn/fpc/trunk/" "C:\Prg\Lazarus\TrunkAll\fpc" (working dir: )
Executing : "checkout" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "http://svn.freepascal.org/svn/fpc/trunk/" "C:\Prg\Lazarus\TrunkAll\fpc" (working dir: )
Executing : "update" "--non-interactive" "--trust-server-cert" "C:\Prg\Lazarus\TrunkAll\fpc" (working dir: )
Executing : "info" "C:\Prg\Lazarus\TrunkAll\fpc" (working dir: )
Executing : "info" "C:\Prg\Lazarus\TrunkAll\fpc" (working dir: )
Executing : "info" "C:\Prg\Lazarus\TrunkAll\fpc" (working dir: )
Executing : "info" "C:\Prg\Lazarus\TrunkAll\fpc" (working dir: )
fpcup: info: DownloadFromSVN: SVN gave error code -1
fpcup: info: FPC was at: failure
fpcup: info: No updates for FPC found.
fpcup: info: Error running fpcup. Technical details: error executing sequence fpc; line: 4, param: FPC
fpcup: info: Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 3, param: fpc
FPCUp failed.
Please check log for details. Possible troubleshooting steps:
- run again with --verbose and check for make, lazbuild errors etc.
- if compiling Lazarus, make sure your lhelp is closed.
- try removing all intermediate files by running fpcup with the --clean option
and/or manually deleting all *.ppu/*.a/*.o followed by svn up
- if that does not work: use the --uninstall option to remove all files
including your FPC and Lazarus directories
- remove the files in the bootstrap directory. fpcup will redownload if required.
fpcup: info: 09/11/2015 6:42:24: fpcup finished.
I'm using Win7 x64 and none fpc/lazarus installed at the moment.svn "checkout" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "http://svn.freepascal.org/svn/fpc/trunk/" "C:\Prg\Lazarus\TrunkAll\fpc"
"C:\Prg\Lazarus\TrunkAll\fpcbootstrap\svn\svn-win32-1.8.13\bin\svn.exe" "checkout" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "http://svn.freepascal.org/svn/fpc/trunk/" "C:\Prg\Lazarus\TrunkAll\fpc"
C:\Prg\Lazarus\TrunkAll\fpcbootstrap\svn\svn-win32-1.8.13\bin\svn.exe --version
svn: E200029: Couldn't perform atomic initialization
svn: E170001: Could not initialized the SASL library: generic failure
To which section of the the inifile is this to be added?I added it to the section of settings.ini which is called in the commandline, but I guess it should work also in "[general]".
Also, are we talking about fpcup.ini or settings.ini?
You're welcome !
E.g Indy is still downloaded (in extras), but not installed anymore.
fpcup --lazURL="1.5"
C:\>fpclazup.exe --fpcURL=trunk --lazURL=trunk --installdir="C:\Development\"
Fpclazup, a FPC/Lazarus downloader/updater/installer
Original by BigChimp: https://bitbucket.org/reiniero/fpcup
This version: https://github.com/LongDirtyAnimAlf/Reiniero-fpcup
Fpclazup will download the FPC and Lazarus sources
from the source SVN repositories, and compile, and install.
Result: you get a fresh, up-to-date Lazarus/FPC installation.
Version: based on commit fpcup001 (20150210)
Build date: 2016/02/18 16:41:41
Compiled for CPU: i386 on win32
Options:
Binutils/make dir: C:\Development\fpcbootstrap
Bootstrap dir: C:\Development\fpcbootstrap
FPC URL: http://svn.freepascal.org/svn/fpc/trunk/
FPC options:
FPC directory: C:\Development\fpc
Lazarus URL: http://svn.freepascal.org/svn/lazarus/trunk
Lazarus options:
Lazarus directory: C:\Development\lazarus
Keep changes: no
Re-apply changes: no
Log file name: fpcup.log
Standard modules: suggestedpackages
Standard modules: lhelp
Standard modules: lazdatadesktop
Standard modules: doceditor
INFO: FPCUP will not download repos. It will only get the files !!!
******************************************************************
You are now installing a bleeding edge version of [FPC/Lazarus].
Please be forewarned that things might not function,
as you would expect from a stable release.
Installing a stable release,
will give you a stable development environment,
and is the preferred way of using [FPC/Lazarus].
PS: You can build Lazarus trunk with normal FPC stable !! <-----
Just execute fpclazup --lazURL="trunk" <-----
******************************************************************
Effective parameters:
--fpcURL=trunk
--lazURL=trunk
--installdir=C:\Development\
Persistent parameters (can be saved in batch file):
--installdir="C:\Development\" --fpcURL="trunk" --lazURL="trunk"
Continue (Y/n): y
fpclazup: info: 2/26/2016 10:46:32: fpcup fpcup001 (20150210) started.
fpclazup: info: C:\Development\fpcbootstrap\ppc386.exe is not a valid ppc386.exe application (ppc386.exe result code was: -1)
fpclazup: info: Make path C:\Development\fpcbootstrap does not exist. Going to download binutils.
fpclazup: info: Downloading: cpp.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\cpp.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/cpp.exe
fpclazup: info: Downloading: dlltool.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\dlltool.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/dlltool.exe
fpclazup: info: Downloading: fp32.ico into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\fp32.ico from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/fp32.ico
fpclazup: info: Downloading: gcc.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\gcc.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/gcc.exe
fpclazup: info: Downloading: grep.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\grep.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/grep.exe
fpclazup: info: Downloading: patch.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\patch.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/patch.exe
fpclazup: info: Downloading: patch.exe.manifest into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\patch.exe.manifest from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/patch.exe.manifest
fpclazup: info: Downloading: unzip.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\unzip.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/unzip.exe
fpclazup: info: Downloading: windres.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\windres.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/windres.exe
fpclazup: info: Downloading: windres.h into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\windres.h from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/windres.h
fpclazup: info: Downloading: zip.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\zip.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/zip.exe
fpclazup: info: Downloading: ar.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\ar.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/ar.exe
fpclazup: info: Downloading: as.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\as.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/as.exe
fpclazup: info: Downloading: cmp.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\cmp.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/cmp.exe
fpclazup: info: Downloading: cp.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\cp.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/cp.exe
fpclazup: info: Downloading: diff.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\diff.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/diff.exe
fpclazup: info: Downloading: gdate.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\gdate.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/gdate.exe
fpclazup: info: Downloading: gdb.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\gdb.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/gdb.exe
fpclazup: info: Downloading: libexpat-1.dll into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\libexpat-1.dll from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/libexpat-1.dll
fpclazup: info: Downloading: gecho.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\gecho.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/gecho.exe
fpclazup: info: Downloading: ginstall.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\ginstall.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/ginstall.exe
fpclazup: info: Downloading: ginstall.exe.manifest into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\ginstall.exe.manifest from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/ginstall.exe.manifest
fpclazup: info: Downloading: gmkdir.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\gmkdir.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/gmkdir.exe
fpclazup: info: Downloading: ld.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\ld.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/ld.exe
fpclazup: info: Downloading: make.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\make.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/make.exe
fpclazup: info: Downloading: mv.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\mv.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/mv.exe
fpclazup: info: Downloading: objdump.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\objdump.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/objdump.exe
fpclazup: info: Downloading: pwd.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\pwd.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/pwd.exe
fpclazup: info: Downloading: rm.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\rm.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/rm.exe
fpclazup: info: Downloading: strip.exe into C:\Development\fpcbootstrap
fpclazup: info: Going to download C:\Development\fpcbootstrap\strip.exe from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/strip.exe
fpclazup: WARNING: No OpenSLL library files available. Going to download them
fpclazup: info: Going to download C:\Users\ADMINI~1\AppData\Local\Temp\TMP00000.tmp.zip from URL: http://indy.fulgan.com/SSL/openssl-1.0.2e-i386-win32.zip
fpclazup: info: OpenSLL download and unpacking ok.
fpclazup: WARNING: Could not find svn executable in or under C:\Development\fpcbootstrap\svn\
fpclazup: info: Going to download SVN
fpclazup: info: Going to download C:\Users\ADMINI~1\AppData\Local\Temp\TMP00000.tmp.zip from URL: https://www.visualsvn.com/files/Apache-Subversion-1.9.1.zip
fpclazup: info: SVN download and unpacking ok. Not going to search SVN client itself in C:\Development\fpcbootstrap\svn\
fpclazup: info: SVN client found: C:\Development\fpcbootstrap\svn\bin\svn.exe
fpclazup: info: Going to download C:\Users\ADMINI~1\AppData\Local\Temp\TMP00000.tmp from URL: ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/i386-win32-ppc386.zip
fpclazup: info: Going to rename/move C:\Users\ADMINI~1\AppData\Local\Temp\ppc386.exe to C:\Development\fpcbootstrap\ppc386.exe
fpclazup: WARNING: FPC: CleanModule: directory C:\Development\fpc does not exist. Exiting CleanModule.
fpclazup: info: Checking out/updating FPC sources...
fpclazup: info: INFO: directory C:\Development\fpc is not an SVN repository (or a repository with the wrong remote URL).
fpclazup: info: INFO: creating directory C:\Development\fpc for SVN checkout.
fpclazup: info: Running SVN checkout or update.
fpclazup: info: TFPCInstaller: building module FPC...
fpclazup: info: We have a FPC source (@ C:\Development\fpc) with version: 3.1.1
fpclazup: info: Checking out/updating FPC 3.0.0 sources for intermediate bootstrap compiler ...
fpclazup: info: Checking out/updating FPC 3.0.0 sources for intermediate bootstrap compiler done.
fpclazup: info: Running make cycle for intermediate compiler:
fpclazup: info: FPC: Failed to build intermediate bootstrap compiler
fpclazup: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpclazup: info: Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 3, param: fpc
Fpclazup failed.
Please check log for details. Possible troubleshooting steps:
- run again with --verbose and check for make, lazbuild errors etc.
- if compiling Lazarus, make sure your lhelp is closed.
- try removing all intermediate files by running fpcup with the --clean option
and/or manually deleting all *.ppu/*.a/*.o followed by svn up
- if that does not work: use the --uninstall option to remove all files
including your FPC and Lazarus directories
- remove the files in the bootstrap directory. fpcup will redownload if required.
fpclazup: info: 2/26/2016 10:51:21: fpcup finished.
PS: You can build Lazarus trunk with normal FPC stable !! <-----
Just execute fpclazup --lazURL="trunk" <-----
I need FPC trunk ;)
I need FPC trunk ;)
I cannot compile even the current branch. I think there is a bug in the fpclazup.
Tip to download Lazarus!
It is the standard low FPCEUP Lazarus stable version.
Create a menu on the main screen of fpcup.
Example.
[1] Lazarus default / stable
[2] Lazarus Trunk
fpclazup.exe --fpcURL="trunk" --lazURL="trunk" --installdir="c:\development" --getfullrepo --fpcPATCH="fpcrtti.patch"
PS: You can build Lazarus trunk with normal FPC stable !! <-----
Just execute fpclazup --lazURL="trunk" <-----
******************************************************************
Effective parameters:
--fpcURL=trunk
--lazURL=trunk
--installdir=c:\development
--getfullrepo
--fpcPATCH=fpcrtti.patch
Persistent parameters (can be saved in batch file):
--installdir="c:\development" --getfullrepo --fpcURL="trunk" --lazURL="trunk"
Continue (Y/n): y
fpclazup: info: 2/29/2016 7:20:27: fpcup fpcup001 (20150210) started.
fpclazup: info: C:\development\fpcbootstrap\ppc386.exe is not a valid ppc386.exe
application (ppc386.exe result code was: -1)
fpclazup: info: Make path C:\development\fpcbootstrap does not exist. Going to d
ownload binutils.
fpclazup: info: Downloading: cpp.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\cpp.exe from URL:
http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/cpp.ex
e
fpclazup: info: Downloading: dlltool.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\dlltool.exe from U
RL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/dl
ltool.exe
fpclazup: info: Downloading: fp32.ico into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\fp32.ico from URL:
http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/fp32.
ico
fpclazup: info: Downloading: gcc.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\gcc.exe from URL:
http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/gcc.ex
e
fpclazup: info: Downloading: grep.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\grep.exe from URL:
http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/grep.
exe
fpclazup: info: Downloading: patch.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\patch.exe from URL
: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/patc
h.exe
fpclazup: info: Downloading: patch.exe.manifest into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\patch.exe.manifest
from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/bi
nw32/patch.exe.manifest
fpclazup: info: Downloading: unzip.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\unzip.exe from URL
: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/unzi
p.exe
fpclazup: info: Downloading: windres.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\windres.exe from U
RL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/wi
ndres.exe
fpclazup: info: Downloading: windres.h into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\windres.h from URL
: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/wind
res.h
fpclazup: info: Downloading: zip.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\zip.exe from URL:
http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/zip.ex
e
fpclazup: info: Downloading: ar.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\ar.exe from URL: h
ttp://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/ar.exe
fpclazup: info: Downloading: as.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\as.exe from URL: h
ttp://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/as.exe
fpclazup: info: Downloading: cmp.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\cmp.exe from URL:
http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/cmp.ex
e
fpclazup: info: Downloading: cp.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\cp.exe from URL: h
ttp://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/cp.exe
fpclazup: info: Downloading: diff.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\diff.exe from URL:
http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/diff.
exe
fpclazup: info: Downloading: gdate.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\gdate.exe from URL
: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/gdat
e.exe
fpclazup: info: Downloading: gdb.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\gdb.exe from URL:
http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/gdb.ex
e
fpclazup: info: Downloading: libexpat-1.dll into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\libexpat-1.dll fro
m URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32
/libexpat-1.dll
fpclazup: info: Downloading: gecho.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\gecho.exe from URL
: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/gech
o.exe
fpclazup: info: Downloading: ginstall.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\ginstall.exe from
URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/g
install.exe
fpclazup: info: Downloading: ginstall.exe.manifest into C:\development\fpcbootst
rap
fpclazup: info: Going to download C:\development\fpcbootstrap\ginstall.exe.manif
est from URL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install
/binw32/ginstall.exe.manifest
fpclazup: info: Downloading: gmkdir.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\gmkdir.exe from UR
L: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/gmk
dir.exe
fpclazup: info: Downloading: ld.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\ld.exe from URL: h
ttp://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/ld.exe
fpclazup: info: Downloading: make.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\make.exe from URL:
http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/make.
exe
fpclazup: info: Downloading: mv.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\mv.exe from URL: h
ttp://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/mv.exe
fpclazup: info: Downloading: objdump.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\objdump.exe from U
RL: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/ob
jdump.exe
fpclazup: info: Downloading: pwd.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\pwd.exe from URL:
http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/pwd.ex
e
fpclazup: info: Downloading: rm.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\rm.exe from URL: h
ttp://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/rm.exe
fpclazup: info: Downloading: strip.exe into C:\development\fpcbootstrap
fpclazup: info: Going to download C:\development\fpcbootstrap\strip.exe from URL
: http://svn2.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/stri
p.exe
fpclazup: WARNING: No OpenSLL library files available. Going to download them
fpclazup: info: Going to download C:\Users\ADMINI~1\AppData\Local\Temp\TMP00000.
tmp.zip from URL: http://indy.fulgan.com/SSL/openssl-1.0.2e-i386-win32.zip
fpclazup: info: OpenSLL download and unpacking ok.
fpclazup: WARNING: Could not find svn executable in or under C:\development\fpcb
ootstrap\svn\
fpclazup: info: Going to download SVN
fpclazup: info: Going to download C:\Users\ADMINI~1\AppData\Local\Temp\TMP00000.
tmp.zip from URL: https://www.visualsvn.com/files/Apache-Subversion-1.9.1.zip
fpclazup: info: SVN download and unpacking ok. Not going to search SVN client it
self in C:\development\fpcbootstrap\svn\
fpclazup: info: SVN client found: C:\development\fpcbootstrap\svn\bin\svn.exe
fpclazup: info: Going to download C:\Users\ADMINI~1\AppData\Local\Temp\TMP00000.
tmp from URL: ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/i386-win32-p
pc386.zip
fpclazup: info: Going to rename/move C:\Users\ADMINI~1\AppData\Local\Temp\ppc386
.exe to C:\development\fpcbootstrap\ppc386.exe
fpclazup: WARNING: FPC: CleanModule: directory C:\development\fpc does not exist
. Exiting CleanModule.
fpclazup: info: Checking out/updating FPC sources...
fpclazup: info: INFO: directory C:\development\fpc is not an SVN repository (or
a repository with the wrong remote URL).
fpclazup: info: INFO: creating directory C:\development\fpc for SVN checkout.
fpclazup: info: Running SVN checkout or update.
fpclazup: info: FPC was at: failure
fpclazup: info: FPC is now at: revision 33135
fpclazup: info: TFPCInstaller: building module FPC...
fpclazup: info: We have a FPC source (@ C:\development\fpc) with version: 3.1.1
fpclazup: info: Checking out/updating FPC 3.0.0 sources for intermediate bootstr
ap compiler ...
fpclazup: info: Checking out/updating FPC 3.0.0 sources for intermediate bootstr
ap compiler done.
fpclazup: info: Running make cycle for intermediate compiler:
fpclazup: info: Successfully build intermediate bootstrap compiler.
fpclazup: info: Running make all install for FPC:
fpclazup: info: Creating fpc.cfg:
fpclazup: info: Found OpenSLL library files.
fpclazup: info: SVN client found: C:\development\fpcbootstrap\svn\bin\svn.exe
fpclazup: info: Checking out/updating Lazarus sources:
fpclazup: info: INFO: directory C:\development\lazarus is not an SVN repository
(or a repository with the wrong remote URL).
fpclazup: info: INFO: creating directory C:\development\lazarus for SVN checkout
.
fpclazup: info: Running SVN checkout or update.
fpclazup: info: Lazarus was at: failure
fpclazup: info: Lazarus is now at: revision 51757
fpclazup: info: TLazarusNativeInstaller: building module lazbuild...
fpclazup: info: lazbuild: running make lazbuild:
fpclazup: info: Execute: C:\development\fpcbootstrap\make.exe. Params: FPC=C:\de
velopment\fpc\bin\i386-win32\fpc.exe,--directory=C:\development\lazarus,FPCDIR=C
:\development\fpc,UPXPROG=echo,COPYTREE=echo,"OPT=-vi-n-h- ",lazbuild
fpclazup: info: Created Lazarus primary config directory: c:\development\config_
lazarus
fpclazup: info: State machine: already succesfully ran sequence name lazbuild. N
ot running again.
fpclazup: info: Found OpenSLL library files.
fpclazup: info: SVN client found: C:\development\fpcbootstrap\svn\bin\svn.exe
fpclazup: info: helplazarus: documentation directory: C:\development\lazarus\doc
s\chm\
fpclazup: info: Going to download C:\Users\ADMINI~1\AppData\Local\Temp\TMP00000.
tmp.zip from URL: https://sourceforge.net/projects/lazarus/files/Lazarus%20Docum
entation/Lazarus%201.6/doc-chm-fpc3.0.0-laz1.6.zip/download
fpclazup: info: helplazarus: documentation directory: C:\development\lazarus\doc
s\chm\
fpclazup: info: Check if C:\development\lazarus\docs\chm\lcl.chm exists? Yes.
fpclazup: info: C:\development\lazarus\docs\html\build_lcl_docs.exe is not a val
id build_lcl_docs.exe application (build_lcl_docs.exe result code was: -1)
fpclazup: info: helplazarus: compiling build_lcl_docs help compiler:
fpclazup: info: Building help compiler (also time consuming generation of docume
nts) !!!!!!
fpclazup: info: Execute: C:\development\lazarus\lazbuild.exe. Params: --primary-
config-path=c:\development\config_lazarus,C:\development\lazarus\docs\html\build
_lcl_docs.lpr
fpclazup: info: Execute: C:\development\lazarus\lazbuild.exe exit code: 2
fpclazup: info: helplazarus: error compiling build_lcl_docs docs builder.
fpclazup: info: C:\development\fpc\utils\fpdoc\fpdoc.exe is not a valid fpdoc.ex
e application (fpdoc.exe result code was: -1)
fpclazup: info: helplazarus: found valid fpdoc executable.
fpclazup: info: helplazarus: Fatal error. But I will continue !!
fpclazup: info: Found OpenSLL library files.
fpclazup: info: SVN client found: C:\development\fpcbootstrap\svn\bin\svn.exe
fpclazup: info: Getting module doceditor
fpclazup: info: TUniversalInstaller: building module doceditor...
fpclazup: info: Found OpenSLL library files.
fpclazup: info: SVN client found: C:\development\fpcbootstrap\svn\bin\svn.exe
fpclazup: info: Getting module suggestedpackages
fpclazup: info: TUniversalInstaller: building module suggestedpackages...
fpclazup: info: Installing dbflaz version 0.1.1
fpclazup: info: Installing fpcunitide version 0.1
fpclazup: info: Installing lazdaemon version 0.9.9
fpclazup: info: Installing lazdatadict version 0
fpclazup: info: Installing lazdbexport version 1
fpclazup: info: Installing lazreport version 0.9.9
fpclazup: info: Installing leakview version 1
fpclazup: info: Installing tachartlazaruspkg version 1
fpclazup: info: Installing rx version 1
fpclazup: info: Installing cody
fpclazup: info: Installing sdflaz version 0.1.1
fpclazup: info: Installing syneditdsgn version 1
fpclazup: info: Installing runtimetypeinfocontrols version 0.1
fpclazup: info: Installing printer4lazarus version 0.5
fpclazup: info: Installing printers4lazide version 0
fpclazup: info: Installing turbopoweripro version 1
fpclazup: info: Installing projtemplates version 1
fpclazup: info: Installing sqldblaz version 1.0.2
fpclazup: info: Installing memdslaz version 1.2.1
fpclazup: info: Installing todolistlaz version 1.0.2
fpclazup: info: Installing jcfidelazarus version 2
fpclazup: info: Installing chmhelppkg version 0.2
fpclazup: info: Installing instantfpclaz version 1
fpclazup: info: Installing externhelp version 1.3
fpclazup: info: Installing pascalscript version 0.0.0.1
fpclazup: info: Installing editormacroscript version 0
fpclazup: info: Installing datetimectrls version 1.5.1
fpclazup: info: Installing industrial version 0.1
fpclazup: info: InstallerUniversal: going to rebuild Lazarus because packages we
re installed.
fpclazup: info: Found OpenSLL library files.
fpclazup: info: SVN client found: C:\development\fpcbootstrap\svn\bin\svn.exe
fpclazup: info: Getting module lhelp
fpclazup: info: TUniversalInstaller: building module lhelp...
fpclazup: info: Found OpenSLL library files.
fpclazup: info: SVN client found: C:\development\fpcbootstrap\svn\bin\svn.exe
fpclazup: info: Getting module lazdatadesktop
fpclazup: info: TUniversalInstaller: building module lazdatadesktop...
fpclazup: info: State machine: already succesfully ran sequence name doceditor.
Not running again.
fpclazup: info: Found OpenSLL library files.
fpclazup: info: SVN client found: C:\development\fpcbootstrap\svn\bin\svn.exe
fpclazup: info: TLazarusNativeInstaller: building module USERIDE...
fpclazup: info: Lazarus: running lazbuild to get IDE with user-specified package
s:
fpclazup: info: Execute: C:\development\lazarus\lazbuild.exe. Params: --pcp=c:\d
evelopment\config_lazarus,"--build-ide=-dKeepInstalledPackages ",--build-mode=
fpclazup: info: Lazarus: compiling startlazarus to make sure it is present:
fpclazup: info: Execute: C:\development\lazarus\lazbuild.exe. Params: --pcp=c:\d
evelopment\config_lazarus,C:\development\lazarus\ide\startlazarus.lpi
fpclazup: info: Lazarus: creating desktop shortcut:
fpclazup: info: Found bootstrap compiler version 2.6.4
fpclazup: info: Found OpenSLL library files.
fpclazup: info: SVN client found: C:\development\fpcbootstrap\svn\bin\svn.exe
fpclazup: info: FPC: running make distclean (OS_TARGET=win64/CPU_TARGET=x86_64):
fpclazup: info: TFPCInstaller: building module fpc...
fpclazup: info: We have a FPC source (@ C:\development\fpc) with version: 3.1.1
fpclazup: info: Using available intermediate compiler.
fpclazup: info: Running Make all (FPC crosscompiler: x86_64-win64)
fpclazup: info: Running Make crossinstall (FPC crosscompiler: x86_64-win64)
fpclazup: info: fpc.cfg already exists; leaving it alone.
fpclazup: info: Found OpenSLL library files.
fpclazup: info: SVN client found: C:\development\fpcbootstrap\svn\bin\svn.exe
fpclazup: info: TLazarusCrossInstaller: building module LCL...
fpclazup: info: Lazarus: compiling LCL for x86_64-win64 using lazbuild
fpclazup: info: Execute: C:\development\lazarus\lazbuild.exe. Params: --pcp=c:\d
evelopment\config_lazarus,--cpu=x86_64,--os=win64,lcl\interfaces\lcl.lpk
fpclazup: info: Found OpenSLL library files.
fpclazup: info: SVN client found: C:\development\fpcbootstrap\svn\bin\svn.exe
fpclazup: info: TLazarusCrossInstaller: building module LCL...
fpclazup: info: Lazarus: compiling LCL for x86_64-win64 using lazbuild
fpclazup: info: Execute: C:\development\lazarus\lazbuild.exe. Params: --pcp=c:\d
evelopment\config_lazarus,--cpu=x86_64,--os=win64,lcl\interfaces\lcl.lpk
fpclazup: info: 2/29/2016 8:02:55: fpcup finished.
C:\>
Back from holidays ... back to coding !
From the log, it seems that the intermediate (3.0.0) compiler does not build and/or is not available.
(are the 3.0.0 sources avialable on your system [check C:\Development\fpc300bootstrap] ?)
Also from the logs: win32.
So, what Windows version ?
I will try to reproduce your error.
Sometimes it work sometimes not!If it works every second time then Indy might be the reason. Is it the same when you don't include it?
J:/development/fpcbootstrap/mv.exe -f ./pp.exe ppc386.exe
J:/development/fpcbootstrap/mv.exe: cannot remove `ppc386.exe': Permission denied
make[3]: *** [ppc386.exe] Error 1
make[3]: Leaving directory `J:/development/fpc300bootstrap/compiler'
make[2]: *** [wpocycle] Error 2
make[2]: Leaving directory `J:/development/fpc300bootstrap/compiler'
make[1]: *** [cycle] Error 2
make[1]: Leaving directory `J:/development/fpc300bootstrap/compiler'
make: *** [compiler_cycle] Error 2
make: Leaving directory `J:/development/fpc300bootstrap'
fpclazup: info: FPC: Failed to build intermediate bootstrap compiler
fpclazup: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpclazup: info: Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 3, param: fpc
Fpclazup failed.
Please check log for details. Possible troubleshooting steps:
- run again with --verbose and check for make, lazbuild errors etc.
- if compiling Lazarus, make sure your lhelp is closed.
- try removing all intermediate files by running fpcup with the --clean option
and/or manually deleting all *.ppu/*.a/*.o followed by svn up
- if that does not work: use the --uninstall option to remove all files
including your FPC and Lazarus directories
- remove the files in the bootstrap directory. fpcup will redownload if required.
fpclazup: info: 3/1/2016 0:46:00: fpcup finished.
WARNING: CLEANING !!!
Continue (Y/n): y
fpclazup: info: 3/1/2016 12:58:44: fpcup fpcup001 (20150210) started.
fpclazup: info: Windows major version: 6
fpclazup: info: Windows minor version: 2
fpclazup: info: Windows build number: 9200
fpclazup: info: Error: Failed to load sequence :DefaultWin32clean
Fpclazup failed.
Please check log for details. Possible troubleshooting steps:
- run again with --verbose and check for make, lazbuild errors etc.
- if compiling Lazarus, make sure your lhelp is closed.
- try removing all intermediate files by running fpcup with the --clean option
and/or manually deleting all *.ppu/*.a/*.o followed by svn up
- if that does not work: use the --uninstall option to remove all files
including your FPC and Lazarus directories
- remove the files in the bootstrap directory. fpcup will redownload if required.
fpclazup: info: 3/1/2016 12:58:45: fpcup finished.
...
make: Entering directory `C:/prg/lazarus/sparta/fpc'
make: Leaving directory `C:/prg/lazarus/sparta/fpc'
make: *** No rule to make target `distclean'. Stop.
fpclazup: info: Checking out/updating FPC sources...
fpclazup: info: INFO: directory C:\prg\lazarus\sparta\fpc is not an SVN reposito
ry (or a repository with the wrong remote URL).
fpclazup: info: Running SVN checkout or update.
Executing : C:\Program Files\TortoiseSVN\bin\svn.exe "export" "--force" "--non-i
nteractive" "--trust-server-cert" "-r" "HEAD" "http://svn.freepascal.org/svn/fpc
/tags/release_3_0_0/" "C:\prg\lazarus\sparta\fpc" (working dir: )
^C
c:\Prg\Lazarus\fpclazup>svn
Type 'svn help' for usage.
c:\Prg\Lazarus\fpclazup>C:\Program Files\TortoiseSVN\bin\svn.exe
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
c:\Prg\Lazarus\fpclazup>"C:\Program Files\TortoiseSVN\bin\svn.exe"
Type 'svn help' for usage.
Bug report:
On WinXP SP3 latest FPCLAZUP was just waiting for ever when trying to install sparta. After verbose analysis it looks like quotes are missing so my existing svn client was never executed because of a blank in directory name.
fpclazup --installdir="C:\Development3\" --verbose --getfullrepo --lazurl="sparta"
withC:\Users\me>where svn
C:\Program Files\TortoiseSVN\bin\svn.exe
C:\Users\me>
without problems on Win8.1.Could it be specific for XP SP3 ?I don't know. But short names or quotes should be safe to use on all windows versions that Lazarus supports.
You can file a bug report here: https://github.com/LongDirtyAnimAlf/Reiniero-fpcupThat was my first thought but I gave up because I didn't feel like going through github registration process at 1:30 AM. Maybe some other time...
Code: [Select]C:\Users\me>where svn
C:\Program Files\TortoiseSVN\bin\svn.exe
C:\Users\me>
[lazarus_fixes_160_311]
fpcURL=3.1.1
lazURL=fixes1.6
cputarget=i386
ostarget=win32
crossbindir=M:\Lazarus\FpcUpExes\crossBinDir
crosslibdir=M:\Lazarus\FpcUpExes\crossLibDir
lclplatform=win32
fpcdir=M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win32\fpc
lazdir=M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win32
fpcbootstrapdir=M:\Lazarus\FpcUpExes\fpcbootstrap
binutilsdir=M:\Lazarus\FpcUpExes\binutils
primary-config-path=M:\Lazarus\Configs\Lazarus_Fixes_160_311_Win32
fpcuplinkname=M:\Lazarus\Configs\Lazarus_Fixes_160_311_Win32_FPCup_Update
lazlinkname=M:\Lazarus\Configs\Lazarus_Fixes_160_311_Win32
echo ppcross386.exe
ppcross386.exe
M:/Lazarus/FpcUpExes/binutils/ginstall.exe -m 755 -d M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win32
\fpc/bin/i386-win32
M:/Lazarus/FpcUpExes/binutils/cp.exe -fp ppcross386.exe M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Wi
n32\fpc/bin/i386-win32/ppcross386.exe
cp.exe: ppcross386.exe: No such file or directory
make[4]: *** [exeinstall] Error 1
make[4]: Leaving directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc/compiler'
make[3]: *** [compiler_install] Error 2
make[3]: Leaving directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc'
make[2]: *** [installbase] Error 2
make[2]: Leaving directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc'
make[1]: *** [installall] Error 2
make[1]: Leaving directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc'
make: *** [crossinstall] Error 2
fpclazup: ERROR: FPC: Problem installing crosscompiler for i386-win32.
fpclazup: ERROR: Error running BuildModuleCustom for module FPC
fpclazup: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param
: FPC
fpclazup: info: Error running fpcup. Technical details: error executing sequence DefaultWin32; line:
3, param: fpc
Fpclazup failed.
M:/Lazarus/FpcUpExes/binutils/make install CROSSINSTALL=1
make[1]: Entering directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc'
M:/Lazarus/FpcUpExes/binutils/make installbase FPC=M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/f
pc/compiler/ppc386.exe ZIPDESTDIR=M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc FPCMAKE=M:/Laz
arus/Binaries/Lazarus_Fixes_160_311_Win32/fpc/utils/fpcm/bin/i386-win32/fpcmake.exe
make[2]: Entering directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc'
M:/Lazarus/FpcUpExes/binutils/ginstall.exe -m 755 -d M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win32
\fpc
M:/Lazarus/FpcUpExes/binutils/ginstall.exe -m 755 -d M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win32
\fpc/bin/i386-win32
M:/Lazarus/FpcUpExes/binutils/make compiler_install FPC=M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Wi
n32/fpc/compiler/ppc386.exe ZIPDESTDIR=M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc FPCMAKE=M
:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc/utils/fpcm/bin/i386-win32/fpcmake.exe
make[3]: Entering directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc'
M:/Lazarus/FpcUpExes/binutils/make -C compiler install
make[4]: Entering directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc/compiler'
M:/Lazarus/FpcUpExes/binutils/make -C utils install
make[5]: Entering directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc/compiler/utils'
make[5]: Nothing to be done for `install'.
make[5]: Leaving directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc/compiler/utils'
echo ppcross386.exe
ppcross386.exe
M:/Lazarus/FpcUpExes/binutils/ginstall.exe -m 755 -d M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win32
\fpc/bin/i386-win32
M:/Lazarus/FpcUpExes/binutils/cp.exe -fp ppcross386.exe M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Wi
n32\fpc/bin/i386-win32/ppcross386.exe
cp.exe: ppcross386.exe: No such file or directory
make[4]: *** [exeinstall] Error 1
make[4]: Leaving directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc/compiler'
make[3]: *** [compiler_install] Error 2
make[3]: Leaving directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc'
make[2]: *** [installbase] Error 2
make[2]: Leaving directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc'
make[1]: *** [installall] Error 2
make[1]: Leaving directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win32/fpc'
make: *** [crossinstall] Error 2
fpclazup: ERROR: FPC: Problem installing crosscompiler for i386-win32.
fpclazup: ERROR: Error running BuildModuleCustom for module FPC
fpclazup: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param
: FPC
fpclazup: info: Error running fpcup. Technical details: error executing sequence DefaultWin32; line:
3, param: fpc
Fpclazup failed.
Please check log for details. Possible troubleshooting steps:
- run again with --verbose and check for make, lazbuild errors etc.
- if compiling Lazarus, make sure your lhelp is closed.
- try removing all intermediate files by running fpcup with the --clean option
and/or manually deleting all *.ppu/*.a/*.o followed by svn up
- if that does not work: use the --uninstall option to remove all files
including your FPC and Lazarus directories
- remove the files in the bootstrap directory. fpcup will redownload if required.
fpclazup: info: 04/07/2016 08:28:59: fpcup finished.
I am running fpcup using these settings and I get this error message:
Could the error be related to running a 32bit fpcup on a 64bit system?
Here is the inisection, and I am running 32bit fpcup on Windows 7 64bit.Code: [Select][lazarus_fixes_160_311]
fpcURL=3.1.1
lazURL=fixes1.6
cputarget=i386
ostarget=win32
crossbindir=M:\Lazarus\FpcUpExes\crossBinDir
crosslibdir=M:\Lazarus\FpcUpExes\crossLibDir
lclplatform=win32
fpcdir=M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win32\fpc
lazdir=M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win32
fpcbootstrapdir=M:\Lazarus\FpcUpExes\fpcbootstrap
binutilsdir=M:\Lazarus\FpcUpExes\binutils
primary-config-path=M:\Lazarus\Configs\Lazarus_Fixes_160_311_Win32
fpcuplinkname=M:\Lazarus\Configs\Lazarus_Fixes_160_311_Win32_FPCup_Update
lazlinkname=M:\Lazarus\Configs\Lazarus_Fixes_160_311_Win32
[lazarus_fixes_160_311_Win64]
fpcURL=3.1.1
lazURL=fixes1.6
; cputarget=x86_64
; ostarget=win64
crossbindir=M:\Lazarus\FpcUpExes\crossBinDir
crosslibdir=M:\Lazarus\FpcUpExes\crossLibDir
; lclplatform=win32
fpcdir=M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win64\fpc
lazdir=M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win64\lazarus
fpcbootstrapdir=M:\Lazarus\FpcUpExes\fpcbootstrap
binutilsdir=M:\Lazarus\FpcUpExes\binutils
primary-config-path=M:\Lazarus\Configs\Lazarus_Fixes_160_311_Win64
fpcuplinkname=M:\Lazarus\Configs\Lazarus_Fixes_160_311_Win64_FPCup_Update
lazlinkname=M:\Lazarus\Configs\Lazarus_Fixes_160_311_Win64
fpclazup: info: Running Make crossinstall (FPC crosscompiler: x86_64-win64)
Executing : M:\Lazarus\FpcUpExes\binutils\make.exe "--jobs=2" "FPC=M:\Lazarus\FpcUpExes\fpcbootstrap\intermediate_ppcx64.exe" "INSTA
LL_PREFIX=M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win64\fpc" "UPXPROG=echo" "COPYTREE=echo" "crossinstall" "OS_TARGET=win64" "CPU_
TARGET=x86_64" "OPT=-vi-n-h-" (working dir: M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win64\fpc)
M:/Lazarus/FpcUpExes/binutils/make install CROSSINSTALL=1
make[1]: Entering directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc'
M:/Lazarus/FpcUpExes/binutils/make installbase FPC=M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc/compiler/ppcx64.exe ZIPDESTDI
R=M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc FPCMAKE=M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc/utils/fpcm/bin/x86
_64-win64/fpcmake.exe
make[2]: Entering directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc'
M:/Lazarus/FpcUpExes/binutils/ginstall.exe -m 755 -d M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win64\fpc
M:/Lazarus/FpcUpExes/binutils/ginstall.exe -m 755 -d M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win64\fpc/bin/x86_64-win64
M:/Lazarus/FpcUpExes/binutils/make compiler_install FPC=M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc/compiler/ppcx64.exe ZIPD
ESTDIR=M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc FPCMAKE=M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc/utils/fpcm/bi
n/x86_64-win64/fpcmake.exe
make[3]: Entering directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc'
M:/Lazarus/FpcUpExes/binutils/make -C compiler install
make[4]: Entering directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc/compiler'
M:/Lazarus/FpcUpExes/binutils/make -C utils install
make[5]: Entering directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc/compiler/utils'
make[5]: Nothing to be done for `install'.
make[5]: Leaving directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc/compiler/utils'
echo ppcrossx64.exe
ppcrossx64.exe
M:/Lazarus/FpcUpExes/binutils/ginstall.exe -m 755 -d M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win64\fpc/bin/x86_64-win64
M:/Lazarus/FpcUpExes/binutils/cp.exe -fp ppcrossx64.exe M:\Lazarus\Binaries\Lazarus_Fixes_160_311_Win64\fpc/bin/x86_64-win64/ppcross
x64.exe
cp.exe: ppcrossx64.exe: No such file or directory
make[4]: *** [exeinstall] Error 1
make[4]: Leaving directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc/compiler'
make[3]: *** [compiler_install] Error 2
make[3]: Leaving directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc'
make[2]: *** [installbase] Error 2
make[2]: Leaving directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc'
make[1]: *** [installall] Error 2
make[1]: Leaving directory `M:/Lazarus/Binaries/Lazarus_Fixes_160_311_Win64/fpc'
make: *** [crossinstall] Error 2
fpclazup: ERROR: FPC: Problem installing crosscompiler for x86_64-win64.
fpclazup: ERROR: Error running BuildModuleCustom for module FPC
fpclazup: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpclazup: info: Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc
Fpclazup failed.
Please check log for details. Possible troubleshooting steps:
- run again with --verbose and check for make, lazbuild errors etc.
- if compiling Lazarus, make sure your lhelp is closed.
- try removing all intermediate files by running fpcup with the --clean option
and/or manually deleting all *.ppu/*.a/*.o followed by svn up
- if that does not work: use the --uninstall option to remove all files
including your FPC and Lazarus directories
- remove the files in the bootstrap directory. fpcup will redownload if required.
fpclazup: info: 04/07/2016 17:01:20: fpcup finished.
Strange error. Fpcup is looking for crosscompilers where it shouldn't.
My advice in these situations: run a most simple fpclazup command from a clean directory:
(a clean directory is a directory with only a single file to start with: fpclazup.exe)
fpclazup.exe --installdir="M:\Lazarus\Binaries\MyFpcupTest"
It will also give you the base for cross-compiling.
So, start simple and try to debug.
One more thing the Help | About screen shows FRET_UNKNOWN_REVISION for the Lazarus revision
fpclazup.exe --fpcURL="trunk" --lazURL="trunk" --verbose --installdir="E:\Development\"
...
[2016-07-12 15:30:01.708 Info] SVN client found: E:\Program Files (x86)\CollabNet\svn.exe
Ok.
About FRET_UNKNOWN_REVISION.
Seen it. Will have a look into it !
One more thing the Help | About screen shows FRET_UNKNOWN_REVISION for the Lazarus revision
Same for me.Code: [Select]fpclazup.exe --fpcURL="trunk" --lazURL="trunk" --verbose --installdir="E:\Development\"
...
[2016-07-12 15:30:01.708 Info] SVN client found: E:\Program Files (x86)\CollabNet\svn.exe
fpclazup: info: Checking out/updating FPC sources...
fpclazup: info: INFO: directory /home/rik/development/fpc is not an SVN repository (or a repository with the wrong remote URL).
fpclazup: info: INFO: creating directory /home/rik/development/fpc for SVN checkout.
fpclazup: info: Running SVN checkout or update.
andfpclazup: info: SVN client found: /usr/bin/svn
fpclazup: info: Checking out/updating Lazarus sources:
fpclazup: info: INFO: directory /home/rik/development/lazarus is not an SVN repository (or a repository with the wrong remote URL).
fpclazup: info: INFO: creating directory /home/rik/development/lazarus for SVN checkout.
fpclazup: info: Running SVN checkout or update.
fpclazup: info: Lazarus is now at: revision FRET_UNKNOWN_REVISION
fpclazup: info: Updating Lazarus version info.
fpclazup: info: Result true
rik@rik-VirtualBox ~/development $ svn info fpc
svn: E155007: '/home/rik/development/fpc' is not a working copy
rik@rik-VirtualBox ~/development $ svn info lazarus
svn: E155007: '/home/rik/development/lazarus' is not a working copy
rik@rik-VirtualBox ~/development $ cd lazarus
rik@rik-VirtualBox ~/development/lazarus $ svn info
svn: E155007: '/home/rik/development/lazarus' is not a working copy
rik@rik-VirtualBox ~/development/lazarus $
That's also the reason why there are no bootstrap compilers hosted on fpcup GitHub.Valid... but isn't there any chance to just get proper bootstrap compilers for all platforms in
fpclazup.exe --fpcURL="trunk" --lazURL="trunk" --installdir="E:\Development\" --getfullrepo
...
Version: based on commit fpcup001 (20150210)
Build date: 2016/07/02 08:19:01
Compiled for CPU: i386 on win32
...
fpclazup: info: INFO: directory E:\Development\fpc is not an SVN repository (or a repository with the wrong remote URL).
fpclazup: info: INFO: creating directory E:\Development\fpc for SVN checkout.
fpclazup: info: Running SVN checkout or update.
fpclazup: info: FPC was at: failure
fpclazup: info: FPC is now at: revision 34101
...
Updated fpc(laz)up !
Should now return correct revision in all cases.
I hope ... :)
C:/development/fpcbootstrap/ppcx64.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/development/fpc/rtl/units/x86_64-win64 -vi-n-h- -dx86_64 -dRELEASE ../inc/uuchar.pp
C:/development/fpcbootstrap/ppcx64.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/development/fpc/rtl/units/x86_64-win64 -vi-n-h- -dx86_64 -dRELEASE -I../objpas ../objpas/objpas.pp
C:/development/fpcbootstrap/ppcx64.exe -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -FE. -FUC:/development/fpc/rtl/units/x86_64-win64 -vi-n-h- -dx86_64 -dRELEASE -Fi../objpas/sysutils -Fi../objpas/classes -Fu../x86_64 -I../win -I../objpas -I../win/wininc -Fu../win/wininc -Fu../win -I../inc -Fu../inc -Fu../objpas buildrtl
typshrdh.inc(54,23) Error: It is not possible to overload this operator. Related overloadable operators (if any) are:
typshrdh.inc(54,24) Error: It is not possible to overload this operator. Related overloadable operators (if any) are:
typshrdh.inc(54,24) Fatal: Syntax error, ":" expected but ">" found
Fatal: Compilation aborted
make.exe[7]: *** [buildrtl.ppu] Error 1
make.exe[7]: Leaving directory `C:/development/fpc/rtl/win64'
make.exe[6]: *** [win64_all] Error 2
make.exe[6]: Leaving directory `C:/development/fpc/rtl'
make.exe[5]: *** [rtl] Error 2
make.exe[5]: Leaving directory `C:/development/fpc/compiler'
make.exe[4]: *** [next] Error 2
make.exe[4]: Leaving directory `C:/development/fpc/compiler'
make.exe[3]: *** [ppc1.exe] Error 2
make.exe[3]: Leaving directory `C:/development/fpc/compiler'
make.exe[2]: *** [cycle] Error 2
make.exe[2]: Leaving directory `C:/development/fpc/compiler'
make.exe[1]: *** [compiler_cycle] Error 2
make.exe[1]: Leaving directory `C:/development/fpc'
C:\development\fpcbootstrap\make.exe: *** [build-stamp.x86_64-win64] Error 2
C:\development\fpcbootstrap\make.exe: Leaving directory `C:/development/fpc'
Updated fpc(laz)up !
Should now return correct revision in all cases.
I hope ... :)
Thanks !
Where do we get fpclazup.exe?(I sent you the link in a PM.)
Updated fpc(laz)up !
Should now return correct revision in all cases.
I hope ... :)
Thanks !
Where do we get fpclazup.exe?
Ok, maybe a really daft question of me but where can I find the official FPC 3.0.0 64bit release ?That's also the reason why there are no bootstrap compilers hosted on fpcup GitHub.Valid... but isn't there any chance to just get proper bootstrap compilers for all platforms in
ftp://ftp.freepascal.org/pub/fpc/dist/3.0.0/bootstrap
This has already been discussed on the FPC mailing list !
http://lists.freepascal.org/pipermail/fpc-devel/2016-June/037172.html
Tried to add sparta_dockedformeditor and crashes. :o
...
Also UTF8 not working?
Tried to add sparta_dockedformeditor and crashes. :oI had that too this morning (uninstalled anchor and sparta packages).
Both sparta_dockedformeditor and UTF-8 work well here. What is wrong with UTF-8 in your system?
Where did you get the rcpopupunit ? It's not in the normal rx package.Both sparta_dockedformeditor and UTF-8 work well here. What is wrong with UTF-8 in your system?It was not finding it, may be a compiler switch I don't have set, or a package I have not loaded yet?
Trying to add a package that required it and it said not found :
rxpopupunit.pas(915,3) Error: Identifier not found "UTF8Delete"
rxpopupunit.pas(915,25) Error: Identifier not found "UTF8Length"
Tried to add sparta_dockedformeditor and crashes. :o
...
Also UTF8 not working?
Both sparta_dockedformeditor and UTF-8 work well here. What is wrong with UTF-8 in your system?
Where did you get the rcpopupunit ? It's not in the normal rx package.
Anyway... did that file include LazUtf8 in the uses? Because the functions are there.
Bug related to Sven change in FPC trunk r34087. r34087 totally breaks casting an object to an interface, for example after r34087 the following code won't work anymore:Fixed in Lazarus trunk r52691.
...
Where did you get the rcpopupunit ? It's not in the normal rx package.
Anyway... did that file include LazUtf8 in the uses? Because the functions are there.
Revision: 4949You can download the latest here:
Author: alexs75
Date: donderdag 14 juli 2016 08:14:30
Message:
RxFPC: fix compile with latest lazarus - utf8
----
Modified : /components/rx/trunk/exsortzeos.pas
Modified : /components/rx/trunk/rxpopupunit.pas
Try Tools > Rescan FPC Source DirectoryThanks that Worked
How to download fpcup? I visit it on Github but there is no releases should i download as Zip or Download only bin directory?
C:\fpcupsept2016\bin\i386-win32>fpcup
Fpcup, a FPC downloader/updater/installer
Original by BigChimp: https://bitbucket.org/reiniero/fpcup
This version: https://github.com/LongDirtyAnimAlf/Reiniero-fpcup
Fpcup will download the FPC sources
from the source SVN repositories, and compile, and install.
Result: you get a fresh, up-to-date FPC installation.
Version: based on commit fpcup001 (20150210)
Build date: 2016/09/26 15:53:01
Compiled for CPU: i386 on win32
Options:
Binutils/make dir: C:\development\fpcbootstrap
Bootstrap dir: C:\development\fpcbootstrap
FPC URL: http://svn.freepascal.org/svn/fpc/tags/release_3_0_0
FPC options:
FPC directory: C:\development\fpc
Keep changes: no
Re-apply changes: no
Log file name: fpcup.log
INFO: FPCUP will not download repos. It will only get the files !!!
Effective parameters:
Persistent parameters (can be saved in batch file):
Continue (Y/n): y
fpcup: info: 29/09/2016 15:17:54: fpcup fpcup001 (20150210) started.
fpcup: info: Found bootstrap compiler version 3.0.0
fpcup: info: Found OpenSLL library files.
fpcup: info: SVN client found: C:\development\fpcbootstrap\svn\bin\svn.exe
fpcup: info: FPC: running make distclean:
fpcup: info: Checking out/updating FPC sources...
fpcup: info: INFO: directory C:\development\fpc is not an SVN repository (or a repository with the wrong remote URL).
fpcup: info: Running SVN checkout or update.
fpcup: info: TFPCInstaller: building module FPC...
fpcup: info: We have a FPC source (@ C:\development\fpc) with version: 3.0.0
fpcup: info: To compile this FPC, we need (required) a compiler with version : 2.6.0
fpcup: info: We need to build an FPC 2.6.0 intermediate compiler.
fpcup: info: Checking out/updating sources for intermediate bootstrap compiler.
fpcup: info: Checking out/updating FPC 2.6.0 sources for intermediate bootstrap compiler done.
fpcup: info: We have a FPC bootstrap source (@ C:\development\fpc260bootstrap) with version: 2.6.0
fpcup: info: To compile this bootstrap FPC, we should use a compiler with version : 2.4.4
fpcup: info: Apply OVERRIDEVERSIONCHECK=1, because we have a (wrong) bootstrap bootstrapper with version 3.0.0
fpcup: info: Running make cycle for intermediate bootstrap compiler:
fpcup: info: FPC: Failed to build intermediate bootstrap compiler
fpcup: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpcup: info: Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 2, param: fpc
Fpcup failed.
Please check log for details. Possible troubleshooting steps:
- run again with --verbose and check for make, lazbuild errors etc.
- if compiling Lazarus, make sure your lhelp is closed.
- try removing all intermediate files by running fpcup with the --clean option
and/or manually deleting all *.ppu/*.a/*.o followed by svn up
- if that does not work: use the --uninstall option to remove all files
including your FPC and Lazarus directories
- remove the files in the bootstrap directory. fpcup will redownload if required.
fpcup: info: 29/09/2016 15:22:47: fpcup finished.
C:\fpcupsept2016\bin\i386-win32>
.........................
C:/development/fpcbootstrap/rm.exe -f mips/ppc386.exe mips/ppc68k.exe mips/ppcx64.exe mips/ppcppc.exe mips/ppcsparc.exe mips/ppcppc64.exe mi
ps/ppcarm.exe mips/ppcmips.exe mips/ppcmipsel.exe mips/ppc386.exe
C:/development/fpcbootstrap/rm.exe -rf avr/units
C:/development/fpcbootstrap/rm.exe -f avr/*.o avr/*.ppu avr/*.rst avr/*.s avr/*.a avr/*.dll avr/*.ppl
C:/development/fpcbootstrap/rm.exe -f avr/ppc386.exe avr/ppc68k.exe avr/ppcx64.exe avr/ppcppc.exe avr/ppcsparc.exe avr/ppcppc64.exe avr/ppca
rm.exe avr/ppcmips.exe avr/ppcmipsel.exe avr/ppc386.exe
C:/development/fpcbootstrap/make -C utils distclean
make[2]: Entering directory `C:/development/fpc260bootstrap/compiler/utils'
C:/development/fpcbootstrap/rm.exe -f fpc.exe ppufiles.exe ppudump.exe ppumove.exe fpcsubst.exe mkarmins.exe mkx86ins.exe fpc.o ppufiles.o p
pudump.o ppumove.o fpcsubst.o mkarmins.o mkx86ins.o libpfpc.a libpppufiles.a libpppudump.a libpppumove.a libpfpcsubst.a libpmkarmins.a libpm
kx86ins.a libimpfpc.a libimpppufiles.a libimpppudump.a libimpppumove.a libimpfpcsubst.a libimpmkarmins.a libimpmkx86ins.a
C:/development/fpcbootstrap/rm.exe -f units/i386-win32/ppu.ppu units/i386-win32/crc.ppu units/i386-win32/usubst.ppu
C:/development/fpcbootstrap/rm.exe -rf units
C:/development/fpcbootstrap/rm.exe -f *.o *.ppu *.rst *.s *.a *.dll *.ppl
C:/development/fpcbootstrap/rm.exe -rf *.sl
C:/development/fpcbootstrap/rm.exe -f fpcmade.* Package.fpc ppas.bat script.res link.res
C:/development/fpcbootstrap/rm.exe -f *_ppas.bat
make[2]: Leaving directory `C:/development/fpc260bootstrap/compiler/utils'
make[1]: Leaving directory `C:/development/fpc260bootstrap/compiler'
C:/development/fpcbootstrap/make -C rtl distclean
make[1]: Entering directory `C:/development/fpc260bootstrap/rtl'
make[1]: Leaving directory `C:/development/fpc260bootstrap/rtl'
make[1]: *** No rule to make target `distclean'. Stop.
make: *** [rtl_distclean] Error 2
make: Leaving directory `C:/development/fpc260bootstrap'
fpclazup: info: FPC: Failed to build intermediate bootstrap compiler
fpclazup: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpclazup: info: Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 3, param: fpc
Fpclazup failed.
Please check log for details. Possible troubleshooting steps:
- run again with --verbose and check for make, lazbuild errors etc.
- if compiling Lazarus, make sure your lhelp is closed.
- try removing all intermediate files by running fpcup with the --clean option
and/or manually deleting all *.ppu/*.a/*.o followed by svn up
- if that does not work: use the --uninstall option to remove all files
including your FPC and Lazarus directories
- remove the files in the bootstrap directory. fpcup will redownload if required.
fpclazup: info: 29/09/2016 16:18:39: fpcup finished.
==============================================
Fpclazup stable and defaults ready
==============================================
Press any key to continue . . .
C:\fpcupsept2016\bin\i386-win32>
C:\fpcupsept2016\bin\i386-win32>fpcup --inifile=mysettings.ini --inisection=TrunkLaz
Fpcup, a FPC downloader/updater/installer
Original by BigChimp: https://bitbucket.org/reiniero/fpcup
This version: https://github.com/LongDirtyAnimAlf/Reiniero-fpcup
Fpcup will download the FPC sources
from the source SVN repositories, and compile, and install.
Result: you get a fresh, up-to-date FPC installation.
Version: based on commit fpcup001 (20150210)
Build date: 2016/09/30 08:57:28
Compiled for CPU: i386 on win32
fpcup: info: 30/09/2016 09:07:34: fpcup finished.
An unhandled exception occurred at $0041B8B0:
EStringListError: List index (-1) out of bounds
$0041B8B0
$0040483E
$00405CB5
C:\fpcupsept2016\bin\i386-win32>pause
Press any key to continue . . .
REQUIREDVERSION=2.6.4This means both 2.6.4 and 3.0.0 are considered ok.
# Accept 3.0.0, without requiring to using OVERRIDEVERSIONCHECK=1
# 3.0.0 should become REQUIREDVERSION after 3.0.0 final release
# and 2.6.4 should be moved to REQUIREDVERSION2
REQUIREDVERSION2=3.0.0
It is ill-adviced to use a Lazarus 64bit on Windows.
Standard practise is to use 32bit Lazarus and cross-compile / debug your app towards 64bit.
But it does no harm.
fpclazup: info: Available bootstrapper has correct version !
fpclazup: info: Get the right binutils for intermediate bootstrap compiler.
fpclazup: info: Make path C:\FPCLAZFixes\fpcbootstrap does not have (all) binutils. Going to download needed binutils.
fpclazup: ERROR: Error downloading binutil: cpp.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: dlltool.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: fp32.ico to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: gcc.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: grep.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: windres.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: windres.h to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: zip.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: ar.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: as.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: cmp.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: cp.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: diff.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: gdate.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
fpclazup: ERROR: Error downloading binutil: gdb.exe to C:\FPCLAZFixes\fpcbootstrap. Retrying.
Mac-mini:fpcup mac$ ./fpclazup_osx_x86 --fpcurl="trunk" --lazurl="trunk" --verbose
Fpclazup, a FPC/Lazarus downloader/updater/installer
Original by BigChimp: https://bitbucket.org/reiniero/fpcup
This version: https://github.com/LongDirtyAnimAlf/Reiniero-fpcup
Fpclazup will download the FPC and Lazarus sources
from the source SVN repositories, and compile, and install.
Result: you get a fresh, up-to-date Lazarus/FPC installation.
Version: based on commit fpcup001 (20150210)
Build date: 2016/10/07 08:29:35
Compiled for CPU: i386 on darwin
Options:
Bootstrap dir: /Users/mac/development/fpcbootstrap
FPC URL: http://svn.freepascal.org/svn/fpc/trunk/
FPC options:
FPC directory: /Users/mac/development/fpc
Lazarus URL: http://svn.freepascal.org/svn/lazarus/trunk
Lazarus options:
Lazarus directory: /Users/mac/development/lazarus
Keep changes: no
Re-apply changes: no
Log file name: /Users/mac/fpcup.log
Standard modules: suggestedpackages
Standard modules: lhelp
Standard modules: doceditor
INFO: FPCUP will not download repos. It will only get the files !!!
******************************************************************
You are now installing a bleeding edge version of [FPC/Lazarus].
Please be forewarned that things might not function,
as you would expect from a stable release.
Installing a stable release,
will give you a stable development environment,
and is the preferred way of using [FPC/Lazarus].
PS: You can build Lazarus trunk with normal FPC stable !! <-----
Just execute fpclazup --lazURL="trunk" <-----
******************************************************************
Effective parameters:
--fpcurl=trunk
--lazurl=trunk
--verbose
Persistent parameters (can be saved in shell script):
--fpcURL="trunk" --lazURL="trunk"
Continue (Y/n): y
fpclazup: info: 23-10-16 16:47:45: fpcup fpcup001 (20150210) started.
Executing : unzip "-v" (working dir: )
UnZip 6.00 of 20 April 2009, by Info-ZIP. Maintained by C. Spieler. Send
bug reports using http://www.info-zip.org/zip-bug.html; see README for details.
Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip/ ;
see ftp://ftp.info-zip.org/pub/infozip/UnZip.html for other sites.
Compiled with gcc 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34) for Unix Mac OS X on Jul 30 2016.
UnZip special compilation options:
COPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported)
SET_DIR_ATTRIB
SYMLINKS (symbolic links supported, if RTL and file system permit)
TIMESTAMP
UNIXBACKUP
USE_EF_UT_TIME
USE_UNSHRINK (PKZIP/Zip 1.x unshrinking method supported)
USE_DEFLATE64 (PKZIP 4.x Deflate64(tm) supported)
LARGE_FILE_SUPPORT (large files over 2 GiB supported)
ZIP64_SUPPORT (archives using Zip64 for large files supported)
VMS_TEXT_CONV
[decryption, version 2.11 of 05 Jan 2007]
UnZip and ZipInfo environment options:
UNZIP: [none]
UNZIPOPT: [none]
ZIPINFO: [none]
ZIPINFOOPT: [none]
fpclazup: info: SVN client found: /usr/bin/svn
Executing : bsdtar "--version" (working dir: )
bsdtar 2.8.3 - libarchive 2.8.3
fpclazup: info: TFPCInstaller: clean module FPC...
fpclazup: info: FPC: running make distclean:
Executing : make "--jobs=4" "FPC=/Users/mac/development/fpcbootstrap/ppcuniversal" "--directory=/Users/mac/development/fpc" "distclean" (working dir: /Users/mac/development/fpc)
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C compiler distclean
/bin/rm -f ppcrossx64 ppc ppc1 ppc2 ppc3 ./msg2inc pp1.wpo pp2.wpo
/bin/rm -f ppc386 ppc68k ppcx64 ppcppc ppcsparc ppcppc64
/bin/rm -f ppcarm ppcmips ppcmipsel ppcjvm ppc8086 ppca64
/bin/rm -f ppcx64 ppcwpo1 ppcwpo2
/bin/rm -f pp pp.o libppp.a libimppp.a
/bin/rm -rf units
/bin/rm -f *.o *.ppu *.rst *.s *.a *.so *.ppl
/bin/rm -rf *.sl
/bin/rm -f fpcmade.* Package.fpc ./ppas.sh script.res link.res
/bin/rm -f *_ppas.sh
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C utils cleanall
/bin/rm -f fpc ppufiles ppudump ppumove mka64ins mkarmins mkx86ins fpc.o ppufiles.o ppudump.o ppumove.o mka64ins.o mkarmins.o mkx86ins.o libpfpc.a libpppufiles.a libpppudump.a libpppumove.a libpmka64ins.a libpmkarmins.a libpmkx86ins.a libimpfpc.a libimpppufiles.a libimpppudump.a libimpppumove.a libimpmka64ins.a libimpmkarmins.a libimpmkx86ins.a
/bin/rm -f units/x86_64-darwin/ppu.ppu units/x86_64-darwin/crc.ppu
/bin/rm -rf units
/bin/rm -f *.o *.ppu *.rst *.s *.a *.so *.ppl
/bin/rm -rf *.sl
/bin/rm -f fpcmade.* Package.fpc ./ppas.sh script.res link.res
/bin/rm -f *_ppas.sh
/bin/rm -rf i386/units
......
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C fpgtk distclean
/bin/rm -rf units
/bin/rm -f *.o *.ppu *.rst *.s *.a *.so *.ppl
/bin/rm -rf *.sl
/bin/rm -f fpcmade.* Package.fpc ./ppas.sh script.res link.res
/bin/rm -f *_ppas.sh
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C fpindexer distclean
/bin/rm -rf units
/bin/rm -f *.o *.ppu *.rst *.s *.a *.so *.ppl
/bin/rm -rf *.sl
/bin/rm -f fpcmade.* Package.fpc ./ppas.sh script.res link.res
/bin/rm -f *_ppas.sh
..........
/rtl/units/x86_64-darwin/errors.ppu /Users/mac/development/fpc/rtl/units/x86_64-darwin/termio.ppu /Users/mac/development/fpc/rtl/units/x86_64-darwin/sysconst.ppu .........
Exported revision 34756.
Executing : /usr/bin/svn "info" "http://svn.freepascal.org/svn/fpc/trunk/" (working dir: )
Path: trunk
URL: http://svn.freepascal.org/svn/fpc/trunk
Repository Root: http://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 34756
Node Kind: directory
Last Changed Author: michael
Last Changed Rev: 34756
Last Changed Date: 2016-10-23 10:37:37 +0100 (Sun, 23 Oct 2016)
fpclazup: info: TFPCInstaller: building module FPC...
fpclazup: info: We have a FPC source (@ /Users/mac/development/fpc) with version: 3.1.1
fpclazup: info: To compile this FPC, we need (required) a compiler with version : 3.0.0
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpclazup: info: Looking for official FPC bootstrapper with version 3.0.0
fpclazup: info: Looking for (online) bootstrapper i386-darwin-ppc386.tar.bz2
fpclazup: info: Looking for official FPC bootstrapper with version 2.6.4
fpclazup: info: Looking for (online) bootstrapper universal-macosx-10.5-ppcuniversal.tar.bz2
fpclazup: info: Got a bootstrap compiler from official FPC bootstrap sources.
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-i" (working dir: )
Free Pascal Compiler version 2.6.4
Compiler Date : 2014/03/04
Compiler CPU Target: x86_64
Supported targets:
Linux for x86-64
FreeBSD for x86-64
Win64 for x64
Darwin for x86_64
Solaris for x86-64 (under development)
OpenBSD for x86-64 (under development)
NetBSD for x86-64 (under development)
Supported CPU instruction sets:
ATHLON64
Supported FPU instruction sets:
SSE64
SSE3
Supported ABI targets:
DEFAULT
SYSV
AIX
EABI
ARMEB
Supported Optimizations:
REGVAR
STACKFRAME
LOOPUNROLL
TAILREC
CSE
Supported Whole Program Optimizations:
All
DEVIRTCALLS
OPTVMTS
SYMBOLLIVENESS
Supported Microcontroller types:
This program comes under the GNU General Public Licence
For more information read COPYING.v2
Please report bugs in our bug tracker on:
http://bugs.freepascal.org
More information may be found on our WWW pages (including directions
for mailing lists useful for asking questions or discussing potential
new features, etc.):
http://www.freepascal.org
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpclazup: info: Found bootstrap compiler with version 2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpclazup: info: We need to build an FPC 3.0.0 intermediate compiler.
Executing : make "-v" (working dir: )
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0
fpclazup: info: Checking out/updating sources for intermediate bootstrap compiler.
Executing : /usr/bin/svn "checkout" "--depth=files" "http://svn.freepascal.org/svn/fpc/tags/release_3_0_0" "/Users/mac/development/fpc300bootstrap" (working dir: )
D /Users/mac/development/fpc300bootstrap/rtl
D /Users/mac/development/fpc300bootstrap/compiler
Checked out revision 34756.
Executing : /usr/bin/svn "update" "compiler" "/Users/mac/development/fpc300bootstrap/compiler" (working dir: )
Skipped 'compiler'
Updating '/Users/mac/development/fpc300bootstrap/compiler':
C /Users/mac/development/fpc300bootstrap/compiler
A /Users/mac/development/fpc300bootstrap/compiler/systems.inc
A /Users/mac/development/fpc300bootstrap/compiler/dbgstabx.pas
A /Users/mac/development/fpc300bootstrap/compiler/ppx86_64.lpi
A /Users/mac/development/fpc300bootstrap/compiler/fpcdefs.inc
A /Users/mac/development/fpc300bootstrap/compiler/rgobj.pas
A /Users/mac/development/fpc300bootstrap/compiler/symbase.pas
.................
A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/xmc4500.pp
A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/lpc11xx.pp
A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/cortexm0.pp
A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/lm3fury.pp
A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/lpc13xx.pp
A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/cortexm3.pp
A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/lpc1768.pp
A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/cortexm4.pp
A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/sc32442b.pp
A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/cortexm0_start.inc
A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/stm32f10x_xl.pp
A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/cortexm3_start.inc
A /Users/mac/development/fpc300bootstrap/rtl/embedded/Makefile.fpc
A /Users/mac/development/fpc300bootstrap/rtl/embedded/sysheap.inc
A /Users/mac/development/fpc300bootstrap/rtl/embedded/check.inc
A /Users/mac/development/fpc300bootstrap/rtl/embedded/sysdir.inc
A /Users/mac/development/fpc300bootstrap/rtl/embedded/sysfile.inc
A /Users/mac/development/fpc300bootstrap/rtl/embedded/avr
A /Users/mac/development/fpc300bootstrap/rtl/embedded/avr/start.inc
A /Users/mac/development/fpc300bootstrap/rtl/embedded/avr/atmega128.pp
A /Users/mac/development/fpc300bootstrap/rtl/embedded/sysos.inc
A /Users/mac/development/fpc300bootstrap/rtl/embedded/empty.cfg
A /Users/mac/development/fpc300bootstrap/rtl/embedded/buildrtl.pp
A /Users/mac/development/fpc300bootstrap/rtl/embedded/rtl.cfg
A /Users/mac/development/fpc300bootstrap/rtl/embedded/sysosh.inc
A /Users/mac/development/fpc300bootstrap/rtl/embedded/heapmgr.pp
A /Users/mac/development/fpc300bootstrap/rtl/embedded/system.pp
A /Users/mac/development/fpc300bootstrap/rtl/embedded/buildrtl.lpi
A /Users/mac/development/fpc300bootstrap/rtl/embedded/consoleio.pp
A /Users/mac/development/fpc300bootstrap/rtl/gba
A /Users/mac/development/fpc300bootstrap/rtl/gba/prt0.as
A /Users/mac/development/fpc300bootstrap/rtl/gba/sysos.inc
A /Users/mac/development/fpc300bootstrap/rtl/gba/libch.inc
A /Users/mac/development/fpc300bootstrap/rtl/gba/cprt0.as
A /Users/mac/development/fpc300bootstrap/rtl/gba/sysosh.inc
A /Users/mac/development/fpc300bootstrap/rtl/gba/system.pp
A /Users/mac/development/fpc300bootstrap/rtl/gba/tthread.inc
A /Users/mac/development/fpc300bootstrap/rtl/gba/dos.pp
A /Users/mac/development/fpc300bootstrap/rtl/gba/systhrd.inc
A /Users/mac/development/fpc300bootstrap/rtl/gba/classes.pp
A /Users/mac/development/fpc300bootstrap/rtl/gba/rtldefs.inc
A /Users/mac/development/fpc300bootstrap/rtl/gba/Makefile
A /Users/mac/development/fpc300bootstrap/rtl/gba/sysutils.pp
A /Users/mac/development/fpc300bootstrap/rtl/gba/gbabios.inc
A /Users/mac/development/fpc300bootstrap/rtl/gba/libc.inc
A /Users/mac/development/fpc300bootstrap/rtl/gba/Makefile.fpc
A /Users/mac/development/fpc300bootstrap/rtl/gba/sysheap.inc
A /Users/mac/development/fpc300bootstrap/rtl/gba/sysdir.inc
A /Users/mac/development/fpc300bootstrap/rtl/gba/gbabiosh.inc
A /Users/mac/development/fpc300bootstrap/rtl/gba/sysfile.inc
A /Users/mac/development/fpc300bootstrap/rtl/emx
A /Users/mac/development/fpc300bootstrap/rtl/emx/Makefile
A /Users/mac/development/fpc300bootstrap/rtl/emx/emx.imp
A /Users/mac/development/fpc300bootstrap/rtl/emx/sysutils.pp
A /Users/mac/development/fpc300bootstrap/rtl/emx/sysheap.inc
A /Users/mac/development/fpc300bootstrap/rtl/emx/Makefile.fpc
A /Users/mac/development/fpc300bootstrap/rtl/emx/sysdir.inc
A /Users/mac/development/fpc300bootstrap/rtl/emx/sysfile.inc
A /Users/mac/development/fpc300bootstrap/rtl/emx/prt0.as
A /Users/mac/development/fpc300bootstrap/rtl/emx/prt1.as
A /Users/mac/development/fpc300bootstrap/rtl/emx/sysos.inc
A /Users/mac/development/fpc300bootstrap/rtl/emx/ports.pas
A /Users/mac/development/fpc300bootstrap/rtl/emx/sysosh.inc
A /Users/mac/development/fpc300bootstrap/rtl/emx/system.pas
A /Users/mac/development/fpc300bootstrap/rtl/emx/dos.pas
A /Users/mac/development/fpc300bootstrap/rtl/emx/emxwrap.imp
A /Users/mac/development/fpc300bootstrap/rtl/emx/systhrd.inc
A /Users/mac/development/fpc300bootstrap/rtl/emx/sysemx.pas
A /Users/mac/development/fpc300bootstrap/rtl/emx/emx.pas
A /Users/mac/development/fpc300bootstrap/rtl/emx/rtldefs.inc
A /Users/mac/development/fpc300bootstrap/rtl/powerpc64
A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/int64p.inc
A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/setjump.inc
A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/strlen.inc
A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/math.inc
A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/powerpc64.inc
A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/strings.inc
A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/makefile.cpu
A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/set.inc
A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/stringss.inc
A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/mathu.inc
A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/setjumph.inc
Updated to revision 34756.
Summary of updates:
Updated '/Users/mac/development/fpc300bootstrap/rtl' to r34756.
Summary of conflicts:
Tree conflicts: 1
Skipped paths: 1
fpclazup: info: Checking out/updating FPC 3.0.0 sources for intermediate bootstrap compiler done.
fpclazup: info: We have a FPC bootstrap source (@ /Users/mac/development/fpc300bootstrap) with version: 3.0.0
fpclazup: info: To compile this bootstrap FPC, we need (required) a compiler with version : 3.0.0
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpclazup: info: To compile this bootstrap FPC, we can also (and will) use (required) a compiler with version : 2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpclazup: info: Running make cycle for intermediate bootstrap compiler:
Executing : make "compiler_cycle" "--jobs=4" "FPC=/Users/mac/development/fpcbootstrap/ppcuniversal" "--directory=/Users/mac/development/fpc300bootstrap" "OPT=-vi-n-h-" "OS_TARGET=darwin" "CPU_TARGET=i386" (working dir: /Users/mac/development/fpc300bootstrap)
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C compiler cycle
make[1]: *** No rule to make target `cycle'. Stop.
make: *** [compiler_cycle] Error 2
fpclazup: info: FPC: Failed to build intermediate bootstrap compiler
fpclazup: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpclazup: info: Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc
Fpclazup failed.
Please check log for details. Possible troubleshooting steps:
- run again with --verbose and check for make, lazbuild errors etc.
- make sure there's a valid SVN executable in your path.
- make sure the GNU binutils (make etc), windres, subversion client are installed
e.g. on Debian/Ubuntu: aptitude install build-essential mingw32-binutils subversion
ln -s /usr/bin/i586-mingw32msvc-windres /usr/bin/windres
see http://wiki.lazarus.freepascal.org/Lazarus_Resources#Checking_you_have_windres
- if compiling Lazarus, make sure your lhelp is closed.
- try removing all intermediate files by running fpcup with the --clean option
and/or manually deleting all *.ppu/*.a/*.o followed by svn up
- if that does not work: use the --uninstall option to remove all files
including your FPC and Lazarus directories
- remove the files in the bootstrap directory. fpcup will redownload if required.
fpclazup: info: 23-10-16 16:49:00: fpcup finished.
Mac-mini:fpcup mac$
@totya
I have given you three (stable, fixes, trunk) options; please tell me which one gives you these errors; I will try to reproduce.
Updated to revision 34758.
Summary of updates:
Updated '/Users/mac/development/fpc300bootstrap/rtl' to r34758.
Summary of conflicts:
Tree conflicts: 1
Skipped paths: 1
fpclazup: info: Checking out/updating FPC 3.0.0 sources for intermediate bootstrap compiler done.
fpclazup: info: We have a FPC bootstrap source (@ /Users/mac/development/fpc300bootstrap) with version: 3.0.0
fpclazup: info: To compile this bootstrap FPC, we need (required) a compiler with version : 3.0.0
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpclazup: info: To compile this bootstrap FPC, we can also (and will) use (required) a compiler with version : 2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpclazup: info: Running make cycle for intermediate bootstrap compiler:
Executing : make "compiler_cycle" "--jobs=4" "FPC=/Users/mac/development/fpcbootstrap/ppcuniversal" "--directory=/Users/mac/development/fpc300bootstrap" "OPT=-vi-n-h-" "OS_TARGET=darwin" "CPU_TARGET=i386" (working dir: /Users/mac/development/fpc300bootstrap)
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C compiler cycle
make[1]: *** No rule to make target `cycle'. Stop.
make: *** [compiler_cycle] Error 2
fpclazup: info: FPC: Failed to build intermediate bootstrap compiler
fpclazup: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpclazup: info: Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc
Fpclazup failed.
Please check log for details. Possible troubleshooting steps:
- run again with --verbose and check for make, lazbuild errors etc.
- make sure there's a valid SVN executable in your path.
- make sure the GNU binutils (make etc), windres, subversion client are installed
e.g. on Debian/Ubuntu: aptitude install build-essential mingw32-binutils subversion
ln -s /usr/bin/i586-mingw32msvc-windres /usr/bin/windres
see http://wiki.lazarus.freepascal.org/Lazarus_Resources#Checking_you_have_windres
- if compiling Lazarus, make sure your lhelp is closed.
- try removing all intermediate files by running fpcup with the --clean option
and/or manually deleting all *.ppu/*.a/*.o followed by svn up
- if that does not work: use the --uninstall option to remove all files
including your FPC and Lazarus directories
- remove the files in the bootstrap directory. fpcup will redownload if required.
fpclazup: info: 23-10-16 21:11:51: fpcup finished.
@totya
The error you show means, that the binutils are there and the whole build-process has started and partly completed.
Also for you, in case of doubt, just rerun the command.
It will clean, rebuild and install.
Target OS: Win64I get debugger error:
Target CPU: x86_64
I see one gdb.exe in fpcbootstrap directory, but this date is very old (2011).
I see one gdb.exe in fpcbootstrap directory, but this date is very old (2011).
Cross-compiling in general is something that is not for everybody.
If you want recent versions learn how to get and install recent versions.
That means install a recent version of mingw or cygwin, in your case (and my favorite) cygwin64
It is not rocket science.....
Btw: a 2011 version of GDB seems reasonably recent and usable. It has proper pedigree in stability.
A special branch of FPC and Lazarus is maintained on http://newpascal.org/
Thanks for the feedback !Sorry - I started a new application, put the above lines in the lpr and tried target OS=linux, but still got the fcllaz error.
I have tried to reproduce your issue.
Downloaded NPLazBaseWin32.rar archives from:
https://github.com/newpascal/newpascal/releases/tag/np_sc-v1.0.34
Unpack into c:\NewPascal
Started Lazarus with the provided link.
Runs win32 and win64 out-of-the-box without debugger switching.
So, this is strange: the archive should give you win32/64 automagically, if started with the provided link !
It does of my pc, it does not on yours. So, I cannot reproduce.
Downloaded the two Linux archives. Can compile for Linux without problem.
(if you add this into the top of your lpr-file ; due to the Arch libs that are provided by these archives):
{$IFDEF LINUX} {$IFDEF FPC_CROSSCOMPILING} {$linklib libc_nonshared.a} {$IFDEF CPUARM} // if we have a GUI, uncomment // {$linklib GLESv2} {$ENDIF} {$ENDIF} {$ENDIF}
Ok recursive then...
http://forum.lazarus.freepascal.org/index.php/topic,27211.msg226539.html#msg226539
Put some effort in. What you ask is not standard for a distribution.
You have to do that yourself.
- Fixes are not releases. You compile everything yourself
- Cross-compilers are generally not releases. You compile everything yourself
- Installing a debugger is easy, both with mingw and cygwin on Windows.
What do you want?
Does your mother still feed you with a spoon?
Figure it out yourself. That's the only way you will ever learn something
[edit]
In this case I am not grumpy, but what you are asking is what seasoned programmers do. You are not one of them.
I will be glad to help but first try it (seriously) yourself and read up on all documentation.
Hi!Hi totya - it looks as if you had the same problem I had. DonAlfredo posted the answer above, and it works for me!
If you can't understand what is the problem, please do not write me similar stupid things, thanks.
fcpup (fplazup) is an application, which can make own programing environment. I asdked a workable fixes version, with crosscompile (x86/x64). After I tired it, it didn't work. It's simple. If you don't understand this very simple situation, please learn it. Otherwise my mother is dead long time ago. Please do not write me similar stupid things anymore, thank you.
To be honest, I do not yet know what is the problem with your install.OK @DonAlfredo - I think I know what the problem was, and it was (as expected) my fault.
So, in order to help you, I need some more info.
Your fpc.cfg should contain something like:So, when you choose Linux 64 bit, these settings point FPC towards the right binutils and libraries.
# begin fpcup do not remove x86_64-linux #cross compile settings dependent on both target OS and target CPU #IFDEF FPC_CROSSCOMPILING #IFDEF CPUX86_64 #IFDEF LINUX # Inserted by fpcup 22-10-2016 13:44:41 -FDC:\NewPascal\cross\bin\x86_64-linux\ -XPx86_64-linux- -Tlinux -FlC:\NewPascal\cross\lib\x86_64-linux\ -Xr/usr/lib #ENDIF #ENDIF #ENDIF # end fpcup do not remove
binutils: C:\NewPascal\cross\bin\x86_64-linux
libs: C:\NewPascal\cross\lib\x86_64-linux
Also, you should have a directory C:\NewPascal\fpc\units\x86_64-linux, filled with all kinds of packages.
Correct ?
Just run it again, with the same settings !
It will detect the available sources, perform an update of these sources and will build FPC and Lazarus.
Same with modules (packages).
[..] Executing : D:\fpcupdeluxe\fpcbootstrap\make.exe "-v" (working dir: )
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
fpcupdeluxe: ERROR: any_freebsd386: searched but did not find any binary utilities !!
fpcupdeluxe: ERROR: Failed to get crossbinutils
fpcupdeluxe: ERROR: any_freebsd386: searched but did not find any library !!
fpcupdeluxe: ERROR: Failed to get crosslibrary
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup D:\fpcupdeluxe\fpc\utils\bin
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup D:\fpcupdeluxe\fpc\utils\units\i386-freebsd
fpcupdeluxe: ERROR: FPC cleanup: could not cleanup D:\fpcupdeluxe\fpc\rtl\units\i386-freebsd
fpcupdeluxe: ERROR: Error running BuildModuleCustom for module FPC
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup D:\fpcupdeluxe\fpc\utils\bin
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup D:\fpcupdeluxe\fpc\utils\units\x86_64-win64
fpcupdeluxe: ERROR: FPC cleanup: could not cleanup D:\fpcupdeluxe\fpc\rtl\units\x86_64-win64
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence FPCBuildOnly; line: 2, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Only; line: 2, param: FPCBuildOnly
It should !
Issues encountered while using fpcupdeluxe (based on fpcup) are ported back into fpcup on a regular base.
It begins, and downloads a 64-bit 2.6.2 compiler. (why so ancient?) and checks out 3.0.0 compiler and rtl dirs.
It begins, and downloads a 64-bit 2.6.2 compiler. (why so ancient?) and checks out 3.0.0 compiler and rtl dirs.
That's because:
- only 2.6.X is a bootstrap release available on official websites?
[2017-02-04 12:25:00.180 Info] helplazarus: error creating chm help docs. build_lcl_docs exit status: 55552
[2017-02-04 12:25:00.380 Info] helplazarus: Fatal error. But I will continue !!
/mnt/harddisk/home/testuser3/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/lazarus/components/tachart/tachartcombos.pas(330,15) Error: (4054) Illegal type conversion: "TObject" to "TSeriesPointerStyle"
tachartcombos.pas(403) Fatal: (10026) There were 1 errors compiling module, stopping
The node 'C:\fpcup\0.9-fpcup' was not found.
Where did you get the rcpopupunit ? It's not in the normal rx package.Both sparta_dockedformeditor and UTF-8 work well here. What is wrong with UTF-8 in your system?It was not finding it, may be a compiler switch I don't have set, or a package I have not loaded yet?
Trying to add a package that required it and it said not found :
rxpopupunit.pas(915,3) Error: Identifier not found "UTF8Delete"
rxpopupunit.pas(915,25) Error: Identifier not found "UTF8Length"
Anyway... did that file include LazUtf8 in the uses? Because the functions are there.
debian@beaglebone:~/Downloads$ ./fcpupdeluxe
debian@beaglebone:~/Downloads$ sudo ./fpcupdeluxe
Hey jcdammeyer,Hi Gus,
Both are fine and depend on where you want to deploy your install
Most of the installs I make are inside my home folder, so I usually do not need sudo to install those.
Hope this clears it out.
Cheers,
Gus