Sign in Join

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

Mailing lists / fpc-devel / 2019-05

Building from source...

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Kevin Lyda

I note that there's a git mirror hosted at
https://github.com/graemeg/freepascal which is kept up to date (last commit, 17 minutes ago). I want to use it to do two things - first to test a proposed patch and second on my own systems to integrate into my ci/cd systems.

I note there's a Makefile at the base of the repo and a plain "make" runs the "help" target which points me at "make all". So I run that and get this error:

/usr/bin/ppcx64 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU/home/kevin/src/freepascal/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE ../objpas/fgl.pp
/usr/bin/ppcx64 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU/home/kevin/src/freepascal/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE -Fi../objpas/classes ../unix/classes.pp streams.inc(1865,37) Error: Can't determine which overloaded function to call classes.pp(57) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted
Makefile:3989: recipe for target 'classes.ppu' failed make[7]: *** [classes.ppu] Error 1
make[7]: Leaving directory '/home/kevin/src/freepascal/rtl/linux' Makefile:2064: recipe for target 'linux_all' failed make[6]: *** [linux_all] Error 2
make[6]: Leaving directory '/home/kevin/src/freepascal/rtl' Makefile:4676: recipe for target 'rtl' failed
make[5]: *** [rtl] Error 2
make[5]: Leaving directory '/home/kevin/src/freepascal/compiler' Makefile:4517: recipe for target 'next' failed
make[4]: *** [next] Error 2
make[4]: Leaving directory '/home/kevin/src/freepascal/compiler' Makefile:4524: recipe for target 'ppc1' failed
make[3]: *** [ppc1] Error 2
make[3]: Leaving directory '/home/kevin/src/freepascal/compiler' Makefile:4539: recipe for target 'cycle' failed
make[2]: *** [cycle] Error 2
make[2]: Leaving directory '/home/kevin/src/freepascal/compiler' Makefile:2845: recipe for target 'compiler_cycle' failed make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory '/home/kevin/src/freepascal' Makefile:2877: recipe for target 'build-stamp.x86_64-linux' failed make: *** [build-stamp.x86_64-linux] Error 2

I'm on Ubuntu 18.04 and have fpc 3.0.4 installed via apt.

Kevin

Kevin Lyda Galway, Ireland

Reply by email

Sven Barth
to Kevin Lyda

Kevin Lyda schrieb am Mo., 13. Mai 2019, 02:20:

Show quoted text 21 lines
I note that there's a git mirror hosted at https://github.com/graemeg/freepascal which is kept up to date (last commit, 17 minutes ago). I want to use it to do two things - first to test a proposed patch and second on my own systems to integrate into my ci/cd systems. I note there's a Makefile at the base of the repo and a plain "make" runs the "help" target which points me at "make all". So I run that and get this error: /usr/bin/ppcx64 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU/home/kevin/src/freepascal/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE ../objpas/fgl.pp /usr/bin/ppcx64 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU/home/kevin/src/freepascal/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE -Fi../objpas/classes ../unix/classes.pp streams.inc(1865,37) Error: Can't determine which overloaded function to call classes.pp(57) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted

There was an error in trunk which has already been fixed. Don't know whether the mirror has caught up already, but it should work again.

Regards,
Sven

Reply by email

Kevin Lyda
to Sven Barth
AM Sven Barth wrote
There was an error in trunk which has already been fixed. Don't know whether the mirror has caught up already, but it should work again.

It had, sorry. I checked just before I went to bed last night but forgot to reply to my mail.

Kevin

Kevin Lyda Galway, Ireland

Reply by email