Recent

Author Topic: fpcup 3.1.1 Update  (Read 136984 times)

mac01

  • New Member
  • *
  • Posts: 15
Re: fpcup 3.1.1 Update
« Reply #180 on: October 23, 2016, 06:09:40 pm »
Hi
I needed to update to Sierra, and now run into a problem using latest fpcuplaz; it maybe Sierra related or fpclazup or something else.
Code: [Select]

Mac-mini:fpcup mac$ ./fpclazup_osx_x86 --fpcurl="trunk" --lazurl="trunk" --verbose
Fpclazup, a FPC/Lazarus downloader/updater/installer
Original by BigChimp: https://bitbucket.org/reiniero/fpcup
This version: https://github.com/LongDirtyAnimAlf/Reiniero-fpcup

Fpclazup will download the FPC and Lazarus sources
from the source SVN repositories, and compile, and install.
Result: you get a fresh, up-to-date Lazarus/FPC installation.

Version: based on commit fpcup001 (20150210)
Build date: 2016/10/07 08:29:35
Compiled for CPU: i386 on darwin

Options:
Bootstrap dir:      /Users/mac/development/fpcbootstrap
FPC URL:            http://svn.freepascal.org/svn/fpc/trunk/
FPC options:       
FPC directory:      /Users/mac/development/fpc
Lazarus URL:        http://svn.freepascal.org/svn/lazarus/trunk
Lazarus options:   
Lazarus directory:  /Users/mac/development/lazarus
Keep changes:       no
Re-apply changes:   no
Log file name:      /Users/mac/fpcup.log
Standard modules:   suggestedpackages
Standard modules:   lhelp
Standard modules:   doceditor

INFO: FPCUP will not download repos. It will only get the files !!!

******************************************************************
 You are now installing a bleeding edge version of [FPC/Lazarus].
 Please be forewarned that things might not function,
 as you would expect from a stable release.
 Installing a stable release,
 will give you a stable development environment,
 and is the preferred way of using [FPC/Lazarus].

 PS: You can build Lazarus trunk with normal FPC stable !! <-----
     Just execute fpclazup --lazURL="trunk"                <-----
******************************************************************


Effective parameters:   
--fpcurl=trunk
--lazurl=trunk
--verbose
Persistent parameters (can be saved in shell script):
--fpcURL="trunk" --lazURL="trunk"
Continue (Y/n): y
fpclazup: info: 23-10-16 16:47:45: fpcup fpcup001 (20150210) started.
Executing : unzip "-v" (working dir: )
UnZip 6.00 of 20 April 2009, by Info-ZIP.  Maintained by C. Spieler.  Send
bug reports using http://www.info-zip.org/zip-bug.html; see README for details.

Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip/ ;
see ftp://ftp.info-zip.org/pub/infozip/UnZip.html for other sites.

Compiled with gcc 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.34) for Unix Mac OS X on Jul 30 2016.

UnZip special compilation options:
        COPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported)
        SET_DIR_ATTRIB
        SYMLINKS (symbolic links supported, if RTL and file system permit)
        TIMESTAMP
        UNIXBACKUP
        USE_EF_UT_TIME
        USE_UNSHRINK (PKZIP/Zip 1.x unshrinking method supported)
        USE_DEFLATE64 (PKZIP 4.x Deflate64(tm) supported)
        LARGE_FILE_SUPPORT (large files over 2 GiB supported)
        ZIP64_SUPPORT (archives using Zip64 for large files supported)
        VMS_TEXT_CONV
        [decryption, version 2.11 of 05 Jan 2007]

UnZip and ZipInfo environment options:
           UNZIP:  [none]
        UNZIPOPT:  [none]
         ZIPINFO:  [none]
      ZIPINFOOPT:  [none]
