Lazarus

Announcements => Third party => Topic started by: DonAlfredo on November 01, 2016, 03:13:59 pm

Title: Fpcupdeluxe
Post by: DonAlfredo on November 01, 2016, 03:13:59 pm
Introducing fpcupdeluxe. A GUI tool that is based on fpcup by the late Renier.

https://github.com/newpascal/fpcupdeluxe/releases/latest

Still pre-mature, but ready to use in most cases.

It will ease the install of FPC and Lazarus.
And, as with fpcup, it is fully self-contained, meaning that you can install it on your system without worries about other installs of FPC and Lazarus.
BUT USE THE LINK THAT WILL BE CREATED BY FPCUPDELUXE TO START LAZARUS !

Use the quick-start buttons to install a standard flavor of FPC and Lazarus.
After install, you can add packages from the module list.

And also, you can install cross-compilers for various system.
For Windows, libraries and bintools will be downloaded automagically (when available).

When crossing for Android, it will first search the standard locations for the NDK and SDK.
In case of failure, it will download  the right tools.

Pre-release. Have fun and give feedback !
Title: Re: Fpcupdeluxe
Post by: Lainz on November 01, 2016, 03:24:11 pm
Hi, I've downloaded the version for x86_64. I've selected trunk both for fpc and lazarus and installed it. Lazarus 1.7 64 bits.

When I want to install a cross compiler for i386 it gives me some errors:
Code: Pascal  [Select]
  1. fpcdefs.inc(248,2) Error: User defined: Cross-compiling from systems without support for an 80 bit extended floating point type to i386 is not yet supported at this time
  2. fpcdefs.inc(248,2) Error: User defined: Cross-compiling from systems without support for an 80 bit extended floating point type to i386 is not yet supported at this time
  3. fpcdefs.inc(248,2) Error: User defined: Cross-compiling from systems without support for an 80 bit extended floating point type to i386 is not yet supported at this time
  4. fpcdefs.inc(248,2) Error: User defined: Cross-compiling from systems without support for an 80 bit extended floating point type to i386 is not yet supported at this time
  5. constexp.pas(87,1) Fatal: There were 4 errors compiling module, stopping
  6. Fatal: Compilation aborted

If I want to install cross compiler how I can do? I need to compile first for fpc i386 and then cross compile for x86_64? How?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 01, 2016, 03:36:00 pm
@lainz
Windows ? Linux ?
On Windows:
Recommended: install 32bit, cross towards 64bit.
The cross-compiler will already be installed by fpcupdeluxe.
GDB versions for 32bit and 64bit will also be available and will switch over automagically.
Title: Re: Fpcupdeluxe
Post by: Lainz on November 01, 2016, 03:38:57 pm
Windows.
Quote
Recommended: install 32bit, cross towards 64bit.
Ok as supposed, I will try again.

Edit: Done. Better that installing all by hand.
Title: Re: Fpcupdeluxe
Post by: MementoMojito on November 01, 2016, 04:36:46 pm
Hi DonAlfredo,

Thanks for this great tool : )
I have never used fpcup before but I thought I would it give it a go. I am on Debian Jessie x86-64 and I am trying to install FPC stable and Laz stable for x86_64.
However I have the error:

Code: Pascal  [Select]
  1. fpclazup: ERROR: Could not find SVN executable. Please make sure it is installed.
  2. fpclazup: info: Error running fpcup. Technical details: error executing sequence fpc; line: 2, param: FPC
  3. fpclazup: info: Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc
  4.  

So quite obviously I need SVN; I have installed kdesvn but still no joy. What package is missing if you ever know?

Thanks!
Title: Re: Fpcupdeluxe
Post by: xaver13 on November 01, 2016, 04:42:10 pm
Hello, I installed 32 bit  Fpcupdeluxe (on Windows 10 64 bit) and then 1.7 +3.1.1 . I have 4K resolution, Lazarus IDE was to small. I needed to recompile IDE once again with dpi awareness switched of. The only way I know to do it was to open IDE project in Lazarus, set dpi awareness to off and then to rebuild IDE from Lazarus without using Fpcupdeluxe.

O.K. but I could not build Lazarus IDE in 64 bit because of wrong version fpc.
And ..  my own application I can build in both 32 and 64 bit versions...

Should I try anything else?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 01, 2016, 04:49:57 pm
@MementoMojito
sudo apt-get install subversion
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 01, 2016, 04:53:38 pm
@xaver13
If I understand you correctly, you want both win32 bit and win64.
If you use the 32 bit fpcupdeluxe, it will give you both, including GDB.
This is also the recommended way on Windows.

So, just install once with 32 bit version and get both.

At the moment, I am testing a win 64bit install to try to reproduce your previous setup.
(64 -> 32)
Title: Re: Fpcupdeluxe
Post by: MementoMojito on November 01, 2016, 04:55:20 pm
@MementoMojito
sudo apt-get install subversion

Thanks! I feel slightly stupid tho but it should be on the Wiki...
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 01, 2016, 04:58:45 pm
@MementoMojito
No worries ... in due time, I will add a usermanual / help !
Title: Re: Fpcupdeluxe
Post by: TheWolf on November 01, 2016, 05:08:49 pm
I tried to install trunk both FPC+Lazarus but Application crashes after downloading fpc. Tryed on Ubuntu 16.04 64Bit. Tested several times.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 01, 2016, 05:21:10 pm
Would you mind posting a screen-dump, or something else that indicates the error ?
Title: Re: Fpcupdeluxe
Post by: TheWolf on November 01, 2016, 05:22:40 pm
thats the Error
(fpcupdeluxe-x86_64-linux:11872): Pango-WARNING **: Invalid UTF-8 string passed to pango_layout_set_text()
Speicherzugriffsfehler (Speicherabzug geschrieben)
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 01, 2016, 07:15:27 pm
@all
About 64 bit -> 32 bit ... see this (bug-) report:

http://bugs.freepascal.org/view.php?id=29892
http://lists.freepascal.org/pipermail/fpc-pascal/2016-March/047298.html
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 01, 2016, 08:22:57 pm
@TheWolf
Just ran a test on Arch Bang 64 bit. All greens and a working FPC and Lazarus trunk.
Did you choose a special option ?
Title: Re: Fpcupdeluxe
Post by: TheWolf on November 01, 2016, 08:33:32 pm
No, only press button for trunk installation
Title: Re: Fpcupdeluxe
Post by: MementoMojito on November 01, 2016, 08:36:59 pm
@DonAflredo:
Just got this error when trying to install FPC stable + Laz stable on my Debian Jessie x86_64:

Code: Pascal  [Select]
  1. Free Pascal Compiler version 3.0.0 [2016/11/01] for x86_64
  2. Copyright (c) 1993-2015 by Florian Klaempfl and others
  3. (1002) Target OS: Linux for x86-64
  4. (3104) Compiling turbopoweripro.pas
  5. (1008) 25 lines compiled, 0.2 sec
  6. TProject.DoLoadStateFile Statefile not found: /home/me/fpcupdeluxe/lazarus/components/chmhelp/lhelp/lib/x86_64-linux/lhelp.compiled
  7. Info: (lazarus) Execute Title="Compile Project, Mode: default, Target: lhelp"
  8. Info: (lazarus) Working Directory="/home/me/fpcupdeluxe/lazarus/components/chmhelp/lhelp/"
  9. Info: (lazarus) Executable="/home/me/fpcupdeluxe/fpc/bin/x86_64-linux/fpc.sh"
  10. Info: (lazarus) Param[0]="-B"
  11. Info: (lazarus) Param[1]="-MObjFPC"
  12. Info: (lazarus) Param[2]="-Sghi"
  13. Info: (lazarus) Param[3]="-Cg"
  14. Info: (lazarus) Param[4]="-O3"
  15. Info: (lazarus) Param[5]="-Xs"
  16. Info: (lazarus) Param[6]="-l"
  17. Info: (lazarus) Param[7]="-vewnhibq"
  18. Info: (lazarus) Param[8]="-Fl/opt/gnome/lib"
  19. Info: (lazarus) Param[9]="-Fu/home/me/fpcupdeluxe/lazarus/components/turbopower_ipro/units/x86_64-linux/gtk2"
  20. Info: (lazarus) Param[10]="-Fu/home/me/fpcupdeluxe/lazarus/components/printers/lib/x86_64-linux/gtk2"
  21. Info: (lazarus) Param[11]="-Fu/home/me/fpcupdeluxe/lazarus/components/chmhelp/packages/help/lib/x86_64-linux/gtk2"
  22. Info: (lazarus) Param[12]="-Fu/home/me/fpcupdeluxe/lazarus/components/cairocanvas/lib/x86_64-linux/gtk2"
  23. Info: (lazarus) Param[13]="-Fu/home/me/fpcupdeluxe/lazarus/lcl/units/x86_64-linux/gtk2"
  24. Info: (lazarus) Param[14]="-Fu/home/me/fpcupdeluxe/lazarus/lcl/units/x86_64-linux"
  25. Info: (lazarus) Param[15]="-Fu/home/me/fpcupdeluxe/lazarus/components/lazutils/lib/x86_64-linux"
  26. Info: (lazarus) Param[16]="-Fu/home/me/fpcupdeluxe/lazarus/packager/units/x86_64-linux"
  27. Info: (lazarus) Param[17]="-Fu/home/me/fpcupdeluxe/lazarus/components/chmhelp/lhelp/"
  28. Info: (lazarus) Param[18]="-FU/home/me/fpcupdeluxe/lazarus/components/chmhelp/lhelp/lib/x86_64-linux/"
  29. Info: (lazarus) Param[19]="-dLCL"
  30. Info: (lazarus) Param[20]="-dLCLgtk2"
  31. Info: (lazarus) Param[21]="lhelpAn unhandled exception occurred at $0000000000000000:
  32. EAccessViolation: Access violation
  33.   $0000000000000000
  34.   $000000000056FE87
  35.   $0000000000571091
  36.  
  37. fpclazup: info: InstallerUniversal: warning: running /home/me/fpcupdeluxe/lazarus/lazbuild --primary-config-path=/home/me/fpcupdeluxe/config_lazarus /home/me/fpcupdeluxe/lazarus/components/chmhelp/lhelp/lhelp.lpr returned an error.
  38. fpclazup: info: Error running fpcup. Technical details: error executing sequence lhelp; line: 4, param: lhelp
  39. fpclazup: info: Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 3, param: lhelp
  40. fpclazup: info: Error running fpcup. Technical details: error executing sequence Default; line: 6, param: UniversalDefault
  41.  
  42.  
  43. ERROR: Fpclazupdeluxe failed.
  44.  

I have selected stable for both FPC and Laz, CPU x8664 and OS Linux then Start regular fpcup.

Edit: I am on KDE, could it be the problem?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 01, 2016, 08:48:41 pm
Added fpcdeluxe for Mac (as rar-file):
https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/download/0.91/fpcupdeluxe-i386-darwin.app.rar
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 01, 2016, 08:52:24 pm
@MementoMojito
Thanks for the info. I will try to reproduce !

But, in the meantime, would you mind to try fixes ?
Fixes is, in most cases, better than stable.
And for FPC fixes, it will be release soon (I hope).
Title: Re: Fpcupdeluxe
Post by: MementoMojito on November 01, 2016, 09:02:42 pm
\o/
Code: Pascal  [Select]
  1. SUCCESS: Fpclazupdeluxe ended without errors.
  2.  

Just to know, Fixes is Stables + the fixes released since?
Also let me know if you need any more info to repro with Stable.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 01, 2016, 09:10:04 pm
Yes. Fixes is the latest stable release with bugfixes that have been discovered after its release.
In general, I prefer fixes, even when not yet released.
Title: Re: Fpcupdeluxe
Post by: MementoMojito on November 01, 2016, 09:15:09 pm
Ok thanks.
So I have just tried to install some modules but here is what I get:

Code: Pascal  [Select]
  1. /usr/bin/ld: cannot find -lXtst
  2. make[2]: *** [lazarus] Error 1
  3. make[1]: *** [idepkg] Error 2
  4. make: *** [idepkg] Error 2
  5. /home/me/fpcupdeluxe/lazarus/ide/lazarus.pp(154,1) Error: (9013) Error while linking
  6. /home/me/fpcupdeluxe/lazarus/ide/lazarus.pp(154,1) Fatal: (10026) There were 1 errors compiling module, stopping
  7. Fatal: (1018) Compilation aborted
  8. Error: /home/me/fpcupdeluxe/fpc/bin/x86_64-linux/ppcx64 returned an error exitcode
  9. Makefile:4004: recipe for target 'lazarus' failed
  10. make[2]: Leaving directory '/home/me/fpcupdeluxe/lazarus/ide'
  11. Makefile:4430: recipe for target 'idepkg' failed
  12. make[1]: Leaving directory '/home/me/fpcupdeluxe/lazarus/ide'
  13. Makefile:3074: recipe for target 'idepkg' failed
  14. make: Leaving directory '/home/me/fpcupdeluxe/lazarus'
  15. Error: (lazarus) Build IDE: stopped with exit code 512
  16. Error: (lazarus) Building IDE: Building IDE failed.
  17.  
  18. fpclazup: info: InstallerUniversal: error trying to rebuild Lazarus.
  19. Details:
  20. fpclazup: info: Error running fpcup. Technical details: error executing sequence bgracontrols; line: 6, param: bgracontrols
  21. fpclazup: info: Error running fpcup. Technical details: error executing sequence Only; line: 1, param: bgracontrols
  22.  
  23.  
  24. ERROR: Fpclazupdeluxe failed.
  25.  

Edit: I am installing libxtst-dev, will let you know
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 01, 2016, 09:17:23 pm
The error is clear : you need libXtst (or libXtst-dev).
Title: Re: Fpcupdeluxe
Post by: Lainz on November 01, 2016, 10:13:31 pm
@all
About 64 bit -> 32 bit ... see this (bug-) report:

http://bugs.freepascal.org/view.php?id=29892
http://lists.freepascal.org/pipermail/fpc-pascal/2016-March/047298.html

So it's not possible! registered in the bugtracker in 2007, and still today is not possible.
Title: Re: Fpcupdeluxe
Post by: MementoMojito on November 01, 2016, 10:14:51 pm
Sorry for coming back only now but I couldn't install any modules after it was broken due to the missing lib.
I would get this error all the time:

Code: Pascal  [Select]
  1. fpclazup: info: TUniversalInstaller: building module bgracontrols running all InstallExecute commands in:
  2. Name=bgracontrols
  3. Description="Custom drawn controls. Requires bgrabitmap."
  4. Requires=lazpaint
  5. Installdir=$(fpcdir)/../ccr/$(name)
  6. Enabled=0
  7. GITURL=https://github.com/bgrabitmap/bgracontrols
  8. SVNURL=svn://svn.code.sf.net/p/bgra-controls/code/
  9. ArchiveURL=https://github.com/bgrabitmap/bgracontrols/archive/master.zip
  10. AddPackage=$(Installdir)/bgracontrols.lpk
  11. UnInstall=rm -Rf $(Installdir)
  12.  
  13. fpclazup: info: Installing bgracontrols version 4.3.1
  14. Executing : /home/me/fpcupdeluxe/lazarus/lazbuild "--pcp=/home/me/fpcupdeluxe/config_lazarus" "--add-package" "/home/me/fpcupdeluxe/ccr/bgracontrols/bgracontrols.lpk" (working dir: )
  15. using config file /home/me/fpcupdeluxe/lazarus/lazarus.cfg
  16. SetPrimaryConfigPath NewValue="/home/me/fpcupdeluxe/config_lazarus" -> "/home/me/fpcupdeluxe/config_lazarus"
  17. fpclazup: info: TUniversalInstaller: checking lpl file for bgracontrols
  18. fpclazup: info: InstallerUniversal: going to rebuild Lazarus because packages were installed.
  19. Executing : /home/me/fpcupdeluxe/lazarus/lazbuild "--pcp=/home/me/fpcupdeluxe/config_lazarus" "--build-ide=-dKeepInstalledPackages " "--build-mode=" (working dir: /home/me/fpcupdeluxe/lazarus)
  20. using config file /home/me/fpcupdeluxe/lazarus/lazarus.cfg
  21. SetPrimaryConfigPath NewValue="/home/me/fpcupdeluxe/config_lazarus" -> "/home/me/fpcupdeluxe/config_lazarus"
  22. ERROR: Broken dependency: bgragames 1.0->BGRABitmapPack4LCL_OpenGL
  23.  
  24. fpclazup: info: InstallerUniversal: error trying to rebuild Lazarus.
  25. Details:
  26. fpclazup: info: Error running fpcup. Technical details: error executing sequence bgracontrols; line: 6, param: bgracontrols
  27. fpclazup: info: Error running fpcup. Technical details: error executing sequence Only; line: 1, param: bgracontrols
  28.  
  29.  
  30. ERROR: Fpclazupdeluxe failed.
  31.  

So I have tried to reinstall FPC and Lazarus by unselecting all the modules and running Fixes but it would fail for the same reasons so I have had to manually remove my fpcupdelux folder from my home folder then reinstall it with the modules and it worked.
Title: Re: Fpcupdeluxe
Post by: Lainz on November 01, 2016, 10:22:31 pm
Code: Pascal  [Select]
  1. ERROR: Broken dependency: bgragames 1.0->BGRABitmapPack4LCL_OpenGL

I need to fix that. Thanks for reporting. Just don't install bgragames.

Edit: It was already fixed on git. Don't use anymore the svn of: BGRABitmap, BGRAControls, BGRAGames, these are outdated! Please use GitHub only from now.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 01, 2016, 10:25:27 pm
The list of modules is long. The list of FPC versions and Lazarus versions is also long.
More often than not you will encounter errrors with modules (packages) due to non-compatible versions.

Naturally, you should always have the method of removing the packages through Lazarus itself.
This would be easier than installing everything new. (install/uninstall packages)

As a last resort, you can always remove the config_lazarus directory and rebuild all with fpcupdeluxe.
Nothing will be downloaded. The install should be again pristine (I hope).

@lainz : I will update !!
Title: Re: Fpcupdeluxe
Post by: MementoMojito on November 01, 2016, 11:32:43 pm
@lainz: No problem at all and sorry if it was misleading

@DonAlfredo: Thanks for the hints :) I am a total newb regarding fpcup as it's the very first time I am using it as you could quite obviously notice. However, I will test the trunk and will let you know if you are interested into getting feedbacks for Debian with KDE?

Edit: The compilation just finished it's all good for Trunk.
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 02, 2016, 04:22:41 am
This is a great effort!
Everything worked for me except the cross-install from Linux64 -> Linux32 (which is a problem I have with a regular install on my system - Puppy Linux 64-bit)

Some suggestions for the GUI (tested in linux):

The main window title could be 'Lazarus and Freepascal installer and updater'

The buttons [Start fpcup, fpc only ] and [Start regular fpcup] would be better labelled
[Install or update fpc] and [Install or update Lazarus] I think.

For first time use,
1. An information dialog at startup would be handy. The GUI looks overwhelming for a beginner running it for the first time.
2. (Linux) After installing Lazarus, an info dialog showing how to run Lazarus (e.g. location of startlazarus)  or.. Is it possible to make a desktop icon?
2a. or.. Maybe even a button to start Lazarus from your GUI

The scrolling textwindow - does it always need to be shown, or could it be an option?  For a beginner, it's not really useful other than to show that something is happening.
A simple modal dialog showing the action in progress (i.e. Downloading, Copying files, Installing etc) would look better and be just as useful. (I did spot the labels, but a dialog looks more.. GUI-like)

Would it be possible to capture only error messages to a logfile, so that the user could have a better idea of what went wrong?

The group of buttons at the bottom: Could the group panel have the caption 'Install or Update'?

I hope you don't mind me giving unasked-for suggestions!

I am already loving this utility  :)

Once all the bugs are out, the Lazarus team should consider including this on their main page IMO. fpcupdeluxe is a country mile better than their regular installer.  Perhaps it could be offered as the 'Advanced installer and Updater'?
Title: Re: Fpcupdeluxe
Post by: edwinyzh on November 02, 2016, 09:50:55 am
Hello Afred,

Very nice tool!

Can you make the font size of the command output memo a little larger? The window title in the attached screensont is the correct font size on my 125% Win 7 system.

More importantly, is it possible to use a proxy? I'm experiencing the
Code: Pascal  [Select]
  1. fpclazup: info: DownloadFromSVN: SVN gave error code: 1
network error here in China, where the Internet is sadlly semi-blocked by the GFW (The Great Firewall), which makes the VPN greatly unstable... I might asking too much in this regard, and I'm completely understand and expect the answer would be a "no", I'm just asking :)
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 02, 2016, 10:01:00 am
@edwinyz
@minesadorada

Updates are pending !!
If possible (by skills and time), I will implement (most) of your questions.
Stay tuned.
Title: Re: Fpcupdeluxe
Post by: edwinyzh on November 02, 2016, 10:20:14 am
@edwinyz
@minesadorada

Updates are pending !!
If possible (by skills and time), I will implement (most) of your questions.
Stay tuned.

Sure, Alfred, you are awesome! :D
Title: Re: Fpcupdeluxe
Post by: xaver13 on November 02, 2016, 10:31:59 am
I used windows 10, 64bit version 1.7+3.1.1 (for my 4k resolution was needed to compile ID once more) and ....   I am very happy.

Thank you DonAlfredo :)
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 02, 2016, 12:51:57 pm
Here you go ... a new (pre-)release of fpcupdeluxe.

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.92

Added many of the feature-requests, but not all !

Proxy can be set with the setup+ button.
New message windows that tries to filter the real important messages.
When hovering over output-window, ctrl+scrollwheel will change font-size.
Added hints for speedbuttons.

Verbosity not changed: there is a checkbox already to set verbosity level.

Please test !
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 02, 2016, 01:06:44 pm
Good work!

Just appearance so far:
Some of the text overflows the buttons and interface (see screengrab)

My System Info (if this helps)
Linux Kernel: 3.14.54 (x86_64)
Kernel Version: #1 SMP PREEMPT Tue Dec 1 17:54:26 GMT 2015

Distro: tahrpup64 6.0.5
Window Manager: JWM v2.3.4
Desktop Start: xwin jwm

Display Specifications:
• Monitor Name: Philips 170C
• Monitor VertRefresh: 60.0 times/s
• Screen Dimensions: 1280x1024 pixels (338x270 millimeters)
• Screen Depth: 24 bits (planes)

Xorg Startup Log (/var/log/Xorg.0.log):
• Xorg Driver in use: nouveau
• Loaded Modules: dbe dri2 exa extmod fb glx kbd mouse shadowfb
• X.Org version: 1.15.1

OpenGL 2D/3D Rendering:
• Direct Rendering: Yes
• Vendor: nouveau
• Renderer: Gallium 0.4 on NVE4
• Version: 3.0 Mesa 10.1.3

VGA controller [0300]: NVIDIA Corporation GK104 [GeForce GTX 770] [10de:1184] (rev a1)
• Kernel Driver: nouveau
• Memory Used: 823.16 KB
• Path: /lib/modules/3.14.54/kernel/drivers/gpu/drm/nouveau/nouveau.ko
• Description: nVidia Riva/TNT/GeForce/Quadro/Tesla
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 02, 2016, 01:15:12 pm
This overflow is also visible on my Mac Virtual.

However, on Linux, I always install the following fonts to get things right:
xorg-fonts-100dpi
xorg-fonts-75dpi
ttf-freefont
ttf-liberation

Would you mind trying ?
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 02, 2016, 01:48:49 pm
This overflow is also visible on my Mac Virtual.

However, on Linux, I always install the following fonts to get things right:
xorg-fonts-100dpi
xorg-fonts-75dpi
ttf-freefont
ttf-liberation

Would you mind trying ?
I installed the ttf- fonts, but couldn't find the xorg- ones in the Ubuntu repositories.

No change, I'm afraid :(
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 02, 2016, 01:54:10 pm
xfonts-100dpi
xfonts-75dpi
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 02, 2016, 01:58:37 pm
xfonts-100dpi
xfonts-75dpi
I'm ahead of you.  I just installed them (I guessed the name)  but no difference.  I'll try rebooting then retesting..

=After reboot=
Still the same.  Mind if I grab the source to try and troubleshoot?  I'm sure you have more important issues to attend to.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 02, 2016, 02:06:04 pm
Sure !
Will be a big download ... made the mistake of adding the cross-tools into github ...
Must think of something better !
Title: Re: Fpcupdeluxe
Post by: hnb on November 02, 2016, 02:31:41 pm
Sure !
Will be a big download ... made the mistake of adding the cross-tools into github ...
Must think of something better !

IMO most natural place for that is github release with new "cross-tools-vx.x" tag
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 02, 2016, 02:58:44 pm
Here's how it looks on my system after tweaking (screenshot)

I've zipped up the modified form (pas and lfm).  Only the layout changed.
It might not look OK on a different system - please take a look.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 02, 2016, 04:04:59 pm
Will take a look ... many thanks  !
Title: Re: Fpcupdeluxe
Post by: Lainz on November 02, 2016, 07:12:12 pm
Under Windows also the form it's blured (using High DPI modes) since you don't have enabled HighDPI setting from project options. Please see this article and try to implement it:

http://wiki.freepascal.org/High_DPI#DPI_Aware_Application_.28For_Vista_.2B.29
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 03, 2016, 06:41:10 pm
New release of fpcupdeluxe !!
More bugs fixed.
Better looks : big thanks @minesadorada !

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.95

For the fans of NewPascal.
You should be able to install NewPascal with fpcupdeluxe on any major system now.
And also the mORMot that will work with all features on all these systems.

For the fans of cross-compiling and running Windows:
Please give cross-compiling a go ... and feedback is welcome.
But also have a look here before you start compiling:
http://synopse.info/forum/viewtopic.php?id=3620

For the fans of FreeBSD: I am working on it (being a complete novice).
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 03, 2016, 06:51:50 pm
OK Downloaded (looks fine under Win64)
Doing a clean install fpc 3.0.0 + Laz 1.7 to default c:\fpcdeluxe folder in Win64


Failed at the last hurdle.  Attached: zipped logfile
Tried 3 times with same result.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 03, 2016, 08:12:47 pm
Please show me the command screen (better: a copy of the screen).
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 03, 2016, 08:26:36 pm
Please show me the command screen (better: a copy of the screen).
OK One more time...
Would you like the logfile as well?  I thought that was the command screen output logged to file.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 03, 2016, 08:35:28 pm
Nop. The log file is generated by the basic fpcup-code ... not very informative.

But now you also see that is very easy to walk into the trap of freedom:
you can choose FPC 2.0.0 to compile Lazarus trunk, and that is not a healthy combi.

Trunk + trunk is a risky but also reasonable choice.
I personally would also always choose for fixes, because fixes = stable + bugfixes !
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 03, 2016, 08:40:40 pm
The latest install has worked!  (fpc 3.0.0 + Laz 1.7) Maybe it was the reboot.. or something else..  Isn't it annoying when you can't reproduce an error? :)

Next step: crosscompiling.
Watch this space
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 03, 2016, 08:44:43 pm
Yes, very annoying ... take my place ... testing fpcupdeluxe on 5 different systems ... in many FPC/Laz  combinations ... including the installation of packages ... my eyes are square today ...  :D
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 03, 2016, 09:02:34 pm
Crosscompiling report:
1- I am running Win64.  I asked for a crosscompile to Win64 and it allowed me - there should be a simple check to prevent this. Perhaps grey out the options that correspond to the current OS?
2. Crosscompile Win64 -> Win32 - Success!
3. Crosscompile Win64 -> Linux 32 - Fail, but message "Going to download the right cross code" and an Hourglass cursor.  App title is (Not Responding) so kill the app and restart it.
4. After kill/resatrt, try Crosscompile Win64 -> Linux 64.  Same result as Linux 32.
Message window reports "ERROR : Failed to get crossbinutils" then promises " Going to download the right cross code" and an Hourglass cursor.
5. Fire up Lazarus from new desktop icon (target=C:\fpcupdeluxe\lazarus\lazarus.exe --pcp="C:\fpcupdeluxe\config_lazarus") and try to run an empty application.
Message Window:
Compile Project, Target: C:\fpcupdeluxe\projects\project1.exe: Exit code 1, Errors: 1
Fatal: Can't find unit system used by Project1

It's not looking good...
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 03, 2016, 09:05:01 pm
Yes, very annoying ... take my place ... testing fpcupdeluxe on 5 different systems ... in many FPC/Laz  combinations ... including the installation of packages ... my eyes are square today ...  :D
You must have a hell of a fast internet connection!  I'm in the boondocks on an African island - my router is a tin can with a string connecting to the nearest town...
Take a break - it will all make sense tomorrow.. :)
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 03, 2016, 09:38:23 pm
One final one .... ;-)

NewPascal on the Mac, running the mORMot Sample !!
(see included screenshot)

Installed with fpcupdeluxe ...
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 04, 2016, 11:34:41 am
Win 10 x64
Removed old folder, deleted log and ini files.  Install fresh.
Screengrab attached:
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 04, 2016, 09:04:40 pm
Major update !!

All bintools, binlibs and bootstrappers have been removed from the repo (was a bad idea in the first place).
They are now available as releases.
This version of fpcupdeluxe uses these releases.

So, from now on, please use this new release (0.99) !

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99
Title: Re: Fpcupdeluxe
Post by: Lainz on November 04, 2016, 10:17:24 pm
Quote
All bintools, binlibs and bootstrappers have been removed from the repo (was a bad idea in the first place).
They are now available as releases.

Thankyou for that, saves a lot of time for us.

You can add a progress bar for the download, or a percent in the terminal we can see?

Edit: or at least add a thread for the download, so the GUI doesn't freeze (Of course we don't need to touch nothing, but Windows keeps saying the application is 'not response' or wathever is translated 'No responde').

Edit: Done installing the cross compiler. But it doesn't works:
Plese see this:
http://forum.lazarus-ide.org/index.php/topic,34681.0.html
Title: Re: Fpcupdeluxe
Post by: josh on November 04, 2016, 11:06:10 pm
Hi
Just tried Deluxe version,
Problem with Panda AV detecting virus and auto quarantining
sent to virus total failed 1/51
Qihoo-360    HEUR/QVM20.1.0000.Malware.Gen    20161104

I then allowed the download through, after loading and choosing to instal fp/laz bith trunk
Got error


Clicked the ok button, and it appears to continue.

UPDATE
Did not complete, got fmake errors timeout probably, maybe AV is still playing up with it.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 05, 2016, 11:36:53 am
@josh
Did you have any success ?
Fpcupdeluxe downloads everything that it needs : ssl-libs for https, FPC and Lazarus sources, binutils, unzipper, GDB, crosstools ....
So, you definitely need to give it permissions !
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 05, 2016, 12:03:34 pm
I downloaded the x86_64-Win64 exe and it says it is version 20161102.  Is this v 0.99?

Another question: fpcupdeluxe uses svn from my already-installed TortoiseSVN.  Is this OK?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 05, 2016, 12:08:56 pm
Mmmm ... I need to remember mysef to update the version numbering next time ... and to add the system.

So, this is the newest release:
https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99
Just get it ... ;-)

And yes, fpcupdeluxe will pickup any existing svn client on your system.
If not available, it will download one itself.
Title: Re: Fpcupdeluxe
Post by: josh on November 05, 2016, 12:27:32 pm
Hi
I tried three times, but still no luck.
I suspect my A/V is causing the problem, but a bit reluctant to disable it. The VirusTotal report showing one malware (probably a flase positive) is probably causing the problem.
I will wait until next release; as I have found sometimes just a recompile can solve the false positive problem.

Josh
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 05, 2016, 08:23:57 pm
I have to give up on fpcupdeluxe for a bit.  It consistently fails when it gets to the 'compiling Lazarus' stage at the end.  It may be a Win64 issue.
I tried v0.99 both without and with 'Repo' option in the latest version.  Always the same result.

I notice that it installs components before the first Laz compile - maybe that's the weak point?

If it fails to make startlazarus, the user has no option but to junk >1GB of download and start again.
Title: Re: Fpcupdeluxe
Post by: Lainz on November 05, 2016, 08:49:28 pm
Problem with cross compiled binary from Windows (Lazarus 32 bit) to Linux:

When I try to run a binary made with the cross compiler i386 linux, it get's compiled, but when I try to run that binary under Ubuntu 32 bits it says that the file can't be executed. I've set the property that allows to run it and also set permissions but nothing works.

Edit: The program is an empty project and also I've added the right settings as explained here
http://forum.lazarus-ide.org/index.php/topic,34681.msg227856.html#msg227856

Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 06, 2016, 08:48:00 am
@lainz

When cross-compiling, the libraries must be available on the compiling system.
The libraries that come with fpcupdeluxe are based on Arch Linux.
So, you binary gets linked with the help of these libraries.
For fpcupdeluxe, the output of
Code: Pascal  [Select]
  1. ldd ./fpcupdeluxe-arm-linux
looks like this:

Code: Text  [Select]
  1.         linux-vdso.so.1 (0x7ee9f000)
  2.         libGLESv2.so => /usr/lib/libGLESv2.so (0x76f33000)
  3.         libdl.so.2 => /usr/lib/libdl.so.2 (0x76f1e000)
  4.         libpthread.so.0 => /usr/lib/libpthread.so.0 (0x76ef5000)
  5.         libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x76e54000)
  6.         libX11.so.6 => /usr/lib/libX11.so.6 (0x76d37000)
  7.         libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x76d05000)
  8.         libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x76965000)
  9.         libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x7690e000)
  10.         libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x7680e000)
  11.         libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x767fc000)
  12.         libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x767e8000)
  13.         libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x76798000)
  14.         libcairo.so.2 => /usr/lib/libcairo.so.2 (0x766a1000)
  15.         libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x76674000)
  16.         libc.so.6 => /usr/lib/libc.so.6 (0x76538000)
  17.         libdrm.so.2 => /usr/lib/libdrm.so.2 (0x7651c000)
  18.         libm.so.6 => /usr/lib/libm.so.6 (0x7649c000)
  19.         libglapi.so.0 => /usr/lib/libglapi.so.0 (0x76458000)
  20.         /lib/ld-linux-armhf.so.3 (0x76f61000)
  21.         libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x7643e000)
  22.         libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x762ef000)
  23.         libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x762a7000)
  24.         libXrender.so.1 => /usr/lib/libXrender.so.1 (0x7628e000)
  25.         libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x76f81000)
  26.         libXi.so.6 => /usr/lib/libXi.so.6 (0x76271000)
  27.         libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x76257000)
  28.         libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x76246000)
  29.         libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x7623b000)
  30.         libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x76230000)
  31.         libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x76224000)
  32.         libXext.so.6 => /usr/lib/libXext.so.6 (0x7620c000)
  33.         libxcb.so.1 => /usr/lib/libxcb.so.1 (0x761e0000)
  34.         libpng16.so.16 => /usr/lib/libpng16.so.16 (0x761a5000)
  35.         libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x76184000)
  36.         libffi.so.6 => /usr/lib/libffi.so.6 (0x76174000)
  37.         libpcre.so.1 => /usr/lib/libpcre.so.1 (0x760ff000)
  38.         libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x760d2000)
  39.         libthai.so.0 => /usr/lib/libthai.so.0 (0x760ba000)
  40.         libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x76043000)
  41.         libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x75f9c000)
  42.         libEGL.so.1 => /usr/lib/libEGL.so.1 (0x75f65000)
  43.         libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x75f51000)
  44.         libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x75f37000)
  45.         libz.so.1 => /usr/lib/libz.so.1 (0x75f14000)
  46.         libGL.so.1 => /usr/lib/libGL.so.1 (0x75eaf000)
  47.         librt.so.1 => /usr/lib/librt.so.1 (0x75e98000)
  48.         libresolv.so.2 => /usr/lib/libresolv.so.2 (0x75e71000)
  49.         libexpat.so.1 => /usr/lib/libexpat.so.1 (0x75e3e000)
  50.         libXau.so.6 => /usr/lib/libXau.so.6 (0x75e34000)
  51.         libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x75e1f000)
  52.         libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x75da0000)
  53.         libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x75d89000)
  54.         libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x75d78000)
  55.         libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0x75d66000)
  56.         libxcb-dri2.so.0 => /usr/lib/libxcb-dri2.so.0 (0x75d52000)
  57.         libxcb-dri3.so.0 => /usr/lib/libxcb-dri3.so.0 (0x75d3f000)
  58.         libxcb-present.so.0 => /usr/lib/libxcb-present.so.0 (0x75d2b000)
  59.         libxcb-randr.so.0 => /usr/lib/libxcb-randr.so.0 (0x75d10000)
  60.         libxcb-xfixes.so.0 => /usr/lib/libxcb-xfixes.so.0 (0x75cfa000)
  61.         libxcb-shape.so.0 => /usr/lib/libxcb-shape.so.0 (0x75ce7000)
  62.         libxcb-sync.so.1 => /usr/lib/libxcb-sync.so.1 (0x75cd2000)
  63.         libxshmfence.so.1 => /usr/lib/libxshmfence.so.1 (0x75cbf000)
  64.         libgbm.so.1 => /usr/lib/libgbm.so.1 (0x75ca4000)
  65.         libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x75c8a000)
  66.         libwayland-server.so.0 => /usr/lib/libwayland-server.so.0 (0x75c6e000)
  67.         libxcb-glx.so.0 => /usr/lib/libxcb-glx.so.0 (0x75c4c000)
  68.         libXxf86vm.so.1 => /usr/lib/libXxf86vm.so.1 (0x75c36000)
  69.         libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x75c05000)

This linking works in most cases. But Linux distros differ. And thus also the libraries.
It could be that in your case, the libs differ to much to be compatible.
If you are planning to use your app on a certain distro, you could always use the libs of this distro.
Just copy them (hardlinks, no softlinks) into cross\lib\linux..... on your Windows system.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 06, 2016, 09:00:13 am
@minesadorada
The difference between repo yes or no.

repo yes:
sources get checked-out, and on every subsequent run, they get update.
only the updates are downloaded
the first checkout will be huge, the following updates will be (very) small

repo no:
only the files are downloaded (a svn export)
this is a not that big download
because fpcup has no way of knowing if and when there were updates, the sources get downloaded again on every subsequent run

Repo yes is the default behavior and has been for fpcup as long as its existence.
Hence fpcUP(DATE).

Repo no is available for non changing sources like stable, or old versions. These do not change anymore.
Repo no has been added to keep things small, for small systems.
Repo no is also (at the moment) the default for modules (packages).
Perhaps a warning should have to be shown when choosing repo no for FPC and/or Lazarus..

@all
Due to the fact that fpcupdeluxe gives you a choice of sources, please state your choice in any (bug) report.
I need to know to be able to reproduce/investigate.

edit: I will remove repo-checkbox from the front-page and move it towards setup+.
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 06, 2016, 10:46:03 am
@DonAlfredo: I am a believer in your GUI project, but I have yet to get a usable Lazarus setup in my Windows 10 64-bit system.

I'm willing to test some more, but I need an indication as to what information you need in order to diagnose and fix.  I don't think I have an unusual system environment, but maybe some wrong assumption or other ignorance is denying you the information you might need.

If other Win 10/64-bit users are achieving success, then it's not your problem, but mine.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 06, 2016, 10:50:42 am
Well, I have it working on Win10/64, but I am not representative ... ;-)

Again, what are you trying to install (FPC/Laz) ?
trunk/trunk ?
fixes,fixes ?
fixes,trunk ?
...
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 06, 2016, 11:01:44 am
Well, I have it working on Win10/64, but I am not representative ... ;-)

Again, what are you trying to install (FPC/Laz) ?
trunk/trunk ?
fixes,fixes ?
fixes,trunk ?
...
Before any new attempt, I delete the old Lazarus install folder and all fpcupdeluxe logfiles and inifiles.  I haven't deleted the 2 dll files (libeay32.dll and ssleay.dll) - perhaps I should?
I have tried:
1. fpc 3.1.1 + laz 1.7 (because I have a working NewPascal environment using these versions, so it seemed a reasonable test)
2. fpc 3.0 + laz 1.6 (because I have a working wininstaller environment using these versions, so it seemed a reasonable test)
3. fpc trunk + laz trunk (because this is what I would actually want fpcupdeluxe for)

All have worked fine until the final Lazarus compile.  Then failed with Error #2.

Haven't all us software developers said at least one time (in exasperation); "Well, it works on my machine!"  :D

Re: GUI choices, it would be fairly straightforward to have hints activated for each element.  A refactoring job after beta, I assume.  With complicated GUI's I favour 'beginner/normal and advanced/expert' modes via user choice.  It makes the design so much simpler as in one mode you only display essentials, whilst in the other you can display everything you have.
 
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 06, 2016, 12:22:26 pm
Testing now !
Please try to remove fpcup.ini also, when starting new.
This fpcup.ini does not get updated when you use a new fpcupdeluxe version.
And changes inside of fpcup.ini could be important.
Title: Re: Fpcupdeluxe
Post by: Michl on November 06, 2016, 02:00:41 pm
@all
Due to the fact that fpcupdeluxe gives you a choice of sources, please state your choice in any (bug) report.
I need to know to be able to reproduce/investigate.
I've seen this project and want to test it on Linux. I wasn't able to start on a 32bit Linux Mint 17.3 KDE GTK2 the file fpcupdeluxe-i386-linux, nor I was able to start on a 64bit Linux Mint 17.3 KDE GTK2 the file fpcupdeluxe-x86_64-linux. I'm not a Linux guru, I'm mostly on Windows. Maybe I missed something.

So I decided to download the source and compile the project for myself on Linux. As I can see, you developed your app on trunk. But I want to run your app to get the trunk %). However, I changed the source a bit, so I could compile it on stable Lazarus 1.6 on stable FPC 3.0.0. Now, with your app, I could easy install Lazarus trunk on FPC trunk. :D

Just a suggestion: Maybe in the future, is it possible to develop your app on the latest stable release of FreePascal and Lazarus, so it is compilable for everybody out of the box?

Seems to be a nice tool! I'll test it further. Thank you very much. :)
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 06, 2016, 02:06:53 pm
Thanks ! Please send me the changes, I will include them.
Title: Re: Fpcupdeluxe
Post by: Lainz on November 06, 2016, 02:14:30 pm
You should think on supporting Debian/Ubuntu/Linux Mint, seems that we want to install / cross compile to these platforms.
https://distrowatch.com/dwres.php?resource=popularity

If you can, add a i386 Linux (Distro name here) to Cross Compiler. If not well we can at least install it on taget system compiling then Michl gives you the changes  8)

Sorry If I'm promoting the laziness, but is not related with the objetive of this app  :-[
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 06, 2016, 03:01:11 pm
That is perhaps a good idea.
Privately, I have different libraries for both RPi (Arch) and Beaglebone (Ubuntu) when crossing towards Linux Arm.
So, this would be a natural extension.
Title: Re: Fpcupdeluxe
Post by: Michl on November 06, 2016, 07:51:53 pm
Thanks ! Please send me the changes, I will include them.
Oh, sorry. I think, you will not include my changes, cause it was done, just to compile your project. I simply compiled your source and inserted the four not compilable files from trunk and renamed it, so that one are used (IniFiles.pas, fphttpclient.pas, sslsockets.pas, ssockets.pas) and a own definied TStringArray = Array of string. Thats it. It compiles and it work, but is absolutely not recommended and there is no guarantee it works everywhere. Sorry, if I give you a false impression. My hint was just for you, to think about, if you want that your code compiles on everybodys computer.
Title: Re: Fpcupdeluxe
Post by: Michl on November 07, 2016, 09:03:33 am
Thats it.
One thing, I had forgotten to say, I manually edited the fpc.cfg. The path were wrong. Without this, I wasn't able to build a project or the IDE itself.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 09, 2016, 10:01:21 pm
New release.
Should now run and cross-compile for Debian like distros for Linux.

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99b

Libraries are now also based on Debian (Ubuntu, Mint).
Title: Re: Fpcupdeluxe
Post by: Lainz on November 09, 2016, 10:07:48 pm
Many thanks for taking Debian / Ubuntu / Mint into consideration.

I'm giving it a try and then I will come back.

Edit: cross compiler for Linux working well (From lazarus for Windows 32 bit), producing executables that works under Ubuntu 16.04 (32 bit).

Edit 2: and cross compiler for Linux 64 bit works too.
Title: Re: Fpcupdeluxe
Post by: swierzbicki on November 10, 2016, 06:25:40 pm
Thank you, that's great.

I have a issue with cross-compiler (arm / wince in my example ) where binaries cannot be downloaded

Code: Pascal  [Select]
  1. fpclazup: info: Win32_wincearm: searched but did not find any binary utilities !!
  2. fpclazup: ERROR: Failed to get crossbinutils
  3. fpclazup: ERROR: Error running BuildModuleCustom for module FPC
  4. fpclazup: info: Error running fpcup. Technical details: error executing sequence FPCBuildOnly; line: 2, param: FPC
  5. fpclazup: info: Error running fpcup. Technical details: error executing sequence Only; line: 2, param: FPCBuildOnly
  6.  
  7.  
  8. ERROR: Fpclazupdeluxe failed.
  9. Going to download the right cross-tools.
  10. Error while trying to download https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/raw/master/crosstools/WinCrossWinceARM.rar. Trying once again.
  11. No luck in getting then cross-tools ... aborting.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 10, 2016, 07:29:24 pm
I guess you are using an old version !
Please use a version from the latest release:

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99b
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 11, 2016, 04:18:51 pm
FreeBSD and Darwin have been added into fpcupdeluxe.
Also (new) binaries are available for FreeBSD and Darwin.
https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99b

FreeBSD is now also available for NewPascal.
https://github.com/newpascal/newpascal/releases/tag/np_sc-v1.0.34
Title: Re: Fpcupdeluxe
Post by: swierzbicki on November 14, 2016, 02:18:00 pm
I guess you are using an old version !
Please use a version from the latest release:

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99b

Thank you,

I've downloaded the new version andI was able to install cross compile tools.
I'm getting this error when trying to compile for the WinCE / ARM platform :


Code: Pascal  [Select]
  1. Compile package FCL 1.0.1: Exit code 1, Errors: 1
  2. Error: Illegal parameter: -CaEABIHF-CpARMV7A
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 14, 2016, 02:42:49 pm
As I do not have any knowledge about the WinCE platform, fpcupdeluxe builds a crosscompiler for Wince without the ARMHF option. As a result, these two settings are not valid.

For now, you have the option to also install an ARM/Linux cross-compiler.
This will compile a cross ARM compiler with hardfloat support.
This compiler will also be used for Wince, and these two settings will become valid.

A request: please enlighten me about the status of hardfloat/softfloat on WinCE !??
Perhaps I have to add an option hard/soft-float into fpcupdeluxe ?
Title: Re: Fpcupdeluxe
Post by: swierzbicki on November 14, 2016, 03:37:41 pm
For now, you have the option to also install an ARM/Linux cross-compiler.
This will compile a cross ARM compiler with hardfloat support.
This compiler will also be used for Wince, and these two settings will become valid.

I'm sorry but I still encounter this error after installing the ARM/Linux cross-compiler !
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 14, 2016, 03:40:14 pm
Mmm, I am still in the dark ....
What versions of FPC and Lazarus do you install with fpcupdeluxe ?
Will try to reproduce.
Title: Re: Fpcupdeluxe
Post by: swierzbicki on November 14, 2016, 04:08:24 pm
What versions of FPC and Lazarus do you install with fpcupdeluxe ?

FPC version : newpascal
Lazarus version : newpascal
Title: Re: Fpcupdeluxe
Post by: swierzbicki on November 15, 2016, 11:25:47 am
Will try to reproduce.

Hello DonAlfredo, did you reproduce my issue ? Did you find a workaround ?

Thank you
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 15, 2016, 11:42:20 am
Yes. And solved also.
Now testing.

Will release new fpcupdeluxe within a couple of hours.

Also, I have compiled new binutils (2.2.27) for Wince.
These are already online.
Title: Re: Fpcupdeluxe
Post by: swierzbicki on November 15, 2016, 02:21:05 pm
Yes. And solved also.
Now testing.

Will release new fpcupdeluxe within a couple of hours.

Also, I have compiled new binutils (2.2.27) for Wince.
These are already online.

Yeaahhhh, thank you so much
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 15, 2016, 05:09:53 pm
New relase : v0.99c !

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99c

Fixes for wince.
And more improvements.

@swierzbicki
Delete fpc bin directory : c:\yourinstall\fpc\bin
Delete wince cross-bin directory : c:\yourinstall\cross\bin\arm-wince
Delete lazarus config dir : c:\yourinstall\config_lazarus

Rerun fpcupdeluxe (the new version naturally).
Rerun cross-compiler arrm-wince install.

This procedure prevents another download of all FPC and Lazarus sources.
Title: Re: Fpcupdeluxe
Post by: tk on November 15, 2016, 05:30:29 pm
My first experience with fpcupdeluxe, Win7x64, just getting both trunks to default location, no other settings.
It is nice effort, but:

1.fail: while getting fpc: svn: E120104: ra_serf: An error occurred during decompression
Had to svn cleanup, add http-bulk-updates = yes to c:\Users\TK\AppData\Roaming\Subversion\servers, then restart.

2.fail: while getting lazarus: svn: E140001: zlib (uncompress): corrupt data: Decompression of svndiff data failed
Had to restart.

3.fail: fpcupdeluxe.exe crashed somewhere at the end, after compiling help files...
Had to restart.

Running for 4th time finally ended with success.  :)

While running got many times ppc386 stopped working etc. but these fails were seemingly auto-recovered.

But, quite too many fails for starters :o...

Total time spent: around 4 hours. %)

After that just tried to install some cross compiler and never succeeded, eg.
Code: [Select]
Error while trying to download https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/raw/master/crosstools/WinCrossAndroidARM.rar. Trying once again.
No luck in getting then cross-tools ... aborting.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 15, 2016, 05:39:22 pm
@tk
Definitely too many errors, I agree.
Will dive into them. Try to solve.
Title: Re: Fpcupdeluxe
Post by: swierzbicki on November 15, 2016, 05:56:21 pm
Hello DonAlfredo,

It's getting better and better :)
I still have an issue (sorry) :

Create a new project
Select ARM / Wince + Wince Widget
Compile

I'm getting this error :
wincewsmenus.pp(1130,1) Error: Error while compiling resources -> Compile with -vd for more details. Check for duplicates.

Should I open a ticket for this ?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 15, 2016, 06:25:12 pm
For now, this can be easily fixed !
No ticket yet.

Just change (in WinCEWSMenus):
{$R wincemenures.rc} into {$R wincemenures.res}

Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 15, 2016, 10:16:33 pm
New fully prepared NewPascal release. Made with fpcupdeluxe.
For Windows. Please follow the install-instructions closely before use.

Downloads can be found here:
https://github.com/newpascal/newpascal/releases/tag/np_sc-v1.0.36

Info about NewPascal:
http://newpascal.org/
http://newpascal.org/download.html
http://newpascal.org/compass.html

Title: Re: Fpcupdeluxe
Post by: tk on November 16, 2016, 05:04:28 pm
After that just tried to install some cross compiler and never succeeded, eg.

I did not succeed because I did not have cross binutils and libs installed.
Now read the error messages carefully, added required binutils and libs and fpcupdeluxe worked like a charm! 8-)

For those cross compiling newbies like me I would recommend to add a big dialog like:

"You are a fool aren't you? You don't have the binutils and libs, how do you think am I going to build the cross compiler without them?"
 :D

Plus the fpcupdeluxe made some mess in c:\fpcupdeluxe\fpc\bin\i386-win32\fpc.cfg, at the end in section

Code: [Select]
# begin fpcup do not remove arm-android
#cross compile settings dependent on both target OS and target CPU
#IFDEF FPC_CROSSCOMPILING
#IFDEF CPUARM
#IFDEF ANDROID
...
#ENDIF
#ENDIF
#ENDIF

Maybe because I had to run it 4 times, as said above. Some entries were added twice or two of them joined on the same line, where the compiler was not happy then. But there I already knew how to fix it.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 16, 2016, 05:28:50 pm
Glad to hear that it work for you in the end.
Your feedback has been used for improvements of fpcupdeluxe.
Will add some more, including warnings about libs and bins !
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 17, 2016, 02:55:32 pm
NewPascal release for Linux 64bit available. Made with fpcupdeluxe. Based on Linux Mint for x86-64
https://github.com/newpascal/newpascal/releases/tag/np_sc_linuxx64-v1.0.36

Follow the instructions closely. This install will also allow cross-compiling towards win32/win64.
Feedback welcome !
Title: Raspberry Pi
Post by: merlin352 on November 19, 2016, 09:47:50 pm
Hello

Tried on Pi.. as root. But no success..

GNU utils should be all installed.. or have I overseen something?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 19, 2016, 10:06:10 pm
This is a FPC error. No business for fpcupdeluxe.
Look closely at the error. The FPC makefile is missing a tool. Line 29 of the makefile. Have you installed the binutils ?
Title: Re: Fpcupdeluxe
Post by: merlin352 on November 19, 2016, 10:14:08 pm
Hi

I have even installed FPC 2.6.2 from the Raspian to be sure to have everything... hmmm
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 19, 2016, 10:22:29 pm
This are the lines of the makefile:
Code: Pascal  [Select]
  1. PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))
  2. ifeq ($(PWD),)
  3. PWD:=$(strip $(wildcard $(addsuffix /pwd,$(SEARCHPATH))))
  4. ifeq ($(PWD),)
  5. $(error You need the GNU utils package to use this Makefile)
So, FPC cannot find pwd
Title: Re: Fpcupdeluxe
Post by: merlin352 on November 19, 2016, 10:38:19 pm
But pwd ist there.. it is in /bin ... and /bin ist in the PATH

think then this is not the right thread
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 19, 2016, 10:47:40 pm
Not yet. Lets first check if its still a fpupdeluxe error.
It could be that fpcupdeluxe modifies the path in the wrong way.
Just run make in your FPC directory, and see if you get the same error.
Title: Re: Fpcupdeluxe
Post by: merlin352 on November 19, 2016, 10:53:29 pm
When I execute "make clean" in /usr/lib/newpascal/fpc300bootstrap it runs
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 19, 2016, 11:02:13 pm
Allright. I have seen this error before.
On Mac. Couple of weeks ago. Solved it for Mac.
Definitely a regression. Will dive into it again.
Something to do with the path.
Will keep you informed !
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 22, 2016, 08:20:25 pm
New release of fpcupdeluxe: v0.99d
Bug fixes + new features.

Special feature: prepared for cross-compilation from Windows towards Darwin (OS X).
The Darwin release has been made with FPC/Lazarus on Windows 10 !!


https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99d


@merlin352
This release should also solve your problem (I hope).
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 22, 2016, 08:33:04 pm
NewPascal release v1.0.37 available.
https://github.com/newpascal/newpascal/releases/tag/np-v1.0.37

This release will make it possible to cross-compile from Windows towards OS X, with the help of the osxcross-tools:
Original: https://github.com/tpoechtrager/osxcross
Adapted for FPC: https://github.com/LongDirtyAnimAlf/osxcross

More instructions will follow.
Ready made binaries will follow.
Title: Fails to install
Post by: Kurt on November 23, 2016, 02:06:23 pm
Using fpcupdeluxe failed on Windows 7 x64 using either 32 or 64 bit versions.  The bootstrap programs load, then all the SVN checkouts seem to fail with:

svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy

I tried what I thought was the most basic install (stable).  Full log below.

Code: [Select]
Welcome @ fpclupdeluxe.

Going to install FPC stable and Lazarus stable.
FPCUP(deluxe) is starting up.

Binutils/make dir:  C:\fpcupdeluxe\fpcbootstrap
Bootstrap dir:      C:\fpcupdeluxe\fpcbootstrap
FPC URL:            http://svn.freepascal.org/svn/fpc/tags/release_3_0_0
FPC options:       
FPC directory:      C:\fpcupdeluxe\fpc
Lazarus URL:        http://svn.freepascal.org/svn/lazarus/tags/lazarus_1_6
Lazarus options:   
Lazarus directory:  C:\fpcupdeluxe\lazarus
Please stand back and enjoy !

fpcupdeluxe: info: 23/11/2016 8:59:57: fpcup006 (20161122) started.
fpcupdeluxe: info: Windows major version: 6
fpcupdeluxe: info: Windows minor version: 1
fpcupdeluxe: info: Windows build number:  7601
Executing : C:\fpcupdeluxe\fpcbootstrap\unzip.exe "-o" "-d" "C:\fpcupdeluxe\fpcbootstrap\7Zip\" "C:\fpcupdeluxe\fpcbootstrap\7Zip\7za920.zip" (working dir: )
Archive:  C:/fpcupdeluxe/fpcbootstrap/7Zip/7za920.zip
  inflating: C:\fpcupdeluxe\fpcbootstrap\7Zip/7-zip.chm 
  inflating: C:\fpcupdeluxe\fpcbootstrap\7Zip/7za.exe 
  inflating: C:\fpcupdeluxe\fpcbootstrap\7Zip/license.txt 
  inflating: C:\fpcupdeluxe\fpcbootstrap\7Zip/readme.txt 
Executing : C:\fpcupdeluxe\fpcbootstrap\unzip.exe "-o" "-d" "C:\fpcupdeluxe\fpcbootstrap\unrar\" "C:\fpcupdeluxe\fpcbootstrap\unrar\unrar-3.4.3-bin.zip" (working dir: )
Archive:  C:/fpcupdeluxe/fpcbootstrap/unrar/unrar-3.4.3-bin.zip
UnRar-3.4.3: Binaries
UnRar: unpack RAR archives
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/bin/unrar.exe 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/bin/unrar3.dll 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/archive.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/array.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/cmddata.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/coder.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/compress.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/consio.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/crc.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/crypt.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/dll.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/encname.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/errhnd.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/extinfo.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/extract.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/filcreat.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/file.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/filefn.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/filestr.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/find.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/getbits.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/global.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/headers.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/int64.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/isnt.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/list.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/loclang.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/log.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/match.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/memfree.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/model.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/options.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/os.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/pathfn.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/rar.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/rardefs.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/rarfn.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/rarlang.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/raros.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/rartypes.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/rarvm.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/rawread.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/rdwrfn.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/recvol.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/resource.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/rijndael.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/rs.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/savepos.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/scantree.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/sha1.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/smallfn.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/strfn.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/strlist.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/suballoc.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/system.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/timefn.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/ulinks.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/unicode.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/unpack.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/version.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/include/volume.hpp 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/man/cat1/unrar.1.txt 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/contrib/unrar/3.4.3/depends-GnuWin32.lst 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/contrib/unrar/3.4.3/unrar-3.4.3/copyright 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/contrib/unrar/3.4.3/unrar-3.4.3/license.txt 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/contrib/unrar/3.4.3/unrar-3.4.3/readme.txt 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/contrib/unrar/3.4.3/unrar-3.4.3-GnuWin32.README 
  inflating: C:\fpcupdeluxe\fpcbootstrap\unrar/manifest/unrar-3.4.3-bin.mft 
 extracting: C:\fpcupdeluxe\fpcbootstrap\unrar/manifest/unrar-3.4.3-bin.ver 
Executing : C:\fpcupdeluxe\fpcbootstrap\unzip.exe "-v" (working dir: )
UnZip 5.42 of 14 January 2001, by Info-ZIP.  Maintained by C. Spieler.  Send
bug reports to the authors at Zip-Bugs@lists.wku.edu; 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 mingw32 / gcc 2.95.3-6 (mingw special) for
Windows 95 / Windows NT (32-bit) on Sep  8 2001.

UnZip special compilation options:
ASM_CRC
COPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported)
LZW_CLEAN (PKZIP/Zip 1.x unshrinking method not supported)
NTSD_EAS
TIMESTAMP
USE_EF_UT_TIME
[decryption, version 2.9 of 05 May 2000]

UnZip and ZipInfo environment options:
           UNZIP:  [none]
        UNZIPOPT:  [none]

         ZIPINFO:  [none]
      ZIPINFOOPT:  [none]
fpcupdeluxe: WARNING: No OpenSLL library files available. Going to download them
Executing : C:\fpcupdeluxe\fpcbootstrap\unzip.exe "-o" "-d" "C:\Users\Kurt\Desktop\fpcupdeluxe\" "C:\Users\Kurt\AppData\Local\Temp\TMP00000.tmp.zip" "libeay32.dll" "ssleay32.dll" (working dir: )
Archive:  C:/Users/Kurt/AppData/Local/Temp/TMP00000.tmp.zip
  inflating: C:\Users\Kurt\Desktop\fpcupdeluxe/libeay32.dll 
  inflating: C:\Users\Kurt\Desktop\fpcupdeluxe/ssleay32.dll 
fpcupdeluxe: info: OpenSLL download and unpacking ok.
fpcupdeluxe: WARNING: Could not find svn executable in or under C:\fpcupdeluxe\fpcbootstrap\svn\
fpcupdeluxe: info: Going to download SVN
Executing : C:\fpcupdeluxe\fpcbootstrap\unzip.exe "-o" "-d" "C:\fpcupdeluxe\fpcbootstrap\svn\" "C:\Users\Kurt\AppData\Local\Temp\TMP00000.tmp.zip" (working dir: )
Archive:  C:/Users/Kurt/AppData/Local/Temp/TMP00000.tmp.zip
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/svn.exe 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/svnadmin.exe 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/svnbench.exe 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/svndumpfilter.exe 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/svnfsfs.exe 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/svnlook.exe 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/svnserve.exe 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/svnsync.exe 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/svnversion.exe 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/svnmucc.exe 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/svnrdump.exe 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/libsvn_client-1.dll 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/libsvn_delta-1.dll 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/libsvn_diff-1.dll 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/libsvn_fs-1.dll 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/libsvn_ra-1.dll 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/libsvn_repos-1.dll 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/libsvn_subr-1.dll 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/libsvn_wc-1.dll 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/libapr-1.dll 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/libaprutil-1.dll 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/msvcp100.dll 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/bin/msvcr100.dll 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/Licenses/APR License.txt 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/Licenses/APR Util License.txt 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/Licenses/OpenSSL License.txt 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/Licenses/Subversion License.txt 
  inflating: C:\fpcupdeluxe\fpcbootstrap\svn/Licenses/ZLib License.txt 
fpcupdeluxe: info: SVN download and unpacking ok. Not going to search SVN client itself in C:\fpcupdeluxe\fpcbootstrap\svn\
fpcupdeluxe: info: SVN client found: C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe
fpcupdeluxe: WARNING: TFPCInstaller: clean module FPC directory C:\fpcupdeluxe\fpc does not exist. Exiting CleanModule.
fpcupdeluxe: info: Checking out/updating FPC sources...
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "info" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "info" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy
fpcupdeluxe: info: INFO: directory C:\fpcupdeluxe\fpc is not an SVN repository (or a repository with the wrong remote URL).
fpcupdeluxe: info: INFO: creating directory C:\fpcupdeluxe\fpc for SVN checkout.
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "info" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy
fpcupdeluxe: info: Running SVN checkout or update.
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "info" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "info" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "checkout" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "http://svn.freepascal.org/svn/fpc/tags/release_3_0_0/" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E170013: Unable to connect to a repository at URL 'http://svn.freepascal.org/svn/fpc/tags/release_3_0_0'
svn: E175002: Unexpected HTTP status 400 'Bad Request' on '/svn/fpc/tags/release_3_0_0'
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "cleanup" "--non-interactive" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy directory
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "cleanup" "--non-interactive" "--remove-unversioned" "--remove-ignored" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E205000: Try 'svn help cleanup' for more information
svn: E205000: Cannot remove unversioned or ignored items from something that is not a working copy
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy directory
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "cleanup" "--non-interactive" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy directory
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "cleanup" "--non-interactive" "--remove-unversioned" "--remove-ignored" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E205000: Try 'svn help cleanup' for more information
svn: E205000: Cannot remove unversioned or ignored items from something that is not a working copy
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy directory
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "update" "--quiet" "--non-interactive" "--trust-server-cert" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: None of the targets are working copies
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "checkout" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "http://svn.freepascal.org/svn/fpc/tags/release_3_0_0/" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E170013: Unable to connect to a repository at URL 'http://svn.freepascal.org/svn/fpc/tags/release_3_0_0'
svn: E175002: Unexpected HTTP status 400 'Bad Request' on '/svn/fpc/tags/release_3_0_0'
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "cleanup" "--non-interactive" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy directory
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "cleanup" "--non-interactive" "--remove-unversioned" "--remove-ignored" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E205000: Try 'svn help cleanup' for more information
svn: E205000: Cannot remove unversioned or ignored items from something that is not a working copy
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy directory
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "cleanup" "--non-interactive" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy directory
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "cleanup" "--non-interactive" "--remove-unversioned" "--remove-ignored" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E205000: Try 'svn help cleanup' for more information
svn: E205000: Cannot remove unversioned or ignored items from something that is not a working copy
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy directory
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "update" "--quiet" "--non-interactive" "--trust-server-cert" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: None of the targets are working copies
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "checkout" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "http://svn.freepascal.org/svn/fpc/tags/release_3_0_0/" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E170013: Unable to connect to a repository at URL 'http://svn.freepascal.org/svn/fpc/tags/release_3_0_0'
svn: E175002: Unexpected HTTP status 400 'Bad Request' on '/svn/fpc/tags/release_3_0_0'
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "cleanup" "--non-interactive" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy directory
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "cleanup" "--non-interactive" "--remove-unversioned" "--remove-ignored" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E205000: Try 'svn help cleanup' for more information
svn: E205000: Cannot remove unversioned or ignored items from something that is not a working copy
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy directory
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "update" "--quiet" "--non-interactive" "--trust-server-cert" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: None of the targets are working copies
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "info" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "info" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "info" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy
Executing : C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe "info" "C:\fpcupdeluxe\fpc" (working dir: )
svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy
fpcupdeluxe: info: DownloadFromSVN: SVN gave error code: 1

fpcupdeluxe: info: DownloadFromSVN: SVN gave error message: svn: E155007: 'C:\fpcupdeluxe\fpc' is not a working copy

fpcupdeluxe: info: FPC was at: failure
fpcupdeluxe: info: No updates for FPC found.
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence fpc; line: 4, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc


ERROR: Fpcupdeluxe failed.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 23, 2016, 02:50:12 pm
I just tried to reproduce your problem, but did not succeed.

Would you mind trying a manual command to try to pinpoint the error ?

Clean C:\fpcupdeluxe\fpc of everything.
Openup a command prompt inside C:\fpcupdeluxe\fpc

run:
Code: Pascal  [Select]
  1. C:\fpcupdeluxe\fpcbootstrap\svn\bin\svn.exe checkout -r HEAD http://svn.freepascal.org/svn/fpc/tags/release_3_0_0/
Title: Re: Fpcupdeluxe
Post by: Lainz on November 23, 2016, 02:50:34 pm
Thanks for keep updating this, I will try the new release.

Edit: working well. BTW there can be an option to don't compile the help? Or I'm talking something nonsense, I don't know, because I never use the help from the IDE I always use internet, the wiki, the forum.. and compiling it takes time.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 23, 2016, 03:15:46 pm
@lainz
Will look into it and add if possible (should be).
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 23, 2016, 05:02:24 pm
Added disable help option (in Setup+)

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99e

Please test.
Title: Re: Fpcupdeluxe
Post by: josh on November 23, 2016, 05:05:47 pm
Hi

Just downloaded latest version; and tried to update my trunk version and it failed :-

Also I cannot select multiple packages to install, does this work on carbon ?
Code: [Select]
/Users/josh/Lazarus_Trunk/lazarus/components/codetools/fileprocs.pas(1354,12) Error: (3026) Wrong number of parameters specified for call to "CompareText"
/Users/josh/Lazarus_Trunk/fpc/units/i386-darwin/univint/MacOSAll.ppu:StringCompare.pas(376,10) Error: (5088) Found declaration: CompareText(Pointer;Pointer;SmallInt;SmallInt;Handle):SmallInt;
/Users/josh/Lazarus_Trunk/lazarus/components/codetools/fileprocs.pas(1565,15) Error: (3026) Wrong number of parameters specified for call to "CompareText"
/Users/josh/Lazarus_Trunk/fpc/units/i386-darwin/univint/MacOSAll.ppu:StringCompare.pas(376,10) Error: (5088) Found declaration: CompareText(Pointer;Pointer;SmallInt;SmallInt;Handle):SmallInt;
fileprocs.pas(2549) Fatal: (10026) There were 4 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /Users/josh/Lazarus_Trunk/fpc/bin/i386-darwin/ppc386 returned an error exitcode
Title: Re: Fpcupdeluxe
Post by: josh on November 23, 2016, 05:13:25 pm
Hi

I have just compiled the application for cocoa, and I can select multiple package options by uising SHIFT or CMD and mouse click to select the,
I am now getting it to run the TRUNK installation to see if it works.

Could the the OSX darwin application be compiled for cocoa and uploaded as the osx binary?

Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 23, 2016, 05:43:54 pm
Quote
/Users/josh/Lazarus_Trunk/lazarus/components/codetools/fileprocs.pas(1354,12) Error: (3026) Wrong number of parameters specified for call to "CompareText"

Please try Lazarus 1.6 or fixes. AFAIK, this error is not related to fpcupdeluxe.
I encountered the same error today. No problems with fixes or 1.6 as far as I remember.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 23, 2016, 05:46:26 pm
About  cocoa. Some visual components do not work 100% yet.
Will have to dive into it before I can release a  cocoa version.
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 23, 2016, 05:50:33 pm
@DonAlfredo, I have a good working version of NewPascal on my windows 64-bit system that happily compiles to Win64, Win32, Linux32 and Linux64.  Will there be a zip that goes into the 'cross' folder and updates my working NewPascal environment to target MacOS (without breaking anything)?
Title: Re: Fpcupdeluxe
Post by: josh on November 23, 2016, 06:01:31 pm
Hi

Yes the 1.6 fixes is working I have installed 1.6 fixes and fpc 3.0.1 fixes installed.

I also have a lazarus_trunk installed installed or testing purposes etc; so probably an issue with svn updating.

The cocoa version failed at the same location, fr trunk but ok for fixes. Do you know which visual components have an issue with cocoa? Just wondering as the fpupdeluxe appears to be more usable when you can select which extra packages you wish to install.

Excellent updater by the way; I most like the ability to update without having to install all packages again.

Any chance of an option to have a user defined folder to hold the 3rd party packages; this would allow for me to have a central resource for current packages for easy update of other lazarus installations.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 23, 2016, 06:04:06 pm
@minesadorada

I think not. Copyright problems.
A zip should have to include binaries as well as libraries.
So, a zip should contain SDK of Mac OS X.
I am not sure if I am allowed to distribute the SDK.

But, the install instructions are not that hard to follow.
And, after this (one time) initial setup, all should work as expected.

You could give it a try with my fork of osxcross.
https://github.com/LongDirtyAnimAlf/osxcross
Title: Re: Fpcupdeluxe
Post by: Kurt on November 23, 2016, 07:04:10 pm
I just tried to reproduce your problem, but did not succeed.

It looks like it was just a connectivity issue with the SVN server from where I was.  The install works now.

I have noticed, though, that a good number of times the installer hangs when attempting to exit.  I've noticed that the last line in the log sometimes repeats when this happens.

Also, I've run into the issue that Lainz did back on page 1, where installing Windowx 64 bit for the main and then adding 32 bit as a cross compiler failed with "fpcdefs.inc(259,2) Error: User defined: Cross-compiling from systems without support for an 80 bit extended floating point type to i386 is not yet supported at this time".  Is it still the case that to get both 32 and 64 bit targets for Windows the main install has to be 32 bit and 64 bit the cross-compile?
Title: Re: Fpcupdeluxe
Post by: Lainz on November 23, 2016, 07:16:19 pm
Added disable help option (in Setup+)

https://github.com/LongDirtyAnimAlf/Reiniero-fpcup/releases/tag/0.99e

Please test.

Thankyou. If my internet connection helps me I will come back and say how it's going.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 23, 2016, 07:20:22 pm
@Kurt
Yes.
http://lists.freepascal.org/pipermail/fpc-pascal/2012-July/034176.html
http://bugs.freepascal.org/view.php?id=9262
http://free-pascal-general.1045716.n5.nabble.com/How-to-crosscompile-i386-linux-from-X86-64-win64-td5724660.html
Title: Re: Fpcupdeluxe
Post by: Lainz on November 23, 2016, 10:13:25 pm
Hi DonAlfredo, there's another idea, there's a mirror for freepascal and lazarus trunk on GitHub in the Graeme profile, these can be used instead of the svn ones? The idea comes to me because today was not able to download from lazarus svn sites.

Also tried to download from github with svn tools and nothing, seems that's a bad day for svn on my computer.

The git mirrors are updated every 15 minutes, I've downloaded and compiled with it by hand so it works too.

Another idea I have in mind:
- If I update by hand the fpc and lazarus folders (for example with git), you can run a script only to compile them and add cross compilers? Because that can be another option, for example instead of adding 'trunk git' for both fpc and lazarus, you can add something like 'folders managed by user' or something like that, or 'just recompile' button.

Compiling lazarus is not hard I must say, but I like the cross compiler easy of use of your program.

If it's not possible don't worry.
Title: Re: Fpcupdeluxe
Post by: hnb on November 23, 2016, 10:23:09 pm
Note: we have own fpc mirror synced every 15 minutes

https://github.com/newpascal/freepascal/tree/freepascal
Title: Re: Fpcupdeluxe
Post by: Lainz on November 23, 2016, 10:32:40 pm
Note: we have own fpc mirror synced every 15 minutes

https://github.com/newpascal/freepascal/tree/freepascal

That's good. Also I see you have a lazarus mirror too. So my idea is not crazy at all at least  8)
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 23, 2016, 10:40:20 pm
I will add the option to choose the repo. But once choosen, you cannot change !
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 23, 2016, 10:42:24 pm
Your second question is already possible.
See setup+ ... build only
Title: Re: Fpcupdeluxe
Post by: Lainz on November 23, 2016, 10:54:29 pm
Your second question is already possible.
See setup+ ... build only

Thanks!

I will add the option to choose the repo. But once choosen, you cannot change !

Thankyou.
Title: Re: Fpcupdeluxe
Post by: Kurt on November 24, 2016, 03:33:45 am
I just did a brand new install of fpcupdeluxe (rev E) of the same versions as the current vanilla Lazarus install (Lazarus 1.6.2, FP 3.0.0 for Win32) on Windows 7.  There seems to be directory issues.  Create a brand new project, drop a button, and double clicking on it causes an error in the editor that seems to be caused by not being able to find normal built-in units.  Code completion is broken and mouse hover inspection doesn't give clickable links.

Is this a configuration issue  on my side?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 24, 2016, 06:05:54 am
In Lazarus: Tools -> Rescan FPC Source Directory ?
Title: Re: Fpcupdeluxe
Post by: josh on November 24, 2016, 10:51:54 am
Hi

Still unable to install on OSX, getting
Code: [Select]
/Users/josh/Lazarus_Trunk/lazarus/components/codetools/fileprocs.pas(1354,12) Error: (3026) Wrong number of parameters specified for call to "CompareText"
/Users/josh/Lazarus_Trunk/fpc/units/i386-darwin/univint/MacOSAll.ppu:StringCompare.pas(376,10) Error: (5088) Found declaration: CompareText(Pointer;Pointer;SmallInt;SmallInt;Handle):SmallInt;
/Users/josh/Lazarus_Trunk/lazarus/components/codetools/fileprocs.pas(1565,15) Error: (3026) Wrong number of parameters specified for call to "CompareText"
/Users/josh/Lazarus_Trunk/fpc/units/i386-darwin/univint/MacOSAll.ppu:StringCompare.pas(376,10) Error: (5088) Found declaration: CompareText(Pointer;Pointer;SmallInt;SmallInt;Handle):SmallInt;
fileprocs.pas(2549) Fatal: (10026) There were 4 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /Users/josh/Lazarus_Trunk/fpc/bin/i386-darwin/ppc386 returned an error exitcode

Is this an SVN issue?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 24, 2016, 12:12:23 pm
@josh

I think we discussed this earlier.
http://forum.lazarus.freepascal.org/index.php/topic,34645.msg229813.html#msg229813
http://forum.lazarus.freepascal.org/index.php/topic,34645.msg229808.html#msg229808

Fixes install well on my system.
Title: Re: Fpcupdeluxe
Post by: Lainz on November 24, 2016, 12:21:02 pm
@DonAlfredo, about all the day trying to install from lazarus svn, I don't know if was a problem of my connection or what, but I finally decided to use NewPascal button and it works fine, also it gives me automatically 32 and 64 bit compiling under Windows.

 8)
Title: Re: Fpcupdeluxe
Post by: korba812 on November 24, 2016, 04:37:15 pm
Nice tool.
Can I build a debug version of the compiler, rtl and packages? Or Can I provide my own options for compiler? I tried to add a line 'fpcopt="-gw -gl -O-"' in the file 'settings.ini', but without effect.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 24, 2016, 04:44:04 pm
Fpcupdeluxe is designed as an easy to use GUI frontend for fpcup and fpclazup.
This easy means not all possible options are available to the GUI user.

But I will add your request into the setup+ .
Stay tuned for the next release.
Title: Re: Fpcupdeluxe
Post by: minesadorada on November 24, 2016, 06:09:04 pm
Thanks to fpcupdeluxe Lazarus and FPC, and a couple of hours work,  I now can compile with a single click to:
Using the latest Laz 1.7 and fpc 3.11 under Windows 10 64bit.

Many thanks to @DonAlfredo for troubleshooting me through the Darwin cross-compile (which uses CygWin)

If anyone wants to know the steps required I wrote them down whilst fresh in memory (see attachment)
Title: Re: Fpcupdeluxe
Post by: TurboRascal on November 24, 2016, 09:40:40 pm
I report it (0.99e) works correctly on Slackware Linux 14.2 (i386) ;)

I do have a few remarks, beginning with one tiny bug: Selecting "stable" for Lazarus fetches 1.6.0, not 1.6.2.

Other stuff is mostly wishlist suggestions. First, I'd like to have a Stop button; there is no way to stop the process once it begins, so in case I notice I've made a mistake, the only way to stop is to close the app... and it isn't so easy here on Linux - I had to terminate it from a task manager...

The other thing... when I had some errors with svn download of Lazarus, the process failed and I had to try again, and I had to wait for fpc to be cleaned and rebuilt all again. When I had several download failures (I had some network problems with the computer), I had to wait for several clean-compile cycles until all Lazarus files were correctly downloaded, so it took quite a while. I'd suggest an option to install/update Lazarus only; possibly with a check for working fpc first, but I don't think it would be an issue because if build fails one could easily start a full install. Another option may be to just download source without building; I solved my problem by manually svn-updating the directory, perhaps this could be made automated from the app.

But, like I said, this is mostly my wishlist... the program is great even as it is. ;) Big thanks!
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 24, 2016, 10:31:04 pm
Thanks for the kind words.

And yes, a gracefull exit is also on my wishlist !
Working on it. Its not easy ... long running external processes.

And your other remarks will be on my todo-list.
Title: Re: Fpcupdeluxe
Post by: swierzbicki on November 25, 2016, 11:32:08 am
Hello DonAlfredo,

I'm here again  O:-)
I still have issue with the WinCE cross compiler.

Right now fpcupdeluxe was able to fetch and compile FPC / Lazarus and cross compiler tools.
My project is now compiling fine under Win32 (only needed for testing purpose) and WinCE.

Some of my feedback. I have noticed some changes starting FPC 1.7. Nothing really hard to solve. For example, some files management procedure have been changed to be more Delphi compatible (that's nice and this was really easy to solve). SQLite headers has been updated. You will need  a recent SQLite dll (not a big deal under win32 but could be a problem under WinCE).

My biggest issue is that WinCE project cannot be executed anymore on my WinCE device (6.53).
Neither of my projects nor an empty form project are running. I'm getting an error message telling me that the application is not a valid Pock PC application !

I've tested this with both "trunk" and "newpascal" versions. All projects were correctly compiled but none of the exe runs under WinCE. Do you perhaps have an idea ?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 25, 2016, 06:23:31 pm
We have reached first official release of fpcupdeluxe : v1.0.0a !!
Many wishlist-items have been implemented.
Some still todo.

Can be found here :
https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.0.0a

As you can see, fpcupdeluxe has been moved towards the NewPascal initiative.
Also all cross-tools and bootstrappers are now available at NewPascal.

The original command line tools (fpcup,fpclazup) will be maintained at their original location.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 25, 2016, 06:24:39 pm
@swierzbicki
As I have no WinCE hardware, I cannot test unfortunately.
If you can point me towards a test-setup, I will be willing to help.
Title: Re: Fpcupdeluxe
Post by: josh on November 25, 2016, 08:05:59 pm
@DonAlfredo

Apologies for delay; I have just downloaded version 1 and still get the following errors; i have tried trunk and trunkgit; this worked perfectly previously; so assume it is a trunk issue.

Each installing to a clean folder.

Can someone please check to see if they can complete an install on osx el capitan, I have also tried using fpcuplaz_osx_x86 and this fails also at the same location.

Code: [Select]
/Users/josh/Lazarus_Trunk/lazarus/components/codetools/fileprocs.pas(1354,12) Error: (3026) Wrong number of parameters specified for call to "CompareText"
/Users/josh/Lazarus_Trunk/fpc/units/i386-darwin/univint/MacOSAll.ppu:StringCompare.pas(376,10) Error: (5088) Found declaration: CompareText(Pointer;Pointer;SmallInt;SmallInt;Handle):SmallInt;
/Users/josh/Lazarus_Trunk/lazarus/components/codetools/fileprocs.pas(1565,15) Error: (3026) Wrong number of parameters specified for call to "CompareText"
/Users/josh/Lazarus_Trunk/fpc/units/i386-darwin/univint/MacOSAll.ppu:StringCompare.pas(376,10) Error: (5088) Found declaration: CompareText(Pointer;Pointer;SmallInt;SmallInt;Handle):SmallInt;
fileprocs.pas(2549) Fatal: (10026) There were 4 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /Users/josh/Lazarus_Trunk/fpc/bin/i386-darwin/ppc386 returned an error exitcode

I have create a bugtracker issue; the reply was
Quote
CompareText is in SysUtils. Why does your compiler not find it there?
Please do a clean build of everything. Usually it helps.
This kind of configuration problems should be asked in mailing list or forum actually.

As I have no fpc or lazarus installed; and I remove the non complete folder before I attempt an install, I am a bit stuffed.

So any ideas or things to try; would be appreciated.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 25, 2016, 09:14:02 pm
This could definitely be a fpcupdeluxe issue. So it needs to be isolated. Therefore, you have to install FPC and Lazarus trunk without it to see if fpcupdeluxe is the culprit.
I have already looked into it, but could not find a solution ... I am not a Darwin-hero.
Your help would be appreciated.
Title: Re: Fpcupdeluxe
Post by: josh on November 26, 2016, 02:38:14 am
Hi

I have installed stable and fixes without issue; ( it takes a while as have a slow connection aboout 90 minutes before it fails), using both fpcdeluxe and fpclazup_osx_x86.

There appears to be some changes to sysstrh.inc in latest trunk compared to my latest working version from about 3 weeks ago; to do with comparetext;

@donalfredo ANy chance you could add the links to fpcupdatdeluxe and the fpcup to your signature.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 26, 2016, 10:50:27 am
@josh

1:
I have changed my profile.

2:
Newest version of fpcupdeluxe (v1.0.1) allows the setting of the revision for FPC and Lazarus.
I have tested the revision of Lazarus up to 53236 on Darwin. Still ok.

So, you can now do the following to test Lazarus on Darwin:
Install Lazarus trunk with revision 53236.
Change the revision to a higher number and press "install/update" on the main screen
Work your way up until you encounter the error.

edit: rev53275 still ok.
Title: Re: Fpcupdeluxe
Post by: josh on November 26, 2016, 12:55:19 pm
Hi
Adding to your signature totally helps locating the applications. :)

I have downloaded 1.01 but I cannot see the option to specify the revision number.

Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 26, 2016, 01:47:20 pm
Setup+
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 26, 2016, 10:21:32 pm
Laz rev 53363 ok.
Title: Re: Fpcupdeluxe
Post by: josh on November 27, 2016, 01:21:47 am
Hi

Sorry for delay, it takes some time to locate the Revision that fails with a slow connection.
But here is the result
53275 OK
53305 OK
53380 OK
53390 OK
53395 OK
53396 OK
53397 FAIL
53400 FAIL
53465 FAIL

Where do I go from here?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 27, 2016, 09:30:33 am
Well Josh, welcome to the bug-hunters-society ... you have found yourself a very nice Lazarus bug !

Rev 53397 adds CompareText in two places inside fileprocs.pas
If you look closely at fileprocs.pas, you can see that CompareText is used in more places.
But in these other places, it is prepended by SysUtils, so CompareText can be found at the right location.

Rev 53397 adds CompareText without this additional denominator.

So, this bug can be solved by replacing CompareText with SysUtils.CompareText !
See:
http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/components/codetools/fileprocs.pas?root=lazarus&r1=53397&r2=53396&pathrev=53397

You can test for yourself.
Install trunk/trunk with fpcupdeluxe.
It will fail.
Edit fileprocs.pas (add SysUtils. in two places).
Goto setup+ of fpcupdeluxe.
Enable FPC/Laz rebuild only. Start install/update. Success !
Title: Re: Fpcupdeluxe
Post by: josh on November 27, 2016, 11:41:50 am
Hi

I tried reporting the bug in bugtracker, but message was its a configuration problem, and the issue has been marked as resolved.

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

So DO I create a new issue with the same details? As the issue is not resolved and clearly a bug.

I appreciate your help, and allowing me to get a working latest trunk by explicitly using the correct comparetext functions in fileproc

Title: Re: Fpcupdeluxe
Post by: JuhaManninen on November 27, 2016, 11:58:14 am
josh, sorry, your report
 http://bugs.freepascal.org/view.php?id=31008
was correct after all.
I fixed it. Please test.
Title: Re: Fpcupdeluxe
Post by: josh on November 27, 2016, 01:25:19 pm
Hi JuhaManninen,

The SysUtils.comparetext works as in post.

Also adding

 {$IFnDEF Windows}
   {$IFDEF darwin}
     MacOSAll,
   {$ENDIF}
   Unix,
 {$ENDIF}

to the File Procs Uses statement at Line 35, and removing from implementation also works. This is the better option.

Has svn been updated?; so I can test this also.
It takes about 90 minutes for me to download and test of complete trunk ( removing all previous data).
Title: Re: Fpcupdeluxe
Post by: JuhaManninen on November 27, 2016, 01:37:22 pm
Has svn been updated?; so I can test this also.
Yes, in r53468 as you can see in the bug report's "Fixed in Revision" field.

Quote
It takes about 90 minutes for me to download and test of complete trunk ( removing all previous data).
Don't remove all previous data!
Just do "svn up" and you are good.
Please learn to use revision control tools properly. Their big benefit is that network traffic is minimized because only the latest diffs are downloaded.

BTW, Mattias removed the MacOSAll reference.
Now the CompareText calls would work also without a "SysUtils." prefix.
Title: Re: Fpcupdeluxe
Post by: wp on November 29, 2016, 06:24:24 pm
DonAlfredo, is there a way to have fpcupdeluxe run only "svn up" + "make" once a complete installation has been performed?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 29, 2016, 07:36:40 pm
That is exactly what fpcupdeluxe does !

Everytime you press install/update, it will:
a: get the whole repo (big download) for a new install.
b: if the repo is there, just do an update (svn up).
Title: Re: Fpcupdeluxe
Post by: wp on November 29, 2016, 10:08:50 pm
Then something is wrong...

I always wondered why it takes so long to build a system with fpcup and now with fpcupdeluxe. Today I erased my old fpcupdeluxe destination folder, downloaded your precompiled v1.02 for Win and installed fpc trunc and laz trunk, no modules, no cross-compiler. It took 30 minutes.

Then after some time I saw that there was an update in the Lazarus files, and I decided to call fpcupdeluxe again. Now I clicked only on the Lazarus button because I knew from svn that there were no changes in fpc. This took 15 minutes.

Is this really correct?

Normally, on my developing system with fpc 3.0, I call svn up using TortoiseSVN for the Lazarus files which takes something like 10 seconds. Then I rebuild the IDE with the routine built into Lazarus, and this usually does not take longer than 1 minute.

Something is wrong with fpcup. At first, I have the feeling that the "update" rebuilds the documentation files which should be done only optionally. And I have the feeling that everything is done twice, towards the end of the process I saw some messges labelled as x86-64. Why 64 bit? I do not want to cross-compile.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 29, 2016, 10:24:04 pm
Well, your first question was about the download.
And that is done by a svn up. As it should be.

Your second question is the rebuild-system that is used by fpcup.
That is something else ... and there is definitely something special about it.

If you use fpcup (32bit) on Windows, there is always a cross-compiler : 32 -> 64. A rebuild will include this cross-compiler.
A rebuild will also include the standard packages. A rebuild will remove the custom packages.

The rebuild process itself is not very good: it is working, but consumes a lot of time as you have encountered. At the moment, I am working on it, but struggling now for quite some time with regressions that are hard to solve. So stay tuned. Its not 100% wrong, but it is definitely very inefficient.
Title: Re: Fpcupdeluxe
Post by: wp on November 29, 2016, 10:38:14 pm
Was my impression correct that the help files are always recreated in each run? I remember in fpcup there was an option to turn this off. Shouldn't this be exposed in fpcupdeluxe?
Title: Re: Fpcupdeluxe
Post by: Lainz on November 30, 2016, 12:06:55 am
Was my impression correct that the help files are always recreated in each run? I remember in fpcup there was an option to turn this off. Shouldn't this be exposed in fpcupdeluxe?

There is a setting in Setup+ button.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on November 30, 2016, 03:23:35 pm
New release : v1.1.0 :
https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.1.0

This release allows for the split between FPC-sources and FPC-bins.
The original fpc(laz)up did put all sources and binaries in the same location.

Some minor improvements regarding the previous forum questions are also included.
Title: Re: Fpcupdeluxe
Post by: macmike on December 02, 2016, 08:23:32 pm
I've come a fair way... I'm trying to cross compile from Linux Mint 64-bit to Linux ARM (for RPi) using fpcupdeluxe v1.1.0a
I've successfully installed FPC+Laz using the fixes branch and now I've selected arm-linux and hit "install cross-compiler".

I have Lazarus working on my RPI3 but can't get it to install on my RPI2 so I'm hoping to cross compile for the 2.

Here's the bottom of the message stack:

Code: Pascal  [Select]
  1. make -C linux all
  2. make[5]: Entering directory `/home/mike/fpcupdeluxe/fpc/rtl/linux'
  3. /bin/mkdir -p /home/mike/fpcupdeluxe/fpc/rtl/units/arm-linux
  4. /usr/local/bin/as  -o /home/mike/fpcupdeluxe/fpc/rtl/units/arm-linux/prt0.o arm/prt0.as
  5. /usr/local/bin/as   -o /home/mike/fpcupdeluxe/fpc/rtl/units/arm-linux/dllprt0.o arm/dllprt0.as
  6. /usr/local/bin/as  -o /home/mike/fpcupdeluxe/fpc/rtl/units/arm-linux/cprt0.o arm/cprt0.as
  7. /usr/local/bin/as  -o /home/mike/fpcupdeluxe/fpc/rtl/units/arm-linux/gprt0.o arm/gprt0.as
  8. /usr/local/bin/as  -o /home/mike/fpcupdeluxe/fpc/rtl/units/arm-linux/ucprt0.o arm/ucprt0.as
  9. arm/dllprt0.as: Assembler messages:
  10. arm/dllprt0.as:19: Error: unrecognised symbol type ""
  11. arm/dllprt0.as:22: Error: unrecognised symbol type ""
  12. arm/dllprt0.as:24: Error: too many memory references for `mov'
  13. arm/dllprt0.as:25: Error: no such instruction: `stmfd sp!,{fp,ip,lr,pc}'
  14. arm/dllprt0.as:26: Error: too many memory references for `sub'
  15. arm/dllprt0.as:29: Error: no such instruction: `ldr ip,=operatingsystem_parameter_argc'
  16. arm/dllprt0.as:30: Error: invalid char '[' beginning operand 2 `[ip]'
  17. arm/dllprt0.as:32: Error: no such instruction: `ldr ip,=operatingsystem_parameter_argv'
  18. arm/dllprt0.as:33: Error: invalid char '[' beginning operand 2 `[ip]'
  19. .
  20. .
  21. .
  22. <lots of this kind of thing/>
  23. .
  24. .
  25. .
  26. arm/ucprt0.as:145: Error: no such instruction: `b __uClibc_main'
  27. arm/ucprt0.as:148: Error: no such instruction: `bl abort'
  28. arm/ucprt0.as:151: Error: unrecognised symbol type ""
  29. arm/ucprt0.as:153: Error: no such instruction: `swi 0x900001'
  30. arm/ucprt0.as:154: Error: no such instruction: `b _haltproc'
  31. make[5]: *** [prt0.o] Error 1
  32. make[5]: *** Waiting for unfinished jobs....
  33. make[5]: *** [dllprt0.o] Error 1
  34. make[5]: *** [cprt0.o] Error 1
  35. make[5]: *** [gprt0.o] Error 1
  36. make[5]: *** [ucprt0.o] Error 1
  37. make[5]: Leaving directory `/home/mike/fpcupdeluxe/fpc/rtl/linux'
  38. make[4]: *** [linux_all] Error 2
  39. make[4]: Leaving directory `/home/mike/fpcupdeluxe/fpc/rtl'
  40. make[3]: *** [rtl] Error 2
  41. make[3]: Leaving directory `/home/mike/fpcupdeluxe/fpc/compiler'
  42. make[2]: *** [cycle] Error 2
  43. make[2]: Leaving directory `/home/mike/fpcupdeluxe/fpc/compiler'
  44. make[1]: *** [compiler_cycle] Error 2
  45. make[1]: Leaving directory `/home/mike/fpcupdeluxe/fpc'
  46. make: *** [build-stamp.arm-linux] Error 2
  47. make: Leaving directory `/home/mike/fpcupdeluxe/fpc'
  48. fpcupdeluxe: ERROR: FPC: Running cross compiler fpc make all for arm-linux failed with an error code.
  49. fpcupdeluxe: ERROR: Error running BuildModuleCustom for module FPC
  50. fpcupdeluxe: WARNING: FPC cleanup: could not cleanup /home/mike/fpcupdeluxe/fpc/utils/bin
  51. fpcupdeluxe: WARNING: FPC cleanup: could not cleanup /home/mike/fpcupdeluxe/fpc/utils/units/x86_64-linux
  52. fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence FPCBuildOnly; line: 2, param: FPC
  53. fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Only; line: 2, param: FPCBuildOnly
  54.  
  55.  
  56. ERROR: Fpcupdeluxe failed.


Any ideas?

Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 02, 2016, 08:59:41 pm
Will look into it ... but not yet ... couple of busy days ahead ... so stay tuned.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 03, 2016, 10:54:27 pm
Added possibility to cross from Linux x86_64 towards ARM, FreeBSD, Aarch64 and i386 !

See: https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.1.0b

Please test.
Title: Re: Fpcupdeluxe
Post by: macmike on December 04, 2016, 01:09:10 am
Fantastic :) What should I do with the Crossbintools rar?

I've downloaded, but should I put them somewhere specific, or link them, for fcpupdeluxe to find them? (this is my first attempt to cross-compile with lazarus)
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 04, 2016, 08:33:01 am
Nothing !
These files are to be found online by fpcupdeluxe itself.
So, do not download them yourself.
Just press install crosscompiler.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 04, 2016, 11:54:03 am
Added crossing from Linux i386 to various systems.

See: https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.1.0c
Title: Re: Fpcupdeluxe
Post by: macmike on December 04, 2016, 05:04:22 pm
Nothing !
These files are to be found online by fpcupdeluxe itself.
So, do not download them yourself.
Just press install crosscompiler.

Doh! Thanks... ok so at first I had the same errors but I had some strange packages installed. I've cleared those out and now and fpcupdeluxe reports success :)

Now I've just got some path problems to sort out since "classes" isn't found. I think there's something wrong with the default widgetset (compiling on Linux64 for Linux64). A blank form compiles and runs but I can't add buttons and labels.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 04, 2016, 05:54:54 pm
Lazarus - Tools - Rescan FPC source directory ?
Title: Re: Fpcupdeluxe
Post by: macmike on December 04, 2016, 06:41:35 pm
Lazarus - Tools - Rescan FPC source directory ?

That does the trick for compiling and cross-compiling!
Title: Re: Fpcupdeluxe
Post by: macmike on December 04, 2016, 11:07:15 pm
When I try to run a program I've cross compiled from Linux 64 to ARM (RPi2) I get an exception before the GUI loads.
The same also happens when I try to run fpcupdeluxe-arm-linux:

Code: Pascal  [Select]
  1. An unhandled exception occured at $00025F50:
  2. EAccessViolation: Access Violadtion
  3.   $00025F50
  4.  
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 05, 2016, 07:43:23 am
What distro do you run on your RPi2/3 ?
Hardfloat ? Softfloat.
Does your cross-app run on your RPi3 ?
Title: Re: Fpcupdeluxe
Post by: macmike on December 05, 2016, 11:55:05 am
What distro do you run on your RPi2/3 ?
Hardfloat ? Softfloat.
Does your cross-app run on your RPi3 ?

On my RPI3: Raspbian GNU/Linux 8 (jessie), Hardfloat, cross-compiled app works fine
On my RPI2: Raspbian GNU/Linux 8 (jessie), Hardfloat, exceptions running cross compiled app or fpcupdeluxe

But, if I take the same helloworld app and compile it on the RPI3 then transfer the output binary it to the RPI2 it executes properly.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 05, 2016, 12:57:54 pm
Thanks for the info.
I think this is a problem that has been here before.

When building cross-binaries, the libraries for the target system have to be present.
However, there a many Linux flavours.
Mine is Arch Linux. So, these libraries are available online for fpcupdeluxe.

Few weeks ago, linux i386 and x86_64 libs were changed towards Mint.
Arch Linux is not a very popular distro.

Now, the libs for Linux Arm have also been changed, towards Raspbian.
So, you can delete the cross/lib/arm-linux directory.
And build yourself a new cross-compiler the same way as you did before with fpcupdeluxe. The Raspbian libs will be downloaded.

Please test to see if this solves your problems.

edit:
And don't link anymore with GLESv2 ... that's an Arch thing.
Title: Re: Fpcupdeluxe
Post by: macmike on December 05, 2016, 01:39:32 pm
Thanks again for your help :)
At first I had some errors but I tried again and it worked the second time.

I feel like I'm at the last hurdle. Compiling on the native platform works, trying to cross-compile my test app I receive:

    helloworld.lpr(32,0) Warning: Library libc_nonshared.a not found, Linking may fail !

I've googled about but all I can find is instructions to insert:
Code: Pascal  [Select]
  1. {$ifdef FPC_CROSSCOMPILING}
  2.   {$ifdef Linux}
  3.     {$linklib libc_nonshared.a}
  4.     {$IFDEF CPUARM}
  5.       // for GUI on RPi[1,2,3]
  6.       {$linklib GLESv2}
  7.     {$ENDIF}
  8.   {$endif}
  9. {$endif}
  10.  

Which is in my lpr source, although I've removed GLESv2 as per your comment.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 05, 2016, 02:23:53 pm
Try also to remove the {$linklib libc_nonshared.a} statement !!
Title: Re: Fpcupdeluxe
Post by: macmike on December 05, 2016, 04:49:29 pm
Try also to remove the {$linklib libc_nonshared.a} statement !!

I appreciate your patience in helping me out.
Here's the output:

Code: Pascal  [Select]
  1. Compile Project, Mode: RPI, CPU: arm, Target: helloworld-arm-linux: Exit code 256, Errors: 1, Warnings: 2
  2. helloworld.lpr(32,0) Warning: "crti.o" not found, this will probably cause a linking failure
  3. helloworld.lpr(32,0) Warning: "crtn.o" not found, this will probably cause a linking failure
  4. helloworld.lpr(32,0) Error: Error while linking
  5.  

I assumed that was because I was missing target libs so I've put those .o files and .so files from /lib, /usr/lib and /usr/lib/arm-linux-gnueabihf into a folder and added it to the project options (-FL): ../../Apps/fpcup/arm-libs

Now I just get:

Code: Pascal  [Select]
  1. Compile Project, Mode: RPI, CPU: arm, Target: helloworld-arm-linux: Exit code 256, Errors: 1
  2. helloworld.lpr(32,0) Error: Error while linking
  3.  

from the command line I saw:

Code: Pascal  [Select]
  1. [TCompiler.Compile] CmdLine="/home/mike/Apps/lazarus/fpc/bin/x86_64-linux/fpc.sh  -Tlinux -Parm -MObjFPC -Scghi -O1 -l -vewnhibq -Fi/home/mike/source/Lazarus/CrossCompHW2/lib/arm-linux -Fl/home/mike/Apps/fpcup/arm-libs -Fl/opt/gnome/lib -Fu/home/mike/Apps/lazarus/lazarus/lcl/units/arm-linux/gtk2 -Fu/home/mike/Apps/lazarus/lazarus/lcl/units/arm-linux -Fu/home/mike/Apps/lazarus/lazarus/components/lazutils/lib/arm-linux -Fu/home/mike/Apps/lazarus/lazarus/packager/units/arm-linux -Fu/home/mike/source/Lazarus/CrossCompHW2/ -FU/home/mike/source/Lazarus/CrossCompHW2/lib/arm-linux/ -ohelloworld-arm-linux -dLCL -dLCLgtk2 helloworld.lpr"
  2. Info: (lazarus) Execute Title="Compile Project, Mode: RPI, CPU: arm, Target: helloworld-arm-linux"
  3. Info: (lazarus) Working Directory="/home/mike/source/Lazarus/CrossCompHW2/"
  4. Info: (lazarus) Executable="/home/mike/Apps/lazarus/fpc/bin/x86_64-linux/fpc.sh"
  5. Info: (lazarus) Param[0]="-Tlinux"
  6. Info: (lazarus) Param[1]="-Parm"
  7. Info: (lazarus) Param[2]="-MObjFPC"
  8. Info: (lazarus) Param[3]="-Scghi"
  9. Info: (lazarus) Param[4]="-O1"
  10. Info: (lazarus) Param[5]="-l"
  11. Info: (lazarus) Param[6]="-vewnhibq"
  12. Info: (lazarus) Param[7]="-Fi/home/mike/source/Lazarus/CrossCompHW2/lib/arm-linux"
  13. Info: (lazarus) Param[8]="-Fl/home/mike/Apps/fpcup/arm-libs"
  14. Info: (lazarus) Param[9]="-Fl/opt/gnome/lib"
  15. Info: (lazarus) Param[10]="-Fu/home/mike/Apps/lazarus/lazarus/lcl/units/arm-linux/gtk2"
  16. Info: (lazarus) Param[11]="-Fu/home/mike/Apps/lazarus/lazarus/lcl/units/arm-linux"
  17. Info: (lazarus) Param[12]="-Fu/home/mike/Apps/lazarus/lazarus/components/lazutils/lib/arm-linux"
  18. Info: (lazarus) Param[13]="-Fu/home/mike/Apps/lazarus/lazarus/packager/units/arm-linux"
  19. Info: (lazarus) Param[14]="-Fu/home/mike/source/Lazarus/CrossCompHW2/"
  20. Info: (lazarus) Param[15]="-FU/home/mike/source/Lazarus/CrossCompHW2/lib/arm-linux/"
  21. Info: (lazarus) Param[16]="-ohelloworld-arm-linux"
  22. Info: (lazarus) Param[17]="-dLCL"
  23. Info: (lazarus) Param[18]="-dLCLgtk2"
  24. Info: (lazarus) Param[19]="helloworld.lpr"
  25. [TCompiler.Compile] end
  26. Hint: (lazarus) [TMainIDE.DoBuildProject] compiler time in s: 0.362000148743391
  27. Error: (lazarus) [TMainIDE.DoBuildProject] Compile failed
  28.  
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 05, 2016, 05:33:27 pm
@macmike
These errors are getting impossible ... :-(

Quote
helloworld.lpr(32,0) Warning: "crti.o" not found, this will probably cause a linking failure
helloworld.lpr(32,0) Warning: "crtn.o" not found, this will probably cause a linking failure
is impossible ... these files are available in the libraries for Arm [as was libc_nonshared.a btw] !!

Quote
Info: (lazarus) Executable="/home/mike/Apps/lazarus/fpc/bin/x86_64-linux/fpc.sh"
Info: (lazarus) Param[0]="-Tlinux"
Info: (lazarus) Param[1]="-Parm"
Info: (lazarus) Param[2]="-MObjFPC"
Info: (lazarus) Param[3]="-Scghi"
Info: (lazarus) Param[4]="-O1"
Info: (lazarus) Param[5]="-l"
Info: (lazarus) Param[6]="-vewnhibq"
Info: (lazarus) Param[7]="-Fi/home/mike/source/Lazarus/CrossCompHW2/lib/arm-linux"
Info: (lazarus) Param[8]="-Fl/home/mike/Apps/fpcup/arm-libs"
Info: (lazarus) Param[9]="-Fl/opt/gnome/lib"
Info: (lazarus) Param[10]="-Fu/home/mike/Apps/lazarus/lazarus/lcl/units/arm-linux/gtk2"
Info: (lazarus) Param[11]="-Fu/home/mike/Apps/lazarus/lazarus/lcl/units/arm-linux"
Info: (lazarus) Param[12]="-Fu/home/mike/Apps/lazarus/lazarus/components/lazutils/lib/arm-linux"
Info: (lazarus) Param[13]="-Fu/home/mike/Apps/lazarus/lazarus/packager/units/arm-linux"
Info: (lazarus) Param[14]="-Fu/home/mike/source/Lazarus/CrossCompHW2/"
Info: (lazarus) Param[15]="-FU/home/mike/source/Lazarus/CrossCompHW2/lib/arm-linux/"
All the above directories are unrecognizable for something that has been installed by fpcupdeluxe !

So, for me, it is now unclear how you have been able to setup fpcupdeluxe like this !
The directory structure for fpcupdeluxe is like this:
installdir/config_lazarus
installdir/cross (with lib and bin directory)
installdir/fpc
installdir/fpcbootstrap
installdir/lazarus
installdir/projects

So again, I do not understand your system anymore.
Title: Re: Fpcupdeluxe
Post by: macmike on December 05, 2016, 05:36:05 pm
My installDir is /home/mike/Apps/lazarus, that's perhaps why it looks odd.
Shall I try to empty it all out and start again?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 05, 2016, 05:53:41 pm
I think that would be a very valid action.

Info: (lazarus) Executable="/home/mike/Apps/lazarus/fpc/bin/x86_64-linux/fpc.sh" ok !
Info: (lazarus) Param[7]="-Fi/home/mike/source/Lazarus/CrossCompHW2/lib/arm-linux" ???
Info: (lazarus) Param[8]="-Fl/home/mike/Apps/fpcup/arm-libs" ???
Info: (lazarus) Param[9]="-Fl/opt/gnome/lib" ???
Info: (lazarus) Param[14]="-Fu/home/mike/source/Lazarus/CrossCompHW2/" ???
Info: (lazarus) Param[15]="-FU/home/mike/source/Lazarus/CrossCompHW2/lib/arm-linux/" ???
Title: Re: Fpcupdeluxe
Post by: macmike on December 05, 2016, 09:22:34 pm
Ok, totally fresh install. I even made a new helloworld project.

Native compiler for Linux64 installed and worked perfectly.
Cross-compiler installed without any error messages.

I haven't changed any settings, options or config.
I added a build mode for linux-arm and then tried to cross-compile, still had those two warnings and an unspecified error:

Code: Pascal  [Select]
  1. Compile Project, Mode: RPi, CPU: arm, Target: helloworld2-arm-linux: Exit code 256, Errors: 1, Warnings: 2
  2. helloworld2.lpr(22,0) Warning: "crti.o" not found, this will probably cause a linking failure
  3. helloworld2.lpr(22,0) Warning: "crtn.o" not found, this will probably cause a linking failure
  4. helloworld2.lpr(22,0) Error: Error while linking
  5.  

My install dir is: /home/mike/Apps/fpcup/crosslaz
My project source is in: /home/mike/source/Lazarus/HelloWorld2CrossComileTest (with a spelling mistake) which explains 13 and 14 below

Code: Pascal  [Select]
  1. using config file /home/mike/Apps/fpcup/crosslaz/lazarus/lazarus.cfg
  2. Adding "--primary-config-path=/home/mike/Apps/fpcup/crosslaz/config_lazarus" as a parameter
  3.  is a file
  4. SetPrimaryConfigPath NewValue="/home/mike/Apps/fpcup/crosslaz/config_lazarus" -> "/home/mike/Apps/fpcup/crosslaz/config_lazarus"
  5. TLazarusManager.Run starting /home/mike/Apps/fpcup/crosslaz/lazarus/lazarus ...
  6. using config file /home/mike/Apps/fpcup/crosslaz/lazarus/lazarus.cfg
  7. SetPrimaryConfigPath NewValue="/home/mike/Apps/fpcup/crosslaz/config_lazarus" -> "/home/mike/Apps/fpcup/crosslaz/config_lazarus"
  8. SetPrimaryConfigPath NewValue="/home/mike/Apps/fpcup/crosslaz/config_lazarus" -> "/home/mike/Apps/fpcup/crosslaz/config_lazarus"
  9. Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/home/mike/Apps/fpcup/crosslaz/config_lazarus/"
  10. Hint: (lazarus) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="/etc/lazarus"
  11. Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=x86_64-linux-gtk2 New=x86_64-linux-gtk2 FPC=True LCL=False
  12. Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=x86_64-linux-gtk2 New=arm-linux-gtk2 FPC=True LCL=False
  13. TLazSourceFileManager.LoadLFM Creating designer for hidden component of /home/mike/source/Lazarus/HelloWorld2CrossComileTest/ufrmmain.pas
  14. TLazSourceFileManager.InitOpenedProjectFile select form in designer: frmMain:TfrmMain TDesigner
  15. Hint: (lazarus) [TMainIDE.DoRunProject] INIT
  16. Hint: (lazarus) Project needs building: Compile was incomplete for Project
  17. [TCompiler.Compile] CmdLine="/home/mike/Apps/fpcup/crosslaz/fpc/bin/x86_64-linux/fpc.sh  -Tlinux -Parm -MObjFPC -Scghi -O1 -l -vewnhibq -Fi/home/mike/source/Lazarus/HelloWorld2CrossComileTest/lib/arm-linux -Fl/opt/gnome/lib -Fu/home/mike/Apps/fpcup/crosslaz/lazarus/lcl/units/arm-linux/gtk2 -Fu/home/mike/Apps/fpcup/crosslaz/lazarus/lcl/units/arm-linux -Fu/home/mike/Apps/fpcup/crosslaz/lazarus/components/lazutils/lib/arm-linux -Fu/home/mike/Apps/fpcup/crosslaz/lazarus/packager/units/arm-linux -Fu/home/mike/source/Lazarus/HelloWorld2CrossComileTest/ -FU/home/mike/source/Lazarus/HelloWorld2CrossComileTest/lib/arm-linux/ -ohelloworld2-arm-linux -dLCL -dLCLgtk2 helloworld2.lpr"
  18. Info: (lazarus) Execute Title="Compile Project, Mode: RPi, CPU: arm, Target: helloworld2-arm-linux"
  19. Info: (lazarus) Working Directory="/home/mike/source/Lazarus/HelloWorld2CrossComileTest/"
  20. Info: (lazarus) Executable="/home/mike/Apps/fpcup/crosslaz/fpc/bin/x86_64-linux/fpc.sh"
  21. Info: (lazarus) Param[0]="-Tlinux"
  22. Info: (lazarus) Param[1]="-Parm"
  23. Info: (lazarus) Param[2]="-MObjFPC"
  24. Info: (lazarus) Param[3]="-Scghi"
  25. Info: (lazarus) Param[4]="-O1"
  26. Info: (lazarus) Param[5]="-l"
  27. Info: (lazarus) Param[6]="-vewnhibq"
  28. Info: (lazarus) Param[7]="-Fi/home/mike/source/Lazarus/HelloWorld2CrossComileTest/lib/arm-linux"
  29. Info: (lazarus) Param[8]="-Fl/opt/gnome/lib"
  30. Info: (lazarus) Param[9]="-Fu/home/mike/Apps/fpcup/crosslaz/lazarus/lcl/units/arm-linux/gtk2"
  31. Info: (lazarus) Param[10]="-Fu/home/mike/Apps/fpcup/crosslaz/lazarus/lcl/units/arm-linux"
  32. Info: (lazarus) Param[11]="-Fu/home/mike/Apps/fpcup/crosslaz/lazarus/components/lazutils/lib/arm-linux"
  33. Info: (lazarus) Param[12]="-Fu/home/mike/Apps/fpcup/crosslaz/lazarus/packager/units/arm-linux"
  34. Info: (lazarus) Param[13]="-Fu/home/mike/source/Lazarus/HelloWorld2CrossComileTest/"
  35. Info: (lazarus) Param[14]="-FU/home/mike/source/Lazarus/HelloWorld2CrossComileTest/lib/arm-linux/"
  36. Info: (lazarus) Param[15]="-ohelloworld2-arm-linux"
  37. Info: (lazarus) Param[16]="-dLCL"
  38. Info: (lazarus) Param[17]="-dLCLgtk2"
  39. Info: (lazarus) Param[18]="helloworld2.lpr"
  40. [TCompiler.Compile] end
  41. Hint: (lazarus) [TMainIDE.DoBuildProject] compiler time in s: 0.349999987520278
  42. Error: (lazarus) [TMainIDE.DoBuildProject] Compile failed
  43.  
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 05, 2016, 09:37:02 pm
Would you mind posting your fpc.cfg ?
Title: Re: Fpcupdeluxe
Post by: macmike on December 05, 2016, 09:52:26 pm
I don't have a ~/.fpc.cfg or a PPC_CONFIG_PATH env variable set.

I've got a fpc.cfg in /etc :
Code: Pascal  [Select]
  1. #
  2. # Config file generated by fpcmkcfg on 15-11-16 - 17:45:04
  3. # Example fpc.cfg for Free Pascal Compiler
  4. #
  5.  
  6. # ----------------------
  7. # Defines (preprocessor)
  8. # ----------------------
  9.  
  10. #
  11. # nested #IFNDEF, #IFDEF, #ENDIF, #ELSE, #DEFINE, #UNDEF are allowed
  12. #
  13. # -d is the same as #DEFINE
  14. # -u is the same as #UNDEF
  15. #
  16.  
  17. #
  18. # Some examples (for switches see below, and the -? helppages)
  19. #
  20. # Try compiling with the -dRELEASE or -dDEBUG on the commandline
  21. #
  22.  
  23. # For a release compile with optimizes and strip debuginfo
  24. #IFDEF RELEASE
  25.   -O2
  26.   -Xs
  27.   #WRITE Compiling Release Version
  28. #ENDIF
  29.  
  30. # For a debug version compile with debuginfo and all codegeneration checks on
  31. #IFDEF DEBUG
  32.   -gl
  33.   -Crtoi
  34.   #WRITE Compiling Debug Version
  35. #ENDIF
  36.  
  37. # assembling
  38. #ifdef darwin
  39. # use pipes instead of temporary files for assembling
  40. -ap
  41. # path to Xcode 4.3+ utilities (no problem if it doesn't exist)
  42. -FD/Applications/Xcode.app/Contents/Developer/usr/bin
  43. #endif
  44.  
  45. # ----------------
  46. # Parsing switches
  47. # ----------------
  48.  
  49. # Pascal language mode
  50. #      -Mfpc      free pascal dialect (default)
  51. #      -Mobjfpc   switch some Delphi 2 extensions on
  52. #      -Mdelphi   tries to be Delphi compatible
  53. #      -Mtp       tries to be TP/BP 7.0 compatible
  54. #      -Mgpc      tries to be gpc compatible
  55. #      -Mmacpas   tries to be compatible to the macintosh pascal dialects
  56. #
  57. # Turn on Object Pascal extensions by default
  58. #-Mobjfpc
  59.  
  60. # Assembler reader mode
  61. #      -Rdefault  use default assembler
  62. #      -Ratt      read AT&T style assembler
  63. #      -Rintel    read Intel style assembler
  64. #
  65. # All assembler blocks are AT&T styled by default
  66. #-Ratt
  67.  
  68. # Semantic checking
  69. #      -S2        same as -Mobjfpc
  70. #      -Sc        supports operators like C (*=,+=,/= and -=)
  71. #      -Sa        include assertion code.
  72. #      -Sd        same as -Mdelphi
  73. #      -Se<x>     error options. <x> is a combination of the following:
  74. #         <n> : compiler stops after <n> errors (default is 1)
  75. #         w   : compiler stops also after warnings
  76. #         n   : compiler stops also after notes
  77. #         h   : compiler stops also after hints
  78. #      -Sg        allow LABEL and GOTO
  79. #      -Sh        Use ansistrings
  80. #      -Si        support C++ styled INLINE
  81. #      -Sk        load fpcylix unit
  82. #      -SI<x>     set interface style to <x>
  83. #         -SIcom    COM compatible interface (default)
  84. #         -SIcorba  CORBA compatible interface
  85. #      -Sm        support macros like C (global)
  86. #      -So        same as -Mtp
  87. #      -Sp        same as -Mgpc
  88. #      -Ss        constructor name must be init (destructor must be done)
  89. #      -Sx        enable exception keywords (default in Delphi/ObjFPC modes)
  90. #
  91. # Allow goto, inline, C-operators, C-vars
  92. -Sgic
  93.  
  94. # ---------------
  95. # Code generation
  96. # ---------------
  97.  
  98. # Uncomment the next line if you always want static/dynamic units by default
  99. # (can be overruled with -CD, -CS at the commandline)
  100. #-CS
  101. #-CD
  102.  
  103. # Set the default heapsize to 8Mb
  104. #-Ch8000000
  105.  
  106. # Set default codegeneration checks (iocheck, overflow, range, stack)
  107. #-Ci
  108. #-Co
  109. #-Cr
  110. #-Ct
  111.  
  112. # Optimizer switches
  113. # -Os        generate smaller code
  114. # -Oa=N      set alignment to N
  115. # -O1        level 1 optimizations (quick optimizations, debuggable)
  116. # -O2        level 2 optimizations (-O1 + optimizations which make debugging more difficult)
  117. # -O3        level 3 optimizations (-O2 + optimizations which also may make the program slower rather than faster)
  118. # -Oo<x>     switch on optimalization x. See fpc -i for possible values
  119. # -OoNO<x>   switch off optimalization x. See fpc -i for possible values
  120. # -Op<x>     set target cpu for optimizing, see fpc -i for possible values
  121.  
  122. #ifdef darwin
  123. #ifdef cpui386
  124. -Cppentiumm
  125. -Oppentiumm
  126. #endif
  127. #endif
  128.  
  129. # -----------------------
  130. # Set Filenames and Paths
  131. # -----------------------
  132.  
  133. # Both slashes and backslashes are allowed in paths
  134.  
  135. # path to the messagefile, not necessary anymore but can be used to override
  136. # the default language
  137. #-Fr/usr/lib/fpc/$fpcversion/msg/errore.msg
  138. #-Fr/usr/lib/fpc/$fpcversion/msg/errorn.msg
  139. #-Fr/usr/lib/fpc/$fpcversion/msg/errores.msg
  140. #-Fr/usr/lib/fpc/$fpcversion/msg/errord.msg
  141. #-Fr/usr/lib/fpc/$fpcversion/msg/errorr.msg
  142.  
  143. # search path for unicode binary files (FPC 2.x does not know this switch)
  144. #ifndef VER2
  145. -FM/usr/lib/fpc/../../share/fpc/$fpcversion/unicode/
  146. #endif
  147.  
  148. # searchpath for units and other system dependent things
  149. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget
  150. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/*
  151. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/rtl
  152.  
  153. #ifdef cpui8086
  154. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/$fpcsubarch-$fpcmemorymodel
  155. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/$fpcsubarch-$fpcmemorymodel/*
  156. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/$fpcsubarch-$fpcmemorymodel/rtl
  157. #endif
  158.  
  159. #IFDEF FPCAPACHE_1_3
  160. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/httpd13/
  161. #ELSE
  162. #IFDEF FPCAPACHE_2_0
  163. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/httpd20
  164. #ELSE
  165. -Fu/usr/lib/fpc/$fpcversion/units/$fpctarget/httpd22
  166. #ENDIF
  167. #ENDIF
  168.  
  169. # searchpath for fppkg user-specific packages
  170. -Fu~/.fppkg/lib/fpc/$fpcversion/units/$FPCTARGET/*
  171.  
  172. # path to the gcclib
  173. #ifdef cpui386
  174. -Fl/usr/lib/gcc/x86_64-linux-gnu/4.8
  175. #endif
  176. #ifdef cpux86_64
  177. -Fl/usr/lib/gcc/x86_64-linux-gnu/4.8
  178. #endif
  179.  
  180. # searchpath for libraries
  181. #-Fl/usr/lib/fpc/$fpcversion/lib
  182. #-Fl/lib;/usr/lib
  183. -Fl/usr/lib/fpc/$fpcversion/lib/$FPCTARGET
  184.  
  185. # searchpath for tools
  186. -FD/usr/lib/fpc/$fpcversion/bin/$FPCTARGET
  187.  
  188. #IFNDEF CPUI386
  189. #IFNDEF CPUAMD64
  190. #DEFINE NEEDCROSSBINUTILS
  191. #ENDIF
  192. #ENDIF
  193.  
  194. #IFNDEF Linux
  195. #DEFINE NEEDCROSSBINUTILS
  196. #ENDIF
  197.  
  198. # never need cross-prefix when targeting the JVM
  199. # (no native compiler, always cross-compiling)
  200. #ifdef cpujvm
  201. #undef NEEDCROSSBINUTILS
  202. #endif
  203.  
  204. # for android cross-prefix is set by compiler
  205. #ifdef android
  206. #undef NEEDCROSSBINUTILS
  207. #endif
  208.  
  209. # never need cross-prefix when targeting the i8086
  210. # (no native compiler, always cross-compiling)
  211. #ifdef cpui8086
  212. #undef NEEDCROSSBINUTILS
  213. #endif
  214.  
  215. # never need cross-prefix when targeting the i8086
  216. # (no native compiler, always cross-compiling)
  217. #ifdef cpujvm
  218. #undef NEEDCROSSBINUTILS
  219. #endif
  220.  
  221. # binutils prefix for cross compiling
  222. #IFDEF FPC_CROSSCOMPILING
  223. #IFDEF NEEDCROSSBINUTILS
  224.  -XP$FPCTARGET-
  225. #ENDIF
  226. #ENDIF
  227.  
  228.  
  229. # -------------
  230. # Linking
  231. # -------------
  232.  
  233. # generate always debugging information for GDB (slows down the compiling
  234. # process)
  235. #      -gc        generate checks for pointers
  236. #      -gd        use dbx
  237. #      -gg        use gsym
  238. #      -gh        use heap trace unit (for memory leak debugging)
  239. #      -gl        use line info unit to show more info for backtraces
  240. #      -gv        generates programs tracable with valgrind
  241. #      -gw        generate dwarf debugging info
  242. #
  243. # Enable debuginfo and use the line info unit by default
  244. #-gl
  245.  
  246. # always pass an option to the linker
  247. #-k-s
  248.  
  249. # Always strip debuginfo from the executable
  250. -Xs
  251.  
  252. # Always use smartlinking on i8086, because the system unit exceeds the 64kb
  253. # code limit
  254. #ifdef cpui8086
  255. -CX
  256. -XX
  257. #endif
  258.  
  259.  
  260. # -------------
  261. # Miscellaneous
  262. # -------------
  263.  
  264. # Write always a nice FPC logo ;)
  265. -l
  266.  
  267. # Verbosity
  268. #      e : Show errors (default)       d : Show debug info
  269. #      w : Show warnings               u : Show unit info
  270. #      n : Show notes                  t : Show tried/used files
  271. #      h : Show hints                  s : Show time stamps
  272. #      i : Show general info           q : Show message numbers
  273. #      l : Show linenumbers            c : Show conditionals
  274. #      a : Show everything             0 : Show nothing (except errors)
  275. #      b : Write file names messages   r : Rhide/GCC compatibility mode
  276. #          with full path              x : Executable info (Win32 only)
  277. #      v : write fpcdebug.txt with     p : Write tree.log with parse tree
  278. #          lots of debugging info
  279. #
  280. # Display Info, Warnings and Notes
  281. -viwn
  282. # If you don't want so much verbosity use
  283. #-vw
  284.  

and one created by fpcupdeluxe in ~/Apps/fpcupdeluxe/crosslaz/fpc/bin/x86_64-linux:

Code: Pascal  [Select]
  1. #
  2. # Config file generated by fpcmkcfg on 5-12-16 - 19:59:44
  3. # Example fpc.cfg for Free Pascal Compiler
  4. #
  5.  
  6. # ----------------------
  7. # Defines (preprocessor)
  8. # ----------------------
  9.  
  10. #
  11. # nested #IFNDEF, #IFDEF, #ENDIF, #ELSE, #DEFINE, #UNDEF are allowed
  12. #
  13. # -d is the same as #DEFINE
  14. # -u is the same as #UNDEF
  15. #
  16.  
  17. #
  18. # Some examples (for switches see below, and the -? helppages)
  19. #
  20. # Try compiling with the -dRELEASE or -dDEBUG on the commandline
  21. #
  22.  
  23. # For a release compile with optimizes and strip debuginfo
  24. #IFDEF RELEASE
  25.   -O2
  26.   -Xs
  27.   #WRITE Compiling Release Version
  28. #ENDIF
  29.  
  30. # For a debug version compile with debuginfo and all codegeneration checks on
  31. #IFDEF DEBUG
  32.   -gl
  33.   -Crtoi
  34.   #WRITE Compiling Debug Version
  35. #ENDIF
  36.  
  37. # assembling
  38. #ifdef darwin
  39. # use pipes instead of temporary files for assembling
  40. #IFNDEF FPC_CROSSCOMPILING
  41. -ap
  42. #ENDIF
  43. # path to Xcode 4.3+ utilities (no problem if it doesn't exist)
  44. -FD/Applications/Xcode.app/Contents/Developer/usr/bin
  45. #endif
  46.  
  47. # ----------------
  48. # Parsing switches
  49. # ----------------
  50.  
  51. # Pascal language mode
  52. #      -Mfpc      free pascal dialect (default)
  53. #      -Mobjfpc   switch some Delphi 2 extensions on
  54. #      -Mdelphi   tries to be Delphi compatible
  55. #      -Mtp       tries to be TP/BP 7.0 compatible
  56. #      -Mgpc      tries to be gpc compatible
  57. #      -Mmacpas   tries to be compatible to the macintosh pascal dialects
  58. #
  59. # Turn on Object Pascal extensions by default
  60. #-Mobjfpc
  61.  
  62. # Assembler reader mode
  63. #      -Rdefault  use default assembler
  64. #      -Ratt      read AT&T style assembler
  65. #      -Rintel    read Intel style assembler
  66. #
  67. # All assembler blocks are AT&T styled by default
  68. #-Ratt
  69.  
  70. # Semantic checking
  71. #      -S2        same as -Mobjfpc
  72. #      -Sc        supports operators like C (*=,+=,/= and -=)
  73. #      -Sa        include assertion code.
  74. #      -Sd        same as -Mdelphi
  75. #      -Se<x>     error options. <x> is a combination of the following:
  76. #         <n> : compiler stops after <n> errors (default is 1)
  77. #         w   : compiler stops also after warnings
  78. #         n   : compiler stops also after notes
  79. #         h   : compiler stops also after hints
  80. #      -Sg        allow LABEL and GOTO
  81. #      -Sh        Use ansistrings
  82. #      -Si        support C++ styled INLINE
  83. #      -Sk        load fpcylix unit
  84. #      -SI<x>     set interface style to <x>
  85. #         -SIcom    COM compatible interface (default)
  86. #         -SIcorba  CORBA compatible interface
  87. #      -Sm        support macros like C (global)
  88. #      -So        same as -Mtp
  89. #      -Sp        same as -Mgpc
  90. #      -Ss        constructor name must be init (destructor must be done)
  91. #      -Sx        enable exception keywords (default in Delphi/ObjFPC modes)
  92. #
  93. # Allow goto, inline, C-operators, C-vars
  94. -Sgic
  95.  
  96. # ---------------
  97. # Code generation
  98. # ---------------
  99.  
  100. # Uncomment the next line if you always want static/dynamic units by default
  101. # (can be overruled with -CD, -CS at the commandline)
  102. #-CS
  103. #-CD
  104.  
  105. # Set the default heapsize to 8Mb
  106. #-Ch8000000
  107.  
  108. # Set default codegeneration checks (iocheck, overflow, range, stack)
  109. #-Ci
  110. #-Co
  111. #-Cr
  112. #-Ct
  113.  
  114. # Optimizer switches
  115. # -Os        generate smaller code
  116. # -Oa=N      set alignment to N
  117. # -O1        level 1 optimizations (quick optimizations, debuggable)
  118. # -O2        level 2 optimizations (-O1 + optimizations which make debugging more difficult)
  119. # -O3        level 3 optimizations (-O2 + optimizations which also may make the program slower rather than faster)
  120. # -Oo<x>     switch on optimalization x. See fpc -i for possible values
  121. # -OoNO<x>   switch off optimalization x. See fpc -i for possible values
  122. # -Op<x>     set target cpu for optimizing, see fpc -i for possible values
  123.  
  124. #ifdef darwin
  125. #ifdef cpui386
  126. -Cppentiumm
  127. -Oppentiumm
  128. #endif
  129. #endif
  130.  
  131. # -----------------------
  132. # Set Filenames and Paths
  133. # -----------------------
  134.  
  135. # Both slashes and backslashes are allowed in paths
  136.  
  137. # path to the messagefile, not necessary anymore but can be used to override
  138. # the default language
  139. #-Fr/home/mike/Apps/fpcup/crosslaz/fpc/msg/errore.msg
  140. #-Fr/home/mike/Apps/fpcup/crosslaz/fpc/msg/errorn.msg
  141. #-Fr/home/mike/Apps/fpcup/crosslaz/fpc/msg/errores.msg
  142. #-Fr/home/mike/Apps/fpcup/crosslaz/fpc/msg/errord.msg
  143. #-Fr/home/mike/Apps/fpcup/crosslaz/fpc/msg/errorr.msg
  144.  
  145. # search path for unicode binary files (FPC 2.x does not know this switch)
  146. #ifndef VER2
  147. -FM/unicode/
  148. #endif
  149.  
  150. # searchpath for units and other system dependent things
  151. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget
  152. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/*
  153. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/rtl
  154.  
  155. #ifdef cpui8086
  156. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/$fpcsubarch-$fpcmemorymodel
  157. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/$fpcsubarch-$fpcmemorymodel/*
  158. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/$fpcsubarch-$fpcmemorymodel/rtl
  159. #endif
  160.  
  161. #IFDEF FPCAPACHE_1_3
  162. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/httpd13/
  163. #ELSE
  164. #IFDEF FPCAPACHE_2_0
  165. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/httpd20
  166. #ELSE
  167. -Fu/home/mike/Apps/fpcup/crosslaz/fpc/units/$fpctarget/httpd22
  168. #ENDIF
  169. #ENDIF
  170.  
  171. # searchpath for fppkg user-specific packages
  172. -Fu~/.fppkg/lib/fpc/$fpcversion/units/$FPCTARGET/*
  173.  
  174. # path to the gcclib
  175. #ifdef cpui386
  176. -Fl/usr/lib/gcc/x86_64-linux-gnu/4.8
  177. #endif
  178. #ifdef cpux86_64
  179. -Fl/usr/lib/gcc/x86_64-linux-gnu/4.8
  180. #endif
  181.  
  182. # searchpath for libraries
  183. #-Fl/home/mike/Apps/fpcup/crosslaz/fpc/lib
  184. #-Fl/lib;/usr/lib
  185. -Fl/home/mike/Apps/fpcup/crosslaz/fpc/lib/$FPCTARGET
  186.  
  187. # searchpath for tools
  188. -FD/home/mike/Apps/fpcup/crosslaz/fpc/bin/$FPCTARGET
  189.  
  190. #IFNDEF CPUI386
  191. #IFNDEF CPUAMD64
  192. #DEFINE NEEDCROSSBINUTILS
  193. #ENDIF
  194. #ENDIF
  195.  
  196. #IFNDEF Linux
  197. #DEFINE NEEDCROSSBINUTILS
  198. #ENDIF
  199.  
  200. # never need cross-prefix when targeting the JVM
  201. # (no native compiler, always cross-compiling)
  202. #ifdef cpujvm
  203. #undef NEEDCROSSBINUTILS
  204. #endif
  205.  
  206. # for android cross-prefix is set by compiler
  207. #ifdef android
  208. #undef NEEDCROSSBINUTILS
  209. #endif
  210.  
  211. # never need cross-prefix when targeting the i8086
  212. # (no native compiler, always cross-compiling)
  213. #ifdef cpui8086
  214. #undef NEEDCROSSBINUTILS
  215. #endif
  216.  
  217. # never need cross-prefix when targeting the i8086
  218. # (no native compiler, always cross-compiling)
  219. #ifdef cpujvm
  220. #undef NEEDCROSSBINUTILS
  221. #endif
  222.  
  223. # binutils prefix for cross compiling
  224. #IFDEF FPC_CROSSCOMPILING
  225. #IFDEF NEEDCROSSBINUTILS
  226.  -XP$FPCTARGET-
  227. #ENDIF
  228. #ENDIF
  229.  
  230.  
  231. # -------------
  232. # Linking
  233. # -------------
  234.  
  235. # generate always debugging information for GDB (slows down the compiling
  236. # process)
  237. #      -gc        generate checks for pointers
  238. #      -gd        use dbx
  239. #      -gg        use gsym
  240. #      -gh        use heap trace unit (for memory leak debugging)
  241. #      -gl        use line info unit to show more info for backtraces
  242. #      -gv        generates programs tracable with valgrind
  243. #      -gw        generate dwarf debugging info
  244. #
  245. # Enable debuginfo and use the line info unit by default
  246. #-gl
  247.  
  248. # always pass an option to the linker
  249. #-k-s
  250.  
  251. # Always strip debuginfo from the executable
  252. -Xs
  253.  
  254. # Always use smartlinking on i8086, because the system unit exceeds the 64kb
  255. # code limit
  256. #ifdef cpui8086
  257. -CX
  258. -XX
  259. #endif
  260.  
  261.  
  262. # -------------
  263. # Miscellaneous
  264. # -------------
  265.  
  266. # Write always a nice FPC logo ;)
  267. -l
  268.  
  269. # Verbosity
  270. #      e : Show errors (default)       d : Show debug info
  271. #      w : Show warnings               u : Show unit info
  272. #      n : Show notes                  t : Show tried/used files
  273. #      h : Show hints                  s : Show time stamps
  274. #      i : Show general info           q : Show message numbers
  275. #      l : Show linenumbers            c : Show conditionals
  276. #      a : Show everything             0 : Show nothing (except errors)
  277. #      b : Write file names messages   r : Rhide/GCC compatibility mode
  278. #          with full path              x : Executable info (Win32 only)
  279. #      v : write fpcdebug.txt with     p : Write tree.log with parse tree
  280. #          lots of debugging info
  281. #
  282. # Display Info, Warnings and Notes
  283. -viwn
  284. # If you don't want so much verbosity use
  285. #-vw
  286. # fpcup:
  287. # Adding binary tools paths to
  288. # plain bin dir and architecture bin dir so
  289. # fpc 3.1+ fpcres etc can be found.
  290. -FD/home/mike/Apps/fpcup/crosslaz/fpc/bin/x86_64-linux/;/home/mike/Apps/fpcup/crosslaz/fpc/bin/
  291. # library search path
  292. -Fl/usr/lib/$FPCTARGET;/usr/lib/$FPCTARGET-gnu;/lib/$FPCTARGET;/lib/$FPCTARGET-gnu;/usr/lib/gcc/x86_64-linux-gnu/4.8.4
  293.  
  294.  
  295. # begin fpcup do not remove arm-linux
  296. #cross compile settings dependent on both target OS and target CPU
  297. #IFDEF FPC_CROSSCOMPILING
  298. #IFDEF CPUARM
  299. #IFDEF LINUX
  300. # Inserted by fpcup 5-12-16 20:09:45
  301. -CpARMV7A
  302. -CfVFPV3
  303. -OoFASTMATH
  304. -CaEABIHF
  305. -FD/home/mike/Apps/lazarus/cross/bin/arm-linux/
  306. -XParm-linux-gnueabihf-
  307. -Xd
  308. -Fl/usr/local/lib/
  309. -Xr/usr/lib
  310. #ENDIF
  311. #ENDIF
  312. #ENDIF
  313. # end fpcup do not remove
  314.  
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 05, 2016, 10:01:07 pm
All clear now.
Will solve ... tomorrow !
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 06, 2016, 10:21:32 am
@macmike: as promissed.

Your fpc.cfg says it all:
Code: Pascal  [Select]
  1. -FD/home/mike/Apps/lazarus/cross/bin/arm-linux/
  2. -Fl/usr/local/lib/
  3.  
It should have been:
Code: Pascal  [Select]
  1. -FD/home/mike/Apps/lazarus/cross/bin/arm-linux/
  2. -Fl/home/mike/Apps/lazarus/cross/lib/arm-linux/
  3.  
AFAIK, this could only have happened if you have choosen the full-auto option for the location of the bins and libs.
There was a mistake in the search system for the libs when this option was choosen.
(but it would have been better if I knew about this setting earlier)

More accurate:
Fpcupdeluxe did download the cross-bins, but not the cross-libs due to the fact that it found (wrong) libs in /usr/local/lib.

A new version of fpcupdeluxe is available online:
https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.1.0d
Please download and run the cross-installer again.
If all goes well, it will download the correct libs, and set your fpc.cfg correct.
Cross-compile (with {$linklib libc_nonshared.a}) should now function.
Title: Re: Fpcupdeluxe
Post by: mdalacu on December 06, 2016, 11:30:04 am
I have this problem in every fpcdeluxe version. I don't know what to do. I have configured proxy and i also have env variables for proxy. Ubuntu 16.10 x64.
Please help
Quote
Going to install/update FPC and Lazarus with given options.
FPCUP(deluxe) is starting up.

Bootstrap dir:      /home/mdalacu/fpcupdeluxe/fpcbootstrap
FPC URL:               http://svn.freepascal.org/svn/fpc/branches/fixes_3_0
FPC options:           
FPC source directory:  /home/mdalacu/fpcupdeluxe/fpc
FPC install directory: /home/mdalacu/fpcupdeluxe/fpc
Lazarus URL:        http://svn.freepascal.org/svn/lazarus/branches/fixes_1_6
Lazarus options:   
Lazarus directory:  /home/mdalacu/fpcupdeluxe/lazarus
Please stand back and enjoy !

fpcupdeluxe: info: 6-12-16 12:21:31: fpcup010 (20161204) started.
Executing : as "--version" (working dir: )
GNU assembler (GNU Binutils for Ubuntu) 2.27
Copyright (C) 2016 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `x86_64-linux-gnu'.
Executing : unzip "-v" (working dir: )
UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.

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 5.2.1 20151119 for Unix (Linux ELF).

UnZip special compilation options:
        ACORN_FTYPE_NFS
        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)
        UNICODE_SUPPORT [wide-chars, char coding: UTF-8] (handle UTF-8 paths)
        LARGE_FILE_SUPPORT (large files over 2 GiB supported)
        ZIP64_SUPPORT (archives using Zip64 for large files supported)
        USE_BZIP2 (PKZIP 4.6+, using bzip2 lib version 1.0.6, 6-Sept-2010)
        VMS_TEXT_CONV
        WILD_STOP_AT_DIR
        [decryption, version 2.11 of 05 Jan 2007]

UnZip and ZipInfo environment options:
           UNZIP:  [none]
        UNZIPOPT:  [none]
         ZIPINFO:  [none]
      ZIPINFOOPT:  [none]
fpcupdeluxe: info: SVN client found: /usr/bin/svn
Executing : bunzip2 "--help" (working dir: )
bzip2, a block-sorting file compressor.  Version 1.0.6, 6-Sept-2010.

   usage: bunzip2 [flags and input files in any order]

   -h --help           print this message
   -d --decompress     force decompression
   -z --compress       force compression
   -k --keep           keep (don't delete) input files
   -f --force          overwrite existing output files
   -t --test           test compressed file integrity
   -c --stdout         output to standard out
   -q --quiet          suppress noncritical error messages
   -v --verbose        be verbose (a 2nd -v gives more)
   -L --license        display software version & license
   -V --version        display software version & license
   -s --small          use less memory (at most 2500k)
   -1 .. -9            set block size to 100k .. 900k
   --fast              alias for -1
   --best              alias for -9

   If invoked as `bzip2', default action is to compress.
              as `bunzip2',  default action is to decompress.
              as `bzcat', default action is to decompress to stdout.

   If no file names are given, bzip2 compresses or decompresses
   from standard input to standard output.  You can combine
   short flags, so `-v -4' means the same as -v4 or -4v, &c.

Executing : tar "--version" (working dir: )
tar (GNU tar) 1.29
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Written by John Gilmore and Jay Fenlason.
Executing : make "-v" (working dir: )
GNU Make 4.1
Built for x86_64-pc-linux-gnu
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
fpcupdeluxe: WARNING: TFPCInstaller: clean module FPC directory /home/mdalacu/fpcupdeluxe/fpc does not exist. Exiting CleanModule.
fpcupdeluxe: info: Checking out/updating FPC sources...
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
svn: E155007: '/home/mdalacu/fpcupdeluxe/fpc' is not a working copy
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
svn: E155007: '/home/mdalacu/fpcupdeluxe/fpc' is not a working copy
fpcupdeluxe: info: INFO: directory /home/mdalacu/fpcupdeluxe/fpc is not an SVN repository (or a repository with the wrong remote URL).
fpcupdeluxe: info: INFO: creating directory /home/mdalacu/fpcupdeluxe/fpc for SVN checkout.
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
svn: E155007: '/home/mdalacu/fpcupdeluxe/fpc' is not a working copy
fpcupdeluxe: info: Running SVN checkout or update.
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
svn: E155007: '/home/mdalacu/fpcupdeluxe/fpc' is not a working copy
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
svn: E155007: '/home/mdalacu/fpcupdeluxe/fpc' is not a working copy
Executing : /usr/bin/svn "checkout" "--quiet" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "http://svn.freepascal.org/svn/fpc/branches/fixes_3_0/" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Executing : /usr/bin/svn "cleanup" "--non-interactive" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Executing : /usr/bin/svn "cleanup" "--non-interactive" "--remove-unversioned" "--remove-ignored" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Executing : /usr/bin/svn "update" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Path: /home/mdalacu/fpcupdeluxe/fpc
Working Copy Root Path: /home/mdalacu/fpcupdeluxe/fpc
URL: http://svn.freepascal.org/svn/fpc/branches/fixes_3_0
Relative URL: ^/branches/fixes_3_0
Repository Root: http://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 35077
Node Kind: directory
Schedule: normal
Last Changed Author: marco
Last Changed Rev: 34961
Last Changed Date: 2016-11-25 12:54:56 +0200 (Vi, 25 nov 2016)

fpcupdeluxe: info: FPC was at: failure
fpcupdeluxe: info: FPC is now at: branch revision 34961 (repository revision 35077)
fpcupdeluxe: info: TFPCInstaller: building module FPC...
fpcupdeluxe: info: We have a FPC source (@ /home/mdalacu/fpcupdeluxe/fpc) with version: 3.0.1
fpcupdeluxe: info: To compile this FPC, we need (required) a compiler with version : 3.0.0
Executing : /home/mdalacu/fpcupdeluxe/fpcbootstrap/ppcx64 "-iV" (working dir: )
fpcupdeluxe: info: Looking for a bootstrap compiler from official FPC bootstrap binaries.
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 3.0.0
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.6.4
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.6.2
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.6.0
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.4.4
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.4.2
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.4.0
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
fpcupdeluxe: info: Looking for a bootstrap compiler from Github FPCUP releases.
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-3_0_0-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_6_4-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_6_2-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_6_0-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_4_4-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_4_2-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_4_0-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_2_4-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_2_2-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_2_0-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_1_4-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_1_2-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_0_4-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_0_2-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_0_0-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-1_9_8-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-1_9_6-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-1_9_4-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-1_9_2-x86_64-linux-ppcx64
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-1_9_0-x86_64-linux-ppcx64
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 06, 2016, 12:06:00 pm
@mdalacu.
Error is clear. Will try to solve. New version will follow if ok.
Title: Re: Fpcupdeluxe
Post by: halim on December 06, 2016, 12:43:46 pm
i got this error message when install newpascal
oing to install NewPascal release.
FPCUP(deluxe) is starting up.

Binutils/make dir:  C:\fpcupdeluxe\fpcbootstrap
Bootstrap dir:      C:\fpcupdeluxe\fpcbootstrap
FPC URL:               https://github.com/newpascal/freepascal/branches/release
FPC options:           
FPC source directory:  C:\fpcupdeluxe\fpc
FPC install directory: C:\fpcupdeluxe\fpc
Lazarus URL:        https://github.com/newpascal/lazarus/branches/release
Lazarus options:   
Lazarus directory:  C:\fpcupdeluxe\lazarus
Please stand back and enjoy !

fpcupdeluxe: info: 12/6/2016 19:32:36: fpcup010 (20161204) started.
fpcupdeluxe: info: Windows major version: 6
fpcupdeluxe: info: Windows minor version: 1
fpcupdeluxe: info: Windows build number:  7601
Executing : C:\fpcupdeluxe\fpcbootstrap\unzip.exe "-o" "-d" "C:\fpcupdeluxe\fpcbootstrap\7Zip\" "C:\fpcupdeluxe\fpcbootstrap\7Zip\7za920.zip" (working dir: )
Executing : C:\fpcupdeluxe\fpcbootstrap\unzip.exe "-o" "-d" "C:\fpcupdeluxe\fpcbootstrap\unrar\" "C:\fpcupdeluxe\fpcbootstrap\unrar\unrar-3.4.3-bin.zip" (working dir: )
Executing : C:\fpcupdeluxe\fpcbootstrap\unzip.exe "-v" (working dir: )
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence fpc; line: 2, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc


ERROR: Fpcupdeluxe failed.


Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 06, 2016, 12:54:17 pm
@halim.
Would you mind checking the contents of C:\fpcupdeluxe\fpcbootstrap
This directory should contain unzip.exe and few more tools.
Title: Re: Fpcupdeluxe
Post by: halim on December 06, 2016, 01:22:37 pm
thanks for quick reply DonAlfredo
i already check C:\fpcupdeluxe\fpcbootstrap , but only 3 file patch.exe,patch.manifest,unzip.exe adn 2 folder 7zip and unrar
i have delete previous fpcupdeluxe but some error appear again
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 06, 2016, 01:36:19 pm
@halim
That folder looks ok then.

But now it becomes a very strange problem:
a) unzip.exe is available in the right directory.
b) executing : C:\fpcupdeluxe\fpcbootstrap\unzip.exe "-v" does not give any output ??!!

I guess that the 2 adn folders 7zip and unrar are empty ?

Does fpcupdeluxe work if you run as administrator ?
Title: Re: Fpcupdeluxe
Post by: halim on December 06, 2016, 01:47:03 pm
both folder are not empty
i try to run fpcdeluxe 2nd time..then my PC got freeze..i'm wait for 45 minutes but my keyboard is freeze too
so i have to restart my pc
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 06, 2016, 01:54:17 pm
That is bad ... sorry about that.
If folders 7zip and unrar are non-empty, what is their contents ?
And what is your OS exactly ?
Title: Re: Fpcupdeluxe
Post by: halim on December 06, 2016, 02:37:40 pm
1st folder are 7zip and it contain 7-zip.exe,7za.exe,readme and license (i think this corret file)
2nd folder are unrar, it contain folder bin,contrib,include, man and manifest (it look like the source code of unrar)
no file except that folder

my PC : AMD A8-7650K,8GB RAM, OS Win7

i'm running fpcupdeluxe in my laptop too(Intel Core2Duo 1.7GHz, 3GB RAM, OS Win 7)  are ok, but previously i have been install newpascal with fpcupdeluxe ver 20161024
Title: Re: Fpcupdeluxe
Post by: macmike on December 06, 2016, 08:54:27 pm
@macmike: as promissed...

Thanks so much for your patience :) I can install and cross-compile now without errors.

Interestingly the generated arm-binary works perfectly on my RPI3 but not on my RPI2.

On RPI2 I get an error:

Code: Pascal  [Select]
  1. An unhandled exception occurred at $0002EFE0:
  2. EAccessViolation: Access violation
  3.   $0002EFE0
  4.  

I also get the same-ish error running fpcupdeluxe-arm-linux on the RPI2:

Code: Pascal  [Select]
  1. pi@raspberrypi:~ $ ./fpcupdeluxe-arm-linux
  2. An unhandled exception occurred at $00025F40:
  3. EAccessViolation: Access violation
  4.   $00025F40
  5.  
  6. pi@raspberrypi:~ $
  7.  

Both work perfectly on my RPI3 though. Compiling the code on the RPI3 means it works on the RPI2.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 06, 2016, 09:07:12 pm
If time permits, I will install Raspbian on my RPi2 and try to reproduce.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 07, 2016, 12:38:33 pm
New release: 1.1.0e here:
https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.1.0e

Added proxy to all (internal) downloads, so better behavior when behind proxy.
Various bug-fixes.

Two new releases are available: Darwin cocoa versions for i386 and x86_64 (both cross-compiled from Windows).

A start of a wiki has been made: http://wiki.lazarus.freepascal.org/fpcupdeluxe

@macmike: your RPi2 is still work-in-progress.
Title: Re: Fpcupdeluxe
Post by: mdalacu on December 08, 2016, 08:25:25 am
@mdalacu.
Error is clear. Will try to solve. New version will follow if ok.
Hi, i have tested the latest version (e), same error on Ubuntu 16.10.
Code: Pascal  [Select]
  1. Going to install/update FPC and Lazarus with given options.
  2. FPCUP(deluxe) is starting up.
  3.  
  4. Bootstrap dir:      /home/mdalacu/fpcupdeluxe/fpcbootstrap
  5. FPC URL:               http://svn.freepascal.org/svn/fpc/branches/fixes_3_0
  6. FPC options:          
  7. FPC source directory:  /home/mdalacu/fpcupdeluxe/fpc
  8. FPC install directory: /home/mdalacu/fpcupdeluxe/fpc
  9. Lazarus URL:        http://svn.freepascal.org/svn/lazarus/branches/fixes_1_6
  10. Lazarus options:    
  11. Lazarus directory:  /home/mdalacu/fpcupdeluxe/lazarus
  12. Please stand back and enjoy !
  13.  
  14. fpcupdeluxe: info: 8-12-16 09:22:03: fpcup010 (20161204) started.
  15. Executing : as "--version" (working dir: )
  16. GNU assembler (GNU Binutils for Ubuntu) 2.27
  17. Copyright (C) 2016 Free Software Foundation, Inc.
  18. This program is free software; you may redistribute it under the terms of
  19. the GNU General Public License version 3 or later.
  20. This program has absolutely no warranty.
  21. This assembler was configured for a target of `x86_64-linux-gnu'.
  22. Executing : unzip "-v" (working dir: )
  23. UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.
  24.  
  25. Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip/ ;
  26. see ftp://ftp.info-zip.org/pub/infozip/UnZip.html for other sites.
  27.  
  28. Compiled with gcc 5.2.1 20151119 for Unix (Linux ELF).
  29.  
  30. UnZip special compilation options:
  31.        ACORN_FTYPE_NFS
  32.        COPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported)
  33.        SET_DIR_ATTRIB
  34.        SYMLINKS (symbolic links supported, if RTL and file system permit)
  35.        TIMESTAMP
  36.        UNIXBACKUP
  37.        USE_EF_UT_TIME
  38.        USE_UNSHRINK (PKZIP/Zip 1.x unshrinking method supported)
  39.        USE_DEFLATE64 (PKZIP 4.x Deflate64(tm) supported)
  40.        UNICODE_SUPPORT [wide-chars, char coding: UTF-8] (handle UTF-8 paths)
  41.        LARGE_FILE_SUPPORT (large files over 2 GiB supported)
  42.        ZIP64_SUPPORT (archives using Zip64 for large files supported)
  43.        USE_BZIP2 (PKZIP 4.6+, using bzip2 lib version 1.0.6, 6-Sept-2010)
  44.        VMS_TEXT_CONV
  45.        WILD_STOP_AT_DIR
  46.        [decryption, version 2.11 of 05 Jan 2007]
  47.  
  48. UnZip and ZipInfo environment options:
  49.           UNZIP:  [none]
  50.        UNZIPOPT:  [none]
  51.         ZIPINFO:  [none]
  52.      ZIPINFOOPT:  [none]
  53. fpcupdeluxe: info: SVN client found: /usr/bin/svn
  54. Executing : bunzip2 "--help" (working dir: )
  55. bzip2, a block-sorting file compressor.  Version 1.0.6, 6-Sept-2010.
  56.  
  57.   usage: bunzip2 [flags and input files in any order]
  58.  
  59.   -h --help           print this message
  60.   -d --decompress     force decompression
  61.   -z --compress       force compression
  62.   -k --keep           keep (don't delete) input files
  63.    -f --force          overwrite existing output files
  64.    -t --test           test compressed file integrity
  65.    -c --stdout         output to standard out
  66.    -q --quiet          suppress noncritical error messages
  67.    -v --verbose        be verbose (a 2nd -v gives more)
  68.    -L --license        display software version & license
  69.    -V --version        display software version & license
  70.    -s --small          use less memory (at most 2500k)
  71.    -1 .. -9            set block size to 100k .. 900k
  72.    --fast              alias for -1
  73.    --best              alias for -9
  74.  
  75.    If invoked as `bzip2', default action is to compress.
  76.              as `bunzip2',  default action is to decompress.
  77.               as `bzcat', default action is to decompress to stdout.
  78.  
  79.   If no file names are given, bzip2 compresses or decompresses
  80.   from standard input to standard output.  You can combine
  81.   short flags, so `-v -4' means the same as -v4 or -4v, &c.
  82.  
  83. Executing : tar "--version" (working dir: )
  84. tar (GNU tar) 1.29
  85. Copyright (C) 2015 Free Software Foundation, Inc.
  86. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
  87. This is free software: you are free to change and redistribute it.
  88. There is NO WARRANTY, to the extent permitted by law.
  89.  
  90. Written by John Gilmore and Jay Fenlason.
  91. Executing : make "-v" (working dir: )
  92. GNU Make 4.1
  93. Built for x86_64-pc-linux-gnu
  94. Copyright (C) 1988-2014 Free Software Foundation, Inc.
  95. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  96. This is free software: you are free to change and redistribute it.
  97. There is NO WARRANTY, to the extent permitted by law.
  98. fpcupdeluxe: info: TFPCInstaller: clean module FPC...
  99. fpcupdeluxe: ERROR: FPC: running make distclean failed: could not find compiler (/home/mdalacu/fpcupdeluxe/fpcbootstrap/ppcx64)
  100. fpcupdeluxe: info: Checking out/updating FPC sources...
  101. Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
  102. Path: /home/mdalacu/fpcupdeluxe/fpc
  103. Working Copy Root Path: /home/mdalacu/fpcupdeluxe/fpc
  104. URL: http://svn.freepascal.org/svn/fpc/branches/fixes_3_0
  105. Relative URL: ^/branches/fixes_3_0
  106. Repository Root: http://svn.freepascal.org/svn/fpc
  107. Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
  108. Revision: 35077
  109. Node Kind: directory
  110. Schedule: normal
  111. Last Changed Author: marco
  112. Last Changed Rev: 34961
  113. Last Changed Date: 2016-11-25 12:54:56 +0200 (Vi, 25 nov 2016)
  114.  
  115. Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
  116. Path: /home/mdalacu/fpcupdeluxe/fpc
  117. Working Copy Root Path: /home/mdalacu/fpcupdeluxe/fpc
  118. URL: http://svn.freepascal.org/svn/fpc/branches/fixes_3_0
  119. Relative URL: ^/branches/fixes_3_0
  120. Repository Root: http://svn.freepascal.org/svn/fpc
  121. Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
  122. Revision: 35077
  123. Node Kind: directory
  124. Schedule: normal
  125. Last Changed Author: marco
  126. Last Changed Rev: 34961
  127. Last Changed Date: 2016-11-25 12:54:56 +0200 (Vi, 25 nov 2016)
  128.  
  129. Executing : /usr/bin/svn "status" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "--depth" "infinity" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
  130. fpcupdeluxe: info: Running SVN checkout or update.
  131. Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
  132. Path: /home/mdalacu/fpcupdeluxe/fpc
  133. Working Copy Root Path: /home/mdalacu/fpcupdeluxe/fpc
  134. URL: http://svn.freepascal.org/svn/fpc/branches/fixes_3_0
  135. Relative URL: ^/branches/fixes_3_0
  136. Repository Root: http://svn.freepascal.org/svn/fpc
  137. Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
  138. Revision: 35077
  139. Node Kind: directory
  140. Schedule: normal
  141. Last Changed Author: marco
  142. Last Changed Rev: 34961
  143. Last Changed Date: 2016-11-25 12:54:56 +0200 (Vi, 25 nov 2016)
  144.  
  145. Executing : /usr/bin/svn "cleanup" "--non-interactive" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
  146. Executing : /usr/bin/svn "cleanup" "--non-interactive" "--remove-unversioned" "--remove-ignored" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
  147. Executing : /usr/bin/svn "update" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
  148. Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
  149. Path: /home/mdalacu/fpcupdeluxe/fpc
  150. Working Copy Root Path: /home/mdalacu/fpcupdeluxe/fpc
  151. URL: http://svn.freepascal.org/svn/fpc/branches/fixes_3_0
  152. Relative URL: ^/branches/fixes_3_0
  153. Repository Root: http://svn.freepascal.org/svn/fpc
  154. Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
  155. Revision: 35082
  156. Node Kind: directory
  157. Schedule: normal
  158. Last Changed Author: marco
  159. Last Changed Rev: 34961
  160. Last Changed Date: 2016-11-25 12:54:56 +0200 (Vi, 25 nov 2016)
  161.  
  162. fpcupdeluxe: info: FPC was at: branch revision 34961 (repository revision 35077)
  163. fpcupdeluxe: info: No updates for FPC found.
  164. fpcupdeluxe: info: TFPCInstaller: building module FPC...
  165. fpcupdeluxe: info: We have a FPC source (@ /home/mdalacu/fpcupdeluxe/fpc) with version: 3.0.1
  166. fpcupdeluxe: info: To compile this FPC, we need (required) a compiler with version : 3.0.0
  167. Executing : /home/mdalacu/fpcupdeluxe/fpcbootstrap/ppcx64 "-iV" (working dir: )
  168. fpcupdeluxe: info: Looking for a bootstrap compiler from official FPC bootstrap binaries.
  169. fpcupdeluxe: info: Looking for official FPC bootstrapper with version 3.0.0
  170. fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
  171. fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.6.4
  172. fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
  173. fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.6.2
  174. fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
  175. fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.6.0
  176. fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
  177. fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.4.4
  178. fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
  179. fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.4.2
  180. fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
  181. fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.4.0
  182. fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
  183. fpcupdeluxe: info: Looking for a bootstrap compiler from Github FPCUP releases.
  184. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-3_0_0-x86_64-linux-ppcx64
  185. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_6_4-x86_64-linux-ppcx64
  186. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_6_2-x86_64-linux-ppcx64
  187. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_6_0-x86_64-linux-ppcx64
  188. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_4_4-x86_64-linux-ppcx64
  189. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_4_2-x86_64-linux-ppcx64
  190. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_4_0-x86_64-linux-ppcx64
  191. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_2_4-x86_64-linux-ppcx64
  192. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_2_2-x86_64-linux-ppcx64
  193. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_2_0-x86_64-linux-ppcx64
  194. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_1_4-x86_64-linux-ppcx64
  195. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_1_2-x86_64-linux-ppcx64
  196. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_0_4-x86_64-linux-ppcx64
  197. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_0_2-x86_64-linux-ppcx64
  198. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_0_0-x86_64-linux-ppcx64
  199. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-1_9_8-x86_64-linux-ppcx64
  200. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-1_9_6-x86_64-linux-ppcx64
  201. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-1_9_4-x86_64-linux-ppcx64
  202. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-1_9_2-x86_64-linux-ppcx64
  203. fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-1_9_0-x86_64-linux-ppcx64
  204.  
Got an unexpected exception ... don't know what to do unfortunately.

Any ideeas?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 08, 2016, 08:33:46 am
Yes, I have ideas. But its hard to test them: I am not behind a proxy.

Your problem/error is related to the fact that fpcupdeluxe tries to receive an official bootstrapper throught ftp.
I have added proxy settings into ftp, but apparently they do not work.
I have also added proxy-settings into GIT and all other download-codes ... and they also do not seem to work for you.

More research/testing is needed.
Thanks for your feedback.
Title: Re: Fpcupdeluxe
Post by: mdalacu on December 08, 2016, 08:44:23 am
Yes, I have ideas. But its hard to test them: I am not behind a proxy.

Your problem/error is related to the fact that fpcupdeluxe tries to receive an official bootstrapper throught ftp.
I have added proxy settings into ftp, but apparently they do not work.
I have also added proxy-settings into GIT and all other download-codes ... and they also do not seem to work for you.

More research/testing is needed.
Thanks for your feedback.
Thanks ....but wen i try to put in a browser the bootstrapper links
Ex: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-3_0_0-x86_64-linux-ppcx64
This is what i get. Could be related?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 08, 2016, 08:57:38 am
This one is not hosted:
https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-3_0_0-x86_64-linux-ppcx64
This one is:
https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_4_0-x86_64-linux-ppcx64

Your log shows:
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_4_0-x86_64-linux-ppcx64
Its there, but not detected on your system.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 08, 2016, 09:02:17 am
I have installed squid proxy server on my outgoing server ... will try to use it
Title: Re: Fpcupdeluxe
Post by: Thaddy on December 08, 2016, 10:45:37 am
I have installed squid proxy server on my outgoing server ... will try to use it

Alfred, is there a reason you still stick to 2.4.0 to bootstrap?
I mean 2.4 bootstraps 2.6.X.
2.6.X is no longer maintained.
2.6.4 is to bootstrap 3.0.0 only. 3.0 is the minimum maintained version.
So shouldn't you bootstrap with 2.6.4 as a minimum?
If it is a problem to host I can put them all on my servers (I have unlimited bandwidth)
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 08, 2016, 11:14:22 am
@thaddy
Thanks fo your offer ! Will try to explain.

The fpcupdeluxe user selects a fpc version e.g. trunk, 3.0.0, fixes, ....
Source gets downloaded.
The source fpc makefile is scanned for the required bootstrap version.
Fpcupdeluxe tries to locate the required bootstrapper from official FPC ftp server.
If not found, it will try to locate a lower version bootstrapper from official FPC ftp server and build the required bootstrapper itself.

(Reinier, the original author, wanted fpcup to use only officially available sources)

(Here starts the violation of the above requirement:)
If no bootstrapper  found, the (old) bootstrappers hosted on fpcupdeluxe github are scanned for a suitable bootstrapper.
https://github.com/newpascal/fpcupdeluxe/releases/tag/bootstrappers_v1.0
(required for aarch64)
So, it would be quite easy to host more bootstrappers on this location.

But again, it feels like a violation ... and I am a 100% neurotic nostalgic person ... ;-) ... So, your remark is valid (as is your offer), but how to proceed is open for discussion in a somewhat peculiar way.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 08, 2016, 11:19:48 am
@mdalacu
I have simulated your problem (I think).
Its has to do with https over a proxy (again I think).
How does your proxy handle https traffic.

E.g. you could try to do this (on Linux):
wget http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip
and post the output here to show the redirects.
Especially, port redirect for https traffic.
Title: Re: Fpcupdeluxe
Post by: mdalacu on December 08, 2016, 11:25:59 am
@mdalacu
I have simulated your problem (I think).
Its has to do with https over a proxy (again I think).
How does your proxy handle https traffic.

E.g. you could try to do this (on Linux):
wget http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip
and post the output here to show the redirects.
Especially, port redirect for https traffic.
Code: Pascal  [Select]
  1. mdalacu@c026dalam2u:~/Downloads$ wget http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip
  2. --2016-12-08 12:24:40--  http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip
  3. Connecting to 10.241.155.3:8080... connected.
  4. Proxy request sent, awaiting response... 302 Moved Temporarily
  5. Location: http://netassist.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip [following]
  6. --2016-12-08 12:24:40--  http://netassist.dl.sourceforge.net/project/sevenzip/7-Zip/9.20/7za920.zip
  7. Reusing existing connection to 10.241.155.3:8080.
  8. Proxy request sent, awaiting response... 200 OK
  9. Length: 384846 (376K) [application/octet-stream]
  10. Saving to: ‘7za920.zip
  11.  
  12. 7za920.zip                        100%[============================================================>] 375,83K  94,1KB/s    in 4,0s    
  13.  
  14. 2016-12-08 12:24:53 (94,1 KB/s) - ‘7za920.zip’ saved [384846/384846]
  15.  
  16. mdalacu@c026dalam2u:~/Downloads$
  17.  
  18.  
  19.  
Title: Re: Fpcupdeluxe
Post by: mdalacu on December 08, 2016, 11:29:01 am
I also post the output for the bootstapper 2.4 version. Strange that it is working.
Quote
mdalacu@c026dalam2u:~/Downloads$ wget https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_4_0-x86_64-linux-ppcx64
--2016-12-08 12:27:37--  https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-2_4_0-x86_64-linux-ppcx64
Connecting to 10.241.155.3:8080... connected.
Proxy request sent, awaiting response... 302 Found
Location: https://github-cloud.s3.amazonaws.com/releases/74603442/754aa31e-b25c-11e6-953c-699e4dcbfd7d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20161208%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20161208T102750Z&X-Amz-Expires=300&X-Amz-Signature=da2bbad4767dcdce64924753332cd222f96920f08b3450dbfe7fa738279edc2e&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dfpcup-2_4_0-x86_64-linux-ppcx64&response-content-type=application%2Foctet-stream [following]
--2016-12-08 12:27:37--  https://github-cloud.s3.amazonaws.com/releases/74603442/754aa31e-b25c-11e6-953c-699e4dcbfd7d?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAISTNZFOVBIJMK3TQ%2F20161208%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20161208T102750Z&X-Amz-Expires=300&X-Amz-Signature=da2bbad4767dcdce64924753332cd222f96920f08b3450dbfe7fa738279edc2e&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dfpcup-2_4_0-x86_64-linux-ppcx64&response-content-type=application%2Foctet-stream
Connecting to 10.241.155.3:8080... connected.
Proxy request sent, awaiting response... 200 OK
Length: 2612952 (2,5M) [application/octet-stream]
Saving to: ‘fpcup-2_4_0-x86_64-linux-ppcx64.1’

fpcup-2_4_0-x86_64-linux-ppcx64.1 100%[============================================================>]   2,49M  1,05MB/s    in 2,4s   

2016-12-08 12:27:40 (1,05 MB/s) - ‘fpcup-2_4_0-x86_64-linux-ppcx64.1’ saved [2612952/2612952]
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 08, 2016, 11:42:22 am
Is that proxy reachable from Europe ?
You could PM me with some credentials, so that I can investigate !
Title: Re: Fpcupdeluxe
Post by: mdalacu on December 08, 2016, 11:48:12 am
Is that proxy reachable from Europe ?
You could PM me with some credentials, so that I can investigate !
Sorry i am working in a bank...that no way in hell that i could do that...
What do you use for downloading files?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 08, 2016, 11:54:01 am
Ok ... I can understand !
I am using the fphttpclient, available in trunk.

edit:
AFIAK, fphttpclient tries to establish a https connection with the proxy when redirected towards a https URL.
Title: Re: Fpcupdeluxe
Post by: mdalacu on December 08, 2016, 11:58:23 am
Ok ... I can understand !
I am using the fphttpclient, available in trunk.
Thanks. Unfortunately i never use it so i can not give any input on fphttpclient.
Can i put the manually downloaded bootstrap in a fpcdeluxe folder to make it continue with the installation?
Thanks again.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 08, 2016, 12:00:07 pm
YES !
Title: Re: Fpcupdeluxe
Post by: mdalacu on December 08, 2016, 12:16:21 pm
Sorry, where ?!
Quote
mdalacu@c026dalam2u:~/fpcupdeluxe$ tree -d -L 2
.
└── fpc
    ├── compiler
    ├── ide
    ├── installer
    ├── packages
    ├── rtl
    ├── tests
    └── utils

Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 08, 2016, 12:22:35 pm
Get bootstrapper from:
ftp://ftp.freepascal.org/pub/fpc/dist/2.6.2/bootstrap/x86_64-linux-ppcx64.bz2
(AKAIK, this is the latest official available for Linux 64)

Unpack, make executable and put it in:
fpcupdeluxe/fpcbootstrap
Title: Re: Fpcupdeluxe
Post by: mdalacu on December 08, 2016, 12:33:23 pm
I have done it, but still no go.
I have uploaded console output.
Thanks for trying to help me.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 08, 2016, 12:46:38 pm
You have now encountered a fpcupdeluxe bug ... will solve ... but will take some time !
(I am also adding a wget downloader for Linux)
Title: Re: Fpcupdeluxe
Post by: mdalacu on December 08, 2016, 01:00:43 pm
Thanks. You can also use wget for windoze...
https://eternallybored.org/misc/wget/

More info wget: http://wget.addictivecode.org/FrequentlyAskedQuestions?action=show&redirect=Faq#download
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 09, 2016, 04:16:48 pm
Again a new release ....

https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.1.0f

Added option to use wget as downloader (checkbox under Setup+).
Could work better for systems behind a proxy.

Still experimental, so feedback welcome.
Title: Re: Fpcupdeluxe
Post by: mdalacu on December 12, 2016, 08:08:57 am
Again a new release ....

https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.1.0f

Added option to use wget as downloader (checkbox under Setup+).
Could work better for systems behind a proxy.

Still experimental, so feedback welcome.
Hi, i have tested and it's hanging at this step....i waited 30 min
......
Quote
Executing : /usr/bin/svn "status" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "--depth" "infinity" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
fpcupdeluxe: info: Running SVN checkout or update.
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Path: /home/mdalacu/fpcupdeluxe/fpc
Working Copy Root Path: /home/mdalacu/fpcupdeluxe/fpc
URL: http://svn.freepascal.org/svn/fpc/branches/fixes_3_0
Relative URL: ^/branches/fixes_3_0
Repository Root: http://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 35082
Node Kind: directory
Schedule: normal
Last Changed Author: marco
Last Changed Rev: 34961
Last Changed Date: 2016-11-25 12:54:56 +0200 (Vi, 25 nov 2016)

Executing : /usr/bin/svn "cleanup" "--non-interactive" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Executing : /usr/bin/svn "cleanup" "--non-interactive" "--remove-unversioned" "--remove-ignored" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Executing : /usr/bin/svn "update" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Executing : /usr/bin/svn "info" "--config-option" "servers:global:http-proxy-host=10.241.155.3" "--config-option" "servers:global:http-proxy-port=8080" "/home/mdalacu/fpcupdeluxe/fpc" (working dir: )
Path: /home/mdalacu/fpcupdeluxe/fpc
Working Copy Root Path: /home/mdalacu/fpcupdeluxe/fpc
URL: http://svn.freepascal.org/svn/fpc/branches/fixes_3_0
Relative URL: ^/branches/fixes_3_0
Repository Root: http://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 35112
Node Kind: directory
Schedule: normal
Last Changed Author: marco
Last Changed Rev: 34961
Last Changed Date: 2016-11-25 12:54:56 +0200 (Vi, 25 nov 2016)

fpcupdeluxe: info: FPC was at: branch revision 34961 (repository revision 35082)
fpcupdeluxe: info: No updates for FPC found.
fpcupdeluxe: info: TFPCInstaller: building module FPC...
fpcupdeluxe: info: We have a FPC source (@ /home/mdalacu/fpcupdeluxe/fpc) with version: 3.0.1
fpcupdeluxe: info: To compile this FPC, we need (required) a compiler with version : 3.0.0
Executing : /home/mdalacu/fpcupdeluxe/fpcbootstrap/x86_64-linux-ppcx64 "-iV" (working dir: )
2.6.2
Executing : /home/mdalacu/fpcupdeluxe/fpcbootstrap/x86_64-linux-ppcx64 "-iV" (working dir: )
2.6.2
Executing : /home/mdalacu/fpcupdeluxe/fpcbootstrap/x86_64-linux-ppcx64 "-iV" (working dir: )
2.6.2
fpcupdeluxe: info: Looking for a bootstrap compiler from official FPC bootstrap binaries.
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 3.0.0
fpcupdeluxe: info: Looking for (online) bootstrapper x86_64-linux-ppcx64.bz2
Title: Re: Fpcupdeluxe
Post by: mdalacu on December 12, 2016, 11:11:00 am
Using wget this is what i have got:
--2016-12-12 11:35:37--  ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/
  (try:14) => ‘.listing’
Connecting to 10.241.155.3:8080... connected.
Error in server response. Closing.
Retrying.

--2016-12-12 11:40:47--  ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/
  (try:15) => ‘.listing’
Connecting to 10.241.155.3:8080... connected.
Error in server response. Closing.
Retrying.

--2016-12-12 11:45:57--  ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/
  (try:16) => ‘.listing’
Connecting to 10.241.155.3:8080... connected.
Error in server response. Closing.
Retrying.

--2016-12-12 11:51:07--  ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/
  (try:17) => ‘.listing’
Connecting to 10.241.155.3:8080... connected.
Error in server response. Closing.
Retrying.

--2016-12-12 11:56:17--  ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/
  (try:18) => ‘.listing’
Connecting to 10.241.155.3:8080... connected.
Error in server response. Closing.
Retrying.

--2016-12-12 12:01:27--  ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/
  (try:19) => ‘.listing’
Connecting to 10.241.155.3:8080... connected.
Error in server response. Closing.
Retrying.

--2016-12-12 12:06:37--  ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/
  (try:20) => ‘.listing’
Connecting to 10.241.155.3:8080... connected.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 12, 2016, 11:17:37 am
Thanks for trying and reporting.
Your proxy gives problems ... and it's not easy to debug without having a proxy like you !
But I will try further.

If you are willing to help me further, lets get this done by PM, because these details will fill this forum with implementation details that are not very interesting for others. So, with your permission, I will PM you with some Linux wget command line tests !
Title: Re: Fpcupdeluxe
Post by: josh on December 14, 2016, 12:24:30 pm
Hi

Just downloaded latest version; and when I click install/update laz and fpc or click the Trunk button. I am getting the error below

:UPDATE:
Have been trying for a while; and then it started working ; so suspect that some svn download issue.


Question though.
Say for example of I have LAZ 1.7 and fpc 3.0.2 installed in trunk folder; can I then decide later that I want to use FPC 3.1.1 and just change both options to trunk and click install, will it remove fpc 3.0.2?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 14, 2016, 01:03:36 pm
Ok. Good news.

And yes, it will remove fpc 3.0.2 !

Other users have reported that they do multiple installs with fpcupdeluxe, in separate directories, to be able to use more versions of FPC and Lazarus. I currently have 5 installs !
Title: Re: Fpcupdeluxe
Post by: josh on December 14, 2016, 02:24:48 pm
Hi,

I tried to update laz+fpc both to trunk; it appeared to go well, and no errors reported in fpcdeluxe.
Howver when I start lazarus, I am getting Package Registration erro
Package FCL 1.0.1
lpk file ...../fcl.lpk
Unit Name "RegisterFCL"
Unit RegisterFCL was not found in lpk file.

So I thought maybe does not like the upgrade; so I then created a Separate folder for test purposes; and after a complete download I get the same error when I start Lazarus.

I think its a bug in latest svn version or download issue, I will wait a day and try again.
Title: Re: Fpcupdeluxe
Post by: minesadorada on December 14, 2016, 02:33:26 pm
@DonAlfredo
I have an odd issue with all my fpcupdeluxe installations which you may know the answer to.
Code completion works fine, but if I right-click a unit in the Uses section of a source pas and select 'Open file/Open File at cursor' nothing happens.  Can I assume this is a path/fpc.cfg issue?
Title: Re: Fpcupdeluxe
Post by: hnb on December 14, 2016, 02:40:35 pm
Code completion works fine, but if I right-click a unit in the Uses section of a source pas and select 'Open file/Open File at cursor' nothing happens.  Can I assume this is a path/fpc.cfg issue?
You need to delete fpcdefines.xml in C:\fpcupdeluxe\config_lazarus or go to "Tools > Rescan fpc source directory"
Title: Re: Fpcupdeluxe
Post by: minesadorada on December 14, 2016, 02:44:52 pm
Code completion works fine, but if I right-click a unit in the Uses section of a source pas and select 'Open file/Open File at cursor' nothing happens.  Can I assume this is a path/fpc.cfg issue?
You need to delete fpcdefines.xml in C:\fpcupdeluxe\config_lazarus or go to "Tools > Rescan fpc source directory"
I deleted fpcdefines.xml in my config directory, then did a rescan.  Still not working.
I'm testing using Lazarus 1.7 trunk on Win64 v10

-edit- Maybe that's the problem - it works fine in Laz 1.62
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 14, 2016, 02:59:37 pm
@minesadorada
Have no clues other than the advice of hnb ... on what system are you ?
Title: Re: Fpcupdeluxe
Post by: minesadorada on December 14, 2016, 03:18:56 pm
@minesadorada
Have no clues other than the advice of hnb ... on what system are you ?
I'm testing using Lazarus 1.7 trunk on Win64 v10.  Anyone else have the same problem with trunk?
Laz V1.62 is fine.
I'll do some research to see what the menu entry does, I guess.
Title: Re: Fpcupdeluxe
Post by: Lainz on December 14, 2016, 09:24:49 pm
It works fine here, 64 bit Windows 10, but 32 bit Lazarus 1.7 + FPC 3.1.1
Title: Re: Fpcupdeluxe
Post by: Lainz on December 15, 2016, 10:34:13 pm
Hi, compiling FPC is fine, but when I need to compile lazarus this happens (attached screenshot).

Seems that there's a resourcestring missing the last quote symbol " and that breaks the compilation?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 20, 2016, 10:12:15 am
@lainz

The cause of this error is unclear to me. Perhaps a temporary issue with Lazarus trunk ?!
However, there is a new release of fpcupdeluxe, with many bugfixes and changes.
You could give it a try.

https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.2.0
Title: Re: Fpcupdeluxe
Post by: hnb on December 20, 2016, 10:23:17 am
It was temporary problem with FPC trunk (r35128) fixed in r35132
Title: Re: Fpcupdeluxe
Post by: mizar on December 20, 2016, 03:24:55 pm
A bit off topic, perhaps  ::)

I just used fpcupdeluxe 1.2.0 (linux x64) to compile fpc fixes only. After a couple of runs everything went well.

I'd like to know if and how it is possible to compile fpc textual ide.

In the ide folder (downloaded by fpcupdeluxe) there is a "readme.txt" saying "make  gdb" or "make nogdb" but make doesn't work.
What am I missing?

TIA
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 20, 2016, 03:43:35 pm
At the moment, I have disabled the building of the  fpc textual ide.
Thinking that no user of fpcupdeluxe would ever need it .... apparently I am wrong !

With a new release, I will add the possibility to enable the fpc ide again !
Title: Re: Fpcupdeluxe
Post by: josh on December 24, 2016, 01:27:15 pm
Hi

Downloaded Latest 1.2.0 and tried and update.

But I get fpcdeluxe has stopped working
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 24, 2016, 02:52:15 pm
This seems to be the same error as reported before, by @lainz.
http://forum.lazarus.freepascal.org/index.php/topic,34645.msg231916.html

Unfortunately, I cannot reproduce.
Your command sequence runs flawless on my pc.

Again, it could be a problem of Lazarus trunk. Or not.

If you have enough time and bandwidth, you could try NewPascal.
And test if that makes a difference !
Title: Re: Fpcupdeluxe
Post by: josh on December 24, 2016, 03:23:03 pm
Hi
Tried to Install New Pascal in a Folder called New_Pascal
and get following

log below

Hope it helps
Code: [Select]
Going to install NewPascal release.
.......................
!       C:\New_Pascal\fpc\tests\webtbs\tw8977.pp
!       C:\New_Pascal\fpc\tests\webtbs\tw9025.pp
!       C:\New_Pascal\fpc\tests\webtbs\tw9026.pp
!       C:\New_Pascal\fpc\tests\webtbs\tw9054.pp
!       C:\New_Pascal\fpc\tests\webtbs\tw9059.pp
!       C:\New_Pascal\fpc\tests\webtbs\tw9072.pp
!       C:\New_Pascal\fpc\tests\webtbs\tw9073.pp
!       C:\New_Pascal\fpc\tests\webtbs\tw9076.pp
!       C:\New_Pascal\fpc\tests\webtbs\tw9076a.pp
!       C:\New_Pascal\fpc\tests\webtbs\tw9085.pp
!       C:\New_Pascal\fpc\tests\webtbs\tw9089a.pp
fpcupdeluxe: info: Running SVN checkout or update.
Executing : C:\New_Pascal\fpcbootstrap\svn\bin\svn.exe "info" "C:\New_Pascal\fpc" (working dir: )
Path: C:\New_Pascal\fpc
Working Copy Root Path: C:\New_Pascal\fpc
URL: https://github.com/newpascal/freepascal/branches/release
Relative URL: ^/branches/release
Repository Root: https://github.com/newpascal/freepascal
Repository UUID: b06cf4e9-28d3-451c-dbe9-ce57b7db7bff
Revision: 30543
Node Kind: directory
Schedule: normal

Executing : C:\New_Pascal\fpcbootstrap\svn\bin\svn.exe "cleanup" "--non-interactive" "C:\New_Pascal\fpc" (working dir: )
svn: E720002: Can't remove 'C:\New_Pascal\fpc\.svn\tmp\svn-B472CBAC'
svn: E720002: Can't remove file 'C:\New_Pascal\fpc\.svn\tmp\svn-B472CBAC': The system cannot find the file specified. 
Executing : C:\New_Pascal\fpcbootstrap\svn\bin\svn.exe "cleanup" "--non-interactive" "--remove-unversioned" "--remove-ignored" "C:\New_Pascal\fpc" (working dir: )
svn: E155037: Previous operation has not finished; run 'cleanup' if it was interrupted
Executing : C:\New_Pascal\fpcbootstrap\svn\bin\svn.exe "update" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "C:\New_Pascal\fpc" (working dir: )
svn: E155037: Previous operation has not finished; run 'cleanup' if it was interrupted
Executing : C:\New_Pascal\fpcbootstrap\svn\bin\svn.exe "info" "C:\New_Pascal\fpc" (working dir: )
Path: C:\New_Pascal\fpc
Working Copy Root Path: C:\New_Pascal\fpc
URL: https://github.com/newpascal/freepascal/branches/release
Relative URL: ^/branches/release
Repository Root: https://github.com/newpascal/freepascal
Repository UUID: b06cf4e9-28d3-451c-dbe9-ce57b7db7bff
Revision: 30543
Node Kind: directory
Schedule: normal

fpcupdeluxe: info: DownloadFromSVN: SVN gave error code: 1

fpcupdeluxe: info: DownloadFromSVN: SVN gave error message: Path: C:\New_Pascal\fpc
Working Copy Root Path: C:\New_Pascal\fpc
URL: https://github.com/newpascal/freepascal/branches/release
Relative URL: ^/branches/release
Repository Root: https://github.com/newpascal/freepascal
Repository UUID: b06cf4e9-28d3-451c-dbe9-ce57b7db7bff
Revision: 30543
Node Kind: directory
Schedule: normal


fpcupdeluxe: info: FPC was at: branch revision cal\fp (repository revision 30543)
fpcupdeluxe: info: No updates for FPC found.
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence fpc; line: 4, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 3, param: fpc


ERROR: Fpcupdeluxe failed.

Title: Re: Fpcupdeluxe
Post by: DonAlfredo on December 24, 2016, 03:33:01 pm
According to the log: some kind off SVN error !
Dunno what to do with it !

If you have GIT installed, you could try and install through GIT with fpcupdeluxe !
Perhaps with better results.
Title: Re: Fpcupdeluxe
Post by: josh on December 24, 2016, 09:01:43 pm
Hi
I tried git; this also error'd out.

So I left it for 4 hrs; and tried again. And it worked.
SO guess SVN error was the problem.
Title: Re: Fpcupdeluxe
Post by: BSaidus on December 30, 2016, 05:40:03 pm
Hi DonAlfredo.
I have a problem when traying to cross compile fixes tree from Windows to FreeBSD.
 See link: http://bugs.freepascal.org/view.php?id=31171 (http://bugs.freepascal.org/view.php?id=31171)
thank to remedy to this .
Title: Indy & JCL issues
Post by: Kurt on December 31, 2016, 04:41:02 am
Just a quick note, tried to install Indy (module 31), the URL has changed again.  It's now up to build 5393. It would be nice if they had a "latest" so you didn't have to change it all the time.

I also tried to install JCL (module 98) and it failed to retrieve.  The reason why this failed is unclear, since the ArchiveURL is correct.  I can maually download the zip.  I thought the way the archiveurl was being redirected by the server might have been the culprit, so I changed it in the ini to the redirected url.  The process gets further - it downloads the archive, but fails to unzip it.
Title: Re: Fpcupdeluxe
Post by: criageek on January 03, 2017, 01:28:52 am
Hey DonAlfredo!  Great project.  I have several problems but I'll start with one that should be easy for you.  I've used fpcupdeluxe to install newpascal on a Windows 10 laptop.  After installing my own packages I try to open a project I developed previously which uses a component from LazControls (TListFilterEdit) but I get an error that says

Unable to find the component class "TListFilterEdit"

I don't see LazControls on the palette and can't find TListFilterEdit on any other tabs on the palette, yet when I go to Package->Install/Uninstall it says LazControls is installed.  What gives?

I also have issues with cross-compiling but I suspect that is because of my total lack of knowledge on the subject.  Are you aware of a tutorial that would help me learn about it?

Thanks!

Rich
Title: Re: Fpcupdeluxe
Post by: josh on January 03, 2017, 12:19:13 pm
Hi DonALfredo

Just updated my windows trunk version, went smoothly no problems.

On OSX no such luck
Tried to update existing installation, but this failed error executing lazbuilds line 3

SO thought maybe its one of my components it does not like; so deleted my complete installation and tried trunk installation; this also after some more time errors out with same message.

Any ideas?
Title: Re: Fpcupdeluxe
Post by: lore9901 on January 03, 2017, 12:25:47 pm
is http://svn.freepascal.org/svn/fpc/tags/release_3_0_2 hardcoded in fpcupdeluxe-x86_64-win64?

Executing : C:\Program Files (x86)\Subversion\bin\svn.exe "checkout" "--depth=files" "http://svn.freepascal.org/svn/fpc/tags/release_3_0_2" "C:\Lazarus\fpc302bootstrap" (working dir: )
svn: E170000: URL 'http://svn.freepascal.org/svn/fpc/tags/release_3_0_2' doesn't exist
Executing : C:\Program Files (x86)\Subversion\bin\svn.exe "cleanup" "C:\Lazarus\fpc302bootstrap" (working dir: )
svn: E000002: 'C:\Lazarus\fpc302bootstrap' does not exist
fpclazup: ERROR: Error (SVN) getting sources for intermediate bootstrap compiler. Error: 1



--Edit
Never mind..... i followed an old link, it's working fine and i feel even stupider than i already am  :o
fpcup.ini contains correct http://svn.freepascal.org/svn/fpc/tags/release_3_0_2_rc1
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 03, 2017, 01:55:03 pm
Sorry for the silence ... the NewYear had to be celebrated ... will address the reported issues in due time !
Title: Re: Fpcupdeluxe
Post by: marius.maximus on January 03, 2017, 03:27:35 pm
in my opinion Fpcupdeluxe is step back

The whole world strives to automation create software :)
You develop application to click,click,click,click ....
I dream about the day when I will be able to build full image for "raspberry pi" by yocto with fpc+lazarus
:)

no offense !
I do not need a better GUI, It is just my opinion.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 03, 2017, 03:43:22 pm
@marius.maximus
You are free to have your opinion !
And you are free not to use fpcupdeluxe !!

I will share my dream with you:
To succeed in building an intelligent DC grid transport/STORAGE system that is (software) powered by FPC/Lazarus !
;-)
Title: Re: Fpcupdeluxe
Post by: frakno on January 03, 2017, 04:11:20 pm
Although I have problems, I am grateful for the great work for this project.

The installation about three weeks ago worked problem-free.

But the repeated attempt of an update failed again and again.

So I hope that you can solve these problems
Title: Re: Fpcupdeluxe
Post by: frakno on January 03, 2017, 04:13:16 pm
and
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 03, 2017, 04:30:29 pm
@frakno
Strange error ...
It should not error out on industrial package ...
But will try to reproduce !
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 03, 2017, 06:08:14 pm
@frakno

Look here:
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=53792

The industrial package has been removed from Lazarus  days ago !
So, fpcupdeluxe errors out on this.

To proceed:
Remove industrial by hand from Lazarus (Packages -> Install/Uninstall).
Rebuild IDE (Tools -> Build Lazarus).
Update with fpcupdeluxe.
Title: Re: Fpcupdeluxe
Post by: frakno on January 03, 2017, 07:14:31 pm
Thank you for this fast answer, I will try this immediately 
Title: Re: Fpcupdeluxe
Post by: frakno on January 03, 2017, 07:46:28 pm
Sorry I got new errors
Title: Re: Fpcupdeluxe
Post by: frakno on January 03, 2017, 07:49:25 pm
better readable:

(3104) Compiling D:\LazarusFpcUpDeluxe\components\_fOnlinePackageManager\zeosdbo-7.1.4\src\plain\ZPlainASADriver.pas
(3104) Compiling D:\LazarusFpcUpDeluxe\components\_fOnlinePackageManager\zeosdbo-7.1.4\src\plain\ZPlainASAConstants.pas
(3104) Compiling D:\LazarusFpcUpDeluxe\components\_fOnlinePackageManager\zeosdbo-7.1.4\src\plain\ZPlainFirebirdDriver.pas
(3104) Compiling D:\LazarusFpcUpDeluxe\components\_fOnlinePackageManager\zeosdbo-7.1.4\src\plain\ZPlainFirebirdInterbaseConstants.pas
(1008) 322 lines compiled, 0.5 sec
(1022) 2 hint(s) issued
Hint: (11030) Start of reading config file D:\LazarusFpcUpDeluxe\fpc\bin\i386-win32\fpc.cfg
Hint: (11031) End of reading config file D:\LazarusFpcUpDeluxe\fpc\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 3.1.1 [2017/01/03] for i386
Copyright (c) 1993-2016 by Florian Klaempfl and others
(1002) Target OS: Win32 for i386
(3104) Compiling dbflaz.pas
(3104) Compiling registerdbf.pas
Hint: (11030) Start of reading config file D:\LazarusFpcUpDeluxe\fpc\bin\i386-win32\fpc.cfg
Hint: (11031) End of reading config file D:\LazarusFpcUpDeluxe\fpc\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 3.1.1 [2017/01/03] for i386
Copyright (c) 1993-2016 by Florian Klaempfl and others
(1002) Target OS: Win32 for i386
(3104) Compiling fortes324forlaz.pas
Hint: (11030) Start of reading config file D:\LazarusFpcUpDeluxe\fpc\bin\i386-win32\fpc.cfg
Hint: (11031) End of reading config file D:\LazarusFpcUpDeluxe\fpc\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 3.1.1 [2017/01/03] for i386
Copyright (c) 1993-2016 by Florian Klaempfl and others
(1002) Target OS: Win32 for i386
(3104) Compiling eccontrols.pas
Hint: (11030) Start of reading config file D:\LazarusFpcUpDeluxe\fpc\bin\i386-win32\fpc.cfg
Hint: (11031) End of reading config file D:\LazarusFpcUpDeluxe\fpc\bin\i386-win32\fpc.cfg
Free Pascal Compiler version 3.1.1 [2017/01/03] for i386
Copyright (c) 1993-2016 by Florian Klaempfl and others
(1002) Target OS: Win32 for i386
(3104) Compiling jcfidelazarus.pas
(3104) Compiling jcfidemain.pas
Error: (lazarus) Compile package uniqueinstance_package 1.0: terminated
Error: (lazarus) Compile package SynEdit 1.0: terminated
Error: (lazarus) Compile package filefindlaz 1.0.2: terminated
Error: (lazarus) Compile package zplain 7.1: terminated
Error: (lazarus) Compile package eccontrols 0.9.6: terminated
Error: (lazarus) Compile package jcfidelazarus 2.0: terminated
Error: (lazarus) Compile package fortes324forlaz 3.24.2: terminated
Error: (lazarus) Compile package DBFLaz 0.1.1: terminated
Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 1"
Error: (lazarus) Building IDE: Compile AutoInstall Packages failed.

fpcupdeluxe: info: InstallerUniversal: error trying to rebuild Lazarus.
Details:
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence suggestedpackages; line: 5, param: suggestedpackages
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 2, param: suggestedpackages
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 6, param: UniversalDefault


ERROR: Fpcupdeluxe faile
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 03, 2017, 08:02:52 pm
You have a Lazarus install with many extra packages !
At the moment, I do not know why you encounter this error.
I think it has to do with (again) the changing availability of Lazarus packages.
Will try to solve.
Title: Re: Fpcupdeluxe
Post by: frakno on January 03, 2017, 11:14:57 pm
Thanks in advance
Title: Re: Fpcupdeluxe
Post by: marius.maximus on January 04, 2017, 12:24:58 pm
@marius.maximus
You are free to have your opinion !
And you are free not to use fpcupdeluxe !!

I will share my dream with you:
To succeed in building an intelligent DC grid transport/STORAGE system that is (software) powered by FPC/Lazarus !
;-)


I have a different opinion
but errors can be reported ?
I sended one fix :)







Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 04, 2017, 12:33:16 pm
Accepted right away !  :D
Title: Re: Fpcupdeluxe
Post by: rtusrghsdfhsfdhsdfhsfdhs on January 04, 2017, 01:43:20 pm
I found some problems using fpclazup. This will 404. svn.freepascal.org/svn/fpcbuild/tags/release_3_0_2/install/binw64/

http://pastebin.com/raw/eHfQ4MYc
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 04, 2017, 01:48:23 pm
Known problem. Sorry about this: fpcupdeluxe has a temporary fix, but forgot to update fpc(laz)up.
Will look into it !
Title: Re: Fpcupdeluxe
Post by: rtusrghsdfhsfdhsdfhsfdhs on January 04, 2017, 01:49:19 pm
Thanks! :D
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 04, 2017, 02:19:58 pm
Here you go:

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

Hope it works for you !
(saw some other errors also in your log)
Title: Re: Fpcupdeluxe
Post by: BSaidus on January 06, 2017, 11:39:42 am
Hi DonAlfredo.
I have a problem when traying to cross compile fixes tree from Windows to FreeBSD.
 See link: http://bugs.freepascal.org/view.php?id=31171 (http://bugs.freepascal.org/view.php?id=31171)
thank to remedy to this .
Re Hi don alfredo ....
I still have that problem..
could you help .
thanks
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 06, 2017, 11:44:00 am
@BSaidus

Can confirm this error.
I am still investigating. Before going towards a bug-report, I must be sure that its not a fpcupdeluxe problem.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 06, 2017, 01:38:06 pm
@BSaidus ... update.

When using fpcupdeluxe 64bit for Windows, building cross-compiler for x86_64 FreeBSD succeeds.
When using fpcupdeluxe 32bit for Windows, building cross-compiler for i386 and x86_64 FreeBSD fails.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 06, 2017, 04:07:50 pm
@BSaidus
@marcov

Mmmm .... got things working now ... but strange !
Will explain.

On Windows, fpcupdeluxe uses the binutils that are available for the desired version of FPC.
So, for fixes, its uses utils from here:
win32: http://svn.freepascal.org/svn/fpcbuild/branches/fixes_3_0/install/binw32/
win64: http://svn.freepascal.org/svn/fpcbuild/branches/fixes_3_0/install/binw64/

However, fixes-make has a version of 3.82 for win32 and 3.80 for win64.
Surprise:
With make 3.80 building a FreeBSD cross-compiler works.
With make 3.82 building a FreeBSD cross-compiler fails.

You could help by testing (win32) yourself:
Download a win32 3.80 make from here:
http://svn.freepascal.org/svn/fpcbuild/tags/release_2_6_4/install/binw32/
and put it in the bootstrap directory of fpcupdeluxe.
Build a cross-compiler for FreeBSD.

Feedback welcome.
Title: Re: Fpcupdeluxe
Post by: BSaidus on January 08, 2017, 01:19:34 pm
 :)  gooooooood !! it works !
thanks
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 09, 2017, 11:30:57 am
This issue has been reported as a bug:
http://bugs.freepascal.org/view.php?id=31171
And has been closed as solved.

However, the new makefile still does not work (for me) with 3.82.
But I cannot re-open the issue.

Included a patch for the FreeBSD makefile that does work (for me) with 3.82.
Title: Re: Fpcupdeluxe
Post by: marcov on January 09, 2017, 12:03:07 pm
This issue has been reported as a bug:
http://bugs.freepascal.org/view.php?id=31171
And has been closed as solved.

However, the new makefile still does not work (for me) with 3.82.
But I cannot re-open the issue.

Included a patch for the FreeBSD makefile that does work (for me) with 3.82.

I now merged r34166 too.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 09, 2017, 12:39:51 pm
Working perfect now with 3.82 ... thanks !
Title: Re: Fpcupdeluxe
Post by: criageek on January 10, 2017, 02:49:01 pm
Hey DonAlfredo - I'm having trouble installing Fixes via fpcupdeluxe on both an Odroid C2 and a Pine A64, which are both aarch64.  Here is the bottom of the log file...let me know if you need more  ;)

I see it says "Makefile:209: *** The Makefile doesn't support target aarch64-linux, please run fpcmake first." but fpcmake doesn't exist.  There is no bin folder under the fpc folder.

I'm running Ubuntu Mate 16.04.

Thanks,
Rich

fpcupdeluxe: info: FPC was at: failure
fpcupdeluxe: info: FPC is now at: revision 35273
fpcupdeluxe: info: TFPCInstaller: building module FPC...
fpcupdeluxe: info: We have a FPC source (@ /home/rich/LazarusFixes/fpc) with version: 3.0.1
fpcupdeluxe: info: To compile this FPC, we need (required) a compiler with version : 3.1.1
Executing : /home/rich/LazarusFixes/fpcbootstrap/ppca64 "-iV" (working dir: )
fpcupdeluxe: info: Looking for a bootstrap compiler from official FPC bootstrap binaries.
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 3.1.1
fpcupdeluxe: info: Looking for (online) bootstrapper aarch64-linux-ppca64.bz2
fpcupdeluxe: ERROR: Slight panic: No official FPC bootstrapper found.
fpcupdeluxe: ERROR: Now looking for last resort bootstrap compiler from Github FPCUP(deluxe) releases.
fpcupdeluxe: info: Checking existence of: https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-3_1_1-aarch64-linux-ppca64
fpcupdeluxe: info: Got a bootstrap compiler from FPCUP bootstrap sources.
Executing : /home/rich/LazarusFixes/fpcbootstrap/ppca64 "-iV" (working dir: )
fpcupdeluxe: info: Check if we already have a bootstrap compiler with version 3.1.1
fpcupdeluxe: info: No correct bootstrapper. Going to download bootstrapper from https://github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/fpcup-3_1_1-aarch64-linux-ppca64
fpcupdeluxe: info: Native downloader: Getting fpcup-3_1_1-aarch64-linux-ppca64 from github.com/newpascal/fpcupdeluxe/releases/download/bootstrappers_v1.0/
fpcupdeluxe: WARNING: Going to copy /tmp/TMP00004.tmp to /home/rich/LazarusFixes/fpcbootstrap/ppca64
Executing : /home/rich/LazarusFixes/fpcbootstrap/ppca64 "-iV" (working dir: )
3.1.1
Executing : /home/rich/LazarusFixes/fpcbootstrap/ppca64 "-iV" (working dir: )
3.1.1
fpcupdeluxe: info: Available bootstrapper has correct version !
Executing : make "-v" (working dir: )
GNU Make 4.1
Built for aarch64-unknown-linux-gnu
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
fpcupdeluxe: info: FPC: running make all install for FPC:
Executing : make "--jobs=4" "FPC=/home/rich/LazarusFixes/fpcbootstrap/ppca64" "--directory=/home/rich/LazarusFixes/fpc" "INSTALL_PREFIX=/home/rich/LazarusFixes/fpc" "INSTALL_BINDIR=/home/rich/LazarusFixes/fpc/bin/aarch64-linux" "OVERRIDEVERSIONCHECK=1" "OPT=-Sg -vi-n-h-" "all" "install" (working dir: /home/rich/LazarusFixes/fpc)
make: Entering directory '/home/rich/LazarusFixes/fpc'
Makefile:209: *** The Makefile doesn't support target aarch64-linux, please run fpcmake first.  Stop.
make: Leaving directory '/home/rich/LazarusFixes/fpc'

fpcupdeluxe: info: FPC: Error running make failed with exit code 512
. Details:
fpcupdeluxe: ERROR: Error running BuildModuleCustom for module FPC
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup /home/rich/LazarusFixes/fpc/utils/bin
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup /home/rich/LazarusFixes/fpc/utils/units/aarch64-linux
fpcupdeluxe: ERROR: FPC cleanup: could not cleanup /home/rich/LazarusFixes/fpc/rtl/units/aarch64-linux
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence defaultARM; line: 3, param: fpc

Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 10, 2017, 03:11:37 pm
This is actually quite simple: only trunk supports aarch64 !!
So, try with trunk.
Its been a long time since my last install on a C2, so I am interested in your reslts.
Title: Re: Fpcupdeluxe
Post by: criageek on January 10, 2017, 05:54:40 pm
Thanks DonAlfredo - I'll give it a shot!

In the meantime I'm having two other issues when I try to use fpcupdeluxe, both in Windows 10 (using 32 bit) and Ubuntu 16.10 (using 64 bit).

1)  When I try to install newpascal, everything goes well and it installs and I can run Lazarus.  But the LazControls tab is missing from the palette and my programs that use controls on that tab (such as TListFilterEdit) fail. When I go to Install/Uninstall packages it says LazControls is installed. Any idea what's going on there?

2)  When I try to install Fixes, it fails when it gets to lhelp.  If I uncheck 'Include Help' in Setup+ then it installs correctly.   I don't have a log file now but can run it again to get one if you need it.

Thanks!  Great project  :)

Rich
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 10, 2017, 10:08:59 pm
1) I have added LazControls into the standard install.
2) Still investigating.

Extra)
Please be informed that the aarch64 binary has been (cross-)compiled on Windows for aarch64 !
This could alo ease your own work for aarch64: design app on Windows -> cross towards aarch64 -> copy binary and run on aarch64.
Title: Re: Fpcupdeluxe
Post by: criageek on January 11, 2017, 03:02:32 am
Thanks DonAlfredo!  I'll give newpascal another shot.

I do want to get to the point that I can build arm and aarch64 apps via cross-compiling, but I need to learn alot more about cross-compiling before I can do that.

Unfortunately the install from trunk failed on my Odroid C2  :(   I decided to start from scratch with my Odroid so reloaded a fresh Ubuntu Mate image and reloaded the required packages before trying it again.  Here is the bottom of the log file:

make[7]: Entering directory '/home/rich/LazarusTrunk/fpc/rtl/linux'
/bin/mkdir -p /home/rich/LazarusTrunk/fpc/rtl/units/aarch64-linux
/home/rich/LazarusTrunk/fpcbootstrap/ppca64 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../aarch64 -Fi../unix -Fiaarch64 -FE. -FU/home/rich/LazarusTrunk/fpc/rtl/units/aarch64-linux -Sg -vi-n-h- -daarch64 -dRELEASE -Us -Sg system.pp
system.pp(393,4) Fatal: Internal error 2014091202
Fatal: Compilation aborted
Makefile:3680: recipe for target 'system.ppu' failed
make[7]: *** [system.ppu] Error 1
make[7]: Leaving directory '/home/rich/LazarusTrunk/fpc/rtl/linux'
Makefile:2000: recipe for target 'linux_all' failed
make[6]: *** [linux_all] Error 2
make[6]: Leaving directory '/home/rich/LazarusTrunk/fpc/rtl'
Makefile:4309: recipe for target 'rtl' failed
make[5]: ***
Error 2
make[5]: Leaving directory '/home/rich/LazarusTrunk/fpc/compiler'
Makefile:4186: recipe for target 'next' failed
make[4]: *** [next] Error 2
make[4]: Leaving directory '/home/rich/LazarusTrunk/fpc/compiler'
Makefile:4191: recipe for target 'ppc1' failed
make[3]: *** [ppc1] Error 2
make[3]: Leaving directory '/home/rich/LazarusTrunk/fpc/compiler'
Makefile:4203: recipe for target 'cycle' failed
make[2]: *** [cycle] Error 2
make[2]: Leaving directory '/home/rich/LazarusTrunk/fpc/compiler'
Makefile:2901: recipe for target 'compiler_cycle' failed
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory '/home/rich/LazarusTrunk/fpc'
Makefile:2933: recipe for target 'build-stamp.aarch64-linux' failed
make: *** [build-stamp.aarch64-linux] Error 2
make: Leaving directory '/home/rich/LazarusTrunk/fpc'

fpcupdeluxe: info: FPC: Error running make failed with exit code 512
. Details:
fpcupdeluxe: ERROR: Error running BuildModuleCustom for module FPC
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup /home/rich/LazarusTrunk/fpc/utils/bin
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup /home/rich/LazarusTrunk/fpc/utils/units/aarch64-linux
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence defaultARM; line: 3, param: fpc

Thanks for your efforts!

Rich
Title: Re: Fpcupdeluxe
Post by: criageek on January 11, 2017, 04:13:02 am
Just tried newpascal in Windows 10 and the LazControls tab (and it's components) is still missing.  I see the Misc tab is now there, which was missing before, but LazControls is still missing.

Thanks,
Rich
Title: Re: Fpcupdeluxe
Post by: Thaddy on January 11, 2017, 09:45:03 am
Just tried newpascal
This is not a forum for NewPascal..., sigh, >:D >:D NewPascal is a rather new fork.

But maybe the moderators will open a section for that?  O:-)
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 11, 2017, 09:50:56 am
@Thaddy
I don't dare to ask ... ;-)

@criageek
As long as the other issues are not resolved, I keep the public update on hold.
Sorry about the confusion: LazControls is added in my local version and working.
Public update later today !
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 11, 2017, 10:47:50 am
@criageek
I have exactly the same error (Internal error 2014091202) on my C2 !
Will investigate further !
Title: Re: Fpcupdeluxe
Post by: criageek on January 11, 2017, 02:27:27 pm
Just tried newpascal
This is not a forum for NewPascal..., sigh, >:D >:D NewPascal is a rather new fork.

But maybe the moderators will open a section for that?  O:-)

Sorry Thaddy, but this IS a forum for fpcupdeluxe, which is what I'm using to try to get newpascal loaded.  At the very least this seems to be the right place to bring up the issues...if I'm pointed elsewhere to resolve them so be it.

Rich
Title: Re: Fpcupdeluxe
Post by: criageek on January 11, 2017, 02:30:02 pm
@DonAlfredo - thanks!  I appreciate all your efforts on this...I'm sure it must keep you plenty busy  :)

On the plus side, I was able to successfully cross-compile a small program on a Windows 32 installation to create an aarch64 binary that I was then able to execute on my C2  :)

Rich
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 11, 2017, 02:31:08 pm
Good !
I also just succeeded in installing FPC and Lazarus on C2.
Will post fpcupdeluxe update soon !
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 11, 2017, 04:05:28 pm
Updated !

https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.2.0c

Please test.
Title: Re: Fpcupdeluxe
Post by: criageek on January 11, 2017, 06:30:09 pm
Great!  Thanks @DonAlfredo!  I'll give it a shot shortly.

Rich
Title: Re: Fpcupdeluxe
Post by: criageek on January 12, 2017, 02:04:48 am
Success!  I have Lazarus (trunk) up and running on Odroid C2  :)  It failed when I tried it on the Pine A64, but so did the first attempt on the Odroid, so I'm trying again.

Is there a trick to getting it to work on the Raspberry Pi 3?  I know others have made it work but I've been unable to, although it's been a few days since I tried.  I used the arm version of fpcupdeluxe.

Thanks!

Rich
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 12, 2017, 08:45:09 am
About RPi3: you need to give me more info to be able to help you !
Title: Re: Fpcupdeluxe
Post by: criageek on January 12, 2017, 02:31:26 pm
@DonAlfredo - ok...here is the bottom of the log file from last night's attempt:

Raspberry Pi 3
Ubuntu Mate 16.10
ARM version of fpcupdeluxe
Trunk

make[5]: Entering directory '/home/rich/Lazarus/Trunk/fpc300bootstrap/compiler'
/home/rich/Lazarus/Trunk/fpcbootstrap/ppcarm -Ur -Xs -O2 -n -Fuarm -Fusystems -Fu/home/rich/Lazarus/Trunk/fpc300bootstrap/rtl/units/arm-linux -Fiarm -FE. -FUarm/units/arm-linux -dRELEASE -vi-n-h-   -darm -dGDB -dBROWSERLOG  -Sew -FE. utils/msg2inc.pp
/usr/bin/ld: warning: ./link.res contains output sections; did you forget -T?
make[5]: Leaving directory '/home/rich/Lazarus/Trunk/fpc300bootstrap/compiler'
./msg2inc msg/errore.msg msg msg
Loading messagefile msg/errore.msg
Writing enumfile msgidx.inc
Writing stringfile msgtxt.inc
/home/rich/Lazarus/Trunk/fpcbootstrap/ppcarm -Ur -Xs -O2 -n -Fuarm -Fusystems -Fu/home/rich/Lazarus/Trunk/fpc300bootstrap/rtl/units/arm-linux -Fiarm -FE. -FUarm/units/arm-linux -dRELEASE -vi-n-h-   -darm -dGDB -dBROWSERLOG  -Sew pp.pas
comprsrc.pas(553) Error: Can't call the assembler, error -1 switching to external assembling
comprsrc.pas(553) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
Makefile:3925: recipe for target 'ppcarm' failed
make[4]: *** [ppcarm] Error 1
make[4]: Leaving directory '/home/rich/Lazarus/Trunk/fpc300bootstrap/compiler'
Makefile:3967: recipe for target 'next' failed
make[3]: *** [next] Error 2
make[3]: Leaving directory '/home/rich/Lazarus/Trunk/fpc300bootstrap/compiler'
Makefile:3972: recipe for target 'ppc1' failed
make[2]: *** [ppc1] Error 2
make[2]: Leaving directory '/home/rich/Lazarus/Trunk/fpc300bootstrap/compiler'
Makefile:3984: recipe for target 'cycle' failed
make[1]: *** [cycle] Error 2
make[1]: Leaving directory '/home/rich/Lazarus/Trunk/fpc300bootstrap/compiler'
Makefile:2780: recipe for target 'compiler_cycle' failed
make: *** [compiler_cycle] Error 2
make: Leaving directory '/home/rich/Lazarus/Trunk/fpc300bootstrap'
fpcupdeluxe: ERROR: Running make cycle for intermediate bootstrap compiler failed
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence defaultARM; line: 3, param: fpc


ERROR: Fpcupdeluxe failed.


On a side note, I have successfully installed NewPascal on a laptop running Ubuntu 16.10 and installed cross-compilers for Win32, Win64, and aarch64-linux.  I was able to build an aarch64 binary (after entering the extra linking defines in the lpr file) that ran successfully on both the Odroid C2 and the Pine A64.  Although I still can't get Lazarus installed on the Pine A64.  I'll save that problem until I get the Pi3 running.

Thanks!

Rich
 
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 12, 2017, 04:12:09 pm
Do you have binutils and other required packages installed ?
Title: Re: Fpcupdeluxe
Post by: criageek on January 12, 2017, 08:46:04 pm
@DonAlfredo:  Yes, I ran the following command and it says all are the latest version:

sudo aptitude install make binutils build-essential gdb subversion zip unzip libx11-dev libgtk2.0-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev

Rich
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 13, 2017, 06:15:52 pm
Ok. Got it working on RPi3 with Ubuntu !
New version: https://github.com/newpascal/fpcupdeluxe/releases/download/v1.2.0c/fpcupdeluxe-arm-linux

Please take note: for Lazarus, you need lots of memory.
So, make a swapfile before running fcupdeluxe.
Title: Re: Fpcupdeluxe
Post by: de_jean_7777 on January 13, 2017, 08:19:08 pm
I used fpcupdeluxe 1.2.0.c. Lazarus failed to build because fpc.sh returned an error.
Quote
Illegal parameter: llegal parameter: Thread/6.3.1

Commenting this out from fpc.cfg allowed to build lazarus successfully (it did error out somewhere near the end).  This is on Fedora 25 64-bit. Hope it helps someone.
Title: Re: Fpcupdeluxe
Post by: criageek on January 14, 2017, 01:27:23 am
Thanks @DonAlfredo!  Just loaded up trunk on the Raspberry Pi 3  :)  Tomorrow I'll try again on the Pine A64.  If it fails I'll post the results, but I know it's a bit of an oddball, so won't expect you to spend a bunch of time on it  ;)

Rich
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 14, 2017, 09:05:07 am
@criageek
Glad that it worked for you ! Hope it will also work on the Pine64.
I myself am waiting for the C.H.I.P. board: it has eMMC (NAND) ... much better lifetime than SD.
(I am running my Odroid also from eMMC)

@de_jean_7777
Thanks for reporting.
This error has been reported before. And has been filed under Cosmic Ray Errors (CRE): no luck whatsoever in finding the cause and/or reproducing the error ... ;-(
Title: Re: Fpcupdeluxe
Post by: criageek on January 14, 2017, 06:45:22 pm
@DonAlfredo - It still doesn't work on the Pine A64  :(.  The bottom part of the log is posted below...any ideas?  The last line of the log is line number 11497, so it gets quite a ways into before failing.

Where did you get your eMMC card?  When I did a little research it seemed like they were quite expensive.

Rich

(9009) Assembling frclarifyspaces
tanavigation.pas(429) Error: (9008) Can't call the assembler, error -1 switching to external assembling
tanavigation.pas(429) Fatal: (10026) There were 2 errors compiling module, stopping
Fatal: (1018) Compilation aborted
(3104) Compiling /home/rich/Lazarus/Trunk/lazarus/components/jcf2/Ui/Settings/frClarifyIndent.pas
/home/rich/Lazarus/Trunk/lazarus/components/jcf2/Ui/Settings/frClarifyIndent.pas(64,26) Hint: (5024) Parameter "ADialog" not used
/home/rich/Lazarus/Trunk/lazarus/components/jcf2/Ui/Settings/frClarifyIndent.pas(65,33) Hint: (5024) Parameter "AOptions" not used
/home/rich/Lazarus/Trunk/lazarus/components/jcf2/Ui/Settings/frClarifyIndent.pas(66,34) Hint: (5024) Parameter "AOptions" not used
(9009) Assembling codyregistration
Error: /home/rich/Lazarus/Trunk/fpc/bin/aarch64-linux/ppca64 returned an error exitcode
Error: (lazarus) Compile package TAChartLazarusPkg 1.0: stopped with exit code 256
/home/rich/Lazarus/Trunk/lazarus/components/lazreport/source/lr_class.pas(12559,41) Warning: (4105) Implicit string type conversion with potential data loss from "WideString" to "AnsiString
Error: (lazarus) Compile package lazreport 0.9.9: terminated
/home/rich/Lazarus/Trunk/lazarus/components/jcf2/Ui/Settings/frClarifyIndent.pas(58,37) Hint: (5024) Parameter "Sender" not used
/home/rich/Lazarus/Trunk/lazarus/components/jcf2/Ui/Settings/frClarifyIndent.pas(59,42) Hint: (5024) Parameter "Sender" not used
(9009) Assembling frclarifyindent
Error: (lazarus) Compile package Cody 1.1: terminated
Error: (lazarus) Compile package jcfidelazarus 2.0: terminated
Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 256"
Error: (lazarus) Building IDE: Compile AutoInstall Packages failed.

fpcupdeluxe: info: InstallerUniversal: error trying to rebuild Lazarus.
Details:
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence suggestedpackages; line: 5, param: suggestedpackages
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 2, param: suggestedpackages
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence lazarus; line: 7, param: UniversalDefault
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence defaultARM; line: 4, param: lazarus

Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 14, 2017, 11:34:20 pm
Does adding more swap help ?

I ordered eMMC 8GB together with C2.
Not cheap but very much better for long term reliability.
Title: Re: Fpcupdeluxe
Post by: criageek on January 15, 2017, 05:17:48 am
Success!  I know I created a swap file on the Pine A64, but apparently I did something wrong because it had no swap file.  Once I created a 1gb swap file, Lazarus trunk installed perfectly!

So now I have Lazarus up and running on Raspberry Pi 2, Raspberry Pi 3, Odroid C2, Pine A64, Windows 10, and Ubuntu 16.10.

Thanks again @DonAlfredo...I appreciate all your help  :)

Rich
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 15, 2017, 10:10:49 am
You're welcome.

But stay tuned.
I am now working on out-of-the-box cross-compiling from Windows towards Darwin i386 and x86_64.
I saw an announcement on the Delphi list about Darwin cross-compiling.
https://plus.google.com/109334532832375082802/posts/AjPJfUphLDZ?sfc=true
https://plus.google.com/109334532832375082802
http://www.crossvcl.com/

At the moment, all fpcupdeluxe Mac binaries are already made by cross-compiling on my Win10 PC. But the setup is not that easy. So today, I hope to release a new fpcupdeluxe version that will make this as easy as all other cross-compilers.
Title: Re: Fpcupdeluxe
Post by: minesadorada on January 15, 2017, 10:28:22 am
You're welcome.

But stay tuned.
I am now working on out-of-the-box cross-compiling from Windows towards Darwin i386 and x86_64.
I saw an announcement on the Delphi list about Darwin cross-compiling.
https://plus.google.com/109334532832375082802/posts/AjPJfUphLDZ?sfc=true
https://plus.google.com/109334532832375082802
http://www.crossvcl.com/

At the moment, all fpcupdeluxe Mac binaries are already made by cross-compiling on my Win10 PC. But the setup is not that easy. So today, I hope to release a new fpcupdeluxe version that will make this as easy as all other cross-compilers.
Good News!  The oxcross method stopped working some editions ago.
I look forward to the upcoming release.
Title: Re: Fpcupdeluxe
Post by: criageek on January 15, 2017, 04:14:02 pm
It looks like I'm going to get a penalty for premature celebration  :(  On the Pine A64 Lazarus is now unusable.  Here is the sequence of events:

Install Lazarus Trunk via fpcupdeluxe
Start Lazarus...all looks good
Stop Lazarus
In fpcupdeluxe,install the zeos package into Lazarus
Start Lazarus...all looks good
Try to install one of my own packages
Compile fails with this error
    Build IDE: Exit code 512, Errors: 1
    lazarus.pp(160,0) Error: Can't call the assembler, error -1 switching to external assembling
I notice Zeos is no longer on the palette so I try installing that again using fpcupdeluxe
It fails...the bottom of the log is attached below

Any ideas what's happening?  If there are no ideas I'll try wiping it out and starting over.

Thanks,
Rich

Free Pascal Compiler version 3.1.1 [2017/01/14] for aarch64
Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Linux for AArch64
(3104) Compiling lazarus.pp
(9009) Assembling lazarus
lazarus.pp(160) Error: (9008) Can't call the assembler, error -1 switching to external assembling
lazarus.pp(160) Fatal: (10026) There were 2 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /home/rich/Lazarus/Trunk/fpc/bin/aarch64-linux/ppca64 returned an error exitcode
make[2]: *** [lazarus] Error 1
make[1]: *** [idepkg] Error 2
make: *** [idepkg] Error 2
Makefile:3961: recipe for target 'lazarus' failed
make[2]: Leaving directory '/home/rich/Lazarus/Trunk/lazarus/ide'
Makefile:4383: recipe for target 'idepkg' failed
make[1]: Leaving directory '/home/rich/Lazarus/Trunk/lazarus/ide'
Makefile:3160: recipe for target 'idepkg' failed
make: Leaving directory '/home/rich/Lazarus/Trunk/lazarus'
Error: (lazarus) Build IDE: stopped with exit code 512
Error: (lazarus) Building IDE: Building IDE failed.

fpcupdeluxe: info: InstallerUniversal: error trying to rebuild Lazarus.
Details:
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence zeos; line: 5, param: zeos
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Only; line: 1, param: zeos

Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 15, 2017, 04:45:55 pm
Aarch64 is very new/experimental.
So, expect trouble !

Advice to prevent use of bandwidth:
Use setup+ and choose split fpc source and bin.
In case of disaster, you only need to delete the fpc bindir and lazarus config-dir.
No downloads needed in that case for a rebuild !

About your error: no clues at the moment.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 17, 2017, 11:55:20 am
As promissed, a new version of fpcupdeluxe !
https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.2.0e

You should now be able to build a cross-compiler from Windows towards Darwin i386 and x86_64, carbon and cocoa.
And thus compile your Mac-apps on your Windows PC !
Out-of-the-box (I hope).

Please note: only works with NewPascal !!
Due to: http://bugs.freepascal.org/view.php?id=31099
Not (yet) included in trunk.
(for trunk: see below for patch)

So:
Use fpcupdeluxe (win32) to install NewPascal.
Build a Darwin cross-compiler for i386 or x86_64.
It will fail, due to missing libs and bins.
Allow fpcupdeluxe to download the libs and bins.
This download (and unpacking) will take some time ... many files.
Cross-compiler will be build.
Use and test (and enjoy) !!

If you want to use trunk and not NewPascal, you can also use trunk and ask fpcupdeluxe to patch trunk with the patch that enables Darwin cross-compiling. Get it here:
https://github.com/newpascal/fpcupdeluxe/blob/master/patchfpc
https://github.com/newpascal/fpcupdeluxe/blob/master/patchfpc/crossdarwin.patch
Tell fpcupdeluxe (win32), before installing trunk, to use this patch in Setup+ .
Install trunk. And, after success, build the Darwin cross-compiler.

As always, reports about success and failure welcome !
 :)
Title: Re: Fpcupdeluxe
Post by: josh on January 17, 2017, 01:15:12 pm
Hi DonAlfredo,

I have been having an issue with latest SVN of lazarus and possibly a component; so I thought I would go back to a previous SVN revision that was working ; I am trying to go back to 53528 on OSX; I am using 1.2.0d; but after 10 minutes I get error
Intermediate bootstrap compiler: chmod failed for ............/fpcbootstrap/intermediate_ppc386

Its in stalling on a empty folder.

I thought I would go back to this Revision and intersect up to latest until I can find the REV that the problem started at.

Any ideas?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 17, 2017, 01:31:31 pm
@josh
Chmod failure is, in most cases, caused by the fact that the file is not present.
So, is this "intermediate_ppc386" compiler available in the mentioned directory ?
And if so, is it yours (owner).

If the file is present, please send me the whole log (from the screen of fpcupdeluxe).
Only with the log, I can have a better look.
Title: Re: Fpcupdeluxe
Post by: josh on January 17, 2017, 02:56:30 pm
Hi

The file does NOT exist; yet I have full right to the folder.
This is the folder lazarus trunk has always been in.

Code: [Select]
Going to install/update FPC and Lazarus with given options.
FPCUP(deluxe) is starting up.

Bootstrap dir:      /Users/josh/lazarus_trunk/fpcbootstrap
FPC URL:               http://svn.freepascal.org/svn/fpc/trunk/
FPC options:           
FPC source directory:  /Users/josh/lazarus_trunk/fpc
FPC install directory: /Users/josh/lazarus_trunk/fpc
Lazarus URL:        http://svn.freepascal.org/svn/lazarus/trunk
Lazarus options:   
Lazarus directory:  /Users/josh/lazarus_trunk/lazarus
Please stand back and enjoy !

fpcupdeluxe: info: 17-1-17 13:33:15: fpcup016 (20170113) started.
Executing : unzip "-v" (working dir: )
UnZip 5.52 of 28 February 2005, 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 7.0.0 (clang-700.0.59.1) for Unix on Aug  1 2015.

UnZip special compilation options:
COPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported)
SET_DIR_ATTRIB
TIMESTAMP
USE_EF_UT_TIME
USE_UNSHRINK (PKZIP/Zip 1.x unshrinking method supported)
USE_DEFLATE64 (PKZIP 4.x Deflate64(tm) supported)
VMS_TEXT_CONV
[decryption, version 2.9 of 05 May 2000]

UnZip and ZipInfo environment options:
           UNZIP:  [none]
        UNZIPOPT:  [none]
         ZIPINFO:  [none]
      ZIPINFOOPT:  [none]
fpcupdeluxe: info: SVN client found: /usr/bin/svn
Executing : bsdtar "--version" (working dir: )
bsdtar 2.8.3 - libarchive 2.8.3
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
fpcupdeluxe: WARNING: TFPCInstaller: clean module FPC directory /Users/josh/lazarus_trunk/fpc does not exist. Exiting CleanModule.
fpcupdeluxe: info: Checking out/updating FPC sources...
Executing : /usr/bin/svn "info" "/Users/josh/lazarus_trunk/fpc" (working dir: )
svn: E155007: '/Users/josh/lazarus_trunk/fpc' is not a working copy
Executing : /usr/bin/svn "info" "/Users/josh/lazarus_trunk/fpc" (working dir: )
svn: E155007: '/Users/josh/lazarus_trunk/fpc' is not a working copy
fpcupdeluxe: info: INFO: directory /Users/josh/lazarus_trunk/fpc is not an SVN repository (or a repository with the wrong remote URL).
fpcupdeluxe: info: INFO: creating directory /Users/josh/lazarus_trunk/fpc for SVN checkout.
Executing : /usr/bin/svn "info" "/Users/josh/lazarus_trunk/fpc" (working dir: )
svn: E155007: '/Users/josh/lazarus_trunk/fpc' is not a working copy
fpcupdeluxe: info: Running SVN checkout or update.
Executing : /usr/bin/svn "info" "/Users/josh/lazarus_trunk/fpc" (working dir: )
svn: E155007: '/Users/josh/lazarus_trunk/fpc' is not a working copy
Executing : /usr/bin/svn "info" "/Users/josh/lazarus_trunk/fpc" (working dir: )
svn: E155007: '/Users/josh/lazarus_trunk/fpc' is not a working copy
Executing : /usr/bin/svn "checkout" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "http://svn.freepascal.org/svn/fpc/trunk/" "/Users/josh/lazarus_trunk/fpc" (working dir: )
Executing : /usr/bin/svn "cleanup" "--non-interactive" "/Users/josh/lazarus_trunk/fpc" (working dir: )
Executing : /usr/bin/svn "cleanup" "--non-interactive" "--remove-unversioned" "--remove-ignored" "/Users/josh/lazarus_trunk/fpc" (working dir: )
svn: invalid option: --remove-unversioned
Type 'svn help' for usage.
Executing : /usr/bin/svn "update" "--quiet" "--non-interactive" "--trust-server-cert" "-r" "HEAD" "/Users/josh/lazarus_trunk/fpc" (working dir: )
Executing : /usr/bin/svn "info" "/Users/josh/lazarus_trunk/fpc" (working dir: )
Path: /Users/josh/lazarus_trunk/fpc
Working Copy Root Path: /Users/josh/lazarus_trunk/fpc
URL: http://svn.freepascal.org/svn/fpc/trunk
Repository Root: http://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 35318
Node Kind: directory
Schedule: normal
Last Changed Author: karoly
Last Changed Rev: 35318
Last Changed Date: 2017-01-17 13:41:13 +0000 (Tue, 17 Jan 2017)

fpcupdeluxe: info: FPC was at: failure
fpcupdeluxe: info: FPC is now at: revision 35318
fpcupdeluxe: info: TFPCInstaller: building module FPC...
fpcupdeluxe: info: We have a FPC source (@ /Users/josh/lazarus_trunk/fpc) with version: 3.1.1
fpcupdeluxe: info: To compile this FPC, we need (required) a compiler with version : 3.0.2
Executing : /Users/josh/lazarus_trunk/fpcbootstrap/ppcuniversal "-iV" (working dir: )
fpcupdeluxe: info: Looking for a bootstrap compiler from official FPC bootstrap binaries.
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 3.0.2
fpcupdeluxe: info: Looking for (online) bootstrapper i386-darwin-ppc386.tar.bz2
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 3.0.0
fpcupdeluxe: info: Looking for (online) bootstrapper i386-darwin-ppc386.tar.bz2
fpcupdeluxe: info: Found FPC v3.0.0 online bootstrappers: i386-win32-ppc386.zip,x86_64-macosx-10.7-ppcx64.tar.bz2
fpcupdeluxe: info: Looking for official FPC bootstrapper with version 2.6.4
fpcupdeluxe: info: Looking for (online) bootstrapper universal-macosx-10.5-ppcuniversal.tar.bz2
fpcupdeluxe: info: Found FPC v2.6.4 online bootstrappers: i386&powerpc-macosx-10.4-ppcuniversal.tar.bz2,i386-freebsd10-ppc386.bz2,i386-freebsd8-ppc386.bz2,i386-freebsd9-ppc386.bz2,i386-linux-ppc386.bz2,i386-win32-ppc386.zip,universal-macosx-10.5-ppcuniversal.tar.bz2,x86_64-freebsd-ppcx64.bz2,x86_64-freebsd8-ppcx64.bz2,x86_64-freebsd9-ppcx64.bz2,x86_64-win64-ppcrossx64.zip
fpcupdeluxe: info: Got a bootstrap compiler from official FPC bootstrap sources.
Executing : /Users/josh/lazarus_trunk/fpcbootstrap/ppcuniversal "-iV" (working dir: )
fpcupdeluxe: info: Check if we already have a bootstrap compiler with version 2.6.4
fpcupdeluxe: info: No correct bootstrapper. Going to download bootstrapper from ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/universal-macosx-10.5-ppcuniversal.tar.bz2
fpcupdeluxe: info: Native downloader: Getting universal-macosx-10.5-ppcuniversal.tar.bz2 from ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/
Executing : bsdtar "-xf" "/var/folders/b5/8p22lnv924n7nrx6rhc13wdr0000gn/T/TMP00000.tmp" "-C" "/var/folders/b5/8p22lnv924n7nrx6rhc13wdr0000gn/T/" (working dir: )
fpcupdeluxe: WARNING: Going to rename/move ppcuniversal to /Users/josh/lazarus_trunk/fpcbootstrap/ppcuniversal
Executing : /Users/josh/lazarus_trunk/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : /Users/josh/lazarus_trunk/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : /Users/josh/lazarus_trunk/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpcupdeluxe: 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
fpcupdeluxe: info: Checking out/updating sources for intermediate bootstrap compiler.
Executing : /usr/bin/svn "checkout" "--non-interactive" "--quiet" "--depth=files" "http://svn.freepascal.org/svn/fpc/tags/release_3_0_0" "/Users/josh/lazarus_trunk/fpc300bootstrap" (working dir: /Users/josh/lazarus_trunk/fpc)
Executing : /usr/bin/svn "update" "compiler" "--quiet" "/Users/josh/lazarus_trunk/fpc300bootstrap/compiler" (working dir: /Users/josh/lazarus_trunk/fpc)
Executing : /usr/bin/svn "update" "rtl" "--quiet" "/Users/josh/lazarus_trunk/fpc300bootstrap/rtl" (working dir: /Users/josh/lazarus_trunk/fpc)
fpcupdeluxe: info: Checking out/updating FPC 3.0.0 sources for intermediate bootstrap compiler done.
fpcupdeluxe: info: We have a FPC bootstrap source (@ /Users/josh/lazarus_trunk/fpc300bootstrap) with version: 3.0.0
fpcupdeluxe: info: To compile this bootstrap FPC, we need (required) a compiler with version : 3.0.0
Executing : /Users/josh/lazarus_trunk/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : /Users/josh/lazarus_trunk/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpcupdeluxe: info: To compile this bootstrap FPC, we can also (and will) use (required) a compiler with version : 2.6.4
Executing : /Users/josh/lazarus_trunk/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : make "clean" "--jobs=4" "FPC=/Users/josh/lazarus_trunk/fpcbootstrap/ppcuniversal" "--directory=/Users/josh/lazarus_trunk/fpc300bootstrap" "OPT=-vi-n-h-" (working dir: /Users/josh/lazarus_trunk/fpc300bootstrap)
/Library/Developer/CommandLineTools/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 ppcarm ppcmips ppcmipsel ppcjvm ppc8086 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
/Library/Developer/CommandLineTools/usr/bin/make -C utils cleanall
/bin/rm -f fpc ppufiles ppudump ppumove mkarmins mkx86ins fpc.o ppufiles.o ppudump.o ppumove.o mkarmins.o mkx86ins.o libpfpc.a libpppufiles.a libpppudump.a libpppumove.a libpmkarmins.a libpmkx86ins.a libimpfpc.a libimpppufiles.a libimpppudump.a libimpppumove.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
/bin/rm -f i386/*.o i386/*.ppu i386/*.rst i386/*.s i386/*.a i386/*.so i386/*.ppl
/bin/rm -f i386/ppc386 i386/ppc68k i386/ppcx64 i386/ppcppc i386/ppcsparc i386/ppcppc64 i386/ppcarm i386/ppcmips i386/ppcmipsel i386/ppcjvm i386/ppc8086 i386/ppcx64

......

/bin/rm -f armeb/*.o armeb/*.ppu armeb/*.rst armeb/*.s armeb/*.a armeb/*.so armeb/*.ppl
/bin/rm -f armeb/ppc386 armeb/ppc68k armeb/ppcx64 armeb/ppcppc armeb/ppcsparc armeb/ppcppc64 armeb/ppcarm armeb/ppcmips armeb/ppcmipsel armeb/ppcjvm armeb/ppc8086 armeb/ppcx64
/bin/rm -rf mipsel/units
/bin/rm -f mipsel/*.o mipsel/*.ppu mipsel/*.rst mipsel/*.s mipsel/*.a mipsel/*.so mipsel/*.ppl
/bin/rm -f mipsel/ppc386 mipsel/ppc68k mipsel/ppcx64 mipsel/ppcppc mipsel/ppcsparc mipsel/ppcppc64 mipsel/ppcarm mipsel/ppcmips mipsel/ppcmipsel mipsel/ppcjvm mipsel/ppc8086 mipsel/ppcx64
/bin/rm -rf mips/units
/bin/rm -f mips/*.o mips/*.ppu mips/*.rst mips/*.s mips/*.a mips/*.so mips/*.ppl
/bin/rm -f mips/ppc386 mips/ppc68k mips/ppcx64 mips/ppcppc mips/ppcsparc mips/ppcppc64 mips/ppcarm mips/ppcmips mips/ppcmipsel mips/ppcjvm mips/ppc8086 mips/ppcx64
/bin/rm -rf avr/units
/bin/rm -f avr/*.o avr/*.ppu avr/*.rst avr/*.s avr/*.a avr/*.so avr/*.ppl
/bin/rm -f avr/ppc386 avr/ppc68k avr/ppcx64 avr/ppcppc avr/ppcsparc avr/ppcppc64 avr/ppcarm avr/ppcmips avr/ppcmipsel avr/ppcjvm avr/ppc8086 avr/ppcx64
/bin/rm -rf jvm/units
/bin/rm -f jvm/*.o jvm/*.ppu jvm/*.rst jvm/*.s jvm/*.a jvm/*.so jvm/*.ppl
/bin/rm -f jvm/ppc386 jvm/ppc68k jvm/ppcx64 jvm/ppcppc jvm/ppcsparc jvm/ppcppc64 jvm/ppcarm jvm/ppcmips jvm/ppcmipsel jvm/ppcjvm jvm/ppc8086 jvm/ppcx64
/bin/rm -rf i8086/units
/bin/rm -f i8086/*.o i8086/*.ppu i8086/*.rst i8086/*.s i8086/*.a i8086/*.so i8086/*.ppl
/bin/rm -f i8086/ppc386 i8086/ppc68k i8086/ppcx64 i8086/ppcppc i8086/ppcsparc i8086/ppcppc64 i8086/ppcarm i8086/ppcmips i8086/ppcmipsel i8086/ppcjvm i8086/ppc8086 i8086/ppcx64
/bin/mkdir -p x86_64/units/x86_64-darwin
/Users/josh/lazarus_trunk/fpc300bootstrap/compiler/ppcwpo1 -Ur -Xs -O2 -n -Fux86_64 -Fusystems -Fu/Users/josh/lazarus_trunk/fpc300bootstrap/rtl/units/x86_64-darwin -Fix86_64 -FE. -FUx86_64/units/x86_64-darwin -dRELEASE -vi-n-h- -dx86_64 -dGDB -dBROWSERLOG -Fux86 -Sew -Owdevirtcalls,optvmts -Fw/Users/josh/lazarus_trunk/fpc300bootstrap/compiler/pp2.wpo -dx86_64 -dGDB -dBROWSERLOG -Fux86 -Sew pp.pas
/bin/mv -f ./pp ppcx64
/bin/cp -fp ppcx64 ppcwpo2
/Library/Developer/CommandLineTools/usr/bin/make echotime
Start now 13:45:34
fpcupdeluxe: info: Successfully build FPC 3.0.0 intermediate bootstrap compiler.
fpcupdeluxe: ERROR: Intermediate bootstrap compiler: chmod failed for /Users/josh/lazarus_trunk/fpcbootstrap/intermediate_ppc386
fpcupdeluxe: info: FPC: running make all install for FPC:
Executing : make "--jobs=4" "FPC=/Users/josh/lazarus_trunk/fpcbootstrap/intermediate_ppc386" "--directory=/Users/josh/lazarus_trunk/fpc" "INSTALL_PREFIX=/Users/josh/lazarus_trunk/fpc" "INSTALL_BINDIR=/Users/josh/lazarus_trunk/fpc/bin/i386-darwin" "OPT=-Sg -vi-n-h-" "all" "install" (working dir: /Users/josh/lazarus_trunk/fpc)
Makefile:135: *** Compiler /Users/josh/lazarus_trunk/fpcbootstrap/intermediate_ppc386 not found.  Stop.

fpcupdeluxe: info: FPC: Error running make failed with exit code 512
. Details:
fpcupdeluxe: ERROR: Error running BuildModuleCustom for module FPC
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup /Users/josh/lazarus_trunk/fpc/utils/bin
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup /Users/josh/lazarus_trunk/fpc/utils/units/i386-darwin
fpcupdeluxe: ERROR: FPC cleanup: could not cleanup /Users/josh/lazarus_trunk/fpc/rtl/units/i386-darwin
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc


ERROR: Fpcupdeluxe failed.

Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 17, 2017, 03:27:18 pm
Ok. Can confirm bug !
Will update fpcupdeluxe shortly !
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 17, 2017, 04:04:09 pm
@josh
Please try newest !
https://github.com/newpascal/fpcupdeluxe/releases/tag/v1.2.0f
Title: Re: Fpcupdeluxe
Post by: josh on January 17, 2017, 05:30:13 pm
Hi DonALfredo,

Thanks for quick fix; that solved the problem, now on SVN 53964. I can now test other problems.

 
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 18, 2017, 04:06:12 pm
Again, a new version of fpcupdeluxe (1.2.0g) !
https://github.com/newpascal/fpcupdeluxe/releases/latest

You should now be able to build a cross-compiler from LINUX towards Darwin i386 and x86_64, carbon and cocoa.
And thus compile your Mac-apps on your Linux PC !
Out-of-the-box (I hope), if you have clang installed !

So:
apt-get install clang.
Use fpcupdeluxe to install FPC/Lazarus.
Build a Darwin cross-compiler for i386 or x86_64.
It will fail, due to missing libs and bins.
Allow fpcupdeluxe to download the libs and bins.
This download (and unpacking) will take some time ... many files.
Cross-compiler will be build.
Use and test (and enjoy) !!


As always, reports about success and failure welcome !
 :)
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 19, 2017, 07:47:08 pm
Fpcupdeluxe 1.2.0h.
On Darwin (i386), you can now build cross-compilers for iphonesim i386 and x86_64, Darwin aarch64 and arm.
And also i386 to x86_64.

See:
http://blog.naver.com/simonsayz
http://www.objectivepascal.com/parser/
Title: Re: Fpcupdeluxe
Post by: xaver13 on January 31, 2017, 07:17:02 pm
Hello, I have installed Lazarus Trunk via Fpcupdeluxe on my Windows machine. I used options trunk+trunk. But now I need also to compile to 32bit Windows version. I checked CPU I386 and os Windows and then Install cross compiler in Fpcupdeluxe. The installation failed. What is the cause? Trunk versions are 64bit and are ahead and  32 bit version will follow? What versions should I use to reach possibility to compile both bit and bit apps for Windows?

Thank you very much for help.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on January 31, 2017, 07:58:32 pm
The error tells it all: at the moment, you cannot compile from win64 towards win32.
http://bugs.freepascal.org/view.php?id=29892
http://bugs.freepascal.org/view.php?id=9262

Preferred method:
Use fpcupdeluxe 32bit to install 32bit FPC/Laz on Windows.
Cross-compile towards 64bit is already included in this basic install.
No need to build a separate cross-compiler for win32->win64.
Title: Re: Fpcupdeluxe
Post by: suninyoureye on February 01, 2017, 07:49:35 pm
Hi DonAlfredo,

I just wanted to say a big thanks and kudos for writing this excellent installation program. I was  getting all kinds of headaches trying to install FP on Debian and your program has solved all my problems.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 01, 2017, 10:01:26 pm
 :D
Title: Re: Fpcupdeluxe
Post by: Pascal on February 08, 2017, 11:42:34 am
I have problems with a brand new installation:

I created a new directory and tried to build fpc with fixes and laz trunk. I got the following errors:

Code: Text  [Select]
  1. ...
  2. Hint: (11031) End of reading config file C:\freepascal.fpcupdate\config_lazarus\idemake.cfg
  3. Free Pascal Compiler version 3.0.1 [2017/02/08] for i386
  4. Copyright (c) 1993-2015 by Florian Klaempfl and others
  5. (1002) Target OS: Win32 for i386
  6. (3104) Compiling lazarus.pp
  7. (10001) PPU Loading C:\freepascal.fpcupdate\lazarus\components\lazutils\lib\i386-win32\lazutf8.ppu
  8. (10011) PPU Source: lazutf8.pas not found
  9. (10011) PPU Source: lazutils_defines.inc not available
  10. (10011) PPU Source: winlazutf8.inc not available
  11. (10028) Recompiling LazUTF8, checksum changed for windows
  12. C:\freepascal.fpcupdate\lazarus\ide\lazutf8.pas(78,12) Fatal: (10022) Can't find unit LazUTF8 used by Interfaces
  13. Fatal: (1018) Compilation aborted
  14. Error: C:\freepascal.fpcupdate\fpc\bin\i386-win32\ppc386.exe returned an error exitcode
  15. make[2]: *** [lazarus.exe] Error 1
  16. make[2]: Leaving directory `C:/freepascal.fpcupdate/lazarus/ide'
  17. make[1]: *** [idepkg] Error 2
  18. make[1]: Leaving directory `C:/freepascal.fpcupdate/lazarus/ide'
  19. make: *** [idepkg] Error 2
  20. make: Leaving directory `C:/freepascal.fpcupdate/lazarus'
  21. Error: (lazarus) Build IDE: stopped with exit code 2
  22.  
  23. fpcupdeluxe: info: InstallerUniversal: error trying to rebuild Lazarus.
  24. Details:
  25. fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence suggestedpackages; line: 5, param: suggestedpackages
  26. fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 2, param: suggestedpackages
  27. fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence DefaultWin32; line: 6, param: UniversalDefault
  28.  
  29.  
  30. ERROR: Fpcupdeluxe failed.

What did i do wrong?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 08, 2017, 11:53:56 am
Mmm, I would strongly advice against using a dot in a pathname.
However, I do not know if this dot is the cause of your problems, but I would like to ask you to try again without dot !
I wish with more luck.
Title: Re: Fpcupdeluxe
Post by: Thaddy on February 08, 2017, 12:02:42 pm
Mmm, I would strongly advice against using a dot in a pathname.
WHAT?
 >:( Under linux at least configuration data e.g. icon path and jcf reg.xml, is stored in a hidden path and a hidden path even starts with a dot....
pi@raspberrypi:~/.config $ ls
autostart  galculator  leafpad      lxterminal     Trolltech.conf
chromium   geany       libfm        menus          user-dirs.dirs
dconf      gpicview    libreoffice  mimeapps.list  user-dirs.locale
enchant    gtk-2.0     libvirt      openbox        vlc
epiphany   gtk-3.0     lxpanel      pcmanfm        xarchiver
fppkg.cfg  lazarus     lxsession    pulse


Silly advice. < very grumpy mode firmly on  >:D >:D >:D >:D>

Or weren't you aware of that?
Title: Re: Fpcupdeluxe
Post by: jacmoe on February 08, 2017, 12:12:20 pm
>:( Under linux at least configuration data e.g. icon path, is stored in a hidden path and a hidden path even starts with a dot....
[...]
Silly advice.
There is quite a difference between a name starting with a dot to a name having a dot in the middle.

Also, Windows is not Linux..

It can't hurt to try again without a dot. Who knows?
Title: Re: Fpcupdeluxe
Post by: Thaddy on February 08, 2017, 12:15:17 pm
Quote
It can't hurt to try again without a dot. Who knows?
No. dots in pathnames are allowed in windows too (8.3 convention at least). It is plain and simple a task of the programmer to take care of it.
IF it makes a difference to use a dot or not that is programmer error, big time.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 08, 2017, 12:24:41 pm
@Thaddy

That is why I asked for a retry.
As you can imagine, the test-matrix for fpcdeluxe is HUGE.
Many systems, different os,cpu,distro,FPC/Laz combo's. Even without taking the cross-compiler options in consideration.

If fpcupdeluxe works without dot, and fails with, I have something(s) to do ...
Title: Re: Fpcupdeluxe
Post by: Pascal on February 08, 2017, 01:08:41 pm
The same error with directory "freepascal_fpcupdate".

Try it yourself:
- create directory
- start fpcupdeluxe
- select directory
- select fpc/fixes
- select lazarus/trunk
- press "Install/update FPC+Laz"
Title: Re: Fpcupdeluxe
Post by: DonaldShimoda on February 08, 2017, 03:00:32 pm
Mmm, I would strongly advice against using a dot in a pathname.
However, I do not know if this dot is the cause of your problems, but I would like to ask you to try again without dot !
I wish with more luck.

Newpasacal builds (both new pascal and newpascalgit) don't work on linux 386, using the latest build of fpcupdeluxe V 1.2.0l. Please let me know which more info can i provide to help fix that.

Error say:

Code: Pascal  [Select]
  1. fpcupdeluxe: info: FPC was at: failure
  2. fpcupdeluxe: info: No updates for FPC found.
  3. fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence fpc; line: 4, param: FPC
  4. fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc
  5. ERROR: Fpcupdeluxe failed.


Trunk builds work fine.

Best regards.

Title: Re: Fpcupdeluxe
Post by: jacmoe on February 08, 2017, 03:07:01 pm
Are you on 32bit Linux?
Most of us are using x86_64
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 08, 2017, 03:13:23 pm
Not sure, but I suspect a small bug in the Lazarus trunk.
See: http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=54120

Please try the previous revision of Lazarus: 54119.
Howto:
In fpcupdeluxe, press Setup+ and put 54119 in the Lazarus revision box and build again.
Title: Re: Fpcupdeluxe
Post by: DonaldShimoda on February 08, 2017, 03:21:13 pm
Are you on 32bit Linux?
Most of us are using x86_64

Yes 32 bit linux,
Don't work on 32 bit linux?
Title: Re: Fpcupdeluxe
Post by: Pascal on February 08, 2017, 03:22:42 pm
Not sure, but I suspect a small bug in the Lazarus trunk.
Yes, unit LCLProc is missing or DebugLn not deleted.
Title: Re: Fpcupdeluxe
Post by: DonaldShimoda on February 08, 2017, 03:33:15 pm
Not sure, but I suspect a small bug in the Lazarus trunk.
See: http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=54120

Please try the previous revision of Lazarus: 54119.
Howto:
In fpcupdeluxe, press Setup+ and put 54119 in the Lazarus revision box and build again.

I just trying to build new pascal btw
Title: Re: Fpcupdeluxe
Post by: Pascal on February 08, 2017, 03:48:17 pm
Not sure, but I suspect a small bug in the Lazarus trunk.
See: http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=54120

Please try the previous revision of Lazarus: 54119.
Howto:
In fpcupdeluxe, press Setup+ and put 54119 in the Lazarus revision box and build again.

Problem is still the same  :(
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 08, 2017, 03:54:47 pm
@DonaldShimoda
I just did a clean install of NewPacal on my Mint32, without any problem.
So, please show (attach) the output of the green-screen ?

@Pascal
Also just did a clean install of FPC fixes and Lazarus trunk 54119 on my Win10, without any problem.
Is the error the same as you already reported ?
Title: Re: Fpcupdeluxe
Post by: DonaldShimoda on February 08, 2017, 03:59:13 pm
@DonaldShimoda
I just did a clean install of NewPacal on my Mint32, without any problem.
So, please show (attach) the output of the green-screen ?

have no idea how to do a clean install.

At this stage i have installed ok trunk with the lazarus revision 54119. All works fine but no new pascal installed. How can i install new pascal from here?
Title: Re: Fpcupdeluxe
Post by: Pascal on February 08, 2017, 03:59:35 pm
@Pascal
Also just did a clean install of FPC fixes and Lazarus trunk 54119 on my Win10, without any problem.
Is the error the same as you already reported ?
Yes. The same when is just update.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 08, 2017, 04:08:40 pm
@DonaldShimoda
Just choose/set a new install directory.
And press the big NewPascal button.

@Pascal
Trying again ... will report back.
Title: Re: Fpcupdeluxe
Post by: Pascal on February 08, 2017, 05:10:38 pm
Just did a test on an other Win10 x64 machine with dir C:\fpcupd:
Same Error:
Title: Re: Fpcupdeluxe
Post by: jacmoe on February 08, 2017, 05:13:42 pm
Why using 'trunk' ? 'fixes' is more likely to be working.
I am not experienced with Lazarus, but I know better than expecting trunk to work. :)
Does it work with 'fixes' ?
Title: Re: Fpcupdeluxe
Post by: DonaldShimoda on February 08, 2017, 05:17:02 pm
@DonaldShimoda
Just choose/set a new install directory.
And press the big NewPascal button.

just tried, don't work on linux 386

start fpcupdeluxe
change folder to new pascal
click on setup+ and select lazarus build 54119
click on newpascal

result after a longtime

Code: Pascal  [Select]
  1. fpcupdeluxe: info: Lazarus was at: failure
  2. fpcupdeluxe: info: Lazarus is now at: branch revision anpabl (repository revision 54119)
  3. fpcupdeluxe: ERROR: Checking out/updating Lazarus sources failure
  4. fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence lazbuild; line: 2, param: lazarus
  5. fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Default; line: 4, param: lazbuild
  6.  
  7.  
  8. ERROR: Fpcupdeluxe failed.



Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 08, 2017, 05:31:34 pm
@DonaldShimoda

You are now mixing things up !
Rev 54119 was for trunk.

Just delete the rev-number for NewPascal. You can easily use  the latest NP-release by leaving this field blank !
Title: Re: Fpcupdeluxe
Post by: Pascal on February 08, 2017, 05:41:34 pm
Why using 'trunk' ? 'fixes' is more likely to be working.
I am not experienced with Lazarus, but I know better than expecting trunk to work. :)
Does it work with 'fixes' ?
I need trunk as i am doing lazarus development. This bug has nothing to do with trunk (except rev 51120).
I have done a manual build of lazarus from trunk sources and that worked.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 08, 2017, 05:46:48 pm
@Pascal.

Could you please attach the whole green-screen log ?
Your error is strange !
Title: Re: Fpcupdeluxe
Post by: jacmoe on February 08, 2017, 05:49:32 pm
I need trunk as i am doing lazarus development. This bug has nothing to do with trunk (except rev 51120).
I have done a manual build of lazarus from trunk sources and that worked.
Fair enough  :D
Title: Re: Fpcupdeluxe
Post by: Pascal on February 08, 2017, 07:52:28 pm
@Pascal.

Could you please attach the whole green-screen log ?
Your error is strange !

Here you are!
Title: Re: Fpcupdeluxe
Post by: DonaldShimoda on February 08, 2017, 08:17:10 pm
@DonaldShimoda

You are now mixing things up !
Rev 54119 was for trunk.

Just delete the rev-number for NewPascal. You can easily use  the latest NP-release by leaving this field blank !

Nothing works, don't even trunk right now, starting from zero

newpascal

Code: Pascal  [Select]
  1. fpcupdeluxe: info: DownloadFromSVN: SVN gave error code: 134
  2.  
  3. fpcupdeluxe: info: DownloadFromSVN: SVN gave error message: Path: fpcsrc
  4. Working Copy Root Path: /home/germanpablogentile/fpcupdeluxe/fpcsrc
  5. URL: https://github.com/newpascal/freepascal/branches/release
  6. Relative URL: ^/branches/release
  7. Repository Root: https://github.com/newpascal/freepascal
  8. Repository UUID: b06cf4e9-28d3-451c-dbe9-ce57b7db7bff
  9. Revision: 28721
  10. Node Kind: directory
  11. Schedule: normal
  12.  
  13.  
  14. fpcupdeluxe: info: FPC was at: failure
  15. fpcupdeluxe: info: FPC is now at: branch revision king C (repository revision 28721)
  16. fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence fpc; line: 4, param: FPC
  17. fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc
  18.  
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 08, 2017, 08:27:04 pm
@DonaldShimoda

These arre SVN errors. Possible causes:
* bad inet-connection.
* mixing of repos.
I expect the latter, due to your remark: nothing works.

I will explain what I mean with a clean install.

Create a directory for your install. Lets say: ~/mynewfpclazinstall
Copy fpcupdeluxe into this install directory.
Start fpcupdeluxe.
Point the install-directory (left-top-button) towards this ~/mynewfpclazinstall
Start the NewPascal install by pressing the NewPascal button.
Title: Re: Fpcupdeluxe
Post by: DonaldShimoda on February 08, 2017, 08:42:36 pm
@DonaldShimoda

These arre SVN errors. Possible causes:
* bad inet-connection.
* mixing of repos.
I expect the latter, due to your remark: nothing works.

I will explain what I mean with a clean install.

Create a directory for your install. Lets say: ~/mynewfpclazinstall
Copy fpcupdeluxe into this install directory.
Start fpcupdeluxe.
Point the install-directory (left-top-button) towards this ~/mynewfpclazinstall
Start the NewPascal install by pressing the NewPascal button.

That is exactly what im doing.

See the picture.

I have another lazarus installed (by hand, normal install) but AFAIK that must not be a problem.

Im trying again just clicking newpascal.

tell you soon.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 08, 2017, 08:47:17 pm
@Pascal
I am out-of-ideas unfortunately !
Just ran my install for the 10th time this day, without any problems.
I now have 7 different installs on my system (1000Mb Inet luckily).
Sorry I cannot help you any further. There is something peculiar with your setup or with fpcupdeluxe.
Title: Re: Fpcupdeluxe
Post by: DonaldShimoda on February 08, 2017, 09:02:36 pm
@Pascal
I am out-of-ideas unfortunately !
Just ran my install for the 10th time this day, without any problems.
I now have 7 different installs on my system (1000Mb Inet luckily).
Sorry I cannot help you any further. There is something peculiar with your setup or with fpcupdeluxe.

Fails again.

Don't worry and thanks for your help!

I will take the time to start a clean VM with ubuntu 32 and 64 bits and restes tomorrow.

Best regards
Title: Re: Fpcupdeluxe
Post by: esvignolo on February 08, 2017, 09:16:09 pm
Hi, i have problems with trunk, maybe the problems is in trunk, because i use fpclazup, and 2 days ago aparently was broken the svn.

Title: Re: Fpcupdeluxe
Post by: Pascal on February 08, 2017, 09:26:09 pm
@Pascal
I am out-of-ideas unfortunately !
Just ran my install for the 10th time this day, without any problems.
I now have 7 different installs on my system (1000Mb Inet luckily).
Sorry I cannot help you any further. There is something peculiar with your setup or with fpcupdeluxe.
:(
Title: Re: Fpcupdeluxe
Post by: Pascal on February 08, 2017, 09:31:28 pm
I am just doing a test in Server 2012 R2 VM. There has never been any fpc or laz on it. ...
Title: Re: Fpcupdeluxe
Post by: Pascal on February 08, 2017, 10:18:58 pm
I am just doing a test in Server 2012 R2 VM. There has never been any fpc or laz on it. ...
... success.

Could TortoiseSVN with installed command line tools be the problem?
Title: Re: Fpcupdeluxe
Post by: DonaldShimoda on February 08, 2017, 10:25:03 pm
I am just doing a test in Server 2012 R2 VM. There has never been any fpc or laz on it. ...
... success.

Could TortoiseSVN with installed command line tools be the problem?

Im using linux , not in my case.
Title: Re: Fpcupdeluxe
Post by: jacmoe on February 08, 2017, 10:26:01 pm
Could TortoiseSVN with installed command line tools be the problem?
It could be. IIRC, there are problems with TortoiseGit and command-line tools. I think the problem lies in the way authentication is handled, but don't arrest me on that.
Title: Re: Fpcupdeluxe
Post by: Pascal on February 09, 2017, 12:00:01 am
Could TortoiseSVN with installed command line tools be the problem?

No: Also fails with removed TortoiseSVN command line tools!

Same with x64 version.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 09, 2017, 07:10:11 am
I am using TortoiseSVN ... no problems.
It seems definitely a svn problem. But a strange one !

You could do a check by getting the FPC and Lazarus repo's by hand.
Fpcupdeluxe expects the repos/sources in a dir-structure like this:
installdir/fpcsrc
installdir/lazarus

Point fpcupdeluxe towards this installdir.
Please be sure that"" Split FPC sources and bins" is checked in setup+.
Also be sure that these sources are real repos, including a .svn directory.
Title: Re: Fpcupdeluxe
Post by: minesadorada on February 09, 2017, 12:57:46 pm
Report:

1. Brand new install of 32-bit Linux Mint 18 xfce ('Serena') to virgin ext2 partition
2. Ran sudo aptitude install make binutils build-essential gdb subversion zip unzip libx11-dev libgtk2.0-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev
3. Downloaded and ran fpcupdeluxe for Linux/i386 - success!
4. Cross-compile to x64 Linux - success!
5. Cross-compile to i386 Windows - success!
6. Cross-compile to x64 Windows - success!
7. Cross-compile to i386 Darwin - success!
8. Cross-compile to x64 Darwin - Failure (but I wasn't expecting it to work)

Fpcupdeluxe is an excellent tool - thanks @DonAlfredo
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 09, 2017, 01:08:05 pm
@minesadorada
You have to choose cocoa as widgetset for Darwin x64 ... you will succeed !
Title: Re: Fpcupdeluxe
Post by: minesadorada on February 09, 2017, 01:29:38 pm
@minesadorada
You have to choose cocoa as widgetset for Darwin x64 ... you will succeed !
Where? How?

Output from fpcupdeluxe - all success until:
/home/gordon/apps/NewPascal/lazarus/lcl/interfaces/./carbon/carbonproc.pp(535,13) Error: (5000) Identifier not found "ATSUFindFontFromName"
/home/gordon/apps/NewPascal/lazarus/lcl/interfaces/./carbon/carbonproc.pp(558,14) Error: (5000) Identifier not found "ATSUFindFontName"
/home/gordon/apps/NewPascal/lazarus/lcl/interfaces/./carbon/carbonproc.pp(565,14) Error: (5000) Identifier not found "ATSUFindFontName"
/home/gordon/apps/NewPascal/lazarus/lcl/interfaces/./carbon/carbonproc.pp(586,11) Error: (5000) Identifier not found "FMGetFontFamilyFromName"
/home/gordon/apps/NewPascal/lazarus/lcl/interfaces/./carbon/carbonproc.pp(693,5) Error: (5000) Identifier not found "HIViewChangeFeatures"
/home/gordon/apps/NewPascal/lazarus/lcl/interfaces/./carbon/carbonproc.pp(696,11) Error: (5000) Identifier not found "HIViewSetVisible"
/home/gordon/apps/NewPascal/lazarus/lcl/interfaces/./carbon/carbonproc.pp(697,11) Error: (5000) Identifier not found "HIViewSetFrame"
/home/gordon/apps/NewPascal/lazarus/lcl/interfaces/./carbon/carbonproc.pp(720,3) Error: (5000) Identifier not found "GetControlBounds"
/home/gordon/apps/NewPascal/lazarus/lcl/interfaces/./carbon/carbonproc.pp(730,3) Error: (5000) Identifier not found "SetControlData"
/home/gordon/apps/NewPascal/lazarus/lcl/interfaces/./carbon/carbonproc.pp(755,36) Error: (5000) Identifier not found "GetControlEventTarget"
/home/gordon/apps/NewPascal/lazarus/lcl/interfaces/./carbon/carbonproc.pp(1389,12) Error: (5000) Identifier not found "GetThemeFont"
/home/gordon/apps/NewPascal/lazarus/lcl/interfaces/./carbon/carbonproc.pp(1389,43) Error: (5000) Identifier not found "GetApplicationScript"
carbonproc.pp(1451) Fatal: (10026) There were 12 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /home/gordon/apps/NewPascal/fpc/bin/i386-linux/ppcrossx64 returned an error exitcode
Error: (lazarus) Compile package LCL 1.7: stopped with exit code 256
Error: (lazbuild) LCL 1.7 compilation failed

fpcupdeluxe: info: Lazarus: error compiling LCL for x86_64-darwin
Details:
fpcupdeluxe: ERROR: Lazarus: Cross compiling LCL for x86_64-darwin failed.
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence LCLCross; line: 3, param: LCL
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Only; line: 3, param: LCLCross


ERROR: Fpcupdeluxe failed.
Building cross-tools failed ... ??? ... aborting.
Title: Re: Fpcupdeluxe
Post by: Thaddy on February 09, 2017, 01:34:57 pm
Looks to me you do not have the correct crossbinutils and libraries..
That seems a bug in your documentation reading skills...
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 09, 2017, 01:37:14 pm
I expect (and hope) that you have choosen to include the LCL in the cross-compiling (in Setup+).
Normally, the cross-compiler only makes a FPC cross-compiler.
LCL is done when needed, by Lazarus, on the fly.

Correct ?
If so, uncheck. And build your x64 app with cocoa !
I will also make a not that I have to change fpcupdeluxe in this case.
(I never include the LCL myself)
Title: Re: Fpcupdeluxe
Post by: minesadorada on February 09, 2017, 01:39:25 pm
Looks to me you do not have the correct crossbinutils and libraries..
That seems a bug in your documentation reading skills...
Please @Thaddy don't be cryptic - I just spent 2 hours installing the OS from scratch (with updates) and Lazarus from scratch with cross-compilers... I feel like my eyes have started scrolling :)
Title: Re: Fpcupdeluxe
Post by: minesadorada on February 09, 2017, 01:40:51 pm
I expect (and hope) that you have choosen to include the LCL in the cross-compiling (in Setup+).
Normally, the cross-compiler only makes a FPC cross-compiler.
LCL is done when needed, by Lazarus, on the fly.

Correct ?
If so, uncheck. And build your x64 app with cocoa !
I will also make a not that I have to change fpcupdeluxe in this case.
(I never include the LCL myself)
I did have it checked.  So.. another go.

==edit== Success!  Thanks DonAlfredo

BTW the current NewPascal laz version doesn't include LCLPlatformDef which is quite important for newer packages.  It's in rev. r53711.
Title: Re: Fpcupdeluxe
Post by: DonaldShimoda on February 09, 2017, 05:11:55 pm
Report:

1. Brand new install of 32-bit Linux Mint 18 xfce ('Serena') to virgin ext2 partition
2. Ran sudo aptitude install make binutils build-essential gdb subversion zip unzip libx11-dev libgtk2.0-dev libgdk-pixbuf2.0-dev libcairo2-dev libpango1.0-dev
3. Downloaded and ran fpcupdeluxe for Linux/i386 - success!
4. Cross-compile to x64 Linux - success!
5. Cross-compile to i386 Windows - success!
6. Cross-compile to x64 Windows - success!
7. Cross-compile to i386 Darwin - success!
8. Cross-compile to x64 Darwin - Failure (but I wasn't expecting it to work)

Fpcupdeluxe is an excellent tool - thanks @DonAlfredo

Failed again here over two news VM with UBUNTU 16.04...  :'(

Can PLEASE tell if you are running all the options by default or do you set ANYTHING before run?

I just get it on a clean folder and click NEWPASCAL or TRUNK, neither work...
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 09, 2017, 05:19:04 pm
@minesadorada
New version now build cocoa when LCL is included during Darwin-x64 cross-build.
Also better error message when libs are missing.
https://github.com/newpascal/fpcupdeluxe/releases/latest

@DonaldShimoda
Its a pity that fpcupdeluxe does not work for you !
On my vanilla-systems its just: get fpcupdeluxe from GitHub and press trunk or stable or fixes.
But not for you !

Did you try the trick with manual download of the repo's ?

And, there is another option. Perhaps better suited for you !
You can ask fpcupdeluxe not to download the whole repo, but only the files !
Comes very handy for releases that do not change anymore, like stable. Its the first checkbox in Setup+. Uncheck it, and you will only get the files.

Good luck !
Title: Re: Fpcupdeluxe
Post by: fredycc on February 10, 2017, 11:23:08 pm
@DonAlfredo Thanks for this usefull tool.  :)

I had some problems during the download+install FPC & Lazarus  :o, it was fixed when using a proxy server  8).

Now is working..  ;D

Regards.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 11, 2017, 09:48:31 am
Thanks for the report. And happy coding !
Title: Re: Fpcupdeluxe
Post by: DonaldShimoda on February 11, 2017, 05:42:18 pm
Thanks for the report. And happy coding !

I can confirm the problem is on the repos. lazarus repo exit with timeout. I start doing manually, no way.

Thanks!
Title: Re: Fpcupdeluxe
Post by: marcov on February 11, 2017, 07:33:13 pm
Thanks for the report. And happy coding !

Fyi, 3.0.2 has been branched and is being built. tags/release_3_0_2
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 12, 2017, 08:43:18 am
As soon as I saw the 3.0.2 tag (few days ago), stable was changed towards 3.0.2 ... a very nice and VERY good release !! Thanks.
Title: Re: Fpcupdeluxe
Post by: josh on February 13, 2017, 10:00:11 pm
Hi
Tried a fresh install on OS sierra carbon, and it is giving an error.
Can't find unit mssqlconn used by registersqld

I have not installed any packages just download 1.2k and choose trunk in a fresh empty folder.
Title: Re: Fpcupdeluxe
Post by: marcov on February 13, 2017, 10:03:57 pm
As soon as I saw the 3.0.2 tag (few days ago), stable was changed towards 3.0.2 ... a very nice and VERY good release !! Thanks.

Meanwhile, fixes has been updated to 3.0.3.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 14, 2017, 08:26:52 am
@marcov
Included ... not yet released.

@josh.
There is a small issue with Lazarus.
See: http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=54131
So, if you want to install, use rev 54130, by putting this number in the Lazarus revision box of fpcupdeluxe !
And, if you want, you could file a Lazarus bug.
Title: Re: Fpcupdeluxe
Post by: josh on February 14, 2017, 12:58:36 pm
Hi DonAlfredo

Thanks for the valuable snippet; I will install 54130 for now. And wait for the issue to be resolved.

Josh
Title: Re: Fpcupdeluxe
Post by: JuhaManninen on February 14, 2017, 01:22:02 pm
There is a small issue with Lazarus.
See: http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=54131
What kind of issue? It was a patch from LazaK solving issue #31343. If it caused other problems then please reopen the same issue instead of creating a new one.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 14, 2017, 01:27:54 pm
@JuhaManninen
Thanks for the hint.
In fact, I did not open a (previous) bug-report, to wait for the results by Josh, to get some more confirmation.
Title: Re: Fpcupdeluxe
Post by: josh on February 14, 2017, 02:17:11 pm
Hi DonAlfredo

Rev 54130 does install through fpcupdeluxe.


It has left me with a problem, which is proving hard o track down, a project of mine that previously would open and compile etc now causes lazarus to abruptly exit; even before the main form is rendered on the ide. I can open the project on Win Laz rev 54130 without issue, I have even tried setting the project option for darwin etc on the Windows machine, and the project still abruptly terminated lazarus.

Is there a way to get diagnostic info from lazarus when it exits this way?

Thanks

Josh
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 14, 2017, 02:42:41 pm
You have to give me more info.
On win ? On osx ? Cpu ? Previous version ?
I dunno if you need trunk ... current stable is very good !
Title: Re: Fpcupdeluxe
Post by: josh on February 14, 2017, 03:00:51 pm
I have not followed Stable, how many of the fixes that have been done to Carbon and Cocoa in trunk exist in stable release?

Previous Laz version 53680, this version open the project without issue (same version of all components).

Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 14, 2017, 04:09:11 pm
Many fixes have been added into 3.0.2.
Its the best release to use, if not in need for very special trunk-features.
Just try !
Title: Re: Fpcupdeluxe
Post by: josh on February 14, 2017, 04:39:12 pm
Hi DonAlfredo,

I thought I would install stable on Windows System at first.

Now it gets confusing, with Stable and same components installed (BGRABITMAP and BGRACONTROLS) as these are the only components I am using, when I try to open project, Lazarus abruptly exits but I now have a message Access Violation, this is on load of project.  Yet trunk on windows I have no such issue.

Josh
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 14, 2017, 05:39:24 pm
Just did a stable FPC/Lazarus install. Installed BgraControls. Run sample. No problems !
Title: Re: Fpcupdeluxe
Post by: josh on February 14, 2017, 05:55:01 pm
Hi DonAlfredo,

Thanks for doing the test using bgrabitmap and bgracontrols.

I have tried this also and this is fine, I think what is happening is that the project was created with Lazarus Trunk on Windows, and this is the problem, I am at the moment trying some things just to verify the assumption.

The project that exits on OSX and on 1.6.02 was created with Laz Trunk, all other projects that were created with non Trunk ( even though they have been edited with trunk) all are working fine.

I have done on quick test on OSX trunk ( using all components that are in problem project) and save the project and can open this on Trunk in windows, am in middle of doing similar going the other way.

It seems like a long shot, but the problem project is one that I have only in the last 3 weeks created. It does have a rather large resource.res file, sop am also testing this as well, ( these are the only differences I can think of between this project and others).

So still trying to hammer out where the problem is, working in the dark as Lazarus is displaying no debug info to help.

Ian
Title: Re: Fpcupdeluxe
Post by: josh on February 15, 2017, 01:33:36 am
Update.
I have removed the large resource file; but it still exits; so its not that.

OSX
I have compile LAZ with debug, and I get this error when I start lazarus
The package editormacroscript has detected a problem and was deactivated.
The package failed its selftest with the message "Access Violation"

Clicking OK Brings up the IDE

When I open my project I get Access Violation, and a spinning rainbow ball; and I CAN NOT click okay, I have to force quit.

Thought I would add the above; in case something appears familiar to someone.

Josh

below is data from apple crash report
Quote
--------------------------------------------------
Timeline format: stacks are sorted chronologically
Use -i and -heavy to re-report with count sorting
--------------------------------------------------

Heaviest stack for the main thread of the target process:
  55  start + 40 (lazarus + 5464) [0x11558]
  55  _start + 206 (lazarus + 5671) [0x11627]
  55  main + 32 (lazarus + 5872) [0x116f0]
  55  FPC_SysEntry + 17 (lazarus + 151265) [0x34ee1]
  55  LNFODWRF_$$_DWARFBACKTRACESTR$POINTER$$SHORTSTRING + 113 (lazarus + 172417) [0x3a181]
  54  LNFODWRF_$$_OPENDWARF$POINTER$$BOOLEAN + 46 (lazarus + 163726) [0x37f8e]
  54  EXEINFO_$$_GETMODULEBYADDR$POINTER$POINTER$SHORTSTRING + 103 (lazarus + 173175) [0x3a477]
  54  DL_$$_UNIXGETMODULEBYADDR$POINTER$POINTER$OPENSTRING + 83 (lazarus + 845571) [0xde703]
  54  dladdr + 81 (libdyld.dylib + 10998) [0x9f785af6]
  54  dladdr + 153 (dyld + 55225) [0x339c7b9]
  12  ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 179 (dyld + 109953) [0x33a9d81] (running)


Process:         lazarus (Lazarus) [81683]
Path:            /Users/USER/*/lazarus.app/Contents/MacOS/lazarus
Architecture:    i386
Parent:          startlazarus [78422]
Responsible:     startlazarus [78422]
UID:             501
Task size:       132 MB
Pageins:         1 pages
CPU Time:        5.393
Note:            Unresponsive for 114 seconds before sampling
Note:            1 idle work queue threads omitted

  Thread 0x45573            DispatchQueue 1           55 samples (1-55)         priority 38-47 (base 47)  cpu time 5.393
  <process frontmost, thread QoS user interactive (requested user interactive), process unclamped, process received importance donation from WindowServer [151], IO tier 0, priority 47 (47)>
  55  start + 40 (lazarus + 5464) [0x11558] 1-55
    55  _start + 206 (lazarus + 5671) [0x11627] 1-55
      55  main + 32 (lazarus + 5872) [0x116f0] 1-55
        55  FPC_SysEntry + 17 (lazarus + 151265) [0x34ee1] 1-55
          55  LNFODWRF_$$_DWARFBACKTRACESTR$POINTER$$SHORTSTRING + 113 (lazarus + 172417) [0x3a181] 1-55
            28  LNFODWRF_$$_OPENDWARF$POINTER$$BOOLEAN + 46 (lazarus + 163726) [0x37f8e] 1-28
              28  EXEINFO_$$_GETMODULEBYADDR$POINTER$POINTER$SHORTSTRING + 103 (lazarus + 173175) [0x3a477] 1-28
                28  DL_$$_UNIXGETMODULEBYADDR$POINTER$POINTER$OPENSTRING + 83 (lazarus + 845571) [0xde703] 1-28
                  28  dladdr + 81 (libdyld.dylib + 10998) [0x9f785af6] 1-28
                    28  dladdr + 153 (dyld + 55225) [0x339c7b9] 1-28
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 179 (dyld + 109953) [0x33a9d81] (running) 1
  <priority 41 (47)>
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 136 (dyld + 109910) [0x33a9d56] (running) 2
  <priority 38 (47)>
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 87 (dyld + 109861) [0x33a9d25] (running) 3
  <priority 42 (47)>
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 179 (dyld + 109953) [0x33a9d81] (running) 4
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 136 (dyld + 109910) [0x33a9d56] (running) 5
  <priority 44 (47)>
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 65 (dyld + 109839) [0x33a9d0f] (running) 6
  <priority 45 (47)>
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 65 (dyld + 109839) [0x33a9d0f] (running) 7
  <priority 46 (47)>
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 139 (dyld + 109913) [0x33a9d59] (running) 8
  <priority 47 (47)>
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 139 (dyld + 109913) [0x33a9d59] (running) 9
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 179 (dyld + 109953) [0x33a9d81] (running) 10
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 139 (dyld + 109913) [0x33a9d59] 11
                       *1   return_from_trap + 175 (kernel + 669455) [0xffffff80002a370f] 11
                         *1   i386_astintr + 46 (kernel + 2123694) [0xffffff80004067ae] 11
                           *1   ast_taken + 233 (kernel + 965113) [0xffffff80002eb9f9] 11
                             *1   bsd_ast + 1079 (kernel + 5808583) [0xffffff800078a1c7] 11
                               *1   postsig_locked + 630 (kernel + 5806902) [0xffffff8000789b36] 11
                                 *1   sendsig + 3412 (kernel + 6459924) [0xffffff8000829214] 11
                                   *1   ??? (kernel + 1212805) [0xffffff8000328185] 11
                                     *1   ??? (kernel + 2104746) [0xffffff8000401daa] 11
                                       *1   valid_user_segment_selectors + 364 (kernel + 2044428) [0xffffff80003f320c] (running) 11
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 142 (dyld + 109916) [0x33a9d5c] (running) 12
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 70 (dyld + 109844) [0x33a9d14] (running) 13
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 139 (dyld + 109913) [0x33a9d59] (running) 14
                      2   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 136 (dyld + 109910) [0x33a9d56] (running) 15-16
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 179 (dyld + 109953) [0x33a9d81] (running) 17
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 70 (dyld + 109844) [0x33a9d14] (running) 18
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 136 (dyld + 109910) [0x33a9d56] (running) 19
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 179 (dyld + 109953) [0x33a9d81] (running) 20
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 65 (dyld + 109839) [0x33a9d0f] (running) 21
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 179 (dyld + 109953) [0x33a9d81] (running) 22
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 56 (dyld + 109830) [0x33a9d06] (running) 23
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 179 (dyld + 109953) [0x33a9d81] (running) 24
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 136 (dyld + 109910) [0x33a9d56] (running) 25
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 102 (dyld + 109876) [0x33a9d34] (running) 26
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 84 (dyld + 109858) [0x33a9d22] (running) 27
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 179 (dyld + 109953) [0x33a9d81] (running) 28
            1   LNFODWRF_$$_GETLINEINFO$LONGWORD$SHORTSTRING$SHORTSTRING$LONGINT$$BOOLEAN + 63 (lazarus + 171647) [0x39e7f] (running) 29
            26  LNFODWRF_$$_OPENDWARF$POINTER$$BOOLEAN + 46 (lazarus + 163726) [0x37f8e] 30-55
              26  EXEINFO_$$_GETMODULEBYADDR$POINTER$POINTER$SHORTSTRING + 103 (lazarus + 173175) [0x3a477] 30-55
                26  DL_$$_UNIXGETMODULEBYADDR$POINTER$POINTER$OPENSTRING + 83 (lazarus + 845571) [0xde703] 30-55
                  26  dladdr + 81 (libdyld.dylib + 10998) [0x9f785af6] 30-55
                    26  dladdr + 153 (dyld + 55225) [0x339c7b9] 30-55
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 56 (dyld + 109830) [0x33a9d06] (running) 30
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 84 (dyld + 109858) [0x33a9d22] (running) 31
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 139 (dyld + 109913) [0x33a9d59] (running) 32
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 59 (dyld + 109833) [0x33a9d09] (running) 33
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 179 (dyld + 109953) [0x33a9d81] (running) 34
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 87 (dyld + 109861) [0x33a9d25] (running) 35
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 164 (dyld + 109938) [0x33a9d72] (running) 36
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 179 (dyld + 109953) [0x33a9d81] (running) 37
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 157 (dyld + 109931) [0x33a9d6b] (running) 38
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 59 (dyld + 109833) [0x33a9d09] (running) 39
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 136 (dyld + 109910) [0x33a9d56] (running) 40
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 84 (dyld + 109858) [0x33a9d22] (running) 41
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 142 (dyld + 109916) [0x33a9d5c] (running) 42
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 136 (dyld + 109910) [0x33a9d56] (running) 43
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 102 (dyld + 109876) [0x33a9d34] (running) 44
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 70 (dyld + 109844) [0x33a9d14] (running) 45
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 142 (dyld + 109916) [0x33a9d5c] (running) 46
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 59 (dyld + 109833) [0x33a9d09] (running) 47
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 139 (dyld + 109913) [0x33a9d59] (running) 48
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 99 (dyld + 109873) [0x33a9d31] (running) 49
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 136 (dyld + 109910) [0x33a9d56] (running) 50
                      2   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 179 (dyld + 109953) [0x33a9d81] (running) 51-52
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 136 (dyld + 109910) [0x33a9d56] (running) 53
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 56 (dyld + 109830) [0x33a9d06] (running) 54
                      1   ImageLoaderMachOClassic::findClosestSymbol(void const*, void const**) const + 87 (dyld + 109861) [0x33a9d25] (running) 55

  Thread 0x45b63            DispatchQueue 1712        55 samples (1-55)         priority 37 (base 37)
  <process frontmost, thread QoS user initiated (requested user initiated, override user initiated), process unclamped, process received importance donation from WindowServer [151], IO tier 0>
  55  start_wqthread + 34 (libsystem_pthread.dylib + 14570) [0x9f9978ea] 1-55
    55  _pthread_wqthread + 1070 (libsystem_pthread.dylib + 15678) [0x9f997d3e] 1-55
      55  _dispatch_worker_thread3 + 110 (libdispatch.dylib + 13175) [0x9f757377] 1-55
        55  _dispatch_root_queue_drain + 321 (libdispatch.dylib + 13578) [0x9f75750a] 1-55
          55  _dispatch_queue_override_invoke + 314 (libdispatch.dylib + 67251) [0x9f7646b3] 1-55
            55  _dispatch_queue_invoke + 969 (libdispatch.dylib + 41395) [0x9f75e1b3] 1-55
              55  _dispatch_queue_serial_drain + 870 (libdispatch.dylib + 101079) [0x9f76cad7] 1-55
                55  _dispatch_client_callout + 50 (libdispatch.dylib + 6604) [0x9f7559cc] 1-55
                  55  _dispatch_call_block_and_release + 15 (libdispatch.dylib + 41892) [0x9f75e3a4] 1-55
                    55  ??? (<7C89B328-E422-3EAB-BE91-9CFA59FE1B5F> + 2209714) [0x117227b2] 1-55
                      55  ??? (<7C89B328-E422-3EAB-BE91-9CFA59FE1B5F> + 2195466) [0x1171f00a] 1-55
                        55  pthread_cond_wait$UNIX2003 + 51 (libsystem_pthread.dylib + 27300) [0x9f99aaa4] 1-55
                          55  __psynch_cvwait + 10 (libsystem_kernel.dylib + 111378) [0x9f8b7312] 1-55
                           *55  psynch_cvcontinue + 0 (pthread + 39138) [0xffffff7f80f698e2] 1-55

  Binary Images:
               0x10000 -          0x1222fff  lazarus.freepascal.ide Lazarus IDE v1.7 beta (1) <CBC2F24F-90D3-3836-A42D-3057D102DD2F>  /Users/USER/*/lazarus.app/Contents/MacOS/lazarus
             0x338f000 -          0x33c8fff  dyld (421.2)                                     <B3CA3853-74FA-31A2-AFB3-B0C499268064>  /usr/lib/dyld
            0x11507000 -                ???  ???                                              <7C89B328-E422-3EAB-BE91-9CFA59FE1B5F>
            0x9f754000 -         0x9f782fff  libdispatch.dylib (703.30.5)                     <7E622FE8-0D74-3798-AE91-6AA85BAE2A8C>  /usr/lib/system/libdispatch.dylib
            0x9f783000 -         0x9f788fff  libdyld.dylib (421.2)                            <781D23E1-0E01-322F-AFAC-6636F23E6670>  /usr/lib/system/libdyld.dylib
            0x9f89c000 -         0x9f8bdfff  libsystem_kernel.dylib (3789.41.3)               <CDB880C0-9969-3C43-82CA-75C683A4F241>  /usr/lib/system/libsystem_kernel.dylib
            0x9f994000 -         0x9f99dfff  libsystem_pthread.dylib (218.30.1)               <03ADF55F-41C7-34C6-AA6A-36C6CE4668D9>  /usr/lib/system/libsystem_pthread.dylib
   *0xffffff7f80f60000 - 0xffffff7f80f6bfff  com.apple.kec.pthread 1.0 (1)                    <479F2E9E-1F15-3D76-A407-DB04C1277527>  /System/Library/Extensions/pthread.kext/Contents/MacOS/pthread
   *0xffffff8000200000 - 0xffffff80009fffff  kernel (3789.41.3)         
Title: Re: Fpcupdeluxe
Post by: josh on February 18, 2017, 12:29:59 am
Update:
i could not figure out what was causing the issue; so as the app was new, I re-created the project on the MAC with all form components the same, I then copied the old form unit code to the new one; reset all the component events the same, and the project works on both mac and windows.

Odd to say the least, maybe something within the lfm; caused the problem.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 18, 2017, 07:57:34 am
Good news. And thanks for the feedback !
Title: Re: Fpcupdeluxe
Post by: josh on February 19, 2017, 09:56:33 pm
Hi

Spoke too soon.....

After writing some code; nothing mac specific; the application will now not compile on windows system. I can open the project, If I click a event of a component I get various messages and it jumps to a point in the application that has no error ( and this point is not consistent); but at no point am I directed to the actual event.

After checking all lines; and making some visual changes; ie more readable code. Now when I click an event, I get un able to show method; and points to the Unit declaration line ( ie line 1 of project unit file).

I cannot compile now for windows in release or debug mode; application bombs out with SIGSEV error.

If I copy this project to the MAC I can open project, compile it and clicking any event jumps to the correct event, no errors at all.

On previous trunk version this was not an issue; I could move project freely between PC/MAC and everything would operate fine.

So its a complete opposite as my initial problem; but the same project was recreated this time on the mac and now has problems on windows.

I am using Trunk rev54130 as later ones will not compile as initially reported.

Any one else experience this; its annoying as it did not happen immediately...
Title: Re: Fpcupdeluxe
Post by: Petr Nehez on February 20, 2017, 12:51:47 am
Hi,

I am trying to install "newpascal" and "newpascal" but compiling of lazarus is failing again and again.
I am on Win10 64bit, I am using win-64 version and I try to install x86_64 and "windows".

Quote
C:\WORK\FPCx\lazarus\components\sqldb\registersqldb.pas(75,5) Fatal: (10022) Can't find unit oracleconnection used by registersqldb
C:\WORK\FPCx\lazarus\components\lazreport\source\lr_funct_editor_unit.pas(24,26) Hint: (5024) Parameter "Sender" not used
C:\WORK\FPCx\lazarus\components\lazreport\source\lr_funct_editor_unit.pas(23,25) Hint: (5024) Parameter "Sender" not used
C:\WORK\FPCx\lazarus\components\lazreport\source\lr_funct_editor_unit.pas(23,51) Hint: (5024) Parameter "CloseAction" not used
C:\WORK\FPCx\lazarus\components\lazreport\source\lr_funct_editor_unit.pas(25,29) Hint: (5024) Parameter "Sender" not used
Fatal: (1018) Compilation aborted
Error: C:\WORK\FPCx\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode
Error: (lazarus) Compile package SQLDBLaz 1.0.2: stopped with exit code 1
C:\WORK\FPCx\lazarus\components\lazreport\source\lr_funct_editor_unit.pas(26,29) Hint: (5024) Parameter "Sender" not used
C:\WORK\FPCx\lazarus\components\lazreport\source\lr_funct_editor_unit.pas(27,32) Hint: (5024) Parameter "Sender" not used
C:\WORK\FPCx\lazarus\components\lazreport\source\lr_funct_editor_unit1.pas(31,26) Hint: (5024) Parameter "Sender" not used
Error: (lazarus) Compile package ExternHelp 1.3: terminated
Error: (lazarus) Compile package lazdatadict 0.0: terminated
Error: (lazarus) Compile package lazreport 0.9.9: terminated
Error: (lazarus) [TLazPackageGraph.CompileRequiredPackages] "Exit code 1"

fpcupdeluxe: info: InstallerUniversal: error trying to rebuild Lazarus.
Details:
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence suggestedpackages; line: 5, param: suggestedpackages
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 2, param: suggestedpackages
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence lazarus; line: 7, param: UniversalDefault
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Only; line: 1, param: lazarus


ERROR: Fpcupdeluxe failed.

The file "oracleconnection.pp" exists at c:\WORK\FPCx\fpcsrc\packages\fcl-db\src\sqldb\oracle\oracleconnection.pp.

I tried to install lazarus only but it is still the same.
FPC has been installed fine without errors.

Any idea what I am doing wrong?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 20, 2017, 09:03:10 am
@Petr.Nehez
Oracle for win64 has been enabled in Lazarus. But it seems that the FPC trunk (and thus NewPascal)  is not (yet) ready for it !

As fpcupdeluxe user, you can try for yourself, by doing the following.

I have attached a patch for FPC. Ask fpcupdeluxe to use this patch in the Setup+ screen (low left).
Press install/update on the main screen and I hope you will succeed.
If so, a bug report has to be filed.
Title: Re: Fpcupdeluxe
Post by: Petr Nehez on February 20, 2017, 09:42:12 am
@DonAlfredo - thanks, the patch has worked perfectly!
Was there a Lazarus' issue to block Oracle under Win64? Do you know a number of the issue in mantis?

I was using NewPascal's binaries directly from releases on github.
If I want now to install i386/win32 support for win64 Lazarus is it enough to just select i386 and press "FPC only"?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 20, 2017, 09:50:45 am
Look here:
http://bugs.freepascal.org/view.php?id=31343
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&root=lazarus&revision=54131

And win64 -> win32 will NOT work !!

http://bugs.freepascal.org/view.php?id=29892
http://bugs.freepascal.org/view.php?id=9262
Title: Re: Fpcupdeluxe
Post by: Petr Nehez on February 20, 2017, 09:55:20 am
OK, thanks, I see.

But win32 -> win64  should work, no?
I know that this can be done via NP's binaries.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 20, 2017, 09:58:25 am
Yes, this is the preferred method !
Title: Re: Fpcupdeluxe
Post by: Petr Nehez on February 20, 2017, 10:03:31 am
@DonAlfredo
Could you help me to do the correct cross-compiler installation on Win64?

Should I select "i386" and install FPC and Lazarus and do the fresh installation?
Then if want to install win64 support what should I do?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 20, 2017, 10:10:16 am
If you use fpcupdeluxe-win32 to install FPC/Lazarus, a win64 crosscompiler will also be installed automagically ! So its there, including GDB for win64, with also automagically switch-over ... ;-)
Title: Re: Fpcupdeluxe
Post by: Petr Nehez on February 20, 2017, 12:04:46 pm
Thanks, that worked like a charm!

One more question: is it possible to use Fpcupdeluxe as command-line/bash utility?
I am thinking to include it into Jenkins.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 20, 2017, 12:14:34 pm
Fpc(laz)up is your friend in this case !

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

However, its a bit lacking behind fpcupdeluxe now.
Will update soon.
Title: Re: Fpcupdeluxe
Post by: vfclists on February 21, 2017, 11:50:02 pm
How can fpcupdeluxe be configured to run on local repositories?

I don't have a good online connection and I want to mirror the required repos on my local network or in a VM. What files contain the mappingsof the packages to their repositories or archives,, so that I can mirror them and download them locally?
Title: Re: Fpcupdeluxe
Post by: Windsurfer on February 22, 2017, 11:09:46 pm
I have successfully installed fpc 3.0.2 and Laz 1.7 64 bit on Linux Mint 18.1 Cinnamon 64 bit. This runs successfully.

I have tried to install 32 bit fpc 3.0.2 and Laz 1.7 (in a new folder) but it fails. The messages indicate that non of the required libraries can be found. They are installed, or the first installation would not work, and I have checked them in synaptic. (I want to cross compile.)

Am I missing something obvious?

pcupdeluxe: ERROR: Required package is not installed for Lazarus: libpango-1.0.so
fpcupdeluxe: ERROR: Required package is not installed for Lazarus: libgdk-x11-2.0.so
fpcupdeluxe: ERROR: You need to install at least libx11-dev libgtk2.0-dev libcairo2-dev libpango1.0-dev libxtst-dev libgdk-pixbuf2.0-dev libatk1.0-dev libghc-x11-dev to build Lazarus !!
fpcupdeluxe: ERROR: Make, binutils, subversion/svn [and gdb] are also required !!
fpmake.pp(47,1) Error: Error while linking
fpcupdeluxe: ERROR: Error running BuildModuleCustom for module FPC
ERROR: Fpcupdeluxe failed.
Title: Re: Fpcupdeluxe
Post by: jacmoe on February 23, 2017, 12:00:55 am
Yes, you missed something obvious.  ;D

Code: Pascal  [Select]
  1. sudo apt-get install libgtk2.0-dev libcairo2-dev libpango1.0-dev libxtst-dev libgdk-pixbuf2.0-dev libatk1.0-dev libghc-x11-dev subversion buildessential

Check the error messages you posted.
Title: Re: Fpcupdeluxe
Post by: Pascal on February 23, 2017, 12:47:58 am
I am using TortoiseSVN ... no problems.
It seems definitely a svn problem. But a strange one !

You could do a check by getting the FPC and Lazarus repo's by hand.
Fpcupdeluxe expects the repos/sources in a dir-structure like this:
installdir/fpcsrc
installdir/lazarus

Point fpcupdeluxe towards this installdir.
Please be sure that"" Split FPC sources and bins" is checked in setup+.
Also be sure that these sources are real repos, including a .svn directory.
No, it was not svn related. An old FPC installation in C:\pp was the problem. I removed the directory and everything worked. I have no clue how this could influence the make script! And also this dir is not set in any PATH.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 23, 2017, 07:28:04 am
@Pascal
Glad it worked for you in the end. But this error/problem should not have happened. I will investigate this.

@vfclists
Yes, fpcupdeluxe can run on a local repo.
Fpcupdeluxe expects the repos/sources in a dir-structure like this:
installdir/fpcsrc
installdir/lazarus
Point fpcupdeluxe towards this installdir.
Please be sure that"" Split FPC sources and bins" is checked in Setup+.
Please be sure that"" FPC/Laz rebuild only" is checked in Setup+.

Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 23, 2017, 07:31:11 am
@Windsurfer
If I understand you correct.
Fpcupdeluxe is not prepared (yet) to use multilibs (32bit on a 64bit system).
Title: Re: Fpcupdeluxe
Post by: Windsurfer on February 23, 2017, 09:27:33 am
@Jacmoe,
Those packages are all installed, otherwise the 64 bit install would not work. I was a little alarmed because buildessential could not be found. A quick check with synaptic showed it should be build-essential. :)

@DonAlfredo,
Thanks for the information and all the work you put into fpcupdeluxe.

I'll install in my Virtualbox Windows XP and 10 for (edit: instead of)  cross compiling.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 23, 2017, 10:39:08 am
@Windsurfer
I have the multilib working now, but not without some manual work.
E.g.
The linker still complains about missing -lcairo (among other missing libs).
This is due to the fact that for x86_64, many softlinks are available for the libs.
x86_64:
libcairo.so -> libcairo.so.2 -> libcairo.so.2.11400.6
multi_i386:
libcairo.so.2 -> libcairo.so.2.11400.6

Thus, for multilib, the link towards the plain .so is missing, causing the i386 linker to complain.

So, I wonder if it makes sense to include this feature into fpcupdeluxe, if it still meaans that it will error out ! Any ideas ?
Title: Re: Fpcupdeluxe
Post by: Windsurfer on February 23, 2017, 01:51:39 pm
@DonAlfredo
I think that, if it is going to always have errors, the best solution is an error message reference to a Wiki page with the manual instructions.

We already have the 'sudo apt-get install ...' instruction. It is not much more for the user to do.
Title: Re: Fpcupdeluxe
Post by: jacmoe on February 23, 2017, 06:22:47 pm
Odd that you have problems. I have a 64bit Lazarus Linux install, and simply installed the win32 cross build tools in Fpcupdeluxe without incident, and performed a successful win32 build in the IDE, which I tested on a VBox Win2000.
So, unless I misunderstood what you are doing, I can confirm that it works on my box.
Title: Re: Fpcupdeluxe
Post by: Windsurfer on February 24, 2017, 09:29:20 am
@Jacmoe

I may be doing something silly, a frequent occurrence according to my wife!
How did you install the win32 cross build tools?
Title: Re: Fpcupdeluxe
Post by: jacmoe on February 24, 2017, 01:12:43 pm
I opened Fcpupdeluxe, chose CPU and OS and clicked 'Install cross-compiler' :
Title: Re: Fpcupdeluxe
Post by: jacmoe on February 24, 2017, 01:22:24 pm
Er, I haven't tried it with Lazarus 32bit, simply because it didn't occur to me that this would be a good idea, considering that I am running a 64bit system.
However, that doesn't mean that I can't cross-compile to 32bit Windows.

Perhaps it is I who is being silly?
Title: Re: Fpcupdeluxe
Post by: Girlbrush on February 24, 2017, 01:40:57 pm
Er, I haven't tried it with Lazarus 32bit, simply because it didn't occur to me that this would be a good idea, considering that I am running a 64bit system.
However, that doesn't mean that I can't cross-compile to 32bit Windows.

Perhaps it is I who is being silly?
If your development environment is 32-bit, you need a cross-compiler to 64-bit.

Edit: I am also trying to get a 3.0.2 cross-compiler to 32-bit on windows x64. Not hugely urgent, but I can't recommend our team to switch to the newer version until I do.
Title: Re: Fpcupdeluxe
Post by: jacmoe on February 24, 2017, 02:18:20 pm
If your development environment is 32-bit, you need a cross-compiler to 64-bit.
Yes, but it is not. I referred to that I cross-compiled to Windows 32bit using my 64bit development environment by installing the win32/Windows cross-compiler.
I assume that it created a 32bit executable because it ran in Win2000 in VBox.
Title: Re: Fpcupdeluxe
Post by: vfclists on February 28, 2017, 10:22:32 am
I am using fpcupdeluxe 1.20i 64bit for Windows and it seems to have a logical bug on it.

If in the IDE I select i386 and Win32 output it generates 64bit executables. When I select i386 CPU and Linux output it still generates Windows executable which is rather illogical. It simply seems to ignore the output options altogether and only generates for the its own operating system and architecture
Title: Re: Fpcupdeluxe
Post by: serbod on February 28, 2017, 12:51:59 pm
fpcupdeluxe hangs up on lazbuild.exe when non-default language localization used and lazbuild.exe output contains non-latin characters.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on February 28, 2017, 03:22:43 pm
I am rather busy at the moment ... will address these issues next week !
Title: Re: Fpcupdeluxe
Post by: bvirtual on March 01, 2017, 01:58:57 am
Subject: fpmkunit.pp(19,2) Error: Mode switch "OBJFPC" not allowed here
---

Update: This top section was added a few minutes after I posted, based upon Cyrax's reqeust for version info here

http://forum.lazarus.freepascal.org/index.php/topic,36029.0.html

Below I have included my full reply to Cyrax's, with my action item of downloading version 1.20l, not the i I used.  Alfredo is rapid in his releases.  +1   :D


I have reported this post to the webmaster, asking them to 'remove' it (I see I could have done that myself), as
I have just reposted to the right thread, that Alfredo reads.   http://forum.lazarus.freepascal.org/index.php/topic,34645.405.html

Point is, this thread may disappear soon. 

Your question does need an answer, and here it is.  Appearing in the title bar of my snapshot

I read this post of Feb 5th:

    http://forum.lazarus-ide.org/index.php?topic=27211.240

by DonAlfredo giving this link

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

I was thinking 22 days old was 'good' enough - but now I see the v1.2.0i - that 'i', is old - SURPRISE ME Alfredo had released 'l' now according to:

    https://github.com/newpascal/fpcupdeluxe/releases

Wow, Alfredo is burning through everyone's wish list, so rapidly.  Kudos to Alfredo!!!

So, I will RETRY with the latest.

---

I started using Lazarus/FPC just 3 weeks ago, trying for a Linux cross compile to Mac OS X Intel, and have done a dozen different installs, following any of three instructions, and glad to have found fpcup/deluxe.  Condolences on the passing of the previous author.   Alfredo, you have certainly taken the project forward, so rapidly.  Congrats.  I really have high hopes that fpcupdeluxe will come through for me.  Sure has a nice interface, though on Ubuntu 16 Unity the buttons look perhaps like selected options, no button shadow, fyi.  BTW, a screen shot of your busy interface would have really caught my imagination, and I would have immediately tried, instead of waiting 2 hours.

I downloaded fpcupdeluxe-x86_64-linux binary and softlinked fpcupdeluxe to fpcupdeluxe-x86_64-linux for the below:

    fpcupdeluxe   --fpcURL=trunk --lazURL=trunk --installdir=/home/lee/fpc3  --verbose

on Ubuntu 16.04 AMD64.  The window opened, and I changed from 'default' to 'trunk' in both the FPC and Lazarus selection lists.

I clicked on the Trunk Button, and after I got the below error, I cd'ed to the folder, and pasted in the compile command, and got the same error.  Then, I pressed the Install FPC & Lazarus button, and got the same error.  Do you need more info?

BTW, the --installdir was not honored.  Does Clang need to be installed (I'm thinking not).

EXCERPT (blank lines surrounding the error are added by me):

make packages_smart FPC=/home/pete/fpcupdeluxe/fpcsrc/compiler/ppcx64 FPCFPMAKE=/home/pete/fpcupdeluxe/fpcsrc/compiler/ppcx64 RELEASE=1 'OPT=-Sg -vi-n-h-'
make[1]: Entering directory '/home/pete/fpcupdeluxe/fpcsrc'
make -C packages smart
make[2]: Entering directory '/home/pete/fpcupdeluxe/fpcsrc/packages'
make -C fpmkunit bootstrap
make[3]: Entering directory '/home/pete/fpcupdeluxe/fpcsrc/packages/fpmkunit'
/bin/mkdir -p units_bs/x86_64-linux

/home/pete/fpcupdeluxe/fpcsrc/compiler/ppcx64 src/fpmkunit.pp  -Fu/home/pete/fpcupdeluxe/fpcsrc/rtl/units/x86_64-linux -FUunits_bs/x86_64-linux -Fu../paszlib/src -Fu../hash/src -Fi../paszlib/src -Cg  -Fi../fcl-process/src/unix -Fu../fcl-process/src -Fi../fcl-process/src/linux -Fi../fcl-process/src/dummy -Fu../libtar/src -Sg -vi-n-h-
Free Pascal Compiler version 3.1.1 [2017/02/28] for x86_64
Copyright (c) 1993-2017 by Florian Klaempfl and others

fpmkunit.pp(19,2) Error: Mode switch "OBJFPC" not allowed here
pipes.pp(61,1) Fatal: There were 1 errors compiling module, stopping

Fatal: Compilation aborted
Makefile:2357: recipe for target 'bootstrap' failed
make[3]: *** [bootstrap] Error 1
make[3]: Leaving directory '/home/pete/fpcupdeluxe/fpcsrc/packages/fpmkunit'
Makefile:1709: recipe for target 'fpmake' failed
make[2]: *** [fpmake] Error 2
make[2]: Leaving directory '/home/pete/fpcupdeluxe/fpcsrc/packages'
Makefile:2738: recipe for target 'packages_smart' failed
make[1]: *** [packages_smart] Error 2
make[1]: Leaving directory '/home/pete/fpcupdeluxe/fpcsrc'
Makefile:2933: recipe for target 'build-stamp.x86_64-linux' failed
make: *** [build-stamp.x86_64-linux] Error 2
make: Leaving directory '/home/pete/fpcupdeluxe/fpcsrc'

fpcupdeluxe: info: FPC: Error running make failed with exit code 512
. Details:
fpcupdeluxe: ERROR: Error running BuildModuleCustom for module FPC
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup /home/pete/fpcupdeluxe/fpcsrc/utils/bin
fpcupdeluxe: WARNING: FPC cleanup: could not cleanup /home/pete/fpcupdeluxe/fpcsrc/utils/units/x86_64-linux
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc
Title: Re: Fpcupdeluxe
Post by: bvirtual on March 01, 2017, 02:47:19 am
I reran with V1.2.0.l and got the same error as above.  I've attached the full log zip per Cyrax's request.  And a screen snap shot of the GUI with log displayed.  I only clicked on the Install/update FPC+Lazarus button, this time, using "default" for both Version Selection Lists.

Title: Re: Fpcupdeluxe
Post by: bvirtual on March 01, 2017, 03:47:25 am
I tried the bottom button "2.6.4+1.4" and it just finished with Success!

So, I will install the cross compiler for i386-Darwin now.  If cross compiling will work with these old versions?

While the 2.6.4 was installing I read the full log that I posted.  Well scanned it.  Lots of good output, verbose mode is Great!  I saw nothing obvious.

I still want 3.0.0 cross compiler for i386-Darwin, as the code I have inherited uses MacOSAll.   The code is old, and works on Mac PowerPC, and I must get it work for Mac Intel.

I have access to a Mac 10.6.8, and Lazarus did install, and the code did compile, but all three buttons gave the error "File Not Found", which is ok, but the Quit button gave the same error, and the code for quitting opens no files.  Sigh.  The debugger gdb did not work, so I must install the Mac debugger next.
Title: Re: Fpcupdeluxe - command line option?
Post by: vfclists on March 02, 2017, 03:23:13 am
I am trying out fpcdeluxe on  Linux system and it has been hanging every time.. I have to kill it using the command line and when I do that X Windows fails completely and I have to restart the computer.

Has anyone had such an experience?

Another thing I want to know is if fpcupdeluxe runs a command line in the backgroud, using the fpcup.ini and settings.ini files. If it does I will be happy to execute the commands directly in the shell if the GUI aspect is the one causing it hang.

Title: Re: Fpcupdeluxe
Post by: jacmoe on March 02, 2017, 04:02:56 pm
Yes, I experienced this yesterday and today.
The problem seems to be that Fpcupdeluxe does not yet handle the fact that there is a new Lazarus/FPC release.
Hitting the 'Stable' button allowed the program to successfully carry out all of it's tasks.
Title: Re: Fpcupdeluxe
Post by: Richard on March 02, 2017, 07:35:41 pm
Ran fpcupdeluxe build 2017-02-21, on Debian Linux base, x86_64 cpu.

I selected stable versions of fpc-3.0.2 and Lazarus-1.6.2 for x86_64, Linux and chose to build fpc/Laz in my /home dir. Had to install subversion but then ran into this problem:

Code: [Select]
fpcupdeluxe: info: Error running fpcup.
Technical details: error executing sequence fpc;
line: 5, param: FPC

fpcupdeluxe: info: Error running fpcup.
Technical details: error executing sequence Default;
line: 3, param: fpc

What might I be missing? This is a fresh install in English, so no mixed dir names.

Thanks for your tips.

Title: Re: Fpcupdeluxe
Post by: Richard on March 02, 2017, 10:26:44 pm
I'm running MX Linux based on Debian Jessie (current stable. fpcupdeluxe says I need libgdk-x11-2.0.so,
but so far I've been unable to locate it.

Is this version compatible with Jessie or does fpcupdeluxe need Debian Stretch?
Title: Re: Fpcupdeluxe - command line option?
Post by: jacmoe on March 02, 2017, 10:27:42 pm
I am trying out fpcdeluxe on  Linux system and it has been hanging every time.. I have to kill it using the command line and when I do that X Windows fails completely and I have to restart the computer.
I think I have an idea of what's wrong

No, my issue was because I've installed the onlinepackagemanager (from trunk) into my Lazarus/FPC fixes installation. And that broke the Fpcupdeluxe update method.
So, don't do that.
Or, uninstall that package before updating.
Title: Re: Fpcupdeluxe - fault in fpc.cfg?
Post by: vfclists on March 04, 2017, 02:02:58 pm
I am looking at the fpc.cfg file created by fpcupdeluxe and I see this block which looks faulty to me.

Code: Pascal  [Select]
  1. # path to the gcclib
  2. #ifdef cpui386
  3. -Fl/usr/lib/gcc/x86_64-linux-gnu/4.9
  4. #endif
  5. #ifdef cpux86_64
  6. -Fl/usr/lib/gcc/x86_64-linux-gnu/4.9
  7. #endif
  8.  

Shouldn't the #ifdef cpui386 option map to -Fl/usr/lib/gcc/i386-linux-gnu/4.9 or perhaps -Fl/usr/lib/gcc/i586-linux-gnu/4.9 ?
Title: Re: Fpcupdeluxe
Post by: dogriz on March 04, 2017, 04:31:11 pm
I think that library paths are not the same on different linux distros.
Title: Re: Fpcupdeluxe
Post by: vfclists on March 04, 2017, 06:15:31 pm
I think that library paths are not the same on different linux distros.

The problem is that both cpui386 and cpux86_64 point to the same location
Title: Re: Fpcupdeluxe - fault in fpc.cfg?
Post by: marcov on March 04, 2017, 08:24:33 pm

Shouldn't the #ifdef cpui386 option map to -Fl/usr/lib/gcc/i386-linux-gnu/4.9 or perhaps -Fl/usr/lib/gcc/i386-linux-gnu/4.9 ?

If it is there, yes.
Title: Re: Fpcupdeluxe - fault in fpc.cfg?
Post by: vfclists on March 05, 2017, 02:26:04 pm

Shouldn't the #ifdef cpui386 option map to -Fl/usr/lib/gcc/i386-linux-gnu/4.9 or perhaps -Fl/usr/lib/gcc/i386-linux-gnu/4.9 ?

If it is there, yes.

When I check my /usr/lib/gcc directory I see i586, and x86_64. Shouldn't i386 be there as well, or does GCC target only the i586 architecture when it comes to i386?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on March 05, 2017, 03:02:28 pm
I am working on some off the issues reported here.

@vfclists
The fpc.cfg snippet you posted, does not seem to be created by fpcupdeluxe.
At least, I cannot find the code that should generate these settings.
Was it located in the fpcupdeluxe install-dir ?
Fpcupdeluxe only touched the install-dir. Nothing more, nothing less.
Title: Re: Fpcupdeluxe
Post by: Richard on March 08, 2017, 03:20:05 am
Thanks Don Alfredo,

Tonight ran fpcupdeluxe V1.2.0I for x86_64
on MX Linux x64, Jessie stable base,
choosing 32 bit fpc (since I need to build for 32 bit). Completed successfully. So nice to have the help installed without having to search for how-to.

Compiled Lazarus with Normal IDE.

Congratulations for the great work on fpcupdeluxe!

Saludos,
Richard.
Title: Re: Fpcupdeluxe
Post by: vfclists on March 10, 2017, 01:29:37 pm
I am working on some off the issues reported here.

@vfclists
The fpc.cfg snippet you posted, does not seem to be created by fpcupdeluxe.
At least, I cannot find the code that should generate these settings.
Was it located in the fpcupdeluxe install-dir ?
Fpcupdeluxe only touched the install-dir. Nothing more, nothing less.

Take a look at this - http://pastebin.com/99PY3i4D - around 172.

 Is there a template in the FPC or fpcupdeluxe that the fpc.cfg is generated from, and the parameters it is generated from?
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on March 10, 2017, 01:41:44 pm
Fpcupdeluxe just uses fpcmkcfg to generate a fpc.cfg. With only a single parameter:
-d basepath=ExcludeTrailingPathDelimiter(FInstallDirectory)

But the fpc.cfg you posted is touched-/made- by fpcupdeluxe.
So: strange error.

Will look into it and try to reproduce.
Title: Re: Fpcupdeluxe
Post by: vfclists on March 10, 2017, 01:56:17 pm
Fpcupdeluxe just uses fpcmkcfg to generate a fpc.cfg. With only a single parameter:
-d basepath=ExcludeTrailingPathDelimiter(FInstallDirectory)

But the fpc.cfg you posted is touched-/made- by fpcupdeluxe.
So: strange error.

Will look into it and try to reproduce.

Dpes fpcmkcfg use a template which is built into its own executable itself or is there a file in the FPC source code is uses as a template?
Title: Re: Fpcupdeluxe - recipe for target 'prt0.o' failed
Post by: vfclists on March 12, 2017, 02:33:41 pm
I am trying to build a 64bit version of Lazarus and this error keeps coming up.

Code: Pascal  [Select]
  1. Makefile:3449: recipe for target 'prt0.o' failed

Here is more detail leading up to the error. It appears to be an error from the as assembler.

Code: Pascal  [Select]
  1. make -C linux clean
  2. make[7]: Entering directory '{BUILD_DIR}/fpcsrc/rtl/linux'
  3. /bin/rm -f {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/prt0.o {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/dllprt0.o {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cprt0.o {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/gprt0.o
  4. /bin/rm -f {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/system.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/fpintres.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/si_prc.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/si_c.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/si_g.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/si_dll.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/uuchar.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/unixtype.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/ctypes.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/baseunix.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/strings.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/objpas.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/macpas.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/iso7185.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/syscall.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/unixutil.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/heaptrc.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/lineinfo.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/lnfodwrf.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/termio.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/unix.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/linux.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/initc.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cmem.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/x86.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/ports.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cpu.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/linuxvcs.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/sysutils.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/typinfo.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/math.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/charset.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cpall.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/character.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/unixcp.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/getopts.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/errors.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/dl.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/dynlibs.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/types.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/sysconst.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/fpwidestring.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cthreads.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/classes.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/fgl.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/rtlconsts.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/dos.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cwstring.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/fpcylix.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/exeinfo.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp1250.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp1251.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp1252.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp1253.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp1254.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp1255.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp1256.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp1257.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp1258.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp437.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp646.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp850.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp856.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp866.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp874.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp8859_1.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp8859_5.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp8859_2.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/cp852.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/unicodedata.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/unicodenumtable.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/syslinux.ppu {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/linux.ppu
  5. /bin/rm -f {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/math.rst {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/typinfo.rst {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/sysconst.rst {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/rtlconsts.rst
  6. /bin/rm -f fpcmade.x86_64-linux Package.fpc ./ppas.sh script.res link.res  
  7. /bin/rm -f *.s *_ppas.sh
  8. make[7]: Leaving directory '{BUILD_DIR}/fpcsrc/rtl/linux'
  9. make[6]: Leaving directory '{BUILD_DIR}/fpcsrc/rtl'
  10. make -C {BUILD_DIR}/fpcsrc/rtl 'OPT=-Sg -vi-n-h-  ' all
  11. make[6]: Entering directory '{BUILD_DIR}/fpcsrc/rtl'
  12. make -C linux all
  13. make[7]: Entering directory '{BUILD_DIR}/fpcsrc/rtl/linux'
  14. /bin/mkdir -p {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux
  15. as --64 -o {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/prt0.o x86_64/prt0.as
  16. Assembler messages:
  17. Fatal error: can't create {BUILD_DIR}/fpcsrc/rtl/units/x86_64-linux/prt0.o: No such file or directory
  18. Makefile:3449: recipe for target 'prt0.o' failed
  19. make[7]: *** [prt0.o] Error 1
  20. make[7]: *** Waiting for unfinished jobs....
  21.  

32bit build are working without problem. Is the problem likely to be the result of some missing Linux libraries or is it due to fpcupdeluxe itself?
Title: Re: Fpcupdeluxe
Post by: speller on March 12, 2017, 06:44:32 pm
How to build the android-i386 crosscompiler? Needed to debug apps in fast x86 emulator. ARM emulator is too slow to work with.
Title: Re: Fpcupdeluxe
Post by: josh on March 13, 2017, 01:40:11 pm
Thought I would check the state of the Cocoa-64 trunk.

Downloaded new fpcupdeluxe cocoa x64 1.2.0m and attempted install in new folder.

It am getting a error, and am unable to slelect and copy the log data, a ths causes an app crash.
The error how ever is
lazutils/utf8process.pp(171,23) incompatible type for arg 1 got pchar expect pcint

I will try cocoa-32 in new folder and test if this works; suspect changes in trunk is causing issues.

Tested on Cocoa 32, fresh folder same error.

Tested on Carbon, fresh folder same error.

So looks like lates trunk on osx non working.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on March 13, 2017, 02:21:46 pm
Already reported:
http://bugs.freepascal.org/view.php?id=31525

Please use FPC 3.0.2: works very well with Lazarus trunk for now.
Title: Re: Fpcupdeluxe
Post by: josh on March 13, 2017, 03:19:48 pm
Hi

Just cleared out install folder and tried again selecting 3.0.2 and laz trunk
I now do not get the previous error,but am getting other errors and again, I cannot copy screen to clipboard it out of bounds and a access error.
errors
lcl/interfaces/./carbon/carbonproc.pp(536,13) error 5000 identifier not found atsufndfontfromname
" " " " atsufindfontname
......
.....
getthemefont
getapplicatioscript


It is odd that referencing the carbonproc when i am using fpcupdeluxe for cocoa 64?

Josh
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on March 13, 2017, 03:46:31 pm
@josh
Please see:
http://wiki.lazarus.freepascal.org/Roadmap#Status_of_features_on_each_widgetset
As always, I would advice to install 32bit (as on Windows) and cross towards 64 bit.

edit:
The fpcupdeluxe cocoa version have been build with cocoa.
They do not build a Lazarus cocoa. They just use this widget.
I will look into this.

@xaver13
Please perform some forum-search first, before posting new issues.
This has already been reported just moments ago, in this thread.
Title: Re: Fpcupdeluxe
Post by: josh on March 13, 2017, 04:22:05 pm
Hi

I will try the cocoa 32 and see if that will complete,
I have seen the status page; but I do not think this is upto date regarding the cocoa implementation, hense wanting to try the latest to see what is not working, what has been added and what has been fixed.

Title: Re: Fpcupdeluxe
Post by: josh on March 13, 2017, 04:39:21 pm
Tried
fpcupdeluxe cocoa 32
laz 1.7 fpc 3.0.2

This error out
.../components/sqlib/registersqldb.pas 65,6 cant't find unit mssqlconn used by registersqldb

I would say LAZ SVN has some issues on OSX in cocoa

Now checking same config but with carbon.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on March 13, 2017, 04:53:35 pm
Seen this error also ... still trying to find out if this is easily solved by FPC or Lazarus.

edit:
And sorry about giving you the wrong advice earlier.
I did install FPC trunk with a patched (see bug-report about type change) Lazarus stable (1.6.4) version.
Title: Re: Fpcupdeluxe
Post by: josh on March 13, 2017, 05:28:32 pm
Tested with carbon, laz 1.7, fpc 3.0.2.

Same problem error in registersqldb
Title: Re: Fpcupdeluxe
Post by: josh on March 15, 2017, 04:07:57 pm
@DonAlfredo
Is this not MAC install, something to be reported to bugtracker; or is it currently being worked on?

Josh
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on March 15, 2017, 04:31:24 pm
@josh

I am waiting for this bug, before going on:
http://bugs.freepascal.org/view.php?id=31525
Need to know what FPC/Laz devs do to solve.
Title: Re: Fpcupdeluxe
Post by: josh on March 15, 2017, 08:16:02 pm
Okay, will wait and monitor the bugtracker to see for any developments..
Title: Re: Fpcupdeluxe
Post by: josh on March 17, 2017, 10:32:42 pm
Hi

No changes as of yet to get trunk working on OSX, so decided to go back to previous version.

I tried to go back to previous working SVN revision 54130
This also does NOT work now.

Maybe I need to also specify the FPC revision number as well now.

If so, any ideas of a working FPC revision number that will work

Cheers

Josh
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on March 18, 2017, 09:49:19 am
First, I would advice always to use the official FPC/Lazarus releases for installing FPC and Lazarus !

In your case: what is your goal ?
Do you need a very new FPC, Lazarus or both ?
Title: Re: Fpcupdeluxe
Post by: josh on March 18, 2017, 10:04:07 am
Hi

I have a few application that I am playing around with that were created with 1.7, and these do not open in 1.6.4.
Some of these test projects are testing the fpc 3.1.1. new features for curiosity and bug test also.

The reason I wish to get the latest SVN of the OSX version is so that I can check and test how complete the carbon and cocoa widgeset is, and report any issues bug that I find.

At the moment I have no working SVN on OSX at all. It is obviously not just me with this problem, so the amount of users that can test and report issues is reduced.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on March 19, 2017, 11:54:28 am
I have added a screenshot of FPC/Lazarus trunk running on Mac.
With the changes needed to get things running !
So, you can continue your work if you want.
Title: Re: Fpcupdeluxe
Post by: josh on March 19, 2017, 12:11:26 pm
Hi

Thanks for that that will definately help.

One further question, I previously tried modifying the utf8process with the {$IF FPC_FULLVERSION}.. as in the bugtracker, but had a problem in that when I re-ran fpcupdeluxe ; it re-downloaded and overwrote the file I had modified. probably because it had not completed the first install.

How do I tell fpcupdeluxe to not overwrite this file?
Title: Re: Fpcupdeluxe
Post by: Bart on March 19, 2017, 12:29:18 pm
I would hope that to update the source the equivalent of "svn up" is used, in which case your changes will not be overwritten, as long as there is no conflict (in which case you should be prompted for a required action).

About this issue specifically: please attach a patch file (against trunk) to the associated bugreport (http://bugs.freepascal.org/view.php?id=31525).
I'll ask some devel that actually has a Mac to apply it then.
(I don't like applying patches that I cannot even compile).

Bart
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on March 19, 2017, 12:45:56 pm
@josh
Use Setup+ to enable rebuild only.
See included screenshot.

@bart
My advice towards josh was just meant as a work-around.
I still have no clear view of it.
If I have, will file the report.

Title: Re: Fpcupdeluxe
Post by: josh on March 19, 2017, 01:51:13 pm
Hi
Well I am getting further, but still am getting build problems.

I have attached part of the log file, problem in DateTimeCtrlsDsgn

Code: [Select]
using config file /Users/josh/lazarus_trunk/lazarus/lazarus.cfg
SetPrimaryConfigPath NewValue="/Users/josh/lazarus_trunk/config_lazarus" -> "/Users/josh/lazarus_trunk/config_lazarus"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-iWTOTP"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-va" "compilertest.pas"
fpcupdeluxe: info: TUniversalInstaller: checking lpl file for datetimectrls
fpcupdeluxe: info: Installing DateTimeCtrlsDsgn version 1.5.1
Executing : /Users/josh/lazarus_trunk/lazarus/lazbuild "--pcp=/Users/josh/lazarus_trunk/config_lazarus" "--add-package" "/Users/josh/lazarus_trunk/lazarus/components/datetimectrls/design/DateTimeCtrlsDsgn.lpk" (working dir: )
using config file /Users/josh/lazarus_trunk/lazarus/lazarus.cfg
SetPrimaryConfigPath NewValue="/Users/josh/lazarus_trunk/config_lazarus" -> "/Users/josh/lazarus_trunk/config_lazarus"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-iWTOTP"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-va" "compilertest.pas"
Error: (lazbuild) The package name "" of
the file "/Users/josh/lazarus_trunk/lazarus/components/datetimectrls/design/DateTimeCtrlsDsgn.lpk" is invalid.

fpcupdeluxe: info: InstallerUniversal: error trying to add package DateTimeCtrlsDsgn
Details:
fpcupdeluxe: ERROR: TUniversalInstaller: error while installing package /Users/josh/lazarus_trunk/lazarus/components/datetimectrls/design/DateTimeCtrlsDsgn.lpk. Stopping
fpcupdeluxe: info: InstallerUniversal: going to rebuild Lazarus because packages were installed.
Executing : /Users/josh/lazarus_trunk/lazarus/lazbuild "--quiet" "--quiet" "--pcp=/Users/josh/lazarus_trunk/config_lazarus" "--build-ide=-dKeepInstalledPackages " "--build-mode=" (working dir: /Users/josh/lazarus_trunk/lazarus)
using config file /Users/josh/lazarus_trunk/lazarus/lazarus.cfg
SetPrimaryConfigPath NewValue="/Users/josh/lazarus_trunk/config_lazarus" -> "/Users/josh/lazarus_trunk/config_lazarus"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-iWTOTP"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-va" "compilertest.pas"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-iWTOTP" "-Pi386" "-Tdarwin" "-Fr/Users/josh/lazarus_trunk/lazarus/components/codetools/fpc.errore.msg"
Hint: (lazarus) [RunTool] /Users/josh/lazarus_trunk/fpc/bin/i386-darwin/fpc.sh "-va" "-Pi386" "-Tdarwin" "-Fr/Users/josh/lazarus_trunk/lazarus/components/codetools/fpc.errore.msg" "compilertest.pas"
fpcupdeluxe: info: InstallerUniversal: error trying to rebuild Lazarus.
Details:
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence suggestedpackages; line: 5, param: suggestedpackages
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence UniversalDefault; line: 2, param: suggestedpackages
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence LazCleanAndBuildOnly; line: 5, param: UniversalDefault
fpcupdeluxe: info: Error running fpcup. Technical details: error executing sequence Only; line: 2, param: LazCleanAndBuildOnly


ERROR: Fpcupdeluxe failed.

Title: Re: Fpcupdeluxe
Post by: DonAlfredo on March 19, 2017, 02:19:08 pm
There should be no problem in DateTimeCtrlsDsgn:
the lpk is not there
error reported
packages skipped
fpcupdeluxe continues

Please attach the whole log. Problem should be somewhere else.
Title: Re: Fpcupdeluxe
Post by: JD on March 23, 2017, 01:14:53 pm
Hi there Don Alfredo,

Any combination of Lazarus/FPC I download using fpcupdeluxe has a certain problem. When I open the Lazarus IDE, put a button on a form & then double click the button, I get the error in the screenshot below.

What is going wrong?

JD
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on March 23, 2017, 02:16:35 pm
Try Tools > Rescan FPC Source Directory
Title: Re: Fpcupdeluxe
Post by: JD on March 23, 2017, 02:31:49 pm
Try Tools > Rescan FPC Source Directory

Thanks a lot. That worked.
Title: Re: Fpcupdeluxe
Post by: Petr Nehez on March 30, 2017, 01:32:03 pm
Hi,

I know that the following issue is off-topic but I am trying to cross-compile on Ubuntu 16.10 64bit to 32bit but I get these errors:
Quote
Compile Project, Target: /home/petr/work/fpcx/projects/project1: Exit code 256, Errors: 1
Linking /home/petr/work/fpcx/projects/project1
/usr/bin/ld: cannot find -lgdk-x11-2.0
/usr/bin/ld: cannot find -lgdk_pixbuf-2.0
/usr/bin/ld: cannot find -lgtk-x11-2.0
/usr/bin/ld: cannot find -lgobject-2.0
/usr/bin/ld: cannot find -lglib-2.0
/usr/bin/ld: cannot find -lgthread-2.0
/usr/bin/ld: cannot find -lgmodule-2.0
/usr/bin/ld: cannot find -lpango-1.0
/usr/bin/ld: cannot find -lcairo
/usr/bin/ld: cannot find -latk-1.0
project1.lpr(20,1) Error: Error while linking
project1.lpr(20,1) Verbose: There were 1 errors compiling module, stopping

Could anybody help me and tell which packages I should install?
I tried some but without any success...

Thanks.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on March 30, 2017, 02:56:50 pm
AFAIK, you need the 32bit libs do cross from 64 to 32.

But installing these libs poses a problem. See:
http://forum.lazarus.freepascal.org/index.php/topic,34645.msg239152.html#msg239152

I am still thinking about a way to solve this, either by:
* using the 32bit linux libs of fpcupdeluxe
* by instructing the user to make some extra simlinks of the missing libs
Title: Re: Fpcupdeluxe
Post by: Petr Nehez on March 30, 2017, 03:04:42 pm
I tried to install the missing libraries but I don't know exactly which I should install.

Is there a list of 32bit libraries which are needed to be installed?
That would help a little, I guess.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on March 30, 2017, 03:33:01 pm
Your previous error message should point you in the right direction.

However, you could try something else, and also help me !

Download the 32bit libs from fpcupdeluxe:
https://github.com/newpascal/fpcupdeluxe/releases/tag/crosslibs_v1.0
https://github.com/newpascal/fpcupdeluxe/releases/download/crosslibs_v1.0/CrossLibsLinuxi386.rar

Point FPC/Lazarus towards these libs in your project options:
-Fl/installdir/cross/lib/arm-linux/
(or in your Lazarus project options)

Title: Re: Fpcupdeluxe
Post by: mizar on March 30, 2017, 03:57:48 pm
I was trying to install some cross-compilers using fpcupdeluxe.
The system I'm working on is a linux x64 and I succeeded in installing cross compilers for
-linux i386
-win i386
-win x64
-linux arm

but looking in the folder fpc/bin/x86_64-linux I noticed that both the installation of linux i386 and win i386 generate the same executable ppcross386 overwriting one another.

Is this normal ? Is there a way to preserve the first from being overwritten from the latter ?

Thank you
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on March 30, 2017, 04:57:14 pm
@mizar
Yep. Overwrite is normal (for fpcupdeluxe) !
And cannot be prevented.
Title: Re: Fpcupdeluxe
Post by: Petr Nehez on March 31, 2017, 10:42:07 am
Point FPC/Lazarus towards these libs in your project options:
-Fl/installdir/cross/lib/arm-linux/
(or in your Lazarus project options)

I downloaded and extracted the libraries.
Maybe I am blind %) but where/how should I point FPC/Lazarus to these libs?

I am still new to the playing with custom builds of FPC so I would appreciate if you can help me.
Thanks.
Title: Re: Fpcupdeluxe
Post by: Thaddy on March 31, 2017, 01:03:07 pm
@mizar
Yep. Overwrite is normal (for fpcupdeluxe) !
And cannot be prevented.
But it is not necessary and hereby a feature request since it CAN be prevented in the current makefile options.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on March 31, 2017, 03:58:56 pm
@thaddy.
Ok ! Agreed.
Also, please enlighten me to make my life more easy: what make command is suitable ?
Thanks.
Title: Re: Fpcupdeluxe
Post by: Petr Nehez on April 06, 2017, 08:28:52 am
Point FPC/Lazarus towards these libs in your project options:
-Fl/installdir/cross/lib/arm-linux/
(or in your Lazarus project options)

I downloaded and extracted the libraries.
Maybe I am blind %) but where/how should I point FPC/Lazarus to these libs?

I am still new to the playing with custom builds of FPC so I would appreciate if you can help me.
Thanks.

@DonAlfredo
Could you, please, help me on this?
Thanks in advance.
Title: Re: Fpcupdeluxe
Post by: DonAlfredo on April 06, 2017, 08:49:31 am
No problemo.

Lazarus -> Project -> Project Options -> Paths -> Libraries (-Fl)
Title: Re: Fpcupdeluxe
Post by: BSaidus on April 25, 2017, 02:06:14 pm
Ooops !!
  I've got an error when compiling lazarus in GhostBSD 32 environnement.
here is a log :
Code: Pascal  [Select]
  1. [2017-04-23 13:37:36.897 Info] Executing : gmake "FPC=/root/Dev/fixes/fpc/bin/i386-freebsd/fpc.sh" "USESVN2REVISIONINC=0" "--directory=/root/Dev/fixes/lazarus" "INSTALL_PREFIX=/root/Dev/fixes/lazarus" "FPCDIR=/root/Dev/fixes/fpcsrc" "UPXPROG=echo" "COPYTREE=echo" "OPT=-vw-n-h-i-l-d-u-t-p-c-x- -Fl/usr/local/lib -Fl/usr/X11R6/lib" "lazbuild" (working dir: /root/Dev/fixes/lazarus)
  2. [2017-04-23 13:37:36.921 Info] gmake: Entering directory '/root/Dev/fixes/lazarus'
  3. [2017-04-23 13:37:36.926 Info] gmake -C packager/registration
  4. [2017-04-