Lazarus

Announcements => Third party => Topic started by: stocki on January 31, 2015, 01:35:41 pm

Title: fpcup 3.1.1 Update
Post by: stocki on January 31, 2015, 01:35:41 pm
Is there a fpcup update for 3.1.1?
Title: Re: fpcup 3.1.1 Update
Post by: Bart on January 31, 2015, 03:06:01 pm
AFAIK fpcup just updates to trunk (if you want), there is no hardcoded version for that.
So it should still work.
(Never tried it myself)

Bart
Title: Re: fpcup 3.1.1 Update
Post by: stocki on January 31, 2015, 03:34:27 pm
No. I got fpc 2.6.5 and laz 1.5
Title: Re: fpcup 3.1.1 Update
Post by: Bart on January 31, 2015, 04:53:22 pm
Maybe this helps?
http://wiki.lazarus.freepascal.org/fpcup#Settings (http://wiki.lazarus.freepascal.org/fpcup#Settings)

Bart
Title: Re: fpcup 3.1.1 Update
Post by: stocki on February 02, 2015, 09:22:56 pm
Helps.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on February 13, 2015, 08:08:34 am
Hello to all,

In the past, I have worked together with the late Reinier.
I helped him to get fpcup working on ARM (hardfloat).

I have tried to update fpcup to work again on Windows and on ARM devices like the RPi2.

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup (https://github.com/LongDirtyAnimAlf/Reiniero-fpcup)

Binaries are included in the lib directory !

Feedback welcome as usual.

Greetings, Alfred.
Title: Re: fpcup 3.1.1 Update
Post by: Mike.Cornflake on February 18, 2015, 08:31:15 am
I have tried to update fpcup to work again on Windows and on ARM devices like the RPi2.

I haven't tried your updated code, but for keeping BigChimps work active, you have my thanks and appreciation.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on April 09, 2015, 07:15:01 pm
Hello to all,

Again some updates to keep fpcup in sync with all changes.

And some improvements in cross-compilers and cleanups.

Keep the BigChimp spirit high !!

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup

Alf.
Title: Re: fpcup 3.1.1 Update
Post by: dietmar on April 09, 2015, 09:16:29 pm
Hi,

that's good news...
I try to install default Lazarus, but with FPC 3.0 instead of 2.6.4 - and I am failing epicly, struggling with the configuration. fpcup just seems to ignore it or does simply nothing.

Do you have a sample configuration?

Thx,
Dietmar
Title: Re: fpcup 3.1.1 Update
Post by: Fred vS on April 09, 2015, 11:06:50 pm
@ DonAlfredo => Many thanks, good vibrations.
 
Fre;D
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on April 09, 2015, 11:36:50 pm
@Dietmar

Is your system Win7 / 64 bit ?

The below should work on all windows systems !

For fpc 3.0:
Code: [Select]
fpcup.exe --fpcURL="3.0" --lazURL="trunk"
For fpc latest:
Code: [Select]
fpcup.exe --fpcURL="trunk" --lazURL="trunk"
Same is valid for Lazarus !
Title: Re: fpcup 3.1.1 Update
Post by: dietmar on April 10, 2015, 12:26:25 am
Many thx!

Now it definitely seems that I have a broken SVN configuration (Win7 64Bit) since I tried a similar approach.
Ok, will have to dig further on, but I think I will get it.

Dietmar
Title: Re: fpcup 3.1.1 Update
Post by: JuhaManninen on April 10, 2015, 07:59:08 am
For fpc latest:
Code: [Select]
fpcup.exe --fpcURL="trunk" --lazURL="trunk"

Maybe a stupid question but how to get FPC trunk without Lazarus?
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on April 10, 2015, 08:13:18 am
There are no stupid questions .... only stupid answers !

Code: [Select]
fpcup.exe --fpcURL="trunk" --only="FPCcleanonly,FPCgetonly,FPCbuildonly"
To be more precise. I use this sequence very often:
Code: [Select]
fpcup.exe --fpcURL="trunk" --only="FPCcleanonly,FPCbuildonly" --keeplocalchangesafter I have patched the fpc source.
Title: Re: fpcup 3.1.1 Update
Post by: parcel on April 10, 2015, 10:55:03 am
with win32 SEH support,

Code: [Select]
fpcup --fpcurl=trunk --keeplocalchanges --fpcopt="-dtest_win32_seh"

fpc, fpc crosswin32-64 only
it sometimes useful.

Code: [Select]
fpcup --fpcurl=trunk --keeplocalchanges --fpcopt="-dtest_win32_seh --only=fpc,fpccrosswin32-64"

Title: Re: fpcup 3.1.1 Update
Post by: JuhaManninen on April 10, 2015, 12:43:31 pm
Code: [Select]
fpcup.exe --fpcURL="trunk" --only="FPCcleanonly,FPCgetonly,FPCbuildonly"

I used this one and it works well. Thanks!
I will try the other variations some other time.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on April 13, 2015, 04:43:48 pm
Change in default settings of fpcup.

The setting "reapplylocalchanges" now defaults to true !!
This means that changes in the original source will be saved as a diff (as has always been the case).
And re-applied on the updated source after a SVN update of fpc / lazarus.

This allows for very easy propagation of source changes through normal fpc / lazarus updates.
Title: Re: fpcup 3.1.1 Update
Post by: avra on April 19, 2015, 10:52:32 am
I will try the other variations some other time.
You can try 2 attached variations (actually BAT files using configurations from INI):
TrunkLaz is Lazarus trunk + FPC stable version with fixes (currently 2.6.5)
TrunkAll is Lazarus trunk + FPC trunk
Both contain maximal number of packages I could make work.

Time is the limit now, but I do wonder what amount of work is required to add some favorite package to fpcup...
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on April 19, 2015, 01:45:19 pm
What are your (main) favorites ?
Title: Re: fpcup 3.1.1 Update
Post by: avra on April 22, 2015, 02:23:36 pm
What are your (main) favorites ?
This is what I have to reinstall with every fpcup combination I use:
Cindy, Indy, KControls, LuiPack, OpenWire, PascalSCADA, RichMemo, OmniXML, VirtualTreeView and Visual Synapse.
Believe it or not, they all exist in Typhon (some were added after my request) and besides embedded form designer and easy cross platform that's the only reason why that is my main Lazarus incarnation. Without looking into code first, I am not aware how hard would be to add these modules to fpcup. Ideally there would be a fpcup subdirectory where fpcup would look for recipes with modules, and we would be able to create such recipes as simple ASCII, JSON, XML or other similar files. Recipes would contain module source (lib/package directory, or git/svn url), with some additional instructions needed for fpcup, and could be easily shared with other interested users. If I catch time (huh)  :(, I would like to make some fpcup modules. Since this is not an ideal world, development is the only way.

Speaking of Typhon, there are many packages which are screaming for use with fpcup. I have looked through all of them, and here are the lists of what can already be found online (SVN/GIT), and what can be found only in Typhon download file:

Available online (SVN or GIT):
Abbrevia, Asphyre Sphinx, CmdLine, DataPort, Eye Candy Controls, fpCEF3, GeckoPort, Indy, jujiboutils, KControls, LazSolutions, LazWebSolutions, LockBox2, LuiPack, OnGuard, OmniXML, Orpheus, Pappe, PascalSCADA, PowerPDF, RichMemo, RichView, SpkToolbar, SplashAbout, VirtualTreeView, VisualPlanIt, Web Service Toolkit, ueControls, ZenGL, zmSQL

Typhon only (\typhon\components in typhon_src.7z, examples in CodeOcean.7z):
Astronomy, Barcodes, Box2D, Cindy, ColorLib, DWscript, ExDesign, ExSystem, ExText, FzControls, GaiaGIS, GeoGIS, Graphics32, JVCL, OpenWire, Orca, Shapes, VisualSynapse
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on April 22, 2015, 03:57:22 pm
Wow ... you know what to ask for ... ! That is a BIG list !!!

Few things to remember:
1) fpcup is primarily made for easy install of FPC and Lazarus.
2) fpcup will not implement functionality that is already available is some way or another.

Having said this, I will explain my preferences (but by no means ment as limitations).

Fpcup is command line. A single executable with 2 setup files. Package selection has to be done according to the currrent method. This means packages have to be available for direct use by FPC and/or Lazarus. No changes to source. So install from SVN or GIT. With an optional patch (directory) for the source if needed. These patches could eventually be used by the package developers (or even be made available by them e.g. in case of changes to FPC / Lazarus trunk).

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.

So lets get started !

I will have a go on your first list of packages. Start with Cindy. And further.
This is how I will proceed. But please feel free to add / change / cooperate. Input is always welcome and appreciated.

But please be hesitant on forking fpcup.
It would be good (better) to have only a single version, with a lot of build-in features, that will fulfill (nearly) all our needs.
Title: Re: fpcup 3.1.1 Update
Post by: avra on April 23, 2015, 12:43:47 pm
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.

Quote
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?

Quote
I will have a go on your first list of packages. Start with Cindy. And further.
This is how I will proceed. But please feel free to add / change / cooperate. Input is always welcome and appreciated.
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...

Anyway, thanks for showing such a good will!

Btw. Is it possible now to create a module that would install package not from SVN/GIT but from existing folder, or to unpack 7z file and install from one of it's folders?
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on April 27, 2015, 10:35:08 am
Added some more modules to fpcup !

Indy.
BGRA.
Eye Candy Controls.
Virtual Treeview.

Testing and reports are very welcome !
Title: Re: fpcup 3.1.1 Update
Post by: totya on May 04, 2015, 07:18:00 pm
Hi!

My simple question, I use "default" parameter (your suggest it about half hour ago), but I need few svn file, becaue these are bug-free versions. This is possible?
What I mean:
pascal sources download...
then... download and override files from "custom_freepascal.txt".
then compile... :)

contains of the custom_freepascal.txt for me, for example:

svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/fcl-db/src/sqlite/

or

http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/fcl-db/src/sqlite/sqlite3ds.pas
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/fcl-db/src/sqlite/customsqliteds.pas

see: http://forum.lazarus.freepascal.org/index.php/topic,28203.msg175909.html#msg175909 (http://forum.lazarus.freepascal.org/index.php/topic,28203.msg175909.html#msg175909)

Thanks!
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on May 04, 2015, 07:30:13 pm
I changed the settings of the scripts to default !

What you ask for is not possible with fpcup.
Fpcup downloads from a single fpc svn source.
The choices are limited to what is available online:
http://svn.freepascal.org/svn/fpc (http://svn.freepascal.org/svn/fpc)

However, you can do:
Code: [Select]
fpcup --fpcURL="trunk" --lazURL="default"
Not exactly what you want, but a good workaround.

Another trick you could use: install default, and overwrite directory "packages/fcl-db/src/sqlite/" with trunk.
Then, run fpcup again. Changes will be stored (in diff) and reapplied after svn update.
Title: Re: fpcup 3.1.1 Update
Post by: totya on May 04, 2015, 07:34:36 pm
What you ask for is not possible with fpcup.

Okay, now is impossible, but I think this is a very simple and important quest :)
After sources files download, this app download files from the custom file (line by line), then compile...

Thanks for the info!
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on May 04, 2015, 07:45:56 pm
Then I did not explain good enought !

Fpcup downloads fpc as a local svn repository.
Inside the fpc directory, there is a (hidden) .svn directory.
All files are stored within this directory (some sort of database).
Local changes can be tracked with the appropriate tools (e.g. TortoiseSVN)

Every time fpcup is run, it runs a svn client to update the local fpc sources.
The whole fpc directory is a single local svn repository.
A mirror of an online fpc repository. This is how svn works.
Fpcup does not download fpc as a flat file or directory structure or zip.

So, in this case: computer (svn) says no !

However, I will think of a feature to define extra downloads from a separate source by the use of a module. The same way as other packages are defined inside fpcup.ini.

I will keep you informed.
Title: Re: fpcup 3.1.1 Update
Post by: avra on May 04, 2015, 10:55:39 pm
pascal sources download...
then... download and override files from "custom_freepascal.txt".
then compile...
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.
Another way would be to study FPCUP sources and implement needed functionality in code. SvnURL, GitURL and HgURL downloads are already implemented to be used in modules. FileURL and FileListURL downloads are not yet implemented in modules, but everything needed is already there so it shouldn't be too hard to extend modules with such functionality.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on May 05, 2015, 09:19:11 am
There are already two extra (module) options:
*) ArchiveURL for downloading and unpacking remote zipped-files
*) ArchivePATH for unpacking local zipped-files

Problem: these commands can not (yet) be used for patching source files.

However, for the described problem, the method is quite simple.

Install vanilla fpc / laz by issuing
Code: [Select]
fpcup --fpcURL="default" --lazURL="default"
Copy over the changed files from
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/fcl-db/src/sqlite/sqlite3ds.pas (http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/fcl-db/src/sqlite/sqlite3ds.pas)
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/fcl-db/src/sqlite/customsqliteds.pas
 (http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/packages/fcl-db/src/sqlite/customsqliteds.pas)

Then, run fpcup again
Code: [Select]
fpcup --fpcURL="default" --keeplocalchanges="false" --reapplylocalchanges="true" --only="fpc,fpccrosswin32-64"
And all is done !!
You can run the above command 100 times a day.
The local changes will propagate by diff and patch !!
The fpc diff will be stored inside the fpc directory.
Title: Re: fpcup 3.1.1 Update
Post by: totya on May 05, 2015, 06:51:46 pm
Hi!

Thanks for your job, but doesn't work this method.

I overwrite old source files from svn.

After rebuild sample project, I get component error again, and I see, the recompiled files times doesn't changed... ex.: sqlite3ds.o sqlite3ds.ppu. This is mean, the new source files doesn't compiled really.

See attached log file.

fpcup.exe is latest from svn (rev 24).

Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on May 05, 2015, 07:22:43 pm
Strange. No fpcup errors in your log. The logfile shows clearly:
Quote
[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.

So, fpcup (svn) detects changed files. And reapplies the changes. All ok so far.
The two files have been changed back to trunk.
You should be able to check this.

Remaining problem: why are the original .o and .ppu still floating around.

I think it is, because fpcup detects no changes in fpc revision.
And therefor thinks no new compilation is needed.

This would mean that I have to add a new --force parameter, to force fpc to recompile !
I will have a look at it !!
Title: Re: fpcup 3.1.1 Update
Post by: totya on May 05, 2015, 08:00:12 pm
Code: [Select]
fpcup --force --fpcURL="default" --keeplocalchanges="false" --reapplylocalchanges="true" --only="fpc,fpccrosswin32-64"

fcpup doesn't accept this parameter...
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on May 05, 2015, 08:24:15 pm
Quote
This would mean that I have to add a new --force parameter
new = it is not yet there  ;)

I cannot reproduce your problem ! At my systems, recompiling works 100%. Also one same fpc revisions.

I did have a close look at your log. Look at the times !
Quote
[2015-05-05 18:26:17.286 Info] 2015.05.05. 18:26:17: fpcup fpcup001 (20150210) started.
[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.
Title: Re: fpcup 3.1.1 Update
Post by: totya on May 05, 2015, 08:27:58 pm
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.

Yes, compile from old source... okay, your solution doesn't work, but thanks your job!
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on May 05, 2015, 08:38:15 pm
What patch binary do you have on your pc ?
This could be the problem.
Patch needs a manifest to elevate itself.
Title: Re: fpcup 3.1.1 Update
Post by: avra on May 06, 2015, 12:38:04 am
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...

Everything works again with latest fpcup. Tested in Win7 32bit VM. Lazpaint module does not hang the whole process any more and is properly built. SVN client download url is correct now and SvnURL modules work again even on a machine without any SVN client preinstalled. GitURL and HgURL work when proper clients are preinstalled (tested with TortoiseGit and TortoiseHg). GitURL will not work if during GIT for Windows installation default "Use Git from Git Bash only" is selected. Selecting "Use Git from the Windows Command Prompt" worked for me. This is info that does not exist in any fpcup documentation I could read so it should probably end up in a wiki page.

Mormot is default module in fpcup. I think it should not be default. Just let the user use it if he wants. That way if it goes wrong, fpcup with default settings will still be able to finish it's job.

Bgra now compiles without manually commenting the problematic line (trunk seams to be corrected), but anchordocking seams to have a problem in laz trunk (I think, since it works with laz 1.4). It compiles well but has a serious layout save/restore bug which completely kills usability. It is not a fpcup problem but it is worth mentioning for current users.

Again, attached BAT file TrunkAll downloads trunk fpc and trunk laz, while TrunkLaz BAT file downloads stable fpc (2.6.fixes) and trunk laz (with all modules). There is nothing windows specific in BAT files so they should be cross compatible. Of course, attached FPCUP.INI and MYSETTINGS.INI should be put into FPCUP.EXE directory. I have modified them and corrected errors where needed, so using them now allows downloading correctly all modules (anchordocking, bgracontrols, brookframework, codelibrarian, dcpcrypt, default, doceditor, ecc, fblib, fpcdocs, fpcup, fpspreadsheet, glscene, greyhound, helpfpc, helplazarus, indy, kzdesktop, lazarus_ccr, lazbuild, lazdatadesktop, lazpackager, lazpaint, lazres, leptonica, lhelp, ljgridutils, lnet, mormot, mupdf, nxpascal, OCRivist, pascalsane, patchwrangler, rx, simplegraph, suggestedpackages, synapsetrunk, tesseract, tiopf, USERIDE, vampyre, vtv and zeos). I have not yet tested installerlazwin module. I have extended lazarus_ccr module so now it downloads complete repo and installs these additional components: cmdbox, lazcolorpalette, fpspreadsheet, fpspreadsheet_visual, fpspreadsheetexport_visual, gradcontrols, jujiboutils, JvCoreLaz, JvNavigationPaneLaz, JvXPBarLaz, kcontrolslaz, lazbarcodes, longtimerpackage, tponguard, playwavepackage, poweredby, pack_powerpdf, richmemopackage, lazrichview, scrolltext, spktoolbarpackage, tdi, lazparadox, tvplanit, virtualtreeview_package, and zvdatetimectrls. Other packages are listed but commented for various reasons. More info about it can be read inside FPCUP.INI. I have corrected GitURL paths for these modules: brook, tiopf, lazpackager, ljgridutils, greyhound, lazmupdf, fblib and mormot. It works now for me, so check if it works for you. I have also corrected modules 18, 19, 22, 39, 40 and 41. Please take a look and apply if you agree with such changes. With tiopf we need to execute "git checkout tiopf2" from tiopf source dir. You will see my unsuccessful attempt to automate this in FPCUP.INI, so please take a look and see if you have a better idea which would work. So far it needs to be done manually.

My further steps would be to try to add new modules I proposed earlier (again time is the limit), and after that I would try to add CodeTyphon exclusive modules to fpcup. It would not be needed to download the whole 600MB CT archive since I have already found while monitoring CT updater with WireShark that just interesting files can be downloaded from these locations:
http://www.pilotlogic.com/codetyphon/current/src/typhon_src.7z (35MB with all CT components)
http://www.pilotlogic.com/codetyphon/current/src/CodeOcean.7z (optional 125MB with all CT examples)
Then I would have to find a way to unpack them (7zip is still not supported in fpcup), programmatically change pl_* required package references in code as I already do by hand, and install them. Everything automated. I would also make a special module called max that would include all other modules, and user should be able to easily install or update Lazarus with zillion components, libraries and frameworks with just a single fpcup command.

As a general idea, it would be good if we could parameterize module to be installable only on specific operating system and bitness. Something like AllowedOS=win32,lin32,lin64 or similar in FPCUP.INI definition of that module. Does something like that already exist?
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on May 06, 2015, 07:08:59 am
THANK YOU !  :)

