Sign in Join

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

Mailing lists / lazarus / 2014-03

Fatal: Compilation aborted

9 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

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

FreeMan

Hello,

Target OS: Linux for x86-64
Compiling fcllaz.pas
Fatal: Can't find unit system used by fcllaz
Fatal: Compilation aborted
make[1]: *** [fcllaz.ppu] Hata 1
make[1]: `/opt/lazarus/packager/registration' dizininden ??k?l?yor make: *** [registration] Hata 2

Kubuntu 13.10 x64
fpc svn 26912
lazarus svn 44310

Thank you

Reply by email

Mattias Gaertner
to FreeMan
Show quoted text 13 lines
Hello, Target OS: Linux for x86-64 Compiling fcllaz.pas Fatal: Can't find unit system used by fcllaz Fatal: Compilation aborted make[1]: *** [fcllaz.ppu] Hata 1 make[1]: `/opt/lazarus/packager/registration' dizininden ??k?l?yor make: *** [registration] Hata 2 Kubuntu 13.10 x64 fpc svn 26912 lazarus svn 44310

How did you install fpc?

Mattias

Reply by email

FreeMan
to Mattias Gaertner

Today not may day :)
last fpc svn has fatal error too...
I attach my svn install script and svn update script. I'm using as long as nearly one year this scripts.
this is fpc error r26918, if downgrade to 26912 it okey, not report yet "Hata" mean error
make[7]:`/opt/freepascal/2.7.1/rtl/linux' dizinine giriliyor as --64 -o /opt/freepascal/2.7.1/rtl/units/x86_64-linux/prt0.o x86_64/prt0.as
as --64 -o /opt/freepascal/2.7.1/rtl/units/x86_64-linux/dllprt0.o x86_64/dllprt0.as
as --64 -o /opt/freepascal/2.7.1/rtl/units/x86_64-linux/cprt0.o x86_64/cprt0.as
as --64 -o /opt/freepascal/2.7.1/rtl/units/x86_64-linux/gprt0.o x86_64/gprt0.as
/opt/freepascal/2.7.1/compiler/ppc1 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE.
-FU/opt/freepascal/2.7.1/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE -Us -Sg system.pp
make[7]: *** [system.ppu] Par?alama ar?zas? (bellek kopyas? - core dosyas? - diske yaz?ld?)
make[7]: `/opt/freepascal/2.7.1/rtl/linux' dizininden ??k?l?yor make[6]: *** [linux_all] Hata 2
make[6]: `/opt/freepascal/2.7.1/rtl' dizininden ??k?l?yor make[5]: *** [rtl] Hata 2
make[5]: `/opt/freepascal/2.7.1/compiler' dizininden ??k?l?yor make[4]: *** [next] Hata 2
make[4]: `/opt/freepascal/2.7.1/compiler' dizininden ??k?l?yor make[3]: *** [ppc2] Hata 2
make[3]: `/opt/freepascal/2.7.1/compiler' dizininden ??k?l?yor make[2]: *** [cycle] Hata 2
make[2]: `/opt/freepascal/2.7.1/compiler' dizininden ??k?l?yor make[1]: *** [compiler_cycle] Hata 2
make[1]: `/opt/freepascal/2.7.1' dizininden ??k?l?yor make: *** [build-stamp.x86_64-linux] Hata 2

if not add "OVERRIDEVERSIONCHECK=1" parameter get this error:

make[1]: `/opt/freepascal/2.7.1/installer' dizininden ??k?l?yor /bin/rm -f build-stamp.*
/bin/rm -f base.build-stamp.*
Makefile:2731: *** The only supported starting compiler version is 2.6.2. You are trying to build with 2.7.1. If you are absolutely sure that the current compiler is built from the exact same version/revision, you can try to use OVERRIDEVERSIONCHECK=1 to override . Stop.

fpc.cfg creating install script. I use install script only one time, after then use allways update script. On this morning analyze my install script, and ask this question, why have to install fpc 2.6.2 ?

really to day is my bad day I think, I downgrade fpc to r26912, then manual type without via OVERRIDEVERSIONCHECK=1 make command get error and copy here, then make with OVERRIDEVERSIONCHECK=1 fpc compiled. after then make lazarus without error and build lazarus without any error. ????? I did not understand how and why
Thank you

02-03-2014 11:47 tarihinde, Mattias Gaertner yazd?:

Show quoted text 5 lines
And how did you create /etc/fpc.cfg? Mattias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: svn_lazarus_fpc__install.sh
Type: application/x-shellscript
Size: 7109 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140302/a855e6fd/attachment.bin> -------------- next part --------------
A non-text attachment was scrubbed...
Name: svn_lazarus_fpc_update.sh
Type: application/x-shellscript
Size: 2775 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140302/a855e6fd/attachment-0001.bin>

Reply by email

Sven Barth
to FreeMan
FreeMan wrote
fpc.cfg creating install script. I use install script only one time, after then use allways update script. On this morning analyze my install script, and ask this question, why have to install fpc 2.6.2 ?

Because the ONLY guaranteed and supported way to compile a trunk compiler is the latest release which in this case is 2.6.2 (or by using a compiler of the exact same svn revision that you want to compile). If you don't follow this then you're left on your own. There won't be any support from us if you don't use the latest release compiler for bootstrapping.

Regards,
Sven

Reply by email

FreeMan
to Sven Barth

Did you check my install and update script? I was send one or two message before. Has it any error or wrong command? 2.6.2 last stable and download link in script, link remarked, manual download it before run script, and save thats under stable folder and use that from disk via "dpkg -i". I Looked on wiki and froum, always say first step install last stable fpc, in my script same. If team say do not use svn version, we are not support it, okey. But, if say we need for tester, please tell us how to install and update rule or script etc.

just for example:
http://web.firebirdsql.org/download/snapshot_builds/linux/fb2.5/ this is firebird daily snapshot folder, I'm use
FirebirdSS-2.5.3.26747-0.amd64.tar.gz
<http://web.firebirdsql.org/download/snapshot_builds/linux/fb2.5/FirebirdSS-2.5.3.26747-0.amd64.tar.gz> download it, open tar any folder, and execute install.sh

Thank you

02-03-2014 13:11 tarihinde, Sven Barth yazd?:

Show quoted text 10 lines
Because the ONLY guaranteed and supported way to compile a trunk compiler is the latest release which in this case is 2.6.2 (or by using a compiler of the exact same svn revision that you want to compile). If you don't follow this then you're left on your own. There won't be any support from us if you don't use the latest release compiler for bootstrapping. Regards, Sven

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140303/30dfe277/attachment.html>

Reply by email

Sven Barth
to FreeMan
FreeMan wrote
Did you check my install and update script? I was send one or two message before. Has it any error or wrong command?

I did not read any of the scripts you sent. I simply looked at the output you posted, recognized that you use the development compiler to compile a new version of the development compiler and this rang all my alarm bells.

2.6.2 last stable and download link in script, link remarked, manual download it before run script, and save thats under stable folder and use that from disk via "dpkg -i". I Looked on wiki and froum, always say first step install last stable fpc, in my script same.

You don't seem to specify the FPC to use. So if you now have your /opt/freepascal/2.7.1/bin in PATH then the 2.7.1 compiler will be used which is wrong. So explicitely specify the compiler to use with the make option FPC=/usr/bin/fpc (or whereever it is in your system). Check beforehand though whether "fpc -iV" returns 2.6.2 instead of 2.7.1 (it might be that the 2.6.2 compiler driver "fpc" nevertheless finds the 2.7.1 compilers "ppcXXX"). If it uses the wrong compiler then you should at best remove the /opt/freepascal/2.7.1/ directories from path...

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140303/3810744e/attachment.html>

Reply by email

FreeMan
to Sven Barth

Hello Sven,
I'm writeing my results, "desktop" is my computer name desktop:/$ fpc -iV
2.7.1

desktop:/$ ppcx64
Free Pascal Compiler version 2.7.1 [2014/03/03] for x86_64 .....

desktop:/$ echo $PATH
/opt/freepascal/2.7.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

desktop:/$ sudo find / -name fpc
/bin/fpc
/opt/freepascal/2.7.1/lib/fpc
/opt/freepascal/2.7.1/bin/fpc
/opt/freepascal/2.7.1/utils/javapp/src/fpc
/usr/lib/fpc

desktop:/$ sudo find / -name ppcx64
/opt/freepascal/2.7.1/lib/fpc/2.7.1/ppcx64
/usr/bin/ppcx64 <-- this is link

/usr/lib/fpc <-- fpc is folder and link to "/opt/freepascal/2.7.1/lib/fpc" in "/opt/freepascal/2.7.1/lib/fpc" folder has 3 folder /2.6.0 <-- this folder is empty, and
"ftp://ftp.freepascal.org/fpc/snapshot/v27/x86_64-linux/fpc-2.7.1.x86_64-linux.tar.gz" created, after untar this folder
/2.7.1
/lexyacc

sudo dpkg -i fpc_2.6.2-0_amd64.deb
sudo dpkg -i fpc-src_2.6.2-0_amd64.deb

after this command I looked in /usr/bin/ folder:
just ppcx64 link was there and this files was there "fp, fpc, fpclasschart, fpcmake, fpcmkcfg, fpcres, fpcsubst, fpdoc, fppkg, fprcp" after my installation script: ppcx64 link was there, I made it, other files links in /bin folder, I'm not made after installation

after my installation script: On any folder and vithout root user permissions, from console, fp-> freepascal editor is run and about box, Version 1.0.12 2014/03/03 ( Compiler Version 2.7.1 ) printing

esktop:/$ fpc
Free Pascal Compiler version 2.7.1 [2014/03/03] for x86_64 Copyright (c) 1993-2014 by Florian Klaempfl and others /opt/freepascal/2.7.1/bin/fpc [options] <inputfile> [options] .......

But for make again ' cos run "svn update" command I have make new changed cod

desktop:/opt/freepascal/2.7.1$ make clean all install INSTALL_PREFIX=/opt/freepascal/2.7.1
........
/bin/rm -f build-stamp.*
/bin/rm -f base.build-stamp.*
Makefile:2731: *** The only supported starting compiler version is 2.6.2. You are trying to build with 2.7.1. If you are absolutely sure that the current compiler is built from the exact same version/revision, you can try to use OVERRIDEVERSIONCHECK=1 to override . Stop. ....

in Makefile:2731

versioncheckstartingcompiler:
ifndef CROSSCOMPILE
ifneq ($(FPC_VERSION),$(REQUIREDVERSION))
ifneq ($(FPC_VERSION),$(REQUIREDVERSION2))
ifndef OVERRIDEVERSIONCHECK
line 2731->> $(error The only supported starting compiler version is $(REQUIREDVERSION). You are trying to build with $(FPC_VERSION). If you are absolutely sure that the current compiler is built from the exact same version/revision, you can try to use OVERRIDEVERSIONCHECK=1 to override )
else
@$(ECHO) You have overriden the starting compiler versioncheck while using starting compiler version $(FPC_VERSION). This situation is not supported and strange things and errors may happen. Remove OVERRIDEVERSIONCHECK=1 to fix this.
endif
endif
endif
endif

In bugtraker #0025804 jonas Maebe "...its not supported exactly..." I'm NOT add this parameter in Makefile. My english is not good but I can understand "you can try to use" what mean. long time I use svn .svn folder bean more then 200 mb, I delete everything from disk, and did test all, I use sam script always. yesterday I get fatal error and can not make fpc. but now "OVERRIDEVERSIONCHECK=1" can make now again, with out any error, lazarus too.

I wrote on up, I have only one version of fpc, but required version is diffrent ?? Sorry been long message but I tried give all detail. <http://bugs.freepascal.org/view_user_page.php?id=322> Any idea?

Thank you

03-03-2014 13:07 tarihinde, Sven Barth yazd?:

Show quoted text 12 lines
You don't seem to specify the FPC to use. So if you now have your /opt/freepascal/2.7.1/bin in PATH then the 2.7.1 compiler will be used which is wrong. So explicitely specify the compiler to use with the make option FPC=/usr/bin/fpc (or whereever it is in your system). Check beforehand though whether "fpc -iV" returns 2.6.2 instead of 2.7.1 (it might be that the 2.6.2 compiler driver "fpc" nevertheless finds the 2.7.1 compilers "ppcXXX"). If it uses the wrong compiler then you should at best remove the /opt/freepascal/2.7.1/ directories from path... Regards, Sven

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140303/30e852a8/attachment-0001.html>

Reply by email