Re: [fpc-pascal] fpcup fails on Linux

2015-04-19 Thread Paul Breneman

On 04/18/2015 12:48 PM, Juha Manninen wrote:

Thanks for everybody for testing.
I could finally install FPC trunk in my development machine, Mint
Linux 64-bit, using fpcup. I remember it failed also there earlier for
some reason.
I still don't know what caused the errors in the fresh XUbuntu and
other Linux distros in virtual machines. I hope fpcup will be
maintained again soon, it is a nice tool when it works.


I have some goals for fpcup.  Last week I left notes on the Lazarus 
forum about making small VMs with Debian Jessie RC2 *and* ReactOS (Win32):

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

One goal is to have simple Linux and Win32 VMs that fpcup works in. 
That should help with testing things, and also help people get started.


Comments welcomed!

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] fpcup fails on Linux

2015-04-18 Thread David B Copeland
I also successfully built trunk (3.1.1) on Suse 13.1 from the
fpcbuild.zip, last Thursday (I think).

On 04/17/2015 07:22 AM, Stéphane Aulery wrote:
 Le vendredi 17 avril 2015 à 01:39:40, Juha Manninen a écrit :
 I found a similar error from last December, experienced by Waldo Kitty :
   https://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg32256.html
 but there was no solution.

 Why it happens only with rstconv.pp? Many units were already compiled
 before that.
 My test system is a fresh XUbuntu, 32-bit. No FPC was installed before
 using fpcup.

 Can everybody else build FPC on Linux?
 I have build fpc directly form trunk Wednesday on Debian testing amd64, all 
 rights!.


___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpcup fails on Linux

2015-04-18 Thread Juha Manninen
Thanks for everybody for testing.
I could finally install FPC trunk in my development machine, Mint
Linux 64-bit, using fpcup. I remember it failed also there earlier for
some reason.
I still don't know what caused the errors in the fresh XUbuntu and
other Linux distros in virtual machines. I hope fpcup will be
maintained again soon, it is a nice tool when it works.

Juha
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] fpcup fails on Linux

2015-04-18 Thread Marco van de Voort
In our previous episode, Juha Manninen said:
 Thanks for everybody for testing.
 I could finally install FPC trunk in my development machine, Mint
 Linux 64-bit, using fpcup. I remember it failed also there earlier for
 some reason.
 I still don't know what caused the errors in the fresh XUbuntu and
 other Linux distros in virtual machines. I hope fpcup will be
 maintained again soon, it is a nice tool when it works.

Does fpcup recycle checkouts with multiple attempts? If so kill fpmake.exe
and let it regenerate ?
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] fpcup fails on Linux

2015-04-18 Thread Stéphane Aulery
Le vendredi 17 avril 2015 à 01:39:40, Juha Manninen a écrit :
 I found a similar error from last December, experienced by Waldo Kitty :
   https://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg32256.html
 but there was no solution.
 
 Why it happens only with rstconv.pp? Many units were already compiled
 before that.
 My test system is a fresh XUbuntu, 32-bit. No FPC was installed before
 using fpcup.
 
 Can everybody else build FPC on Linux?

I have build fpc directly form trunk Wednesday on Debian testing amd64, all 
rights!.

-- 
Stéphane Aulery
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

[fpc-pascal] fpcup fails on Linux

2015-04-17 Thread Juha Manninen
I tried installing FPC using fpcup on some Linux systems, now on XUbuntu.
Both fixes and trunk give an error with fpjson. On Windows I can
install both without problems. Do I need another package from Ubuntu
repos?

Here fixes is set to branch fixes_3_0 :

./fpcup_linux_x86 --fpcURL=fixes
--only=FPCcleanonly,FPCgetonly,FPCbuildonly --verbose

...
The installer encountered the following error:
External command /home/juha/development/fpc/compiler/ppc386 -Tlinux
-FEbin/i386-linux -FUunits/i386-linux/
-Fu/home/juha/development/fpc/rtl/units/i386-linux/
-Fu/home/juha/development/fpc/units/i386-linux/fcl-base
-Fu/home/juha/development/fpc/units/i386-linux/paszlib
-Fu/home/juha/development/fpc/units/i386-linux/hash
-Fu/home/juha/development/fpc/units/i386-linux/rtl-extra -Ur -Xs -O2
-n -Fu/home/juha/development/fpc/rtl/units/i386-linux
-Fu/home/juha/development/fpc/packages/paszlib/units/i386-linux
-Fu/home/juha/development/fpc/packages/fcl-process/units/i386-linux
-Fu/home/juha/development/fpc/packages/hash/units/i386-linux
-Fu/home/juha/development/fpc/packages/libtar/units/i386-linux
-Fu/home/juha/development/fpc/packages/fpmkunit/units/i386-linux
-Fu/home/juha/development/fpc/packages/fcl-json/units/i386-linux
-di386 -dRELEASE -viq rstconv.pp failed with exit code 256. Console
output:
Target OS: Linux for i386
Compiling rstconv.pp
Fatal: Can't find unit variants used by fpjson
Fatal: Compilation aborted
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] fpcup fails on Linux