fpclazup: info: SVN client found: /usr/bin/svn
Executing : bsdtar "--version" (working dir: )
bsdtar 2.8.3 - libarchive 2.8.3
fpclazup: info: TFPCInstaller: clean module FPC...
fpclazup: info: FPC: running make distclean:
Executing : make "--jobs=4" "FPC=/Users/mac/development/fpcbootstrap/ppcuniversal" "--directory=/Users/mac/development/fpc" "distclean" (working dir: /Users/mac/development/fpc)
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C compiler distclean
/bin/rm -f ppcrossx64 ppc ppc1 ppc2 ppc3 ./msg2inc pp1.wpo pp2.wpo
/bin/rm -f ppc386 ppc68k ppcx64 ppcppc ppcsparc ppcppc64
/bin/rm -f ppcarm ppcmips ppcmipsel ppcjvm ppc8086 ppca64
/bin/rm -f ppcx64 ppcwpo1 ppcwpo2
/bin/rm -f pp pp.o libppp.a libimppp.a
/bin/rm -rf units
/bin/rm -f *.o *.ppu *.rst *.s *.a *.so *.ppl
/bin/rm -rf *.sl
/bin/rm -f fpcmade.* Package.fpc ./ppas.sh script.res link.res 
/bin/rm -f *_ppas.sh
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C utils cleanall
/bin/rm -f fpc ppufiles ppudump ppumove mka64ins mkarmins mkx86ins fpc.o ppufiles.o ppudump.o ppumove.o mka64ins.o mkarmins.o mkx86ins.o libpfpc.a libpppufiles.a libpppudump.a libpppumove.a libpmka64ins.a libpmkarmins.a libpmkx86ins.a libimpfpc.a libimpppufiles.a libimpppudump.a libimpppumove.a libimpmka64ins.a libimpmkarmins.a libimpmkx86ins.a
/bin/rm -f units/x86_64-darwin/ppu.ppu units/x86_64-darwin/crc.ppu
/bin/rm -rf units
/bin/rm -f *.o *.ppu *.rst *.s *.a *.so *.ppl
/bin/rm -rf *.sl
/bin/rm -f fpcmade.* Package.fpc ./ppas.sh script.res link.res 
/bin/rm -f *_ppas.sh
/bin/rm -rf i386/units
......
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C fpgtk distclean
/bin/rm -rf units
/bin/rm -f *.o *.ppu *.rst *.s *.a *.so *.ppl
/bin/rm -rf *.sl
/bin/rm -f fpcmade.* Package.fpc ./ppas.sh script.res link.res 
/bin/rm -f *_ppas.sh
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C fpindexer distclean
/bin/rm -rf units
/bin/rm -f *.o *.ppu *.rst *.s *.a *.so *.ppl
/bin/rm -rf *.sl
/bin/rm -f fpcmade.* Package.fpc ./ppas.sh script.res link.res 
/bin/rm -f *_ppas.sh
..........
/rtl/units/x86_64-darwin/errors.ppu /Users/mac/development/fpc/rtl/units/x86_64-darwin/termio.ppu /Users/mac/development/fpc/rtl/units/x86_64-darwin/sysconst.ppu .........
Exported revision 34756.
Executing : /usr/bin/svn "info" "http://svn.freepascal.org/svn/fpc/trunk/" (working dir: )
Path: trunk
URL: http://svn.freepascal.org/svn/fpc/trunk
Repository Root: http://svn.freepascal.org/svn/fpc
Repository UUID: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 34756
Node Kind: directory
Last Changed Author: michael
Last Changed Rev: 34756
Last Changed Date: 2016-10-23 10:37:37 +0100 (Sun, 23 Oct 2016)

fpclazup: info: TFPCInstaller: building module FPC...
fpclazup: info: We have a FPC source (@ /Users/mac/development/fpc) with version: 3.1.1
fpclazup: info: To compile this FPC, we need (required) a compiler with version : 3.0.0
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpclazup: info: Looking for official FPC bootstrapper with version 3.0.0
fpclazup: info: Looking for (online) bootstrapper i386-darwin-ppc386.tar.bz2
fpclazup: info: Looking for official FPC bootstrapper with version 2.6.4
fpclazup: info: Looking for (online) bootstrapper universal-macosx-10.5-ppcuniversal.tar.bz2
fpclazup: info: Got a bootstrap compiler from official FPC bootstrap sources.
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-i" (working dir: )
Free Pascal Compiler version 2.6.4

Compiler Date      : 2014/03/04
Compiler CPU Target: x86_64

Supported targets:
  Linux for x86-64
  FreeBSD for x86-64
  Win64 for x64
  Darwin for x86_64
  Solaris for x86-64 (under development)
  OpenBSD for x86-64 (under development)
  NetBSD for x86-64 (under development)

Supported CPU instruction sets:
  ATHLON64

Supported FPU instruction sets:
  SSE64
  SSE3

Supported ABI targets:
  DEFAULT
  SYSV
  AIX
  EABI
  ARMEB

Supported Optimizations:
  REGVAR
  STACKFRAME
  LOOPUNROLL
  TAILREC
  CSE

Supported Whole Program Optimizations:
  All
  DEVIRTCALLS
  OPTVMTS
  SYMBOLLIVENESS

Supported Microcontroller types:

This program comes under the GNU General Public Licence
For more information read COPYING.v2

Please report bugs in our bug tracker on:
                 http://bugs.freepascal.org

More information may be found on our WWW pages (including directions
for mailing lists useful for asking questions or discussing potential
new features, etc.):
                 http://www.freepascal.org
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpclazup: info: Found bootstrap compiler with version 2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpclazup: info: We need to build an FPC 3.0.0 intermediate compiler.
Executing : make "-v" (working dir: )
GNU Make 3.81
Copyright (C) 2006  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

This program built for i386-apple-darwin11.3.0
fpclazup: info: Checking out/updating sources for intermediate bootstrap compiler.
Executing : /usr/bin/svn "checkout" "--depth=files" "http://svn.freepascal.org/svn/fpc/tags/release_3_0_0" "/Users/mac/development/fpc300bootstrap" (working dir: )
D         /Users/mac/development/fpc300bootstrap/rtl
D         /Users/mac/development/fpc300bootstrap/compiler
Checked out revision 34756.
Executing : /usr/bin/svn "update" "compiler" "/Users/mac/development/fpc300bootstrap/compiler" (working dir: )
Skipped 'compiler'
Updating '/Users/mac/development/fpc300bootstrap/compiler':
   C /Users/mac/development/fpc300bootstrap/compiler
   A /Users/mac/development/fpc300bootstrap/compiler/systems.inc
   A /Users/mac/development/fpc300bootstrap/compiler/dbgstabx.pas
   A /Users/mac/development/fpc300bootstrap/compiler/ppx86_64.lpi
   A /Users/mac/development/fpc300bootstrap/compiler/fpcdefs.inc
   A /Users/mac/development/fpc300bootstrap/compiler/rgobj.pas
   A /Users/mac/development/fpc300bootstrap/compiler/symbase.pas
   .................
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/xmc4500.pp
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/lpc11xx.pp
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/cortexm0.pp
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/lm3fury.pp
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/lpc13xx.pp
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/cortexm3.pp
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/lpc1768.pp
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/cortexm4.pp
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/sc32442b.pp
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/cortexm0_start.inc
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/stm32f10x_xl.pp
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/arm/cortexm3_start.inc
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/Makefile.fpc
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/sysheap.inc
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/check.inc
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/sysdir.inc
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/sysfile.inc
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/avr
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/avr/start.inc
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/avr/atmega128.pp
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/sysos.inc
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/empty.cfg
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/buildrtl.pp
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/rtl.cfg
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/sysosh.inc
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/heapmgr.pp
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/system.pp
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/buildrtl.lpi
   A /Users/mac/development/fpc300bootstrap/rtl/embedded/consoleio.pp
   A /Users/mac/development/fpc300bootstrap/rtl/gba
   A /Users/mac/development/fpc300bootstrap/rtl/gba/prt0.as
   A /Users/mac/development/fpc300bootstrap/rtl/gba/sysos.inc
   A /Users/mac/development/fpc300bootstrap/rtl/gba/libch.inc
   A /Users/mac/development/fpc300bootstrap/rtl/gba/cprt0.as
   A /Users/mac/development/fpc300bootstrap/rtl/gba/sysosh.inc
   A /Users/mac/development/fpc300bootstrap/rtl/gba/system.pp
   A /Users/mac/development/fpc300bootstrap/rtl/gba/tthread.inc
   A /Users/mac/development/fpc300bootstrap/rtl/gba/dos.pp
   A /Users/mac/development/fpc300bootstrap/rtl/gba/systhrd.inc
   A /Users/mac/development/fpc300bootstrap/rtl/gba/classes.pp
   A /Users/mac/development/fpc300bootstrap/rtl/gba/rtldefs.inc
   A /Users/mac/development/fpc300bootstrap/rtl/gba/Makefile
   A /Users/mac/development/fpc300bootstrap/rtl/gba/sysutils.pp
   A /Users/mac/development/fpc300bootstrap/rtl/gba/gbabios.inc
   A /Users/mac/development/fpc300bootstrap/rtl/gba/libc.inc
   A /Users/mac/development/fpc300bootstrap/rtl/gba/Makefile.fpc
   A /Users/mac/development/fpc300bootstrap/rtl/gba/sysheap.inc
   A /Users/mac/development/fpc300bootstrap/rtl/gba/sysdir.inc
   A /Users/mac/development/fpc300bootstrap/rtl/gba/gbabiosh.inc
   A /Users/mac/development/fpc300bootstrap/rtl/gba/sysfile.inc
   A /Users/mac/development/fpc300bootstrap/rtl/emx
   A /Users/mac/development/fpc300bootstrap/rtl/emx/Makefile
   A /Users/mac/development/fpc300bootstrap/rtl/emx/emx.imp
   A /Users/mac/development/fpc300bootstrap/rtl/emx/sysutils.pp
   A /Users/mac/development/fpc300bootstrap/rtl/emx/sysheap.inc
   A /Users/mac/development/fpc300bootstrap/rtl/emx/Makefile.fpc
   A /Users/mac/development/fpc300bootstrap/rtl/emx/sysdir.inc
   A /Users/mac/development/fpc300bootstrap/rtl/emx/sysfile.inc
   A /Users/mac/development/fpc300bootstrap/rtl/emx/prt0.as
   A /Users/mac/development/fpc300bootstrap/rtl/emx/prt1.as
   A /Users/mac/development/fpc300bootstrap/rtl/emx/sysos.inc
   A /Users/mac/development/fpc300bootstrap/rtl/emx/ports.pas
   A /Users/mac/development/fpc300bootstrap/rtl/emx/sysosh.inc
   A /Users/mac/development/fpc300bootstrap/rtl/emx/system.pas
   A /Users/mac/development/fpc300bootstrap/rtl/emx/dos.pas
   A /Users/mac/development/fpc300bootstrap/rtl/emx/emxwrap.imp
   A /Users/mac/development/fpc300bootstrap/rtl/emx/systhrd.inc
   A /Users/mac/development/fpc300bootstrap/rtl/emx/sysemx.pas
   A /Users/mac/development/fpc300bootstrap/rtl/emx/emx.pas
   A /Users/mac/development/fpc300bootstrap/rtl/emx/rtldefs.inc
   A /Users/mac/development/fpc300bootstrap/rtl/powerpc64
   A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/int64p.inc
   A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/setjump.inc
   A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/strlen.inc
   A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/math.inc
   A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/powerpc64.inc
   A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/strings.inc
   A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/makefile.cpu
   A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/set.inc
   A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/stringss.inc
   A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/mathu.inc
   A /Users/mac/development/fpc300bootstrap/rtl/powerpc64/setjumph.inc
Updated to revision 34756.
Summary of updates:
  Updated '/Users/mac/development/fpc300bootstrap/rtl' to r34756.
Summary of conflicts:
  Tree conflicts: 1
  Skipped paths: 1
