[Lazarus] Raspbian FPC 3.3.1 and Lazarus 2.0 Available

Bo Berglund bo.berglund at gmail.com
Thu Feb 21 00:09:17 CET 2019


On Tue, 19 Feb 2019 23:43:21 +0100, Joe via lazarus
<lazarus at lists.lazarus-ide.org> wrote:

>Bo,
>on a Pi 3B+, I created a new system with Raspbian Stretch Nov 2018 
>Edition, set 'locale' to German, connected it to the WLAN, increased the 
>swap file size to 1000 and started your script 'sh.com' (yes, the one 
>with SheBang)
>
>It failed with this messages:
>
>" A  2.0.0/test/manual/png/testsuite_check/basn0g08.png.gif
>  svn: E120108: Fehler beim Ausführen des: Kontextes: The server 
>unexpectedly closed the connection.
>  setup.sh: 156: Cannot download Lazarus sources for 2.0.0! Aborting".
>

While examining your error message above I see that the checkout has
reached into the Lazarus svn command and stopped at the test stuff, so
this really means that it has started working on the svn co command
and downloaded FPC plus a lot of Lazarus files, but failed due to
networking errors.

I have copied out the lines in my script that use svn to get the
sources and modified the LAZTAG, FPCTAG, FPCVER and LAZVER variables
so it all reads as follows:

#!/bin/bash
LAZDIR=/home/pi/dev/lazarus
FPCDIR=/home/pi/dev/fpc
FPCTAG=release_3_0_4/tests
FPCVER=3.0.4_tst
LAZTAG=lazarus_2_0_0/test
LAZVER=2.0.0_tst

function error_exit
{
# ----------------------------------------------------------------
# Function for exit due to fatal program error
#  Accepts 1 argument:
#  string containing descriptive error message
#----------------------------------------------------------------
  echo "${PROGNAME}: ${1:-"Unknown Error"}" 1>&2
  exit 1
}

echo "Downloading version $FPCVER of FPC"
cd "$FPCDIR" || error_exit "$LINENO: Cannot access directory $FPCDIR!
Aborting"
svn co "https://svn.freepascal.org/svn/fpc/tags/$FPCTAG" "$FPCVER" ||
error_exit "$LINENO: Cannot download fpc sources! Aborting"

echo "Downloading version $LAZVER of Lazarus"
cd "$LAZDIR" || error_exit "$LINENO: Cannot access dir $LAZDIR!
Aborting"
svn co "https://svn.freepascal.org/svn/lazarus/tags/$LAZTAG/test"
"$LAZVER" || error_exit "$LINENO: Cannot download Lazarus sources for
$LAZVER! Aborting"

Then I ran this new script on the RPi3-Stretch machine I had earlier
installed on. There were no errors shown and the reported file in your
error was successfully checked out.

What kind of network connection do you have? I am on 250/100 Mbit/s
fiber myself.

-- 
Bo Berglund
Developer in Sweden



More information about the lazarus mailing list