2015-04-17 Thread Michael Van Canneyt



On Fri, 17 Apr 2015, Juha Manninen wrote:


I found a similar error from last December, experienced by Waldo Kitty :
 https://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg32256.html
but there was no solution.

Why it happens only with rstconv.pp? Many units were already compiled
before that.
My test system is a fresh XUbuntu, 32-bit. No FPC was installed before
using fpcup.

Can everybody else build FPC on Linux?


Yes, I can (but I do not use fpcup).

I did a small fix, added a dependency on rtl-objpas, where the variants unit is 
located.
Rev 30618.

Can you please test if this fixes the issue for you ?

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] fpcup fails on Linux

2015-04-17 Thread Juha Manninen
On Fri, Apr 17, 2015 at 3:27 PM, Michael Van Canneyt
mich...@freepascal.org wrote:
 I did a small fix, added a dependency on rtl-objpas, where the variants unit
 is located.
 Rev 30618.

 Can you please test if this fixes the issue for you ?

Using trunk now in the command.
It looks different but still fails.
I really wonder what makes the difference because fpcup takes pretty
much the same steps that a person would do.

...
Start compiling package utils-fpdoc for target i386-linux.
   Compiling fpdoc/BuildUnit_utils_fpdoc.pp
   Compiling fpdoc/dglobals.pp
The installer encountered the following error:
External command /home/juha/development/fpc/compiler/ppc386 -Tlinux
-FUfpdoc/units/i386-linux/
-Fu/home/juha/development/fpc/rtl/units/i386-linux/
-Fu/home/juha/development/fpc/units/i386-linux/fcl-base
-Fu/home/juha/development/fpc/units/i386-linux/fcl-xml
-Fu/home/juha/development/fpc/units/i386-linux/fcl-passrc
-Fu/home/juha/development/fpc/units/i386-linux/fcl-process
-Fu/home/juha/development/fpc/units/i386-linux/chm -Ur -Xs -O2 -n
-Fu/home/juha/development/fpc/rtl/units/i386-linux
-Fu/home/juha/development/fpc/packages/paszlib/units/i386-linux
-Fu/home/juha/development/fpc/packages/fcl-process/units/i386-linux
-Fu/home/juha/development/fpc/packages/hash/units/i386-linux
-Fu/home/juha/development/fpc/packages/libtar/units/i386-linux
-Fu/home/juha/development/fpc/packages/fpmkunit/units/i386-linux
-Fu/home/juha/development/fpc/packages/fcl-json/units/i386-linux
-di386 -dRELEASE -S2h -viq fpdoc/BuildUnit_utils_fpdoc.pp failed with
exit code 256. Console output:
Target OS: Linux for i386
Compiling fpdoc/BuildUnit_utils_fpdoc.pp
Compiling fpdoc/dglobals.pp
dglobals.pp(26,38) Fatal: Can't find unit StrUtils used by dGlobals
Fatal: Compilation aborted
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] fpcup fails on Linux

2015-04-17 Thread Michael Van Canneyt



On Fri, 17 Apr 2015, Juha Manninen wrote:


On Fri, Apr 17, 2015 at 3:27 PM, Michael Van Canneyt
mich...@freepascal.org wrote:

I did a small fix, added a dependency on rtl-objpas, where the variants unit
is located.
Rev 30618.

Can you please test if this fixes the issue for you ?


Using trunk now in the command.
It looks different but still fails.
I really wonder what makes the difference because fpcup takes pretty
much the same steps that a person would do.

...
Start compiling package utils-fpdoc for target i386-linux.
  Compiling fpdoc/BuildUnit_utils_fpdoc.pp
  Compiling fpdoc/dglobals.pp
The installer encountered the following error:
External command /home/juha/development/fpc/compiler/ppc386 -Tlinux
-FUfpdoc/units/i386-linux/
-Fu/home/juha/development/fpc/rtl/units/i386-linux/
-Fu/home/juha/development/fpc/units/i386-linux/fcl-base
-Fu/home/juha/development/fpc/units/i386-linux/fcl-xml
-Fu/home/juha/development/fpc/units/i386-linux/fcl-passrc
-Fu/home/juha/development/fpc/units/i386-linux/fcl-process
-Fu/home/juha/development/fpc/units/i386-linux/chm -Ur -Xs -O2 -n


These paths are not correct.
They should be
-Fu/home/juha/development/fpc/packages/fcl-base/units/i386-linux
etc.

I also do not see the rtl-objpas path appearing ?

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] fpcup fails on Linux

2015-04-17 Thread Juha Manninen
I found a similar error from last December, experienced by Waldo Kitty :
  https://www.mail-archive.com/fpc-devel@lists.freepascal.org/msg32256.html
but there was no solution.

Why it happens only with rstconv.pp? Many units were already compiled
before that.
My test system is a fresh XUbuntu, 32-bit. No FPC was installed before
using fpcup.

Can everybody else build FPC on Linux?

Juha
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal