Recent

Author Topic: fpcupdeluxe - prt0.o: No such file or directory  (Read 4365 times)

tudi_x

  • Hero Member
  • *****
  • Posts: 532
fpcupdeluxe - prt0.o: No such file or directory
« on: December 25, 2016, 09:49:04 am »
hi!
i have downloaded Release v1.2.0a of fpcupdeluxe and running it on Ubuntu 16.04, using stable/stable as settings.
i am getting a: Fatal error: can't create /home/tudi/Lazarus/fpc300bootstrap/rtl/units/x86_64-linux/prt0.o: No such file or directory.
The tail of the spool is as below.
Please advise how i can pass this step.

thank you

make -C linux all
make[6]: Entering directory '/home/tudi/Lazarus/fpc300bootstrap/rtl/linux'
/bin/mkdir -p /home/tudi/Lazarus/fpc300bootstrap/rtl/units/x86_64-linux
as --64 -o /home/tudi/Lazarus/fpc300bootstrap/rtl/units/x86_64-linux/prt0.o x86_64/prt0.as
Assembler messages:
Fatal error: can't create /home/tudi/Lazarus/fpc300bootstrap/rtl/units/x86_64-linux/prt0.o: No such file or directory
Makefile:3449: recipe for target 'prt0.o' failed
make[6]: *** [prt0.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: Leaving directory '/home/tudi/Lazarus/fpc300bootstrap/rtl/linux'
Makefile:1928: recipe for target 'linux_all' failed
make[5]: *** [linux_all] Error 2
make[5]: Leaving directory '/home/tudi/Lazarus/fpc300bootstrap/rtl'
Makefile:4076: recipe for target 'rtl' failed
make[4]: ***
Error 2
make[4]: Leaving directory '/home/tudi/Lazarus/fpc300bootstrap/compiler'
Makefile:3967: recipe for target 'next' failed
make[3]: *** [next] Error 2
make[3]: Leaving directory '/home/tudi/Lazarus/fpc300bootstrap/compiler'
Makefile:3972: recipe for target 'ppc1' failed
make[2]: *** [ppc1] Error 2
make[2]: Leaving directory '/home/tudi/Lazarus/fpc300bootstrap/compiler'
Makefile:3984: recipe for target 'cycle' failed
make[1]: *** [cycle] Error 2
make[1]: Leaving directory '/home/tudi/Lazarus/fpc300bootstrap/compiler'
Makefile:2780: recipe for target 'compiler_cycle' failed
make: *** [compiler_cycle] Error 2
make: Leaving directory '/home/tudi/Lazarus/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 Default; line: 3, param: fpc


ERROR: Fpcupdeluxe failed.
Lazarus 2.0.2 64b on Debian LXDE 10

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1739
Re: fpcupdeluxe - prt0.o: No such file or directory
« Reply #1 on: December 25, 2016, 12:36:31 pm »
Just tried to reproduce ... but my install of stable/stable on Mint 64 succeeded.

Best thing you can do: just rerun fpcupdeluxe.

To be more precise.
Fcp stable (3.0.0) must be compiled with a 2.6.4 or 3.0.0 bootstrapper.
The only available (online) official bootstrapper has a version of 2.6.2.
So, fpcupdeluxe downloads this 2.6.2 bootstrapper to build a intermediate 3.0.0 bootstrapper.
With this new 3.0.0 bootstrapper, fpc stable will be build.

As far as I understand your error, something went wrong while downloading the source for this 3.0.0 intermediate bootstrapper : just do a rerun to get a new download.


michalis

  • Full Member
  • ***
  • Posts: 137
    • Castle Game Engine
Re: fpcupdeluxe - prt0.o: No such file or directory
« Reply #2 on: April 03, 2017, 03:42:51 pm »
I have just experienced a very similar problem, also on Linux/x86_64, when trying to build the bootstrap compiler (3.0.0) with fpcupdeluxe. My installation target was "default/default", which means "FPC 3.0.2/Lazarus 1.6.4" as of today.

Code: [Select]
...
/bin/mkdir -p /home/michalis/fpcupdeluxe/fpc300bootstrap/rtl/units/x86_64-linux
as --64 -o /home/michalis/fpcupdeluxe/fpc300bootstrap/rtl/units/x86_64-linux/prt0.o x86_64/prt0.as
as --64  -o /home/michalis/fpcupdeluxe/fpc300bootstrap/rtl/units/x86_64-linux/dllprt0.o x86_64/dllprt0.as
as --64 -o /home/michalis/fpcupdeluxe/fpc300bootstrap/rtl/units/x86_64-linux/cprt0.o x86_64/cprt0.as
Assembler messages:
Fatal error: can't create /home/michalis/fpcupdeluxe/fpc300bootstrap/rtl/units/x86_64-linux/cprt0.o: Nie ma takiego pliku ani katalogu
Assembler messages:
Fatal error: can't create /home/michalis/fpcupdeluxe/fpc300bootstrap/rtl/units/x86_64-linux/prt0.o: Nie ma takiego pliku ani katalogu

It was 100% reproducible, running fpcupdeluxe again (also after "rm -Rf ~/fpcupdeluxe/") did not help. I workarounded it by doing (after a failure):

Code: [Select]
cd ~/fpcupdeluxe/fpc300bootstrap/
cp rtl/linux/x86_64/cprt0.as rtl/units/x86_64-linux/cprt0.as

Now I can rerun fpcupdeluxe and everything works.

I have not found an exact reason for this problem. But I guess it's a problem in FPC 3.0.0, likely to be already fixed in both 3.0.2 and trunk.

 

TinyPortal © 2005-2018