fpclazup: info: Checking out/updating FPC 3.0.0 sources for intermediate bootstrap compiler done.
fpclazup: info: We have a FPC bootstrap source (@ /Users/mac/development/fpc300bootstrap) with version: 3.0.0
fpclazup: info: To compile this bootstrap FPC, we need (required) a compiler with version : 3.0.0
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpclazup: info: To compile this bootstrap FPC, we can also (and will) use (required) a compiler with version : 2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpclazup: info: Running make cycle for intermediate bootstrap compiler:
Executing : make "compiler_cycle" "--jobs=4" "FPC=/Users/mac/development/fpcbootstrap/ppcuniversal" "--directory=/Users/mac/development/fpc300bootstrap" "OPT=-vi-n-h-" "OS_TARGET=darwin" "CPU_TARGET=i386" (working dir: /Users/mac/development/fpc300bootstrap)
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C compiler cycle
make[1]: *** No rule to make target `cycle'.  Stop.
make: *** [compiler_cycle] Error 2
fpclazup: info: FPC: Failed to build intermediate bootstrap compiler
fpclazup: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpclazup: info: Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc
Fpclazup failed.
Please check log for details. Possible troubleshooting steps:
- run again with --verbose and check for make, lazbuild errors etc.
- make sure there's a valid SVN executable in your path.
- make sure the GNU binutils (make etc), windres, subversion client are installed
  e.g. on Debian/Ubuntu: aptitude install build-essential mingw32-binutils subversion
  ln -s /usr/bin/i586-mingw32msvc-windres /usr/bin/windres
  see http://wiki.lazarus.freepascal.org/Lazarus_Resources#Checking_you_have_windres
- if compiling Lazarus, make sure your lhelp is closed.
- try removing all intermediate files by running fpcup with the --clean option
  and/or manually deleting all *.ppu/*.a/*.o followed by svn up
- if that does not work: use the --uninstall option to remove all files
  including your FPC and Lazarus directories
- remove the files in the bootstrap directory. fpcup will redownload if required.
fpclazup: info: 23-10-16 16:49:00: fpcup finished.
Mac-mini:fpcup mac$


DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: fpcup 3.1.1 Update
« Reply #181 on: October 23, 2016, 06:20:26 pm »
@mac01
Your error is clear: I will investigate !

@totya
I have given you three (stable, fixes, trunk) options; please tell me which one gives you these errors; I will try to reproduce.

totya

  • Hero Member
  • *****
  • Posts: 720
Re: fpcup 3.1.1 Update
« Reply #182 on: October 23, 2016, 06:25:26 pm »
@totya
I have given you three (stable, fixes, trunk) options; please tell me which one gives you these errors; I will try to reproduce.

Hi!

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

Now, I get error messages window again, see attached files. (translated: has stopped working)

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: fpcup 3.1.1 Update
« Reply #183 on: October 23, 2016, 07:29:35 pm »
@mac01
The downloading of the bootstrapper was not completed. SVN error.
Re-run the whole sequence again.
With a bit of an advice:
Code: Pascal  [Select][+][-]
  1. ./fpclazup_osx_x86 --fpcurl="trunk" --lazurl="trunk" --verbose --getfullrepo
As you can see, I have added  --getfullrepo
This will download the full repo, so a re-run of the fpcup command will not download everything again, but just the missing files.
This makes re-running the command a breeze (except for all the cleaning, compiling and installing).

@totya
The error you show means, that the binutils are there and the whole build-process has started and partly completed.
Also for you, in case of doubt, just rerun the command.
It will clean, rebuild and install.

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

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

edit: there is a fpcup error when trying to install fixes ... will solve and update.
« Last Edit: October 23, 2016, 07:33:55 pm by DonAlfredo »

mac01

  • New Member
  • *
  • Posts: 15
Re: fpcup 3.1.1 Update
« Reply #184 on: October 23, 2016, 10:20:41 pm »
Hi

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

after I run

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

I am still getting a problem.

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

Code: [Select]
Updated to revision 34758.
Summary of updates:
  Updated '/Users/mac/development/fpc300bootstrap/rtl' to r34758.
Summary of conflicts:
  Tree conflicts: 1
  Skipped paths: 1
fpclazup: info: Checking out/updating FPC 3.0.0 sources for intermediate bootstrap compiler done.
fpclazup: info: We have a FPC bootstrap source (@ /Users/mac/development/fpc300bootstrap) with version: 3.0.0
fpclazup: info: To compile this bootstrap FPC, we need (required) a compiler with version : 3.0.0
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpclazup: info: To compile this bootstrap FPC, we can also (and will) use (required) a compiler with version : 2.6.4
Executing : /Users/mac/development/fpcbootstrap/ppcuniversal "-iV" (working dir: )
2.6.4
fpclazup: info: Running make cycle for intermediate bootstrap compiler:
Executing : make "compiler_cycle" "--jobs=4" "FPC=/Users/mac/development/fpcbootstrap/ppcuniversal" "--directory=/Users/mac/development/fpc300bootstrap" "OPT=-vi-n-h-" "OS_TARGET=darwin" "CPU_TARGET=i386" (working dir: /Users/mac/development/fpc300bootstrap)
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C compiler cycle
make[1]: *** No rule to make target `cycle'.  Stop.
make: *** [compiler_cycle] Error 2
fpclazup: info: FPC: Failed to build intermediate bootstrap compiler
fpclazup: info: Error running fpcup. Technical details: error executing sequence fpc; line: 5, param: FPC
fpclazup: info: Error running fpcup. Technical details: error executing sequence Default; line: 3, param: fpc
Fpclazup failed.
Please check log for details. Possible troubleshooting steps:
- run again with --verbose and check for make, lazbuild errors etc.
- make sure there's a valid SVN executable in your path.
- make sure the GNU binutils (make etc), windres, subversion client are installed
  e.g. on Debian/Ubuntu: aptitude install build-essential mingw32-binutils subversion
  ln -s /usr/bin/i586-mingw32msvc-windres /usr/bin/windres
  see http://wiki.lazarus.freepascal.org/Lazarus_Resources#Checking_you_have_windres
- if compiling Lazarus, make sure your lhelp is closed.
- try removing all intermediate files by running fpcup with the --clean option
  and/or manually deleting all *.ppu/*.a/*.o followed by svn up
- if that does not work: use the --uninstall option to remove all files
  including your FPC and Lazarus directories
- remove the files in the bootstrap directory. fpcup will redownload if required.
fpclazup: info: 23-10-16 21:11:51: fpcup finished.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: fpcup 3.1.1 Update
« Reply #185 on: October 23, 2016, 10:30:33 pm »
@mac01
Thats ok. Please retry.
Additional: I saw a problem creating the start-shortcut on Mac. Testing new version now. Will update fpclazup tomorrow !

totya

  • Hero Member
  • *****
  • Posts: 720
Re: fpcup 3.1.1 Update
« Reply #186 on: October 23, 2016, 10:37:10 pm »
@totya
The error you show means, that the binutils are there and the whole build-process has started and partly completed.
Also for you, in case of doubt, just rerun the command.
It will clean, rebuild and install.

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

I asked the Windows Lazarus/fpc fixed version, with crosscompile (x86 and x64)
If I change the compiler to x64 mode:
Quote
Target OS: Win64
Target CPU: x86_64
I get debugger error:

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: fpcup 3.1.1 Update
« Reply #187 on: October 23, 2016, 10:48:36 pm »
... if you want to debug 64bit, you need a gdb for 64bit !
fpclazup gives you only 32bit gdb.

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

Or inside a recent mingw.

totya

  • Hero Member
  • *****
  • Posts: 720
Re: fpcup 3.1.1 Update
« Reply #188 on: October 23, 2016, 10:56:36 pm »
Thanks, but I asked the crosscompile version (many times), so your app can't install it automatically?

Okay, and what is the destination directory name?

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

Edit:
I see one gdb.exe in fpcbootstrap directory, but this date is very old (2011).
« Last Edit: October 23, 2016, 11:03:11 pm by totya »

mac01

  • New Member
  • *
  • Posts: 15
Re: fpcup 3.1.1 Update
« Reply #189 on: October 24, 2016, 12:36:54 am »
Hi
Got some progress, I thought I would check my xcode version after upgrading to Sierra ( ie make sure using 7.3.1), when I launched xcode after a few seconds a popup appeared informing me that it was downloaded required files ( or something along the lines)
When it completed; I restarted the install of fpclazup; it has now completed the install....

Not sure if xcode is the issue or coincidental to something else on svn ?

Thaddy

  • Hero Member
  • *****
  • Posts: 14380
  • Sensorship about opinions does not belong here.
Re: fpcup 3.1.1 Update
« Reply #190 on: October 24, 2016, 09:54:22 am »
I see one gdb.exe in fpcbootstrap directory, but this date is very old (2011).

Cross-compiling in general is something that is not for everybody.
If you want recent versions learn how to get and install recent versions.
That means install a recent version of mingw or cygwin, in your case (and my favorite) cygwin64

It is not rocket science.....

Btw: a 2011 version of GDB seems reasonably recent and usable. It has proper pedigree in stability.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

totya

  • Hero Member
  • *****
  • Posts: 720
Re: fpcup 3.1.1 Update
« Reply #191 on: October 24, 2016, 11:58:46 am »
I see one gdb.exe in fpcbootstrap directory, but this date is very old (2011).

Cross-compiling in general is something that is not for everybody.
If you want recent versions learn how to get and install recent versions.
That means install a recent version of mingw or cygwin, in your case (and my favorite) cygwin64

It is not rocket science.....

Btw: a 2011 version of GDB seems reasonably recent and usable. It has proper pedigree in stability.

Hi!

You completely misundertand this subject, but no problem.

My first ask is the workable lazarus/fpc + fixes + crosscompile, and where is it? :) Doesn't work, certainly. Debgugger crashed with the default project, because no gdb installed. This is the crosscompile version of Lazarus/fpc?
And you say nothing certainly, my ask the destination directory for gdb, and where is it? I don't see this information in your "answer".

Thaddy

  • Hero Member
  • *****
  • Posts: 14380
  • Sensorship about opinions does not belong here.
Re: fpcup 3.1.1 Update
« Reply #192 on: October 24, 2016, 12:27:53 pm »
Ok recursive then...
http://forum.lazarus.freepascal.org/index.php/topic,27211.msg226539.html#msg226539

Put some effort in. What you ask is not standard for a distribution.
You have to do that yourself.

- Fixes are not releases. You compile everything yourself
- Cross-compilers are generally not releases. You compile everything yourself
- Installing a debugger is easy, both with mingw and cygwin on Windows.

What do you want?
Does your mother still feed you with a spoon?

Figure it out yourself. That's the only way you will ever learn something

[edit]
In this case I am not grumpy, but what you are asking is what seasoned programmers do. You are not one of them.
I will be glad to help but first try it (seriously) yourself and read up on all documentation.
« Last Edit: October 24, 2016, 12:32:40 pm by Thaddy »
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: fpcup 3.1.1 Update
« Reply #193 on: October 24, 2016, 01:19:19 pm »
Fpcup has been updated.

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

Additional:

A special branch of FPC and Lazarus is maintained on http://newpascal.org/
A complete cross-compile enabled release, made with fpcup,is available at:
https://github.com/newpascal/newpascal/releases/tag/np_sc-v1.0.34
If you follow the instructions, it will give you an easy FPC + extras + cross-compilation.
Among the extras are: management operators, interface RTTI, the mORMot (allow the duck).
« Last Edit: October 24, 2016, 01:36:36 pm by DonAlfredo »

tk

  • Sr. Member
  • ****
  • Posts: 361
Re: fpcup 3.1.1 Update
« Reply #194 on: October 26, 2016, 10:33:51 am »
A special branch of FPC and Lazarus is maintained on http://newpascal.org/

Been using that special branch. Thanks.
Any chance to get all these features (Generics.* etc. needed) to the official Lazarus release?
Have recently updated the SVN Laz 1.7 + FPC 3.1.1 and the Generics.* were not there out of the box (maybe available in a package but not already preinstalled).

 

TinyPortal © 2005-2018