Main thing: certainly, the Wiki page has to be updated !!

I have to reply quick ... I am on holiday .. will come back to you in a few days.

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.
(a possibility: combine ini sections :
[lazarus-ccr]
kcontrols=1
...
[TrunkAll]
includesection=lazarus-ccr
ecc=1
...
)

Thanks again for your work.
Title: Re: fpcup 3.1.1 Update
Post by: JuhaManninen on May 06, 2015, 01:21:08 pm
DonAlfredo, do you know about this mail thread ?
  http://lists.freepascal.org/pipermail/fpc-devel/2015-February/035378.html

I think you should inform the FPC developers if you are planning to maintain fpcup also in future. They also have a similar plan but it may take time because they already have enough packages and other duties. For that reason I don't think it would be maintained very well then. They might be happy if somebody else does it.

If you want, you could propose yourself as a maintainer and the GitHub location documented as the "official" place.

The worst case scenario is that FPC developers start to maintain fpcup without knowing about your doings. I don't believe anybody would benefit from that situation given the limited resources.
Title: Re: fpcup 3.1.1 Update
Post by: avra on May 07, 2015, 12:52:10 am
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.

Quote
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 ;-)

Quote
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".

Quote
(a possibility: combine ini sections :
[lazarus-ccr]
kcontrols=1
...
[TrunkAll]
includesection=lazarus-ccr
ecc=1
...
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.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on May 09, 2015, 10:46:21 pm
I have made (most of the requested) changes for fpcup, and some other minor improvements.

Please test. Remarks very welcome as usual !
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on May 09, 2015, 10:51:21 pm
@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.
Title: Re: fpcup 3.1.1 Update
Post by: JuhaManninen on May 12, 2015, 07:08:26 am
@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.

Maybe you misunderstood my meaning. I don't want to stop you from maintaining it, I only want you to communicate your future plans about it.
See the mail thread I linked. There my interpretation was that you want to maintain it but Michael Thompson's interpretation was that you don't want to do it ... And it is still not clear from your last comment.

Please tell your plans preferably in fpc-devel mailing list. You can become the "official" maintainer if you want. Lack of communication can lead to duplicated effort when people don't know about each others' work, and is unfortunate for the users as well.
Title: Re: fpcup 3.1.1 Update
Post by: JZS on May 12, 2015, 10:42:23 am
If by votes, I vote for DonAlfredo, to be the official maintainer of fpcup.

Thank you for keeping it alive, for BigChimp.

Regards,

PS: I already tried the updated fpcup successfully, on Win 8 32bit, runs without issues.
Title: Re: fpcup 3.1.1 Update
Post by: avra on May 14, 2015, 11:15:35 am
Huh, I had many problems with TrunkAll until I found the guilty ones. First, in suggestedpackages I had to comment editormacroscript, datetimectrls and industrial packages, since they were producing errors. Then I had to comment everything related to bgra, then zeos, cm630commons, lazmer and pascalscada since they were doing the same. And each time (even with last successful fpcup session) I got 2 x "ppc386.exe" has stopped working. Windows is checking for a solution to problem" messages. I have seen some other new modules that you have included in latest fpcup but I had no time for testing them. I have also tried "includesection" but it does not seam to work yet. Please let me know if/when you implement it.
I was also surprised that I had to comment modules helpfpc, helplazarus, lazbuild and USERIDE. Otherwise fpcup failed. Am I doing something wrong or something was changed lately?

For pascalscada to work, I will try your idea with one slight modification, and see if that works:
Code: [Select]
...
name=pascalscada
Requires=fpcup
Patch=$(fpcdir)/../extras/fpcup/componentpatches/$(name).diff
...

Having so much trouble, I had an irritating experience of fpcup sessions failing about 20-30 times, and each time because of one different module. Then seing if something can be done or commenting it and repeating the process. Very, very unfriendly, so I gave up a few times and had to spread this testing over several days. Instead of adding new modules as I wanted to, I was spending time on troubleshooting. Therefore I propose a switch that would allow continuing even with non-critical failures, and writing to errors.log a list of all errors. That way we could have much more chances for successful session, and comment all problematic modules in a single try (if we want to bother at all). I would also make this switch default one and ease everyone's experience with fpcup. What do you think? Can you please take a look? I hope that something like that would not be too hard and time consuming to implement.

I have attached workable TrunkAll with changes from above.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on May 14, 2015, 02:57:24 pm
Thanks for your feedback !
I think we would have to change our mindset about fpcup.

Bare fpcup will install fpc (and Lazarus) on all systems without much effort.
So it fulfills its primary goal.

The problem starts with the additional packages and modules:
versions (like trunk / stable)
os-systems (Win, OSX, ..)
cpu (arm, i386, ...)

Every external package has its limitations.

E.g. the problems you encounter with TrunkAll did not happen on my system. In fact, TrunkAll gave me a CodeTyphon like install with very many working packages on both Windows and OSX. Working 100%.

So, we have do the tedious job to work through the list of modules on all systems !
A lot of work.

My method at this moment:
perform a bare (no extra modules) install with fpcup : fpcup
install a needed module with fpcup : fpcup --only="indy"
install another needed module with fpcup : fpcup --only="bgracontrols"
install another needed module with fpcup : fpcup --only="ecc"
and so on .....
....
Title: Re: fpcup 3.1.1 Update
Post by: avra on May 14, 2015, 05:21:44 pm
Here is one example:

fpcup.exe --verbose
finishes with success and creates shortcuts

fpcup.exe --only=pascalscada --verbose
error, log attached

This was all called from empty dir with just latest fpcup.exe.

Then I have tried this change in fpcup.ini:
Code: [Select]
...
name=pascalscada
Requires=fpcup
Patch=$(fpcdir)/../extras/fpcup/componentpatches/$(name).diff
...
but pascalscada could still not be installed.

Then I have tried to install lpk files manually, but couldn't since pscada_constants file was missing. So I think it was a broken repo and not fpcup...

update:
fpcup.exe --only=zeos --verbose
was just checked and it fails too, probably also repo problem...
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on May 18, 2015, 02:10:54 pm
This package-patch-feature of fpcup is still to be implemented.
The lines are there to remember me to do the implementation.

The patches themselves should be fully functional.
However, naturally, they are prone to being outdated, while the package maintainers are changing their sources without me knowing it.

But I hope that these patches will be picked up and, when reviewed and ok, incorporated into the original source.
Title: Re: fpcup 3.1.1 Update
Post by: taazz on June 05, 2015, 10:06:04 pm
My small contribution to the cause, nothing much just a couple of icons for the app. I hope the idea will be accepted.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on June 06, 2015, 07:44:39 am
Added !
Thanks for remembering ...
Title: Re: fpcup 3.1.1 Update
Post by: avra on June 27, 2015, 08:41:24 pm
After some effort I have made ct2laz, a utility which could be used with fpcup to download, convert and install tons of CodeTyphon component packages to make "fat" Lazarus. It can also be used to convert between CodeTyphon and Lazarus projects.
http://forum.lazarus.freepascal.org/index.php/topic,28897.0.html
This was the first step, and right now fpcup and ct2laz can be used manually. When I catch time again I will try to integrate ct2laz more into fpcup, so the whole process can be automated.
Title: Re: fpcup 3.1.1 Update
Post by: Arvur on August 21, 2015, 11:07:12 am
Ah! It's great to see that somebody is moving this project forward! DonAlfredo you are the best!!  :D
I was helping Reinier with Mac OS a year ago and it was frustrating to see the project down.

Please could you make some cleanup to your repository? Just to make it somewhat better  ;)

You've squashed all original commits into one "Initial commit". There's no way to track old changes in it.
Here is bitbucket history converted to github repo: https://github.com/Arvur/fpcup
I've done that after Reinier has gone but had no time for it after that.

And please do not store binaries in repo as they are not replaced with updates. All binary revisions are stored in history.
One does not need that extra 100Mb when going to clone repo with sources.
You can use github Tags/Releases feature to publish builds. See example here: https://github.com/Arvur/fpcup/releases

Sorry to bother you but these changes are really needed!
Thanks a lot once more for your work!!  :)

P.S. There is no need to recreate your repo. If you are not familiar with git - write me please and I'll help you to replace initial commit with Reiniero's history and clean out binaries from modern commits.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on August 21, 2015, 12:09:08 pm
@Arvur : thanks !

I just came back from a rather long and very nice vacation. With a very severe jetlag.
So, I need some time to get back into business.

There are some issues with fpcup that need to be resolved.
I will start working on some of them next week.

You are very welcome to add the fpcup history into the current repo.
I do not know how, so your help is essential.

I will study your example on how to publish builds.
I am not that familiar with git and github !
Title: Re: fpcup 3.1.1 Update
Post by: Arvur on August 25, 2015, 05:48:44 pm
DonAlfredo, I've created new repo fpcup_new and transferred ownership to you.

All binaries are moved to release section. Old history is attached.
You were using unix line endings and Reinier used dos-style. I had to remove .gitattributes and convert your files to merge it all together.

P.S. I see message "Repository transfer to LongDirtyAnimAlf requested" so I suppose you have to confirm it  ;)
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on August 25, 2015, 06:17:42 pm
Confirmed ! And thanks !!

1 question: how to handle the binaries from now on ?
Title: Re: fpcup 3.1.1 Update
Post by: Arvur on August 25, 2015, 08:26:20 pm
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/

Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on August 28, 2015, 11:50:26 am
Thanks to Arvur, the
https://github.com/LongDirtyAnimAlf/Reiniero-fpcup
repo now contains the whole fpcup history !

Binaries will be added soon.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on September 10, 2015, 05:37:52 pm
New version of FPCUP.

Raspberry Pi support is restored.
Some file paths have been changed to enable (enjoy) out-of-the-box experience of both fpcup and Laz/fpc.

FreeSparta support: fpcup.exe --installdir="c:\freesparta" --lazURL="freesparta" --include=freesparta

New modules : see inside fpcup.ini, the module-list.

Feedback welcome as usual.

Please remember:
Fpcup will not overwrite existing fpcup.ini and setting.ini
So, delete these files, if you want to enjoy the new modules like FreeSparta
Title: Re: fpcup 3.1.1 Update
Post by: shobits1 on September 11, 2015, 07:55:30 am
It keeps failing to download fpc/trunk;
I'm testing with the included `i386-win32\mysettings-fpcup-trunkall-verbose.bat` nothing changed.
this is the console output where it fails.
Code: [Select]
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.
any help.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on September 11, 2015, 08:41:01 am
From the log, it shows a SVN error.

To debug this, please run SVN from hand or from a GUI and try to download the fpc sources.
E.g.:
Code: [Select]
svn "checkout" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "http://svn.freepascal.org/svn/fpc/trunk/" "C:\Prg\Lazarus\TrunkAll\fpc"
Title: Re: fpcup 3.1.1 Update
Post by: shobits1 on September 11, 2015, 09:01:38 am
execuitng the svn command directly run with no problem;
Code: [Select]
"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"and it is downloading fpc now.
Checked out revision 31583. successfully
Title: Re: fpcup 3.1.1 Update
Post by: shobits1 on September 11, 2015, 10:52:43 pm
well, I was on the same trail and the problem seem to be the svn --version command which return error even when executed from cmd
look
Code: [Select]
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

BTW, the last executable didn't solve the problem.
Title: Re: fpcup 3.1.1 Update
Post by: shobits1 on September 11, 2015, 11:19:56 pm
Ok now it is officially the svn binary that fpcup downloading is the root of the problem, it lack the command --version which cause fpcup to exit with error.

I have downloaded the svn command line from https://www.visualsvn.com/files/Apache-Subversion-1.9.1.zip (https://www.visualsvn.com/files/Apache-Subversion-1.9.1.zip) and extracted it on "C:\Prg\Lazarus\TrunkAll\fpcbootstrap\svn\svn-win32-1.8.13\" overwriting all files, then executed fpcup with no error; even the first fpcup (from the afternon) worked fine (at least it started downloading fpc source).

so, I think you should change from where you download svn binary for windows.
Title: Re: fpcup 3.1.1 Update
Post by: wp on September 11, 2015, 11:56:41 pm
Another option: If you have tortoisesvn in your system then you can use their svn by adding a line like

svnexe="c:\program files\TortoiseSVN\bin\svn.exe"

to the ini file. This has the advantage that windows explorer identifies modified files by meas of a red overlay icon.
Title: Re: fpcup 3.1.1 Update
Post by: otoien on September 12, 2015, 12:15:14 am
To which section of the the inifile is this to be added?

Also, are we talking about fpcup.ini or settings.ini?


Title: Re: fpcup 3.1.1 Update
Post by: shobits1 on September 12, 2015, 12:19:54 am
wp, nice suggestion; but the problem here is the broken win32svn executable and need to be replaced by binaries from visualsvn which is trivial. as for tortoisesvn and since I'm not involved in heavy/big projects -I hardly uses svn- I don't like installing tortoisesvn.
Title: Re: fpcup 3.1.1 Update
Post by: wp on September 12, 2015, 12:25:42 am
To which section of the the inifile is this to be added?

Also, are we talking about fpcup.ini or settings.ini?
I added it to the section of settings.ini which is called in the commandline, but I guess it should work also in "[general]".
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on September 12, 2015, 09:14:44 am
Ok. Updated fpcup.

I have changed the SVN client !
SVN from https://www.visualsvn.com/files/Apache-Subversion-1.9.1.zip

Also added (dynamic) OpenSSL support to enable download from https.

I hope this solves this very unique problem.

I will remove some of my previous messages that only clutter this thread.
Title: Re: fpcup 3.1.1 Update
Post by: shobits1 on September 12, 2015, 01:06:44 pm
thanks DonAlfredo for your patience and help; now it is working.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on September 12, 2015, 05:55:26 pm
You're welcome !

New version again.

Previously, a GIT client was needed to get packages from GitHub.
Now, plain archives are downloaded and installed.

Also made some minor package changes.
E.g Indy is still downloaded (in extras), but not installed anymore.

The mysettings-fpcup-trunkall.bat gives now a very extensive Lazarus, including the LAMW ... run your app on ARM !!!

Again, feedback welcome ...

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup
Title: Re: fpcup 3.1.1 Update
Post by: Thaddy on September 13, 2015, 12:01:17 pm
You're welcome !
E.g Indy is still downloaded (in extras), but not installed anymore.

It would be welcome if Indy is not used at all in fpcup or anywhere else. There are several major issues regarding indy based traffic is blocking or/and hampering anything else. It seems it wants to own your connection to the Internet (hint: it uses exceptions where there aren't any). And it is badly written code anyway. (sigh, again, but demonstrably true).
Title: Re: fpcup 3.1.1 Update
Post by: bobo on September 22, 2015, 10:58:36 am
The "fpcupgui" project "mainform" unit should contain the "installeruniversal" unit in the uses section so we do not get an error about "SETTTINGSFILENAME" and a bunch of other missing values.

Also, the project options should contain the "synaser" unit directory so the compiler does not miss those files and gives errors (project options -> other unit files -> "synaser").
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 01, 2015, 07:48:46 pm
@bobo
Done !
Thank you !!
Title: Re: fpcup 3.1.1 Update
Post by: elidorio on October 27, 2015, 11:08:17 am
I updated my FPCEUP yesterday and are upgrading to version 1.4 and not 1.5.
how to fix this problem?
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 27, 2015, 11:21:53 am
The default is latest stable. See fpcup.ini for default values for [ALIASfpcURL] and [ALIASlazURL].

If you want Lazarus 1.5, just do:
fpcup --lazURL="1.5"
or
fpcup --lazURL="trunk"
Title: Re: fpcup 3.1.1 Update
Post by: elidorio on October 28, 2015, 12:38:41 am

Hello,

I'm with a doubt!
Which line change to use Lazarus 1.5

[ALIASlazURL]
default=http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_4_4
trunk=http://svn.freepascal.org/svn/lazarus/trunk
1.5=http://svn.freepascal.org/svn/lazarus/trunk
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 28, 2015, 06:26:06 am
No need to change any lines ! Just run:
Code: [Select]
fpcup --lazURL="1.5"
But if you definitely want to change the default behavior of fpcup, you can do this:
default=http://svn.freepascal.org/svn/lazarus/trunk

Remember: 1.5 = trunk = 1.5
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on November 26, 2015, 11:09:22 am
FPC 3.0.0 "Pestering Peacock" is out.
Fpcup will now default to fpc 3.0.0 and Lazarus 1.4.4 !!

Enjoy.

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup
Title: Re: fpcup 3.1.1 Update
Post by: elidorio on December 26, 2015, 01:10:07 pm
download  the latest version of fpcup git, this version supports the following command:
fpcup --lazURL = "1.5"
Title: Re: fpcup 3.1.1 Update
Post by: elidorio on December 26, 2015, 01:56:56 pm
Every version I downloaded from the fpcup make.exe is not in the correct directory, as attached image.
Title: Re: fpcup 3.1.1 Update
Post by: coliv_aja on January 16, 2016, 11:07:59 am
It also seems to remove all my local settings, every time I run fpcup, I have to setup my Lazarus again. Most notably is window position, anchor-docking, installed package. And sometimes I got "Configure Lazarus IDE" dialog with missing compiler/fpc path.

Edit:
I don't know if it's AnchorDocking, EditorToolbar bugs. But my setup often lose. Docking randomly miss placed, editor toolbar is empty. Not even reset to default, but it seems the config was broken.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on January 18, 2016, 12:04:28 pm
New version of fpc(laz)up !

If needed, builds a fpc 3.0.0 intermediate compiler for trunk.

@coliv_aja
Please run fpc(laz)up with the switch --getfullrepo
It will make an full svn repo of fpc (and Lazarus)
And only update if needed when running again.
So, would save your settings.
Title: Re: fpcup 3.1.1 Update
Post by: rtusrghsdfhsfdhsdfhsfdhs on February 26, 2016, 10:52:19 am
Hmm it fails...

Quote
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.
Title: Re: fpcup 3.1.1 Update
Post by: JuhaManninen on February 26, 2016, 11:06:03 am
The solution is right there in your output:

Code: [Select]
PS: You can build Lazarus trunk with normal FPC stable !! <-----
    Just execute fpclazup --lazURL="trunk"                <-----
Title: Re: fpcup 3.1.1 Update
Post by: rtusrghsdfhsfdhsdfhsfdhs on February 26, 2016, 11:08:38 am
I need FPC trunk ;)
Title: Re: fpcup 3.1.1 Update
Post by: JuhaManninen on February 26, 2016, 11:50:51 am
I need FPC trunk ;)

Ok, bad luck then.
In reality people don't usually need trunk versions of both FPC and Lazarus, but install them just for fun or from old habit.
If you are interested in Lazarus trunk features, you can use FPC 3.0.  If you are interested in FPC trunk, you can edit your programs with Lazarus 1.6.
Title: Re: fpcup 3.1.1 Update
Post by: elidorio on February 27, 2016, 12:28:02 pm
Hello,
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
Title: Re: fpcup 3.1.1 Update
Post by: Thaddy on February 27, 2016, 01:19:51 pm
I need FPC trunk ;)

You don't really get that one goes before the other and that it is impossible for the two to be developed using parallel trunks.
I mean: FPC trunk develops what eventually lazarus can use, but is not guaranteed to be stable.
Lazarus development needs a stable release of FPC to be able to develop in any meaningful way.
FPC trunk developments (language changes, even breaking languages changes) would frustrate the development of Lazarus and will definitely lead to work having done over and over again.
This is not the first time you showed you have no clue about compiler development, although sometimes you make good contributions that make you think.

But if you are not even capable of getting it to work yourself? Why bother? Using trunk in any development environment brings risks, not just in the freepascal/lazarus world. It always works like I described even at Delphi's labs internally or even with any self hosting IDE for a given compiler suite.

Stop acting childish and look stupid.

That said: experimentally you CAN get it to work... sometimes...
Title: Re: fpcup 3.1.1 Update
Post by: rtusrghsdfhsfdhsdfhsfdhs on February 27, 2016, 03:38:16 pm
I cannot compile even the current branch. I think there is a bug in the fpclazup.
Title: Re: fpcup 3.1.1 Update
Post by: Thaddy on February 27, 2016, 04:07:10 pm
I cannot compile even the current branch. I think there is a bug in the fpclazup.

That's your problem. You should be able to build laz trunk and fpc trunk by hand.
fpclazup may very well lack behind on trunk versions for both Lazarus and FPC.
Although a recent fpclazup builds the proper 3.0.0 bootstrap compiler and should be able to do the job.

Still: I build by hand and I have a Laz trunk and fpc trunk from today.....
Time to get your hands dirty ;)
Title: Re: fpcup 3.1.1 Update
Post by: JuhaManninen on February 28, 2016, 09:56:19 am
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

You don't need fpcup to get Lazarus trunk. It has been my message already earlier. Changes were made for fpcup to avoid "accidentally" getting trunk versions of both FPC and Lazarus. Some new users considered it a normal thing to do, while it is only suitable for experienced users.

You can get Lazarus trunk with a single "svn checkout" command, or the same thing using TortoiseSVN, and then running "make".
See:
  http://wiki.freepascal.org/Getting_Lazarus#Getting_Lazarus_SVN_development_version
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on February 29, 2016, 02:42:40 pm
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.
Title: Re: fpcup 3.1.1 Update
Post by: rtusrghsdfhsfdhsdfhsfdhs on February 29, 2016, 05:11:08 pm
I don't get why it says fpclazup: info: Found bootstrap compiler version 2.6.4

Quote
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:\>
Title: Re: fpcup 3.1.1 Update
Post by: rtusrghsdfhsfdhsdfhsfdhs on February 29, 2016, 05:12:27 pm
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.

Windows 8.1 x64
Sometimes it work sometimes not!
Title: Re: fpcup 3.1.1 Update
Post by: avra on February 29, 2016, 05:48:53 pm
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?
Title: Re: fpcup 3.1.1 Update
Post by: rtusrghsdfhsfdhsdfhsfdhs on February 29, 2016, 06:01:30 pm
No I just use this command no other packages.

Code: Pascal  [Select][+][-]
  1. fpclazup.exe --fpcURL="trunk" --lazURL="trunk" --installdir="c:\development" --getfullrepo --fpcPATCH="fpcrtti.patch"
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on March 01, 2016, 10:54:14 am
I am sorry, but I cannot reproduce the error you encounter with fpclazup.
I have just run your sequence, three times in a row, on an identical system as yours, without any problems.

Concerning this : "fpclazup: info: Found bootstrap compiler version 2.6.4"

Fpc(laz)up only uses the official bootstrap compilers.
The compiler is downloaded, and found by fpc(laz)up.
A version check is performed.
A decision is made on how to proceed:
* trunk or armhf : build (intermediate) 3.0.0 compiler and use it to build trunk.
* anything else : use available bootstrap.
Title: Re: fpcup 3.1.1 Update
Post by: rtusrghsdfhsfdhsdfhsfdhs on March 01, 2016, 12:43:47 pm
More detailed log. I think it's the antivirus. I've disabled but still no luck.
Previous versions worked fine. fpcup.exe but this new thing is totally weird.

Quote
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.

Quote
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.
Title: Re: fpcup 3.1.1 Update
Post by: elidorio on March 17, 2016, 03:37:46 am
Whats wrong?

fpclazup --fpcURL="trunk" --lazURL="trunk"

fpclazup last version


[2016-03-16 23:27:15.349 Info] Error running fpcup. Technical details: error executing sequence fpc; line: 2, param: FPC
 [2016-03-16 23:27:15.585 Info] Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 3,

My scenario: Windows 7 32bi and Windows XP 32.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on March 17, 2016, 07:28:23 am
Well, your log tells all:
[2016-03-16 23:27:14.865 Info] ERROR downloading SVN client from https://www.visualsvn.com/files/Apache-Subversion-1.9.1.zip

So, now to find out why this fails.
First try to run the above command in your browser and check if the browser will download SVN.
Title: Re: fpcup 3.1.1 Update
Post by: elidorio on March 17, 2016, 04:47:54 pm
The browser downloaded Normal
Title: Re: fpcup 3.1.1 Update
Post by: criageek on March 23, 2016, 12:08:36 am
Hey DonAlfredo - Over on the other thread about the Raspberry Pi you asked if I had made ppca64 executable.  I hadn't and that appears to be the solution!  It's still running so I'll report back about the results.  I still wonder why I got the git error though.

Thanks!
Rich
Title: Re: fpcup 3.1.1 Update
Post by: criageek on March 23, 2016, 04:40:41 am
Ok...it looks like the Lazarus installation completed successfully on my Odroid C2, but I don't see any way to run it.  There is nothing in the menu.  According to the documentation on GitHub (https://github.com/LongDirtyAnimAlf/Reiniero-fpcup) there should be a script in my home folder but I don't see anything.  Any ideas?

Thanks,
Rich


EDIT:  It looks like the install actually failed.  At the bottom of fpcup.log it says this:

 [2016-03-22 18:26:34.382 Info] Execute: make. Params: FPC=/home/rich/development/fpc/bin/aarch64-linux/fpc.sh,USESVN2REVISIONINC=0,--directory=/home/rich/development/lazarus,FPCDIR=/home/rich/development/fpc,UPXPROG=echo,COPYTREE=echo,"OPT=-vi-n-h- ",lazbuild
 [2016-03-22 18:32:47.137 Info] Execute: make. Params: FPC=/home/rich/development/fpc/bin/aarch64-linux/fpc.sh,USESVN2REVISIONINC=0,--directory=/home/rich/development/lazarus,FPCDIR=/home/rich/development/fpc,UPXPROG=echo,COPYTREE=echo,"OPT=-vi-n-h- ",all
 [2016-03-22 18:36:57.754 Info] Lazarus: error running make!
Details: exit code 512
 [2016-03-22 18:36:57.964 Info] Error running fpcup. Technical details: error executing sequence lazarus; line: 6, param: lazarus
 [2016-03-22 18:36:58.188 Info] Error running fpcup. Technical details: error executing sequence defaultARM; line: 4, param: lazarus
 [2016-03-22 18:36:58.389 Info] 22-3-16 18:36:58: fpcup finished.

Rich
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on March 23, 2016, 06:51:57 am
The good new is: you have a working aarch64 FPC !

Compilation of Lazarus consumes a huge amount of RAM memory.
I think you need to add some swap space.
It's a recurring problem.

The Raspberry (1,2,3) also needs swap space to compile Lazarus.

On my system (Arch Linux), I have only LXDE running and than it just runs (make all) without swap.
Building USERIDE fails due to memory-constraints.

Adding swap is the easiest solution !
Title: Re: fpcup 3.1.1 Update
Post by: criageek on March 23, 2016, 03:50:15 pm
Ok...I created a 256mb swap file and here is the result:

debugger_language_exceptions_options.pas(206) Error: (9008) Can't call the assembler, error -1 switching to external assembling
debugger_language_exceptions_options.pas(206) Fatal: (10026) There were 2 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /home/rich/development/fpc/bin/aarch64-linux/ppca64 returned an error exitcode
Makefile:4004: recipe for target 'lazarus' failed
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory '/home/rich/development/lazarus/ide'
Makefile:4428: recipe for target 'ide' failed
make[1]: *** [ide] Error 2
make[1]: Leaving directory '/home/rich/development/lazarus/ide'
Makefile:3211: recipe for target 'ide' failed
make: *** [ide] Error 2
make: Leaving directory '/home/rich/development/lazarus'

fpclazup: info: Lazarus: error running make!
Details: exit code 512
fpclazup: info: Error running fpcup. Technical details: error executing sequence lazarus; line: 6, param: lazarus
fpclazup: info: Error running fpcup. Technical details: error executing sequence defaultARM; line: 4, param: lazarus
Fpclazup failed.

Rich
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on March 23, 2016, 03:55:51 pm
You can guess it ...  ;D ... not enough !
Title: Re: fpcup 3.1.1 Update
Post by: criageek on March 23, 2016, 05:48:36 pm
Lazarus is up and running!  Thanks for your help and patience DonAlfredo...I appreciate it!

But now I have another problem...I can't install a package.  When I open the package file, the only button on the package dialog that works is the 'More' button.  When I click any of the others, such as 'Use', the 'More' menu opens.

Any ideas what's going on there?

Thanks,
Rich
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on March 23, 2016, 06:06:06 pm
Congratulations !
Now you have entered the twilight zone ... of bleeding edge FPC and Lazarus !!

Both, but I think especially Lazarus, need work to get things running for 100% on aarch64.
So, you have earned yourself a developer-position.
(you found out already that the toolbars are not working as they should)

First goal: get the debugger working.

Run a most simple project with the debugger.
On my system (Arch Linux 64bit), this does not work yet.
I hope it will on yours.

Reports are welcome in the bug-tracker.
Title: Re: fpcup 3.1.1 Update
Post by: criageek on March 23, 2016, 07:51:08 pm
Oh boy!  lol

I do have a couple of things to report but have never submitted to a bug tracker.  Can you point me in the right direction?

The debugger is working for me.  I can stop at breakpoints and inspect variables.

Rich
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on March 23, 2016, 08:11:41 pm
Just make an account in de bugtracker in menu on the left.
I also filed my first bug just a few weeks ago !

That working debugger is very important.
What distro do you use (where did you download) ?
Title: Re: fpcup 3.1.1 Update
Post by: criageek on March 23, 2016, 08:25:41 pm
Sorry...I meant to post my distro before but forgot.  I'm using Ubuntu Mate 16.04 downloaded from here:

http://odroid.com/dokuwiki/doku.php?id=en:c2_release_linux_ubuntu

Rich
Title: Re: fpcup 3.1.1 Update
Post by: criageek on March 23, 2016, 10:05:10 pm
I reported a couple of issues in the bug tracker, and this is the nasty-gram I received:

"Please don't open more reports about ARM 64bit. Things are badly broken there and it is obvious for anybody who tests it.
Things are different if you can provide patches to fix the broken stuff."

So I guess reports are NOT welcome in the bug tracker...

Rich
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on March 23, 2016, 10:15:11 pm
Well, I filed a bug about aarch64 debugger. And now it seems its my systems failure, because on your C2 it works.
And that is good to know. As it is also good to know that onboth our systems, more things go wrong in de same way.

But this will fill up the bugtracker.

So, lets start another thread. About aarch64. And share our experiences. And debug. And patch. And help fpc and Lazarus. Its rewarding ! Your remarks and help will be appreciated.
Title: Re: fpcup 3.1.1 Update
Post by: criageek on March 24, 2016, 12:39:48 am
OK...I'll watch for a new thread.

Rich
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on March 24, 2016, 06:38:08 am
Here:

http://forum.lazarus.freepascal.org/index.php/topic,32053.msg206246
Title: Re: fpcup 3.1.1 Update
Post by: avra on April 06, 2016, 01:35:32 am
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.

Quote
...
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.
Title: Re: fpcup 3.1.1 Update
Post by: Thaddy on April 06, 2016, 06:05:48 am
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.

I have noticed the same. Instead of quote, though, I would suggest to use the GetShortPathName winapi and a similarly named function that does return the canonical path for other platforms.. That is maybe easier from a cross-platform point of view.

You can file a bug report here: https://github.com/LongDirtyAnimAlf/Reiniero-fpcup
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on April 06, 2016, 10:51:55 am
I just ran
Code: [Select]
fpclazup --installdir="C:\Development3\" --verbose  --getfullrepo --lazurl="sparta"
with
Code: [Select]
C:\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 ?
Title: Re: fpcup 3.1.1 Update
Post by: avra on April 06, 2016, 11:11:23 am
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-fpcup
That 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...
Title: Re: fpcup 3.1.1 Update
Post by: marcov on April 06, 2016, 02:24:08 pm
Code: [Select]
C:\Users\me>where svn
C:\Program Files\TortoiseSVN\bin\svn.exe
C:\Users\me>

If TProcess/runcommand or executeprocess are properly used, there should be no quotes needed. You pass the program as string.

The quote thing is a problem with the commandline property which has been deprecated for years now. (since 2.6.0 or even earlier)
Title: Re: fpcup 3.1.1 Update
Post by: vfclists on July 04, 2016, 05:04:12 pm
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

These are the lines nearest the error:

Code: [Select]
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.

Code: [Select]
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.
Title: Re: fpcup 3.1.1 Update
Post by: vfclists on July 04, 2016, 06:13:50 pm
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


I changed it again to Win64 with these settings - avoiding anything which looks like it might trigger cross compilation, just plain trunk.

Code: [Select]
[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

And it still give the cross compiler error. Is FPCup downloading the correct cross compilers, or is the compiler too bleeding edge for cross compilation to be working?
Code: [Select]
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.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on July 05, 2016, 08:00:20 am
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)

Code: Pascal  [Select][+][-]
  1. fpclazup.exe --installdir="M:\Lazarus\Binaries\MyFpcupTest"

It will also give you the base for cross-compiling.

So, start simple and try to debug.
Title: Re: fpcup 3.1.1 Update
Post by: vfclists on July 05, 2016, 09:03:01 am
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)

Code: Pascal  [Select][+][-]
  1. fpclazup.exe --installdir="M:\Lazarus\Binaries\MyFpcupTest"

It will also give you the base for cross-compiling.

So, start simple and try to debug.

I got it work by building for the same CPU and operating system, by excluding the cputarget, ostarget and lclplatform options.

One more thing the Help | About screen shows FRET_UNKNOWN_REVISION for the Lazarus revision
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on July 05, 2016, 09:39:14 am
Ok.
About FRET_UNKNOWN_REVISION.
Seen it. Will have a look into it !
Title: Re: fpcup 3.1.1 Update
Post by: zbyna on July 12, 2016, 04:50:06 pm
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
Title: Re: fpcup 3.1.1 Update
Post by: vfclists on July 12, 2016, 06:53:15 pm
Ok.
About FRET_UNKNOWN_REVISION.
Seen it. Will have a look into it !

Have you managed to fix the FRET_UNKNOWN_REVISION issue?
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on July 12, 2016, 06:56:36 pm
Looking at it again right now.
Was not able to reproduce.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on July 13, 2016, 09:30:37 am
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

Again, I am not able to reproduce.
Tried all kinds of settings. All showing correct revision.
Do you use the latest fpclazup ?

But I also have seen this error on my system before.
Remains a mistery for me ...
Title: Re: fpcup 3.1.1 Update
Post by: Thaddy on July 13, 2016, 09:44:31 am
See if doing away with the 2.6.2 (really old) starting compiler works...
I can also reproduce this, but intermittantly and not consistently over platforms.
It may be that some platform code is an issue because of 2.6.2 instead of 2.6.4.
AFAIK 2.6.4. is now current on most distributions outside of the FPC community itself, where 3.0 is of course current.

To support your efforts I can put starting compilers on freepascal.thaddy.com on a regular basis. ATM there are little if no downloads there, but my servers are high speed and capable of high volume. Maybe we should discuss such an option. I think it would still be in the spirit of BigChimp. (my servers are up for decades, some since 2000)
Title: Re: fpcup 3.1.1 Update
Post by: rvk on July 13, 2016, 10:37:18 am
About FRET_UNKNOWN_REVISION.

For me, after running fpclazup_linux_x64 it does say:
Code: [Select]
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.
and
Code: [Select]
fpclazup: 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

But afterwards:
Code: [Select]
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 $

So somehow the svn doesn't create a valid working copy for svn (which would result in the FRET_UNKNOWN_REVISION).

This is on Linux Mint 18 Sarah Cinnamon 64-bit with fpclazup_linux_x64:
Lazarus 1.6 rFRET_UNKNOWN_REVISION FPC 3.0.0 x86_64-linux-gtk 2
Title: Re: fpcup 3.1.1 Update
Post by: rvk on July 13, 2016, 11:11:56 am
Ok, I had not given the --getfullrepo option. When using that option the SVN Revision is correct (for me).

If --getfullrepo is not given (or set in settings) there is an "export" done. Otherwise a "checkout" is done.
But svnclient.pas checks with "svn info localdir" what revision is downloaded. That results in an error when "export" is used so you get a FRET_UNKNOWN_REVISION.

Wouldn't it be better for fpclazup to do a "svn info $repourl" so the online version is taken? That would work with checkout as well as export. (or if "checkout" is used you could do "svn info localdir" but for "export" check against the $reprourl)

And if you want to distinguish between "checkout" and "export" use "SVN Revision: 52677M (export)" instead of "SVN Revision: 52677M".
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on July 13, 2016, 11:16:15 am
@Thaddy
I think BigChimp wanted everything from official sources. That's also the reason why there are no bootstrap compilers hosted on fpcup GitHub.
However, we could move forward without loosing his spirit, by offering home made bootstrappers as an extra option.
E.g. --usespecialbootstrap.
These can easily be hosted on GitHub.
But I would value your feedback on this.

@rvk
Thanks !
I will use your feedback to dig deeper !
Will report back.
Title: Re: fpcup 3.1.1 Update
Post by: rvk on July 13, 2016, 11:20:34 am
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

There are a lot in
ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap
and even more in
ftp://ftp.freepascal.org/pub/fpc/dist/2.6.2/bootstrap

What's the reason they were not made for 3.0.0 ?

(is there a difference between for example ppc386.exe in bootstrap and the on in the official complete FPC binary package?)
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on July 13, 2016, 11:26:51 am
This has already been discussed on the FPC mailing list !

http://lists.freepascal.org/pipermail/fpc-devel/2016-June/037172.html
Title: Re: fpcup 3.1.1 Update
Post by: rvk on July 13, 2016, 11:34:40 am
Ok, so even the bootstrap 2.6.2 from ftp://ftp.freepascal.org/pub/fpc/dist/2.6.2/bootstrap/ (which fpcup uses) isn't officially "supported"  ;)

I'll guess I'll keep downloading the 42.8MB package of FPC 3.0.0 to use the compiler (2.8MB) from there  :)
Title: Re: fpcup 3.1.1 Update
Post by: Thaddy on July 13, 2016, 11:40:35 am
Nope.
Let's discuss. < you have my email? >
Title: Re: fpcup 3.1.1 Update
Post by: zbyna on July 13, 2016, 12:54:33 pm
As for FRET_UNKNOWN_REVISION.:
win7 64bit.
problem disappeared with --getfullrepo too
Code: [Select]
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
...
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on July 13, 2016, 01:02:26 pm
Updated fpc(laz)up !
Should now return correct revision in all cases.
I hope ...  :)
Title: Re: fpcup 3.1.1 Update
Post by: Thaddy on July 13, 2016, 01:28:02 pm
I hope the dependencies are also covered again? I hope? Otherwise I will spoil your dinner again!
Going to run some tests... 8) %)
Title: Re: fpcup 3.1.1 Update
Post by: zbyna on July 13, 2016, 02:50:09 pm
Updated fpc(laz)up !
Should now return correct revision in all cases.
I hope ...  :)

Thanks !
Title: Re: fpcup 3.1.1 Update
Post by: rvk on July 14, 2016, 03:09:58 pm
How do you install Lazarus 1.6 with fixes and FPC 3.0.0 with fixes?

(B.T.W. FPCUrl=3.0.2 doesn't exist yet. 3.0.2rc1 does. Luckily "fixes" from branche contains the same fixes)

I tried
fpclazup64.exe --fpcURL=fixes --lazURL=fixes

but got errors.
Is this again due to the wrong bootstrap compiler?
(If so... isn't that going to be a problem with 1.6.2 later on?)

Code: [Select]
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'
Title: Re: fpcup 3.1.1 Update
Post by: WTDdallas on July 14, 2016, 03:21:50 pm
Updated fpc(laz)up !
Should now return correct revision in all cases.
I hope ...  :)

Thanks !

Where do we get fpclazup.exe?
Title: Re: fpcup 3.1.1 Update
Post by: rvk on July 14, 2016, 03:24:57 pm
Where do we get fpclazup.exe?
(I sent you the link in a PM.)

Wiki page: http://wiki.freepascal.org/fpcup
Github page: https://github.com/LongDirtyAnimAlf/Reiniero-fpcup
Bin-directory for fpclazup64.exe: https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/tree/master/bin/x86_64-win64
(assuming you have 64bit OS and want 64bit Lazarus)

fpclazup64.exe --fpcURL=trunk --lazURL=trunk --getfullrepo


As said in an earlier post I wanted to only do the fixes for Laz1.6 and FPC but that doesn't seem to work. The trunk install works correctly.
fpclazup64.exe --fpcURL=fixes --lazURL=fixes (this doesn't work)
Title: Re: fpcup 3.1.1 Update
Post by: zbyna on July 14, 2016, 03:44:36 pm
Updated fpc(laz)up !
Should now return correct revision in all cases.
I hope ...  :)

Thanks !

Where do we get fpclazup.exe?

I am using  files from bin folder, located on project github,  according  cpu & os  I need:
https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/tree/master/bin (https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/tree/master/bin)
Title: Re: fpcup 3.1.1 Update
Post by: rvk on July 14, 2016, 05:15:53 pm

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
Ok, maybe a really daft question of me but where can I find the official FPC 3.0.0 64bit release ?

(the one with only 64bit and a clean ppcx64.exe)

I can find a 3.0.0 package for Linux (which I use to extract FPC3.0.0 compiler). But I can't find it for Windows 64bit. It is included in Lazarus 1.6 64bit but that's a much larger install(-file).

Edit:
Ok, I guess I need to use the cross-compiler then (as was the same with FPC 2.6.4 for x86_64).
http://forum.lazarus.freepascal.org/index.php/topic,29452.msg186131.html#msg186131
(and so should fpclazup because it needs fpc3.0.0 for the fixes/fixes target. Pfffff, it doesn't get easier with that :()
Title: Re: fpcup 3.1.1 Update
Post by: WTDdallas on July 14, 2016, 06:56:38 pm
Download fpclazup64.exe, Ran,  works

Tried to add sparta_dockedformeditor and crashes.  :o

Deleted lazarus.exe and renamed lazarus.old.exe, So I am fine  :D (Didn't know you could do that before).

Any Updates for that package?

Also UTF8 not working?
Title: Re: fpcup 3.1.1 Update
Post by: JuhaManninen on July 14, 2016, 08:13:23 pm
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?

Yes, renaming lazarus.old.exe is fine but you should also copy a working Lazarus executable and give it a distinctive name.
Then you can always start it when things go wrong.
Title: Re: fpcup 3.1.1 Update
Post by: rvk on July 14, 2016, 08:14:09 pm
Tried to add sparta_dockedformeditor and crashes.  :o
I had that too this morning (uninstalled anchor and sparta packages).
It's already reported:
http://bugs.freepascal.org/view.php?id=30377
Title: Re: fpcup 3.1.1 Update
Post by: WTDdallas on July 14, 2016, 11:54:37 pm
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"
Title: Re: fpcup 3.1.1 Update
Post by: rvk on July 15, 2016, 07:58:53 am
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"
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.
Title: Re: fpcup 3.1.1 Update
Post by: hnb on July 15, 2016, 11:56:30 am
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?

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:

Code: Pascal  [Select][+][-]
  1. constructor TDesignFormData.Create(AForm: TCustomForm);
  2. begin
  3.   FForm := AForm as IDesignedForm; // won't work anymore. FForm is an interface
Title: Re: fpcup 3.1.1 Update
Post by: JuhaManninen on July 15, 2016, 12:38:34 pm
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.

I also don't find rcpopupunit in Lazarus sources.
This is probably about the disabled wrapper functions. See:
 http://wiki.freepascal.org/Lazarus_1.8.0_release_notes#Wrappers_for_string_functions_are_disabled
They are already deprecated in Lazarus 1.6.
Just use the righ units and you are good.
Title: Re: fpcup 3.1.1 Update
Post by: hnb on July 15, 2016, 02:44:22 pm
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.

That was long standing Lazarus bug in JITForms (vmtIntfTable slot was equal 0). It was correct before FPC r34087 because was used FPC_EMPTYINTF instead of nil...
Title: Re: fpcup 3.1.1 Update
Post by: WTDdallas on July 15, 2016, 05:44:28 pm
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.

lazarus-ccr-svn-4925-components-rx-trunk The Latest RX Items;  :D

The Lazutf8 is in the Lazutils package but it is not seeing them  :(, More bugs?
Title: Re: fpcup 3.1.1 Update
Post by: rvk on July 15, 2016, 05:55:52 pm
It's already fixed in 4949. So you have a slightly outdated version :)

Quote
Revision: 4949
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
You can download the latest here:
https://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/ (rev.4979 at the time of writing)
(Click the download button right above. Or use a svn client to do a checkout)
Title: Re: fpcup 3.1.1 Update
Post by: WTDdallas on July 18, 2016, 10:26:04 pm
Did the Latest Update and now I can't setup a new menu item, or New Event. old menu items and event get found fine.

It takes me to the LCL Classes File and said unable to find method, OK or Abort.
Title: Re: fpcup 3.1.1 Update
Post by: rvk on July 18, 2016, 10:32:37 pm
Try Tools > Rescan FPC Source Directory
Title: Re: fpcup 3.1.1 Update
Post by: WTDdallas on July 18, 2016, 10:56:20 pm
Try Tools > Rescan FPC Source Directory
Thanks that Worked
Title: Re: fpcup 3.1.1 Update
Post by: tom.chris on August 15, 2016, 08:00:42 am
How to download fpcup? I visit it on Github but there is no releases should i download as Zip or Download only bin directory?
Title: Re: fpcup 3.1.1 Update
Post by: rvk on August 15, 2016, 09:33:30 am
You only need fpcup(.exe) from the correct bin directory for FPC or fpclazup(.exe) for Lazarus & FPC.
Title: Re: fpcup 3.1.1 Update
Post by: Thaddy on August 15, 2016, 12:05:06 pm
How to download fpcup? I visit it on Github but there is no releases should i download as Zip or Download only bin directory?

You need Git installed. Or TortoiseGit.
then git clone the path that you copied from the button in github.
Title: Re: fpcup 3.1.1 Update
Post by: totya on September 22, 2016, 10:38:26 pm
Hi!

I have seen long time ago this update app. Now I tried it, but I saw nothing changed, because I get many crash under compile process, for example:
ppc386.exe
fpc.exe
and so on.

These errors present only if I use x86 version, with x64 version, I don't see crash.
Title: Re: fpcup 3.1.1 Update
Post by: Josh on September 29, 2016, 04:34:16 pm
Trying to download win32 laz using fpcup0 and getting the following.
I have tried numerouse times over the last 8 hrs; deleting the development folder each time.

Any ideas
Code: [Select]

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>
Title: Re: fpcup 3.1.1 Update
Post by: Thaddy on September 29, 2016, 05:14:15 pm
You probably have a really old version of fpcup.
Use the one here: https://github.com/LongDirtyAnimAlf/Reiniero-fpcup
Title: Re: fpcup 3.1.1 Update
Post by: Josh on September 29, 2016, 07:33:22 pm
Hi
I am using the latest version, the one in your link is the one I am using.

if i run fpclazup_stable, i get more infor but still a failure at the end. Development folder removed prior to attempt.

Log below of using fpclazup_stable.
Code: [Select]
.........................
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>
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on September 30, 2016, 08:07:53 am
Can reproduce your problem.
Will update fpc(laz)up shortly !
Title: Re: fpcup 3.1.1 Update
Post by: rvk on September 30, 2016, 08:27:20 am
I also see fpclazup tries to compile the fpcbootstrap 2.6 with a ppc version 3.0.0 (located in fpcbootstrap). This also results in an error (previous version can't be compiled with later versions).

(I got a TEXTREC error somewhere, don't have the logs at the moment)
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on September 30, 2016, 09:00:15 am
You're right.
Fixed. Updated.
Please test.
Title: Re: fpcup 3.1.1 Update
Post by: rvk on September 30, 2016, 10:10:06 am
Works now for fpclaz_stable 32bit Windows.

Just curious... are you using a bootstrap FPC 3.0.0 now to compile FPC 3.0.0 stable in 32bit (Windows) ?

Shouldn't FPC always be compiled by an earlier version or is compiling with the same version allowed/supported ?
Title: Re: fpcup 3.1.1 Update
Post by: Josh on September 30, 2016, 10:10:24 am
Hi

running mysettings-fpcup-trunklaz

Code: [Select]
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 . . .
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 01, 2016, 07:17:03 am
@rvk

The original fpcup used the most recent bootstrap compiler available online. And because of this, OVERRIDEVERSIONCHECK was often needed, due to wrong bootstrap versions.

Fpc(laz)up now uses the FPC makefile itself to determine the correct bootstrap compiler. E.g. the makefile of 3.0.0 contains:
Quote
REQUIREDVERSION=2.6.4
# 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
This means both 2.6.4 and 3.0.0 are  considered ok.
If this info is not available, fpc(laz)up  follows the normal  rules as you already mentioned.

@josh:
I will investigate.
But if you want something with Lazarus (TrunkLaz), you need fpclazup !
Title: Re: fpcup 3.1.1 Update
Post by: totya on October 23, 2016, 02:48:20 pm
Hi!

I'd like this:

Lazarus x64 (+x86 crosscompile) stable + fixes
with
fpc stable + fixes

What is the right command line of this?
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 23, 2016, 02:59:17 pm
Hmmm ... you need to supply more info.

System. Win ? Linux ? OSX ?

Combi's ?
Laz-stable+FPC-stable.
Laz-fixes+FPC-fixes.

Or also ?
Laz-stable+FPC-fixes.
Laz-fixes+FPC-stable.
Title: Re: fpcup 3.1.1 Update
Post by: totya on October 23, 2016, 03:03:46 pm
Hi!

OS is Windows.

I think all users wanted this, and only this - for stable environment.

Lazarus x64 stable + fixes (+ x86 crosscompile)
and
fpc stable (that version, which shipped it with Lazarus) + fixes (+ x86 crosscompile)
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 23, 2016, 03:38:31 pm
Still not clear ... but however.
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 again, here you go:

Put your fpclazup.exe somewhere on your system (lets propose in c:\fpclazup). Get a command prompt inside this dir. Run:

Code: Pascal  [Select][+][-]
  1. fpclazup.exe --installdir="c:\FPCLAZStable" --fpcURL="stable" --lazURL="stable" --verbose --getfullrepo

Code: Pascal  [Select][+][-]
  1. fpclazup.exe --installdir="c:\FPCLAZFixes" --fpcURL="fixes" --lazURL="fixes" --verbose --getfullrepo

Code: Pascal  [Select][+][-]
  1. fpclazup.exe --installdir="c:\FPCLAZTrunk" --fpcURL="trunk" --lazURL="trunk" --verbose --getfullrepo

However, I prefer using batchfiles as available in the bin-dir of fpcup:
https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/tree/master/bin/i386-win32
Title: Re: fpcup 3.1.1 Update
Post by: totya on October 23, 2016, 04:23:11 pm
Hi!

Thanks for the answer!

Quote
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.

Yeah, but I want to help for you, because x86 version of your app never worked correctly, I always got crash when I tried it, and I wrote it many times, for example here: http://forum.lazarus.freepascal.org/index.php/topic,27211.msg222830.html#msg222830 (http://forum.lazarus.freepascal.org/index.php/topic,27211.msg222830.html#msg222830)

Okay, I need all the three lines what you wrote step by step?
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 23, 2016, 04:37:15 pm
The first line will give you FPC stable with Lazarus stable and a link on your desktop to start this combi.
The second line will give you FPC fixes with Lazarus fixes and a link on your desktop to start this combi.
The third line will give you FPC trunk with Lazarus trunk and a link on your desktop to start this combi.

Occasionally, I see the error you have reported. I think it has to do with Windows not liking long running processes that block.
Unfortunately, I cannot reproduce in such a way that I can debug.
But it does no harm.
Title: Re: fpcup 3.1.1 Update
Post by: totya on October 23, 2016, 05:31:51 pm
Thanks fo these informations again!

Quote
But it does no harm.

When the error messages window appear, update process paused, it isn't good game pressing always the OK button to continue.

I will try the second line now...

I got many error messages:

Quote
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.

and so on...
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 23, 2016, 05:41:52 pm
Seems that the svn website of FPC is very hard to reach at the moment.
So, the downloads will not succeed.

Just retry ...
Or check manually:
http://svn.freepascal.org/svn/fpcbuild/tags/release_3_0_0/install/binw32/
Title: Re: fpcup 3.1.1 Update
Post by: totya on October 23, 2016, 06:00:22 pm
Hi!

Few restart is failed too... but when I download manually with TortoiseSVN (svn update), these files succesfully downloaded immediately without any problem, so I think something wrong with your code.

Edit:
I got some error messages too, see attached file.
Title: Re: fpcup 3.1.1 Update
Post by: mac01 on October 23, 2016, 06:09:40 pm
Hi
I needed to update to Sierra, and now run into a problem using latest fpcuplaz; it maybe Sierra related or fpclazup or something else.
Code: [Select]

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$

Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 23, 2016, 06:20:26 pm
@mac01
Your error is clear: I will investigate !

@totya
I have given you three (stable, fixes, trunk) options; please tell me which one gives you these errors; I will try to reproduce.
Title: Re: fpcup 3.1.1 Update
Post by: totya on October 23, 2016, 06:25:26 pm
@totya
I have given you three (stable, fixes, trunk) options; please tell me which one gives you these errors; I will try to reproduce.

Hi!

As I wrote, I use the second line, what I wanted (!), I need only the fixed version of Lazarus/fpc.

Now, I get error messages window again, see attached files. (translated: has stopped working)
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 23, 2016, 07:29:35 pm
@mac01
The downloading of the bootstrapper was not completed. SVN error.
Re-run the whole sequence again.
With a bit of an advice:
Code: Pascal  [Select][+][-]
  1. ./fpclazup_osx_x86 --fpcurl="trunk" --lazurl="trunk" --verbose --getfullrepo
As you can see, I have added  --getfullrepo
This will download the full repo, so a re-run of the fpcup command will not download everything again, but just the missing files.
This makes re-running the command a breeze (except for all the cleaning, compiling and installing).

@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.

In general, the hardest part for fpcup is the downloading of the sources needed for building everything.
It is hard to counter all possible errors of SVN. Therefore, I advice to use --getfullrepo, and just do a re-run.
In most cases, this will work.
And, updating FPC/Laz is as easy as the same re-run !! The sole purpose of fpcup !

Perhaps I should make --getfullrepo the default (again).

edit: there is a fpcup error when trying to install fixes ... will solve and update.
Title: Re: fpcup 3.1.1 Update
Post by: mac01 on October 23, 2016, 10:20:41 pm
Hi

Sorry for delay; had to go out for a few hours.

after I run

./fpclazup_osx_x86 --fpcurl="trunk" --lazurl="trunk" --verbose --getfullrepo

I am still getting a problem.

I will try and remove the development folder and try again; (takes some time to download)

Code: [Select]
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.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 23, 2016, 10:30:33 pm
@mac01
Thats ok. Please retry.
Additional: I saw a problem creating the start-shortcut on Mac. Testing new version now. Will update fpclazup tomorrow !
Title: Re: fpcup 3.1.1 Update
Post by: totya on October 23, 2016, 10:37:10 pm
@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.

Okay, thanks, I rerun this command... but I can't see the log file, because fpcup.log is much shorter than real log what I have seen on the command window. Where is the full log file?

I asked the Windows Lazarus/fpc fixed version, with crosscompile (x86 and x64)
If I change the compiler to x64 mode:
Quote
Target OS: Win64
Target CPU: x86_64
I get debugger error:
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 23, 2016, 10:48:36 pm
... if you want to debug 64bit, you need a gdb for 64bit !
fpclazup gives you only 32bit gdb.

64bit can be found here:
http://svn.freepascal.org/svn/lazarus/binaries/x86_64-win64/gdb/bin/

Or inside a recent mingw.
Title: Re: fpcup 3.1.1 Update
Post by: totya on October 23, 2016, 10:56:36 pm
Thanks, but I asked the crosscompile version (many times), so your app can't install it automatically?

Okay, and what is the destination directory name?

On installed x64 Lazarus I have "mingw" directory, but under FPCLAZFixes, I don't see it.

Edit:
I see one gdb.exe in fpcbootstrap directory, but this date is very old (2011).
Title: Re: fpcup 3.1.1 Update
Post by: mac01 on October 24, 2016, 12:36:54 am
Hi
Got some progress, I thought I would check my xcode version after upgrading to Sierra ( ie make sure using 7.3.1), when I launched xcode after a few seconds a popup appeared informing me that it was downloaded required files ( or something along the lines)
When it completed; I restarted the install of fpclazup; it has now completed the install....

Not sure if xcode is the issue or coincidental to something else on svn ?
Title: Re: fpcup 3.1.1 Update
Post by: Thaddy on October 24, 2016, 09:54:22 am
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.
Title: Re: fpcup 3.1.1 Update
Post by: totya on October 24, 2016, 11:58:46 am
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.

Hi!

You completely misundertand this subject, but no problem.

My first ask is the workable lazarus/fpc + fixes + crosscompile, and where is it? :) Doesn't work, certainly. Debgugger crashed with the default project, because no gdb installed. This is the crosscompile version of Lazarus/fpc?
And you say nothing certainly, my ask the destination directory for gdb, and where is it? I don't see this information in your "answer".
Title: Re: fpcup 3.1.1 Update
Post by: Thaddy on October 24, 2016, 12:27:53 pm
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.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 24, 2016, 01:19:19 pm
Fpcup has been updated.

* on Mac, correct shortcuts to start Lazarus are generated in apps and on desktop.
* on Win, Lazarus GDB versions for win32 and win64 are installed and made available.
* on all: fpc(laz)up will try to find the correct bootstrapper online; or will build the correct one; no OVERRIDEVERSIONCHECK anymore.
* on all: by default, repos will be downloaded again, as has always been the case with the original fpcup by Reinier.
* on all: you should be able to install as low as FPC 2.0.0 with fpcup.

Additional:

A special branch of FPC and Lazarus is maintained on http://newpascal.org/
A complete cross-compile enabled release, made with fpcup,is available at:
https://github.com/newpascal/newpascal/releases/tag/np_sc-v1.0.34
If you follow the instructions, it will give you an easy FPC + extras + cross-compilation.
Among the extras are: management operators, interface RTTI, the mORMot (allow the duck).
Title: Re: fpcup 3.1.1 Update
Post by: tk on October 26, 2016, 10:33:51 am
A special branch of FPC and Lazarus is maintained on http://newpascal.org/

Been using that special branch. Thanks.
Any chance to get all these features (Generics.* etc. needed) to the official Lazarus release?
Have recently updated the SVN Laz 1.7 + FPC 3.1.1 and the Generics.* were not there out of the box (maybe available in a package but not already preinstalled).
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 26, 2016, 11:18:09 am
You're welcome !

The process of getting new features for FPC and/or Lazarus approved can be long.
Features have to be tested on many platforms and must be compatible with future goals of the core maintainers.

However, sometimes one can benefit from bleeding edge features like the ones available in the NewPascal branch. And NewPascal can benefit from the feedback of its users.
And, in the end, FPC and Lazarus will hopefully benefit from these efforts.

So, feel free to use, test and especially feel free to give feedback.

New features are coming, so stay tuned !!

ps:
You can use fpclazup to install newpascal yourself:
Code: Pascal  [Select][+][-]
  1. fpclazup.exe --installdir="c:\whereyoulikeyournewpascal" --fpcurl="newpascal" --lazurl="newpascal"
Title: Re: fpcup 3.1.1 Update
Post by: minesadorada on October 26, 2016, 01:17:08 pm
Environment: Windows 10 64-bit
You invited questions, so here goes..

I have a simple question (I hope!)
Having downloaded and installed NewPascal, it runs and debugs Win32 applications just fine.
I can cross-compile to Win64, but only if I switch debugger path (in IDE options) to a 64-bit debugger.  (I can live with that)

I was intrigued with the possibility of cross-compiling to Target OS=linux so I downloaded and unpacked the CrossLinuxi386.rar, which created and populated a NewPascal/cross folder.  The CrossLinuxx64.rar added the 64-bit subfolders.

But here's where I am stuck when choosing target=linux at the 'cannot find fcllaz' message - a clue that I haven't set the options/paths correctly.

So here's the simple question: How can I configure a project in the NewPascal environment to successfully cross-compile to linux?
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 26, 2016, 02:27:06 pm
Thanks for the feedback !
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):
Code: Pascal  [Select][+][-]
  1. {$IFDEF LINUX}
  2.   {$IFDEF FPC_CROSSCOMPILING}
  3.     {$linklib libc_nonshared.a}
  4.     {$IFDEF CPUARM}
  5.       // if we have a GUI, uncomment
  6.       // {$linklib GLESv2}
  7.     {$ENDIF}
  8.   {$ENDIF}
  9. {$ENDIF}

Title: Re: fpcup 3.1.1 Update
Post by: minesadorada on October 26, 2016, 03:27:16 pm
Thanks for the feedback !
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):
Code: Pascal  [Select][+][-]
  1. {$IFDEF LINUX}
  2.   {$IFDEF FPC_CROSSCOMPILING}
  3.     {$linklib libc_nonshared.a}
  4.     {$IFDEF CPUARM}
  5.       // if we have a GUI, uncomment
  6.       // {$linklib GLESv2}
  7.     {$ENDIF}
  8.   {$ENDIF}
  9. {$ENDIF}
Sorry - I started a new application, put the above lines in the lpr and tried target OS=linux, but still got the fcllaz error.

Thanks for trying to reproduce - I know how frustrating it is when that happens!
I was very careful to follow instructions.  Unpacked all rars into c:/NewPascal and used the shortcut link provided etc.  The folder structure looks as the web page describes.

Some thoughts:
After the standard install, and looking through the config file and IDE options, I can't find anything pointing to the C:\NewPascal\cross folder.  Where would that reference be?

The IDE/options/debugger type and path points to C:\NewPascal\fpcbootstrap\gdb.exe
I downloaded the 64-bit debugger and added its path to the 'additional search path' but no go.  Its only when I change the path to the 64-bit debugger that 64-bit compile/run works.  When I then change to a 32-bit target, it won't run until I change the debugger path back to the fpcbootstrap one.

Should I add something into the Environment PATH?

Should I edit the C:\NewPascal\config_lazarus\idemake.cfg? (which contains only references to win32)

I notice that the C:\NewPascal\lazarus\units folder only contains an i386-win32 folder.  Is this right?

The default win32 configuration works perfectly by the way (so I must have done something right when installing)

Can you suggest any tests I can do, or screengrabs to post?
I once downloaded and ran the CodeTyphoon distribution, which cross-compiled out of the box, so I know it's possible on my system.   I don't want to use codetyphoon though for compatibility (and ethical) reasons.

There's obviously some difference between my environment and yours.  I wonder what it could be?  I hope it's some obvious error that I can fix.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 26, 2016, 03:35:26 pm
Good feedback !!

Now going into details
You should have a c:\NewPascal\mingw directory, containing newest gdb (7.11) for both win32/64.
The debugger should point to: $(LazarusDir)\..\mingw\$(TargetCPU)-$(TargetOS)\bin\gdb.exe.
So, should automagically switch-over.

I have included a screenshot.
Title: Re: fpcup 3.1.1 Update
Post by: totya on October 26, 2016, 03:47:18 pm
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!

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.
Title: Re: fpcup 3.1.1 Update
Post by: minesadorada on October 26, 2016, 03:47:29 pm
Perfecta!
Win32/64 bit crosscompiling now without problems.  I noticed the minigw path was 2nd in the drop-down list, so selected that.  Graçias @DonAlfredo :)

Any ideas on the linux 32/64 cross-compiling?  It's not as important as the Win 64-bit thing, but it would be really convenient if my NewPascal environment would do it.
Title: Re: fpcup 3.1.1 Update
Post by: minesadorada on October 26, 2016, 03:51:28 pm
Hi!

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.
Hi totya - it looks as if you had the same problem I had.  DonAlfredo posted the answer above, and it works for me!
Title: Re: fpcup 3.1.1 Update
Post by: totya on October 26, 2016, 03:54:10 pm
Thanks, but I need a little break...
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 26, 2016, 04:01:26 pm
To be honest, I do not yet know what is the problem with your install.
So, in order to help you, I need some more info.

Your fpc.cfg should contain something like:
Code: Pascal  [Select][+][-]
  1. # begin fpcup do not remove x86_64-linux
  2. #cross compile settings dependent on both target OS and target CPU
  3. #IFDEF FPC_CROSSCOMPILING
  4. #IFDEF CPUX86_64
  5. #IFDEF LINUX
  6. # Inserted by fpcup 22-10-2016 13:44:41
  7.  
  8. -FDC:\NewPascal\cross\bin\x86_64-linux\
  9. -XPx86_64-linux-
  10. -Tlinux
  11. -FlC:\NewPascal\cross\lib\x86_64-linux\
  12. -Xr/usr/lib
  13. #ENDIF
  14. #ENDIF
  15. #ENDIF
  16. # end fpcup do not remove
  17.  
So, when you choose Linux 64 bit, these settings point FPC towards the right binutils and libraries.
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 ?
Title: Re: fpcup 3.1.1 Update
Post by: minesadorada on October 26, 2016, 04:49:39 pm
To be honest, I do not yet know what is the problem with your install.
So, in order to help you, I need some more info.

Your fpc.cfg should contain something like:
Code: Pascal  [Select][+][-]
  1. # begin fpcup do not remove x86_64-linux
  2. #cross compile settings dependent on both target OS and target CPU
  3. #IFDEF FPC_CROSSCOMPILING
  4. #IFDEF CPUX86_64
  5. #IFDEF LINUX
  6. # Inserted by fpcup 22-10-2016 13:44:41
  7.  
  8. -FDC:\NewPascal\cross\bin\x86_64-linux\
  9. -XPx86_64-linux-
  10. -Tlinux
  11. -FlC:\NewPascal\cross\lib\x86_64-linux\
  12. -Xr/usr/lib
  13. #ENDIF
  14. #ENDIF
  15. #ENDIF
  16. # end fpcup do not remove
  17.  
So, when you choose Linux 64 bit, these settings point FPC towards the right binutils and libraries.
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 ?
OK @DonAlfredo - I think I know what the problem was, and it was (as expected) my fault.

Here's how I messed up - it may be useful to you to solve other folk's problems.

1. I installed NewPascal with cross-compilers for Linux 32/64 as per instructions
2. I opened an existing project which had been created with my previous fpc/laz distribution and found it wouldn't cross-compile. (mistake #1)
(this was my error - I should have tested with a new clean empty Application in NewPascal)
3. In order to 'fix' things, I ran fpcup in update mode to the NewPascal folder.  I now know this was a stupid thing to do because it must have messed up the NewPascal environment by deleting the linux fpc/units and God knows what else. (mistake #2)
4. I then (belatedly) tested using Create New Application in NewPascal for Win64, Linux32 and Linux64.  It didn't work of course and I blamed the distribution. (mistake #3)

Now I see that I made 2 fatal assumptions:
1. Ignoring an existing projects environment (lpi file?) when testing a new environment
2. Trying to 'fix it myself' using fpcup, and then compounding the error by not telling you I'd done it when asking for help.

BTW in order to cross-compile to linux 32/64, every lpr file needs the lines you posted.  It doesn't work otherwise. Perhaps you could put that on the web page.
Code: Pascal  [Select][+][-]
  1. $IFDEF LINUX}
  2.   {$IFDEF FPC_CROSSCOMPILING}
  3.     {$linklib libc_nonshared.a}
  4.     {$IFDEF CPUARM}
  5.       // if we have a GUI, uncomment
  6.       // {$linklib GLESv2}
  7.     {$ENDIF}
  8.   {$ENDIF}
  9. {$ENDIF}      
  10.  
All works well now, and the 'NewPascal initiative' is a credit to your ingenuity and hard work.

Perhaps the only good thing to come from this is perhaps to warn NewPascal users NOT to:
1. Test cross-compiling using an existing project (or delete the lpi file before trying it)
2. Attempt to update using fpcup unless you know what you're doing (I didn't!)

Thanks for your patience, and I am now loving the 'NewPascal environment' :)
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 26, 2016, 05:13:23 pm
Mmmm ... yes, you definitely messed up the install ...  ;)

But anyhow, this is very usefull feedback.
Especially the fact that the included fpclazup destroys the install. We will take measures.

The fact that {$linklib libc_nonshared.a} is needed, is still not a general fact.
It is however for NewPascal, due to the link-libs that come (mostly) from Arch Linux.
It has also been reported on the bugtracker, in a slightly different setting:
http://bugs.freepascal.org/view.php?id=30112

So, enjoy the install. And perhaps also enjoy the mORMot (in ccr) that will elevate your database experience ... and the new features that are coming soon ...
Title: Re: fpcup 3.1.1 Update
Post by: minesadorada on October 26, 2016, 06:05:44 pm
Here's the test project that cleared it up for me.
It has an lpi file containing the correct paths for c:\NewPascal, and the header in the program unit.
It should compile (run/compile many modes) without error if the NewPascal environment is correct for Win32, Win64, Linux32 and Linux64.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 26, 2016, 06:28:37 pm
And now do yourself some more joy ... :D

1)
Download the Android archive, install LAMW and have FPC fun on your phone and/or tablet.
Even the mORMot runs flawless on mobile !

2)
Buy yourself an Odroid-C2 and enjoy FPC/Lazarus on a cheap 64 bit superboard with eMMC that only consumes 2-3 Watt !

3)
Get yourself a free (for a year) Amazon Web Service t2 server, run a mORMot database server (REST,json) under Linux 64bit and connect with all !

 :)
Title: Re: fpcup 3.1.1 Update
Post by: manhu on October 29, 2016, 02:36:25 pm
Hi, I followed just reading for a while.
Just one question, is it possible to generate a Mac OS executable file from Windows?
Shalom Manfred
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 29, 2016, 06:11:26 pm
Well, I am doing this inside a Virtual Machine (VirtualBox) on my Windows-pc.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on October 30, 2016, 09:37:18 pm
New tool available : fpcupdeluxe !
Fpcupdeluxe is a GUI frontend for fp(laz)up.
Should make life easier.

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/
Title: Re: fpcup 3.1.1 Update
Post by: minesadorada on November 01, 2016, 07:17:38 pm
Just a vote of thanks @DonAlfredo for continuing Renier's vision and intent.

You are the owner and protaganist of fpcup and fpclazup and I for one really appreciate your hard work.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on November 01, 2016, 08:24:32 pm
 :) ... his work deserves continuation ... !
Title: Re: fpcup 3.1.1 Update
Post by: elidorio on November 03, 2016, 02:46:27 am
How to update the copy already downloaded by fpcupdeluxe?
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on November 03, 2016, 06:25:55 am
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).
Title: Re: fpcup 3.1.1 Update
Post by: JD on November 03, 2016, 11:43:34 am
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).

Many thanks for your work DonAlfredo. It makes installing Lazarus on Linux less painful.
Title: Re: fpcup 3.1.1 Update
Post by: vincococka on November 04, 2016, 10:28:16 am
Hello,

while trying to use fpcupdeluxe on Win7 x64 (na antivir installed/used), following error on screenshot occures during lazbuild phase.

Is it something wrong with windows?
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on November 04, 2016, 10:38:55 am
Well, that is a severe error ... without much extra info unfortunately.
However, the best part of fpcup is, that, in most cases, a restart will resume the (download) activities from where they stopped. Compiling will start from the beginning naturally.
If the problem persists, please try to deliver somewhat more info !
Title: Re: fpcup 3.1.1 Update
Post by: vincococka on November 04, 2016, 12:27:22 pm
I`ll try in couple of hours to build application with debug symbols to find out whats going on.
Title: Re: fpcup 3.1.1 Update
Post by: Josh on November 14, 2016, 02:52:12 pm
Hi
AM I doing something wrong?

Thought I would install lazarus and fpc on a new PC using fplazup.
I download the latest version, and it does nothing, there are no included exe etc to start an install.

DO I need to have a working lazarus installation to create the binaries so I can then update it?

This was not the behavior of previous versions?

Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on November 14, 2016, 03:00:50 pm
Sorry about this ... will make a release with fpcup binaries in a couple of hours !
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on November 14, 2016, 03:30:18 pm
Here you go:

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.9-fpcup
Title: Re: fpcup 3.1.1 Update
Post by: Josh on November 14, 2016, 05:50:46 pm
Hi
Download the exe's and started my install sript
fpclazup --fpcurl="trunk" --lazurl="trunk"

It took best part of an hour to download and install; no errors after installation.

However I cannot start lazarus, no desktop shortcuts, no shortcuts in development\lazarus

ANy ideas

This is a clean install, development did not exists prior.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on November 14, 2016, 06:07:22 pm
Can you tell me what system ?
Win,Linux,Darwin,i386, ....
Title: Re: fpcup 3.1.1 Update
Post by: Josh on November 14, 2016, 06:15:36 pm
Hi

Installing lazarus fpc for win 32 on win 7 - 64.

I am going to try fpcupdeluxe; and install in c:\development folder (after deleting its content) and use the trunk ++ button.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on November 14, 2016, 07:02:35 pm
Trunk++ is a button with risks ... ;-)
It installs trunk+trunk + a lot of packages ... and these packages can be tricky ... you have been forwarned !
Title: Re: fpcup 3.1.1 Update
Post by: Josh on November 14, 2016, 08:48:13 pm
Hi

I was reeally just checking if deluxe installed in shortcuts for laz; which it did; as I dont want any of the additional packages. I am nw removing the folder again, and will be trying fpclazup again; it may have been just an svn hick up. So will let you know.

Title: Re: fpcup 3.1.1 Update
Post by: tom.chris on November 20, 2016, 01:48:40 pm
I got installed Lazarus 1.7 and FPC 3.1.1 on windows 7 x64 when i use trunk ++
Title: Re: fpcup 3.1.1 Update
Post by: rtusrghsdfhsfdhsdfhsfdhs on January 03, 2017, 12:31:15 pm
Does old fpclazup still work?
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on January 03, 2017, 01:56:18 pm
It should !
Issues encountered while using fpcupdeluxe (based on fpcup) are ported back into fpcup on a regular base.
Title: Re: fpcup 3.1.1 Update
Post by: marcov on January 03, 2017, 02:07:33 pm
I played a bit with fpcupdeluxe because of the freebsd crosscompile bugreport on win10/x64

- I get a smartscreen warning. Could be the "downloaded and EXE" status, but could also be the shortcut placed on the desktop (outside of an installer /setup that is probably a suspect action)
- the path (topleft edit box) sometimes is red on startup, sometimes only becomes red after changing something. (add edit.refresh after setting color?)

I select "fixes", i386 and "freebsd" and press "fpc only".

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 then builds a 64-bit 3.0.0 compiler (why?), and worse it then also builds the checked out fpc/ (FIXES ) repository with x86_64-win64.

What did I do wrong ? Should I have done install crosscompiler?

I tried that, and that fails as follows:

Quote
[..] 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

Title: Re: fpcup 3.1.1 Update
Post by: rtusrghsdfhsfdhsdfhsfdhs on January 03, 2017, 02:18:22 pm
It should !
Issues encountered while using fpcupdeluxe (based on fpcup) are ported back into fpcup on a regular base.

Wow I thought it was discontinued! Thanks!
Title: Re: fpcup 3.1.1 Update
Post by: Thaddy on January 03, 2017, 02:22:43 pm
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? Which is supposed to be 2.6.4? But 2.6 is documented?
I often complained about that because there are FPC 3 binaries that are official.
- BigChimp heritage.

I have always found this confusing and have no clue WHY the starting compiler should not be 3.
The rest is unsupported after all. But a 2.6 should be a bootstrap for 3.
Title: Re: fpcup 3.1.1 Update
Post by: marcov on January 03, 2017, 02:49:08 pm
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?

There is a i386-win32 bootstrap for 3.0.0 on FTP:
 932 -rw-r--r--  1 fpc fpc  954217 May 15  2016 i386-win32-ppc386.zip


Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on January 03, 2017, 03:17:38 pm
@marcov
Yes, you should have done install crosscompiler !

In general, fpcupdeluxe is a continuation of fpcup.
And, as correctly stated by Thaddy: its BigChimp heritage.
And so, fpcupdeluxe tries to continue following his rules.

In general:
Fpcupdeluxe needs much more user instruction.
A start of a wiki is there, but very very basic.
Will work on it further.

@marcov
A good wiki should/could  have guided you into using fpcupdeluxe the right way !
Again: work-in-progress.
Title: Re: fpcup 3.1.1 Update
Post by: rtusrghsdfhsfdhsdfhsfdhs on January 04, 2017, 08:50:52 am
Where to get the previous fpcup & fplazup binaries?
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on January 04, 2017, 09:39:41 am
In the past, the fpc(laz)up binaries were part of a commit. This was plain wrong. So, they have been removed.
Binaries are now a release : https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases
The whole history is available: you can build a desired binary yourself.

Previous source and binaries: https://bitbucket.org/reiniero/fpcup/
Title: Re: fpcup 3.1.1 Update
Post by: rtusrghsdfhsfdhsdfhsfdhs on January 04, 2017, 09:40:19 am
Thanks!  :)
Title: Re: fpcup 3.1.1 Update
Post by: sierdolg on February 03, 2017, 01:22:14 pm
Here's another one with lots of "Error running fpcup. Technical details: ...error executing sequence" errors when trying to install with "any lazURL= directive.

Looking for a way to automate fpc & lazarus' setup altogether with a selection of packages in a reproducible way, I came upon your fpclazup yesterday. Unfortunately, 19 of 20 attempts to bring up lazarus failed, amongst them variations with the default fpcup.ini and --lazURL="trunk|fixes|fixes1.6|stable", or without "--lazURL" specification and different sets of added packages. (As I have captured the respective output, I could supply additional information if necessary.)

Remarkably none of them involved any svn errors, instead of that I mostly got the triple
Code: Pascal  [Select][+][-]
  1. fpclazup: info: Error running fpcup. Technical details: error executing sequence suggestedpackages; line: 5, param: suggestedpackages
  2. fpclazup: info: Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 2, param: suggestedpackages
  3. fpclazup: info: Error running fpcup. Technical details: error executing sequence Default; line: 6, param: UniversalDefault
  4.  
at the end.

So I would ask for a short explanation what this exactly means, i.e. how to track down from these data to the corresponding line in fpcup.ini.

The context is: fpclazup-x86_64-linux, based on commit fpcup016 (20170106) Build date: 2017/01/08 10:44:55 Compiled for CPU: x86_64 on linux, downloaded yesterday.
Title: Re: fpcup 3.1.1 Update
Post by: Thaddy on February 03, 2017, 01:31:22 pm
Here's another one
IF you test than use THE LAST version.
Otherwise you maybe accusing the people who are involved in this project of something that is already solved.

Plz: give an example that reflects the current state, name a version, your platform, etc.

Not very helpful.
Title: Re: fpcup 3.1.1 Update
Post by: sierdolg on February 03, 2017, 03:44:24 pm
As I already wrote:

"The context is: fpclazup-x86_64-linux, based on commit fpcup016 (20170106) Build date: 2017/01/08 10:44:55 Compiled for CPU: x86_64 on linux, downloaded yesterday." (I do suppose that *is* the most recent version available.)

Explicitely added for completeness: I'm running Debian Linux 8 (Jessie) 64bit, with no fpc or lazarus distro's package installed.


And I'm far from accusing anyone for anything, I just asked for a little help (explanation) what the phrase "error executing sequence suggestedpackages; line: 5, param: suggestedpackages" means, especially "line: 5", as it is surely not the line count of the ini-file. Sorry, too, for my imperfect English - I'm not a native speaker nor a developer nor computer scientist.

In other words: When getting the message stressed out in bold, then what line in fpclazup.ini is worthwile to comment, or what else can be done to track down what goes wrong?



Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on February 03, 2017, 06:10:31 pm
Mmm, I do not know what went wrong with your install.
But, to be sure, I have released a new version of fpc(laz)up.

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/latest

I just ran a test on my Linux x86_64 Mint, with success.

Code: Pascal  [Select][+][-]
  1. ./fpclazup-x86_64-linux --fpcURL=trunk --lazURL=trunk

In the past, there were some problems with the help.

Also consider using fpcupdeluxe, a GUI installer based on fpc(laz)up:
https://github.com/newpascal/fpcupdeluxe
Title: Re: fpcup 3.1.1 Update
Post by: sierdolg on February 04, 2017, 12:41:53 pm
First of all, thanks a lot,  DonAlfredo!

I just tried again, on another machine, it's also Debian GNU/Linux 8 64 bit (4.9.0-0.bpo.1-amd64 #1 SMP Debian 4.9.2-2~bpo8+1 (2017-01-26) x86_64 GNU/Linux).

I ran (as I'd like to install that and as fpclazup itself suggests), with a freshly downloaded fpclazup-x86_64-linux;

 ./fpclazup-x86_64-linux  --lazURL=trunk

No luck for me, again this "error executing sequence suggestedpackage" thing, which I don't understand in deeper detail.

Code: HTML5  [Select][+][-]
  1.  [2017-02-04 11:56:31.009 Info] 4-2-17 11:56:31: fpcup finished.
  2.  [2017-02-04 11:56:31.209 Info] ------------------------------------------------
  3.  [2017-02-04 11:56:38.641 Info] 4-2-17 11:56:38: fpcup finished.
  4.  [2017-02-04 11:56:38.841 Info] ------------------------------------------------
  5.  [2017-02-04 11:58:21.526 Info] 4-2-17 11:58:21: fpcup019 (20170129) started.
  6.  [2017-02-04 11:58:22.233 Info] TFPCInstaller init:
  7.  [2017-02-04 11:58:22.233 Info] FPC directory:      /home/tstusr/development/fpc
  8.  [2017-02-04 11:58:22.233 Info] FPC URL:            http://svn.freepascal.org/svn/fpc/tags/release_3_0_0
  9.  [2017-02-04 11:58:22.233 Info] FPC options:        
  10.  [2017-02-04 11:58:22.233 Info] TFPCInstaller init:
  11.  [2017-02-04 11:58:22.233 Info] Bootstrap compiler dir: /home/tstusr/development/fpcbootstrap/
  12.  [2017-02-04 11:58:22.233 Info] FPC URL:                http://svn.freepascal.org/svn/fpc/tags/release_3_0_0
  13.  [2017-02-04 11:58:22.233 Info] FPC options:            
  14.  [2017-02-04 11:58:22.233 Info] FPC source directory:   /home/tstusr/development/fpc
  15.  [2017-02-04 11:58:22.233 Info] FPC install directory:  /home/tstusr/development/fpc
  16.  [2017-02-04 11:58:22.233 Info] External program path:  /home/tstusr/development/fpc/bin/x86_64-linux:/home/tstusr/development/fpcbootstrap:/home/tstusr/development/fpc/:/home/tstusr/development/fpc/bin:/home/tstusr/development/fpc/utils:/home/tstusr/development/fpc/:/home/tstusr/development/fpc/compiler:/bin:/usr/bin:/home/tstusr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  17.  [2017-02-04 11:58:22.234 Info] Error running fpcup. Technical details: error executing sequence fpc; line: 2, param: FPC
  18.  [2017-02-04 11:58:22.434 Info] Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc
  19.  [2017-02-04 11:58:22.634 Info] 4-2-17 11:58:22: fpcup finished.
  20.  [2017-02-04 11:58:22.834 Info] ------------------------------------------------
  21.  [2017-02-04 12:01:48.443 Info] 4-2-17 12:01:48: fpcup019 (20170129) started.
  22.  [2017-02-04 12:01:49.252 Info] SVN client found: /usr/bin/svn
  23.  [2017-02-04 12:01:49.753 Info] TFPCInstaller init:
  24.  [2017-02-04 12:01:49.753 Info] FPC directory:      /home/tstusr/development/fpc
  25.  [2017-02-04 12:01:49.753 Info] FPC URL:            http://svn.freepascal.org/svn/fpc/tags/release_3_0_0
  26.  [2017-02-04 12:01:49.753 Info] FPC options:        
  27.  [2017-02-04 12:01:49.754 Info] TFPCInstaller init:
  28.  [2017-02-04 12:01:49.754 Info] Bootstrap compiler dir: /home/tstusr/development/fpcbootstrap/
  29.  [2017-02-04 12:01:49.754 Info] FPC URL:                http://svn.freepascal.org/svn/fpc/tags/release_3_0_0
  30.  [2017-02-04 12:01:49.754 Info] FPC options:            
  31.  [2017-02-04 12:01:49.754 Info] FPC source directory:   /home/tstusr/development/fpc
  32.  [2017-02-04 12:01:49.754 Info] FPC install directory:  /home/tstusr/development/fpc
  33.  [2017-02-04 12:01:49.754 Info] External program path:  /home/tstusr/development/fpc/bin/x86_64-linux:/home/tstusr/development/fpcbootstrap:/home/tstusr/development/fpc/:/home/tstusr/development/fpc/bin:/home/tstusr/development/fpc/utils:/home/tstusr/development/fpc/:/home/tstusr/development/fpc/compiler:/bin:/usr/bin:/home/tstusr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  34.  [2017-02-04 12:01:50.855 Info] INFO: directory /home/tstusr/development/fpc is not an SVN repository (or a repository with the wrong remote URL).
  35.  [2017-02-04 12:01:51.055 Info] INFO: creating directory /home/tstusr/development/fpc for SVN checkout.
  36.  [2017-02-04 12:03:31.918 Info] TFPCInstaller init:
  37.  [2017-02-04 12:03:31.918 Info] FPC directory:      /home/tstusr/development/fpc
  38.  [2017-02-04 12:03:31.918 Info] FPC URL:            http://svn.freepascal.org/svn/fpc/tags/release_3_0_0
  39.  [2017-02-04 12:03:31.918 Info] FPC options:        
  40.  [2017-02-04 12:03:40.584 Info] TFPCInstaller init:
  41.  [2017-02-04 12:03:40.584 Info] Bootstrap compiler dir: /home/tstusr/development/fpcbootstrap/
  42.  [2017-02-04 12:03:40.584 Info] FPC URL:                http://svn.freepascal.org/svn/fpc/tags/release_3_0_0
  43.  [2017-02-04 12:03:40.584 Info] FPC options:            
  44.  [2017-02-04 12:03:40.584 Info] FPC source directory:   /home/tstusr/development/fpc
  45.  [2017-02-04 12:03:40.584 Info] FPC install directory:  /home/tstusr/development/fpc
  46.  [2017-02-04 12:03:40.584 Info] External program path:  /home/tstusr/development/fpc/bin/x86_64-linux:/home/tstusr/development/fpcbootstrap:/home/tstusr/development/fpc/:/home/tstusr/development/fpc/bin:/home/tstusr/development/fpc/utils:/home/tstusr/development/fpc/:/home/tstusr/development/fpc/compiler:/bin:/usr/bin:/home/tstusr/development/fpc/bin/x86_64-linux:/home/tstusr/development/fpcbootstrap:/home/tstusr/development/fpc/:/home/tstusr/development/fpc/bin:/home/tstusr/development/fpc/utils:/home/tstusr/development/fpc/:/home/tstusr/development/fpc/compiler:/bin:/usr/bin:/home/tstusr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  47.  [2017-02-04 12:04:55.253 Info] FPC: Error running make failed with exit code 512
  48. . Details:
  49.  [2017-02-04 12:04:56.101 Info] Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
  50.  [2017-02-04 12:04:56.301 Info] Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc
  51.  [2017-02-04 12:04:56.502 Info] 4-2-17 12:04:56: fpcup finished.
  52.  [2017-02-04 12:04:56.702 Info] ------------------------------------------------
  53.  [2017-02-04 12:18:14.809 Info] 4-2-17 12:18:14: fpcup019 (20170129) started.
  54.  [2017-02-04 12:18:15.516 Info] SVN client found: /usr/bin/svn
  55.  [2017-02-04 12:18:16.018 Info] TFPCInstaller init:
  56.  [2017-02-04 12:18:16.018 Info] FPC directory:      /home/tstusr/development/fpc
  57.  [2017-02-04 12:18:16.018 Info] FPC URL:            http://svn.freepascal.org/svn/fpc/tags/release_3_0_0
  58.  [2017-02-04 12:18:16.018 Info] FPC options:        
  59.  [2017-02-04 12:18:16.018 Info] TFPCInstaller init:
  60.  [2017-02-04 12:18:16.018 Info] Bootstrap compiler dir: /home/tstusr/development/fpcbootstrap/
  61.  [2017-02-04 12:18:16.018 Info] FPC URL:                http://svn.freepascal.org/svn/fpc/tags/release_3_0_0
  62.  [2017-02-04 12:18:16.018 Info] FPC options:            
  63.  [2017-02-04 12:18:16.018 Info] FPC source directory:   /home/tstusr/development/fpc
  64.  [2017-02-04 12:18:16.018 Info] FPC install directory:  /home/tstusr/development/fpc
  65.  [2017-02-04 12:18:16.018 Info] External program path:  /home/tstusr/development/fpc/bin/x86_64-linux:/home/tstusr/development/fpcbootstrap:/home/tstusr/development/fpc/:/home/tstusr/development/fpc/bin:/home/tstusr/development/fpc/utils:/home/tstusr/development/fpc/:/home/tstusr/development/fpc/compiler:/bin:/usr/bin:/home/tstusr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  66.  [2017-02-04 12:18:16.419 Info] Verbose output saved to /tmp/TMP00000.tmp
  67.  [2017-02-04 12:18:20.062 Info] INFO: directory /home/tstusr/development/fpc is not an SVN repository (or a repository with the wrong remote URL).
  68.  [2017-02-04 12:19:57.572 Info] FPC: update succeeded.
  69.  [2017-02-04 12:19:57.773 Info] TLazarusInstaller init:    
  70.  [2017-02-04 12:19:57.774 Info] Lazarus directory:      /home/tstusr/development/lazarus
  71.  [2017-02-04 12:19:57.774 Info] Lazarus URL:               http://svn.freepascal.org/svn/lazarus/trunk
  72.  [2017-02-04 12:19:57.774 Info] Lazarus options:          
  73.  [2017-02-04 12:19:57.975 Info] SVN client found: /usr/bin/svn
  74.  [2017-02-04 12:19:58.577 Info] External program path:  /home/tstusr/development/fpc/bin/x86_64-linux:/home/tstusr/development/fpc/bin:/home/tstusr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  75.  [2017-02-04 12:19:59.478 Info] INFO: directory /home/tstusr/development/lazarus is not an SVN repository (or a repository with the wrong remote URL).
  76.  [2017-02-04 12:19:59.678 Info] INFO: creating directory /home/tstusr/development/lazarus for SVN checkout.
  77.  [2017-02-04 12:22:14.181 Info] Execute: make. Params: FPC=/home/tstusr/development/fpc/bin/x86_64-linux/fpc.sh,USESVN2REVISIONINC=0,--directory=/home/tstusr/development/lazarus,INSTALL_PREFIX=/home/tstusr/development/lazarus,FPCDIR=/home/tstusr/development/fpc,UPXPROG=echo,COPYTREE=echo,"OPT=-vw-n-h-i-l-d-u-t-p-c-x- ",lazbuild
  78.  [2017-02-04 12:22:14.382 Info] Verbose output saved to /tmp/TMP00001.tmp
  79.  [2017-02-04 12:22:47.840 Info] SVN client found: /usr/bin/svn
  80.  [2017-02-04 12:22:48.444 Info] External program path:  /home/tstusr/development/fpc/bin/x86_64-linux:/home/tstusr/development/fpc/bin:/home/tstusr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  81.  [2017-02-04 12:24:35.960 Info] External program path:  /home/tstusr/development/fpc/bin/x86_64-linux:/home/tstusr/development/fpc/bin:/home/tstusr/development/fpc/bin/x86_64-linux:/home/tstusr/development/fpc/bin:/home/tstusr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  82.  [2017-02-04 12:24:36.661 Info] Building help compiler (also time consuming generation of documents) !!!!!!
  83.  [2017-02-04 12:24:36.861 Info] Execute: /home/tstusr/development/lazarus/lazbuild. Params: --primary-config-path=/home/tstusr/development/config_lazarus,/home/tstusr/development/lazarus/docs/html/build_lcl_docs.lpr
  84.  [2017-02-04 12:24:38.463 Info] Execute: /home/tstusr/development/lazarus/lazbuild exit code: 0
  85.  [2017-02-04 12:24:39.164 Info] Execute: /home/tstusr/development/lazarus/docs/html/build_lcl_docs. Params: --fpcdocs,/home/tstusr/development/lazarus/docs/chm/,--fpdoc,/home/tstusr/development/fpc/bin/x86_64-linux/fpdoc,--css-file=/home/tstusr/development/fpc/utils/fpdoc/fpdoc.css,--outfmt,chm
  86.  [2017-02-04 12:25:00.180 Info] helplazarus: error creating chm help docs. build_lcl_docs exit status: 55552
  87.  [2017-02-04 12:25:00.380 Info] helplazarus: Fatal error. But I will continue !!
  88.  [2017-02-04 12:25:00.983 Info] SVN client found: /usr/bin/svn
  89.  [2017-02-04 12:25:01.585 Info] External program path:  /home/tstusr/development/fpc/bin/x86_64-linux:/home/tstusr/development/fpc/bin::/home/tstusr/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
  90.  [2017-02-04 12:25:01.585 Info] Getting module suggestedpackages
  91.  [2017-02-04 12:25:01.986 Info] TUniversalInstaller: building module suggestedpackages running all InstallExecute commands in:
  92. Name=suggestedpackages
  93. Description="Selection of various IDE packages that can be handy when developing"
  94. Enabled=1
  95. AddPackage1=$(lazarusdir)\components\tdbf\dbflaz.lpk
  96. AddPackage2=$(lazarusdir)\components\fpcunit\ide\fpcunitide.lpk
  97. AddPackage3=$(lazarusdir)\components\daemon\lazdaemon.lpk
  98. AddPackage4=$(lazarusdir)\components\datadict\lazdatadict.lpk
  99. AddPackage5=$(lazarusdir)\components\dbexport\lazdbexport.lpk
  100. AddPackage6=$(lazarusdir)\components\lazreport\source\lazreport.lpk
  101. AddPackage7=$(lazarusdir)\components\leakview\leakview.lpk
  102. AddPackage9=$(lazarusdir)\components\tachart\tachartlazaruspkg.lpk
  103. AddPackage10=$(lazarusdir)\components\rx\rx.lpk
  104. AddPackage11=$(lazarusdir)\components\codetools\ide\cody.lpk
  105. AddPackage12=$(lazarusdir)\components\sdf\sdflaz.lpk
  106. AddPackage13=$(lazarusdir)/components/synedit/design/syneditdsgn.lpk
  107. AddPackage14=$(lazarusdir)/components/rtticontrols/runtimetypeinfocontrols.lpk
  108. AddPackage15=$(lazarusdir)/components/printers/printer4lazarus.lpk
  109. AddPackage16=$(lazarusdir)/components/printers/design/printers4lazide.lpk
  110. AddPackage17=$(lazarusdir)/components/turbopower_ipro/turbopoweripro.lpk
  111. AddPackage20=$(lazarusdir)/components/projecttemplates/projtemplates.lpk
  112. AddPackage21=$(lazarusdir)/components/sqldb/sqldblaz.lpk
  113. AddPackage24=$(lazarusdir)/components/memds/memdslaz.lpk
  114. AddPackage26=$(lazarusdir)/components/todolist/todolistlaz.lpk
  115. AddPackage27=$(lazarusdir)/components/jcf2/IdePlugin/lazarus/jcfidelazarus.lpk
  116. AddPackage28=$(lazarusdir)/components/chmhelp/packages/idehelp/chmhelppkg.lpk
  117. AddPackage29=$(lazarusdir)/components/instantfpc/instantfpclaz.lpk
  118. AddPackage30=$(lazarusdir)/components/externhelp/externhelp.lpk
  119. AddPackage31=$(lazarusdir)/components/PascalScript/Source/pascalscript.lpk
  120. AddPackage32=$(lazarusdir)/components/macroscript/editormacroscript.lpk
  121. AddPackage33=$(lazarusdir)/components/datetimectrls/datetimectrls.lpk
  122. AddPackage34=$(lazarusdir)/components/datetimectrls/design/DateTimeCtrlsDsgn.lpk
  123. AddPackage35=$(lazarusdir)/components/lazcontrols/design/lazcontroldsgn.lpk
  124.  
  125.  [2017-02-04 12:25:02.193 Info] Installing dbflaz version 0.1.1
  126.  [2017-02-04 12:25:02.393 Info] Verbose output saved to /tmp/TMP00002.tmp
  127.  [2017-02-04 12:25:02.594 Info] TUniversalInstaller: checking lpl file for dbflaz
  128.  [2017-02-04 12:25:02.795 Info] Installing fpcunitide version 0.1
  129.  [2017-02-04 12:25:03.196 Info] TUniversalInstaller: checking lpl file for fpcunitide
  130.  [2017-02-04 12:25:03.396 Info] Installing lazdaemon version 0.9.9
  131.  [2017-02-04 12:25:03.797 Info] TUniversalInstaller: checking lpl file for lazdaemon
  132.  [2017-02-04 12:25:03.998 Info] Installing lazdatadict version 0
  133.  [2017-02-04 12:25:04.299 Info] TUniversalInstaller: checking lpl file for lazdatadict
  134.  [2017-02-04 12:25:04.500 Info] Installing lazdbexport version 1
  135.  [2017-02-04 12:25:04.901 Info] TUniversalInstaller: checking lpl file for lazdbexport
  136.  [2017-02-04 12:25:05.101 Info] Installing lazreport version 0.9.9
  137.  [2017-02-04 12:25:05.502 Info] TUniversalInstaller: checking lpl file for lazreport
  138.  [2017-02-04 12:25:05.704 Info] Installing leakview version 1
  139.  [2017-02-04 12:25:06.105 Info] TUniversalInstaller: checking lpl file for leakview
  140.  [2017-02-04 12:25:06.306 Info] Installing tachartlazaruspkg version 1
  141.  [2017-02-04 12:25:06.707 Info] TUniversalInstaller: checking lpl file for tachartlazaruspkg
  142.  [2017-02-04 12:25:06.909 Info] Installing rx version 1
  143.  [2017-02-04 12:25:07.309 Info] TUniversalInstaller: checking lpl file for rx
  144.  [2017-02-04 12:25:07.511 Info] Installing cody version 1.1
  145.  [2017-02-04 12:25:07.912 Info] TUniversalInstaller: checking lpl file for cody
  146.  [2017-02-04 12:25:08.113 Info] Installing sdflaz version 0.1.1
  147.  [2017-02-04 12:25:08.514 Info] TUniversalInstaller: checking lpl file for sdflaz
  148.  [2017-02-04 12:25:08.714 Info] Installing syneditdsgn version 1
  149.  [2017-02-04 12:25:09.115 Info] TUniversalInstaller: checking lpl file for syneditdsgn
  150.  [2017-02-04 12:25:09.316 Info] Installing runtimetypeinfocontrols version 0.1
  151.  [2017-02-04 12:25:09.716 Info] TUniversalInstaller: checking lpl file for runtimetypeinfocontrols
  152.  [2017-02-04 12:25:09.917 Info] Installing printer4lazarus version 0.5
  153.  [2017-02-04 12:25:10.320 Info] TUniversalInstaller: checking lpl file for printer4lazarus
  154.  [2017-02-04 12:25:10.520 Info] Installing printers4lazide version 0
  155.  [2017-02-04 12:25:10.921 Info] TUniversalInstaller: checking lpl file for printers4lazide
  156.  [2017-02-04 12:25:11.121 Info] Installing turbopoweripro version 1
  157.  [2017-02-04 12:25:11.522 Info] TUniversalInstaller: checking lpl file for turbopoweripro
  158.  [2017-02-04 12:25:11.725 Info] Installing projtemplates version 1
  159.  [2017-02-04 12:25:12.125 Info] TUniversalInstaller: checking lpl file for projtemplates
  160.  [2017-02-04 12:25:12.326 Info] Installing sqldblaz version 1.0.2
  161.  [2017-02-04 12:25:12.727 Info] TUniversalInstaller: checking lpl file for sqldblaz
  162.  [2017-02-04 12:25:12.927 Info] Installing memdslaz version 1.2.1
  163.  [2017-02-04 12:25:13.328 Info] TUniversalInstaller: checking lpl file for memdslaz
  164.  [2017-02-04 12:25:13.529 Info] Installing todolistlaz version 1.0.2
  165.  [2017-02-04 12:25:13.930 Info] TUniversalInstaller: checking lpl file for todolistlaz
  166.  [2017-02-04 12:25:14.131 Info] Installing jcfidelazarus version 2
  167.  [2017-02-04 12:25:14.532 Info] TUniversalInstaller: checking lpl file for jcfidelazarus
  168.  [2017-02-04 12:25:14.733 Info] Installing chmhelppkg version 0.2
  169.  [2017-02-04 12:25:15.134 Info] TUniversalInstaller: checking lpl file for chmhelppkg
  170.  [2017-02-04 12:25:15.336 Info] Installing instantfpclaz version 1
  171.  [2017-02-04 12:25:15.737 Info] TUniversalInstaller: checking lpl file for instantfpclaz
  172.  [2017-02-04 12:25:15.938 Info] Installing externhelp version 1.3
  173.  [2017-02-04 12:25:16.339 Info] TUniversalInstaller: checking lpl file for externhelp
  174.  [2017-02-04 12:25:16.540 Info] Installing pascalscript version 0.0.0.1
  175.  [2017-02-04 12:25:16.941 Info] TUniversalInstaller: checking lpl file for pascalscript
  176.  [2017-02-04 12:25:17.141 Info] Installing editormacroscript version 0
  177.  [2017-02-04 12:25:17.542 Info] TUniversalInstaller: checking lpl file for editormacroscript
  178.  [2017-02-04 12:25:17.743 Info] Installing datetimectrls version 1.5.1
  179.  [2017-02-04 12:25:18.143 Info] TUniversalInstaller: checking lpl file for datetimectrls
  180.  [2017-02-04 12:25:18.545 Info] Installing lazcontroldsgn version 0
  181.  [2017-02-04 12:25:18.946 Info] TUniversalInstaller: checking lpl file for lazcontroldsgn
  182.  [2017-02-04 12:25:41.791 Info] InstallerUniversal: error trying to rebuild Lazarus.
  183. Details:
  184.  [2017-02-04 12:25:41.991 Info] Error running fpcup. Technical details: error executing sequence suggestedpackages; line: 5, param: suggestedpackages
  185.  [2017-02-04 12:25:42.191 Info] Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 2, param: suggestedpackages
  186.  [2017-02-04 12:25:42.391 Info] Error running fpcup. Technical details: error executing sequence Default; line: 6, param: UniversalDefault
  187.  [2017-02-04 12:25:42.592 Info] 4-2-17 12:25:42: fpcup finished.
  188.  [2017-02-04 12:25:42.792 Info] ------------------------------------------------
  189.  

~/development/lazarus is present, lazbuild too, but no lazarus and startlazarus.

I won't really believe it could be a distro specific thing, but do you? If so, is there any case against running ./fpclazup-x86_64-linux on a virtual machine running mint and then just copy ~/development/lazarus to my $HOME?
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on February 04, 2017, 12:55:57 pm
Looks like the help does it again !

Quote
[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 !!

Again, I would like to ask you to try do do the same as I did:
Code: Pascal  [Select][+][-]
  1. ./fpclazup-x86_64-linux --fpcURL=trunk --lazURL=trunk --installdir=mycleanandemptyandnewinstalldir

This is important, due to other installs floating around and maybe spoiling things.
And to have an idea about the error while we are trying to reproduce !

Title: Re: fpcup 3.1.1 Update
Post by: sierdolg on February 04, 2017, 07:19:56 pm
OK, I have started exactly
Code: HTML5  [Select][+][-]
  1. ./fpclazup-x86_64-linux --fpcURL=trunk --lazURL=trunk --installdir=mycleanandemptyandnewinstalldir
as requested.

As I guessed, help ain't our showstopper:
Code: HTML5  [Select][+][-]
  1. tstusr2@machina:~/SOFTWARE/Linux/lazarus/fpclazup$ ./fpclazup-x86_64-linux --fpcURL=trunk --lazURL=trunk --installdir=mycleanandemptyandnewinstalldir    
  2. Fpclazup, a FPC/Lazarus downloader/updater/installer
  3. Original by BigChimp: https://bitbucket.org/reiniero/fpcup
  4. This version: https://github.com/LongDirtyAnimAlf/Reiniero-fpcup
  5.  
  6. Fpclazup will download the FPC and Lazarus sources
  7. from the source SVN repositories, and compile, and install.
  8. Result: you get a fresh, up-to-date Lazarus/FPC installation.
  9.  
  10. Version: based on commit fpcup019 (20170129)
  11. Build date: 2017/02/03 17:25:44
  12. Compiled for CPU: x86_64 on linux
  13.  
  14. Options:
  15. Bootstrap dir:      ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpcbootstrap
  16. FPC URL:            http://svn.freepascal.org/svn/fpc/trunk/
  17. FPC options:        
  18. FPC directory:      ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc
  19. Lazarus URL:        http://svn.freepascal.org/svn/lazarus/trunk
  20. Lazarus options:    
  21. Lazarus directory:  ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/lazarus
  22. Keep changes:       no
  23. Re-apply changes:   no
  24. Log file name:      ~/fpcup.log
  25. Standard modules:   suggestedpackages
  26. Standard modules:   lazdatadesktop
  27.  
  28. WARNING: FPCUP will download full repositories !!!
  29.  
  30. ******************************************************************
  31.  You are now installing a bleeding edge version of [FPC/Lazarus].
  32.  Please be forewarned that things might not function,
  33.  as you would expect from a stable release.
  34.  Installing a stable release,
  35.  will give you a stable development environment,
  36.  and is the preferred way of using [FPC/Lazarus].
  37.  
  38.  PS: You can build Lazarus trunk with normal FPC stable !! <-----
  39.     Just execute fpclazup --lazURL="trunk"                <-----
  40. ******************************************************************
  41.  
  42.  
  43. Effective parameters:  
  44. --fpcURL=trunk
  45. --lazURL=trunk
  46. --installdir=mycleanandemptyandnewinstalldir
  47. Persistent parameters (can be saved in shell script):
  48. --installdir="mycleanandemptyandnewinstalldir" --fpcURL="trunk" --lazURL="trunk"
  49. Continue (Y/n): Y
  50. fpclazup: info: 4-2-17 19:09:57: fpcup019 (20170129) started.
  51. fpclazup: info: SVN client found: /usr/bin/svn
  52. fpclazup: WARNING: TFPCInstaller: clean module FPC directory ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc does not exist. Exiting CleanModule.
  53. fpclazup: info: Checking out/updating FPC sources...
  54. fpclazup: info: INFO: directory ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc is not an SVN repository (or a repository with the wrong remote URL).
  55. fpclazup: info: INFO: creating directory ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc for SVN checkout.
  56. fpclazup: info: Running SVN checkout or update.
  57. fpclazup: info: FPC was at: failure
  58. fpclazup: info: FPC is now at: branch revision 35392 (repository revision 35394)
  59. fpclazup: info: TFPCInstaller: building module FPC...
  60. fpclazup: info: We have a FPC source (@ ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc) with version: 3.1.1
  61. fpclazup: info: To compile this FPC, we need (required) a compiler with version : 3.0.2
  62. fpclazup: info: Looking for a bootstrap compiler from official FPC bootstrap binaries.
  63. fpclazup: info: Looking for official FPC bootstrapper with version 3.0.2
  64. fpclazup: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
  65. fpclazup: info: Looking for official FPC bootstrapper with version 3.0.0
  66. fpclazup: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
  67. fpclazup: info: Looking for official FPC bootstrapper with version 2.6.4
  68. fpclazup: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
  69. fpclazup: info: Looking for official FPC bootstrapper with version 2.6.2
  70. fpclazup: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
  71. fpclazup: info: Got a bootstrap compiler from official FPC bootstrap sources.
  72. fpclazup: info: Check if we already have a bootstrap compiler with version 2.6.2
  73. fpclazup: info: No correct bootstrapper. Going to download bootstrapper from ftp://ftp.freepascal.org/pub/fpc/dist/2.6.2/bootstrap/x86_64-linux-ppcx64.bz2
  74. fpclazup: info: Native downloader: Getting x86_64-linux-ppcx64.bz2 from ftp.freepascal.org/pub/fpc/dist/2.6.2/bootstrap/
  75. fpclazup: info: We need to build an FPC 3.0.0 intermediate compiler.
  76. fpclazup: info: Checking out/updating sources for intermediate bootstrap compiler.
  77. fpclazup: info: Checking out/updating FPC 3.0.0 sources for intermediate bootstrap compiler done.
  78. fpclazup: info: We have a FPC bootstrap source (@ ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc300bootstrap) with version: 3.0.0
  79. fpclazup: info: To compile this bootstrap FPC, we need (required) a compiler with version : 3.0.0
  80. fpclazup: info: Apply OVERRIDEVERSIONCHECK=1, because we have a (wrong) bootstrap bootstrapper with version 2.6.2
  81. fpclazup: info: Running make cycle for intermediate bootstrap compiler:
  82. fpclazup: info: Successfully build FPC 3.0.0 intermediate bootstrap compiler.
  83. fpclazup: info: Going to copy bootstrapper ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc300bootstrap/compiler/ppcx64 towards bootstrapper ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpcbootstrap/intermediate_ppcx64
  84. fpclazup: info: FPC: running make all install for FPC:
  85. fpclazup: info: Created launcher script for FPC:~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc/bin/x86_64-linux/fpc.sh
  86. fpclazup: info: Creating fpc.cfg: ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc/bin/x86_64-linux/fpcmkcfg -d basepath=~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc -o ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc/bin/x86_64-linux/fpc.cfg
  87.  
  88. fpclazup: info: SVN client found: /usr/bin/svn
  89. fpclazup: info: Checking out/updating Lazarus sources:
  90. fpclazup: info: INFO: directory ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/lazarus is not an SVN repository (or a repository with the wrong remote URL).
  91. fpclazup: info: INFO: creating directory ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/lazarus for SVN checkout.
  92. fpclazup: info: Running SVN checkout or update.
  93. fpclazup: info: Lazarus was at: failure
  94. fpclazup: info: Lazarus is now at: revision 54087
  95. fpclazup: info: Updating Lazarus version info.
  96. fpclazup: info: Checking out/updating Lazarus sources ok
  97. fpclazup: info: No Lazarus patches defined.
  98. fpclazup: info: TLazarusNativeInstaller: building module lazbuild...
  99. fpclazup: info: lazbuild: running make lazbuild:
  100. fpclazup: info: Execute: make. Params: FPC=~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc/bin/x86_64-linux/fpc.sh,USESVN2REVISIONINC=0,--directory=~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/lazarus,INSTALL_PREFIX=~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/lazarus,FPCDIR=~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc,UPXPROG=echo,COPYTREE=echo,"OPT=-vw-n-h-i-l-d-u-t-p-c-x- ",lazbuild
  101. fpclazup: info: Created Lazarus primary config directory: ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/config_lazarus
  102. fpclazup: info: State machine: already succesfully ran sequence name lazbuild. Not running again.
  103. 1.7
  104. fpclazup: info: SVN client found: /usr/bin/svn
  105. fpclazup: info: helplazarus: documentation directory: ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/lazarus/docs/chm/
  106. fpclazup: info: Native downloader: Getting download from sourceforge.net/projects/lazarus/files/Lazarus Documentation/Lazarus 1.6/doc-chm-fpc3.0.0-laz1.6.zip/
  107. fpclazup: info: helplazarus: documentation directory: ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/lazarus/docs/chm/
  108. fpclazup: info: Check if ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/lazarus/docs/chm/lcl.chm exists? Yes.
  109. fpclazup: info: helplazarus: compiling build_lcl_docs help compiler:
  110. fpclazup: info: Building help compiler (also time consuming generation of documents) !!!!!!
  111. fpclazup: info: Execute: ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/lazarus/lazbuild. Params: --primary-config-path=~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/config_lazarus,~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/lazarus/docs/html/build_lcl_docs.lpr
  112. fpclazup: info: Execute: ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/lazarus/lazbuild exit code: 0
  113. fpclazup: info: helplazarus: found valid fpdoc executable.
  114. fpclazup: info: helplazarus: compiling chm help docs:
  115. fpclazup: info: Execute: ~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/lazarus/docs/html/build_lcl_docs. Params: --fpcdocs,~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/lazarus/docs/chm/,--fpdoc,~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc/bin/x86_64-linux/fpdoc,--css-file=~/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc/utils/fpdoc/fpdoc.css,--outfmt,chm
  116. fpclazup: info: helplazarus: moving lcl.chm to docs directory
  117. fpclazup: info: SVN client found: /usr/bin/svn
  118. fpclazup: info: Getting module suggestedpackages
  119. fpclazup: info: TUniversalInstaller: building module suggestedpackages...
  120. fpclazup: info: Installing dbflaz version 0.1.1
  121. fpclazup: info: Installing fpcunitide version 0.1
  122. fpclazup: info: Installing lazdaemon version 0.9.9
  123. fpclazup: info: Installing lazdatadict version 0
  124. fpclazup: info: Installing lazdbexport version 1
  125. fpclazup: info: Installing lazreport version 0.9.9
  126. fpclazup: info: Installing leakview version 1
  127. fpclazup: info: Installing tachartlazaruspkg version 1
  128. fpclazup: info: Installing rx version 1
  129. fpclazup: info: Installing cody version 1.1
  130. fpclazup: info: Installing sdflaz version 0.1.1
  131. fpclazup: info: Installing syneditdsgn version 1
  132. fpclazup: info: Installing runtimetypeinfocontrols version 0.1
  133. fpclazup: info: Installing printer4lazarus version 0.5
  134. fpclazup: info: Installing printers4lazide version 0
  135. fpclazup: info: Installing turbopoweripro version 1
  136. fpclazup: info: Installing projtemplates version 1
  137. fpclazup: info: Installing sqldblaz version 1.0.2
  138. fpclazup: info: Installing memdslaz version 1.2.1
  139. fpclazup: info: Installing todolistlaz version 1.0.2
  140. fpclazup: info: Installing jcfidelazarus version 2
  141. fpclazup: info: Installing chmhelppkg version 0.2
  142. fpclazup: info: Installing instantfpclaz version 1
  143. fpclazup: info: Installing externhelp version 1.3
  144. fpclazup: info: Installing pascalscript version 0.0.0.1
  145. fpclazup: info: Installing editormacroscript version 0
  146. fpclazup: info: Installing datetimectrls version 1.5.1
  147. fpclazup: ERROR: TUniversalInstaller: package DateTimeCtrlsDsgn.lpk not found ... skipping.
  148. fpclazup: info: Installing lazcontroldsgn version 0
  149. fpclazup: info: InstallerUniversal: going to rebuild Lazarus because packages were installed.
  150.  
  151. fpclazup: info: InstallerUniversal: error trying to rebuild Lazarus.
  152. Details:
  153. fpclazup: info: Error running fpcup. Technical details: error executing sequence suggestedpackages; line: 5, param: suggestedpackages
  154. fpclazup: info: Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 2, param: suggestedpackages
  155. fpclazup: info: Error running fpcup. Technical details: error executing sequence Default; line: 6, param: UniversalDefault
  156. Fpclazup failed.
  157. Please check log for details. Possible troubleshooting steps:
  158. First action :
  159. Run fpcup again with --verbose and check for make, lazbuild errors etc.
  160. Run fpcup again also in case of incomple download due to SVN errors.
  161.  
  162. - make sure there's a valid SVN executable in your path.
  163. - make sure the GNU binutils (make etc), windres, subversion client are installed
  164.  e.g. on Debian/Ubuntu: aptitude install build-essential mingw32-binutils subversion
  165.  ln -s /usr/bin/i586-mingw32msvc-windres /usr/bin/windres
  166.  see http://wiki.lazarus.freepascal.org/Lazarus_Resources#Checking_you_have_windres
  167. If that does not work ... last resort action :
  168. Remove all files from install-directory, and try again
  169. fpclazup: info: 4-2-17 19:25:11: fpcup finished.


Will follow any suggesions.

The question mentioned above "is it a good idea to just copy ~/development/lazarus to different $HOMEs" seems quite relevant to me, e.g. for a classroom rollout. What do you think about that? Is there anything to be said against it (from theoretical aspects)?
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on February 04, 2017, 07:48:51 pm
How unfortunate that this install will not work for you !

As the error is similar between the two tries, there is something outside of fpclazup that prevents a correct install.
2 common sources of Lazarus build errors: ([out of memory],[out of diskspace]).

Would you mind running:
Code: Pascal  [Select][+][-]
  1. ./fpclazup-x86_64-linux --fpcURL=trunk --lazURL=trunk --installdir=mycleanandemptyandnewinstalldir --verbose
This will use the existing sources and will not download anything.

About copying the install:
There are some hardcoded paths.
Using ~ will be tricky, unless you give every pc an equal developer user.
You can install into a shared public directory, inside /var or /usr/local, which would be the same on every pc.
Or use a proxy on your outgoing server, that caches FPC and Lazarus.
Title: Re: fpcup 3.1.1 Update
Post by: sierdolg on February 04, 2017, 11:36:40 pm
Both conditions ([out of memory],[out of diskspace]) are very unlikely for the two PCs tested on (8 and 16 GB of RAM, and > 1 TB diskspace free).

Attached you find the last 160k of console output (unfortunately "konsole" only stores the last 1000 lines, as I see now); if that is not enough, I will try again on Monday with redirection.

May be one of
Code: Pascal  [Select][+][-]
  1. tachartcombos.pas(403) Fatal: (10026) There were 1 errors compiling module, stopping
  2. and
  3. fpclazup: ERROR: TUniversalInstaller: package DateTimeCtrlsDsgn.lpk not found ... skipping.
is critical? I have been seeing them since 3 days now regularly.

Thanks again for your great support, and the installer itself, anyway ;-)
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on February 05, 2017, 08:05:03 am
Thanks for the report.
However, still no clues about the actual error.

If you are still with me, please do the following:

Get fpcupdeluxe: https://github.com/newpascal/fpcupdeluxe/releases/download/v1.2.0i/fpcupdeluxe-x86_64-linux

Start fpcupdeluxe.
Click "InstallDir select".
Navigate towards your install directory. ("/mnt/harddisk/home/testuser3/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir") and select this directory.
Click "Setup+".
Uncheck "Split FPC source and bins".
Press ok to go back to the main screen.

With the above settings, fpcupdeluxe will do the same as fpclazup.
However, the main screen of fpcupdeluxe could give us more info about the error.

Click the "trunk" button to start the install. The old sources should be used ! No downloads.

After succes, be happy. After error, please select and copy green screen (left click) and attach.
Title: Re: fpcup 3.1.1 Update
Post by: sierdolg on February 05, 2017, 11:58:06 am
Meanwhile being Happy for other reasons, as an alternative (Sunday, sun is shining, vnd very funny icons deluxe!) :o)

Of course, I'm willing to help in whatsoever possible way.

First, when you stated, fpclazupdeluxe in the configuration described does exactly the same as fpclazup, I expected it to fail. And so id did :-]

However, as expected also this seems interesting new information:

Code: Pascal  [Select][+][-]
  1. Error: (lazarus) Compile package EditorMacroScript 0.0: terminated
  2. Error: (lazarus) Compile package lazreport 0.9.9: terminated
  3. Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 256"
  4. Error: (lazarus) Building IDE: Compile AutoInstall Packages failed.
  5.  

If that's not enough, then please have a look into the whole log attached.

Thanks a lot, and have a nice Sunday!

Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on February 05, 2017, 12:08:18 pm
Thank !

This is the error (located in your log):
Quote
/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

Will look into it. Perhaps its a Lazarus bug.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on February 05, 2017, 12:41:46 pm
Here you go !

http://bugs.freepascal.org/view.php?id=31353

Most likely, you encountered a Lazarus bug, that has been resolved just a few moments ago.
Just rerun fpcupdeluxe ... it should succeed !
Title: Re: fpcup 3.1.1 Update
Post by: sierdolg on February 05, 2017, 02:49:50 pm
YES, you are awesome right!

In an euphoric mood I then added 2 packages I need, anchordocking + zeos, and rebuilt - it failed again.
For fpc I tried "trunk" as well as "default".

Code: Pascal  [Select][+][-]
  1. ...
  2. (3104) Compiling /mnt/harddisk/home/testuser3/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/ccr/lazarus_ccr/components/onguard/source/qonguard7.pas
  3. /mnt/harddisk/home/testuser3/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/ccr/lazarus_ccr/components/onguard/source/ogreg.pas(56,3) Hint: (5023) Unit "ogutil" not used in ogreg
  4. (3104) Compiling /mnt/harddisk/home/testuser3/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/ccr/lazarus_ccr/components/onguard/source/ogfirst.pas
  5. /mnt/harddisk/home/testuser3/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/ccr/lazarus_ccr/components/onguard/source/ogfirst.pas(52,3) Fatal: (10022) Can't find unit Libc used by ogfirst
  6. Fatal: (1018) Compilation aborted
  7. Error: /mnt/harddisk/home/testuser3/SOFTWARE/Linux/lazarus/fpclazup/mycleanandemptyandnewinstalldir/fpc/bin/x86_64-linux/ppcx64 returned an error exitcode
  8. ...
  9. (1008) 8287 lines compiled, 0.9 sec
  10. (1021) 1 warning(s) issued
  11. (1022) 86 hint(s) issued
  12. (1023) 10 note(s) issued
  13. /mnt/harddisk/home/testuser3/SOFTWARE/Linux/lazarus/fpclaz
  14. Error: (lazarus) Compile package Cody 1.1: terminated
  15. Error: (lazarus) Compile package jujiboutils 2.3: terminated
  16. Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 256"
  17. Error: (lazarus) Building IDE: Compile AutoInstall Packages failed.

I don't see why lazarus_ccr is coming in. In the meantime, another try has been running with a new install directory and the two selected packages. And this (default+trunk+anchordocking+zeos)

Btw: Seeing how much luck it seems to need for a successful build, the idea of archiving the result as a kind of "snapshot" (for a working combination of fpc's, lazarus', and set of packages' versions) becomes even more desirable.
If there was a way to substitute "some hardcoded paths" you mentioned after unpacking, this would be great - quite a counterpart to distribution's packages, but on user level.

Hence, sometimes some "package (archive)" and "unpack" Buttons might be a valuable enrichment for fpclazup-deluxe too...? As I just tested, a 7zip of mycleanandemptyandnewinstalldir2 is 222 MB, which is affordable to archive.
Title: Re: fpcup 3.1.1 Update
Post by: DonAlfredo on February 06, 2017, 04:07:16 pm
Fpcup(*) builds an isolated install of FPC and Lazarus.
Isolated meaning: no environment paths changed; all in a single directory.
But with hardcoded paths (necessary for this isolation).

If you use a public available, non-specific install directory, you could indeed pack the whole install (with the startup link from your desktop), and copy it towards a new PC and use it out-of-the-box. Prequisit: if copied and unpacked in the same directory as used to build the whole install !!

That would be my advice.
I will not add an archive option however. This is too specific (and also to easy to do by yourself).

PS:
All fpcup(*) versions have been updated to use upcoming FPC 3.0.2 as the stable FPC version.
And I must say: this new stable is a very very good release of FPC !
Title: Re: fpcup 3.1.1 Update
Post by: totya on February 12, 2017, 01:50:53 pm
SVN update:

Quote
The node 'C:\fpcup\0.9-fpcup' was not found.
Title: Re: fpcup 3.1.1 Update
Post by: majid.ebru on January 27, 2021, 11:33:29 am
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"
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.


 :) :) :) :) :) :) :)

Thankyou
Title: Re: fpcup 3.1.1 Update
Post by: jcdammeyer on May 15, 2021, 10:44:43 pm
Quick question on a Beagle or Pi3/4 Debian. 

debian@beaglebone:~/Downloads$ ./fcpupdeluxe

or

debian@beaglebone:~/Downloads$ sudo ./fpcupdeluxe

Title: Re: fpcup 3.1.1 Update
Post by: Gustavo 'Gus' Carreno on May 16, 2021, 01:11:47 am
Hey jcdammeyer,

Both are fine and depend on where you want to deploy your install

debian@beaglebone:~/Downloads$ ./fcpupdeluxe

Most of the installs I make are inside my home folder, so I usually do not need sudo to install those.

debian@beaglebone:~/Downloads$ sudo ./fpcupdeluxe

If you're planning on installing it on /usr or /lib or even /opt this would be necessary.

The problem is that fpcupdeluxe install everything under one single folder and that is not compliant with having binaries under /usr/bin and the rest somewhere else under /usr/lib or the likes.

The main purpose of fpcupdeluxe is to have many installs side by side and for that matter it installs everything in one single folder, contrary to the Posix way of spreading stuff under it's designated folders.
So while it doesn't really matter if you use sudo or not, it's not really necessary since you most probably will install it under your home folder.

Hope this clears it out.

Cheers,
Gus
Title: Re: fpcup 3.1.1 Update
Post by: jcdammeyer on May 16, 2021, 01:28:21 am
Hey jcdammeyer,

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
Hi Gus,
Thanks yes.   Makes sense now.
I did just finish installing into the debian/fcpupdeluxe folder without the sudo into this image:
bone-debian-10.9-lxqt-armhf-2021-04-27-4gb.img
Then installed the packages I've been using and tried compiling one the apps running on a 2018 version of the OS.  So far so good.
I've gone with the trunk version of the Lazarus install so that I don't have to keep editing the one library to get my polygon stuff working.
There are still a few issues I'm working on with the 2021 install and .dts files for capes that have the identifying EEROM but things are finally progressing again.

Next step is to see how well the 2021 OS version incorporates into the gpio group so that the pxl library blinky.lpi example doesn't need a sudo in order to run it.  And that will then lead to getting SPI control from within Lazarus to be able to transfer a bitmap out SPI to a touch screen display.  Something that was trivial in Python with the Adafruit libraries.

TinyPortal © 2005-2018