FFEL site.conf defekt?

Probiere grade gluon mit der Emscherland Site zu kompilieren

mv .config /tmp/gluon/build/ar71xx-generic/config-allmods
cp /tmp/gluon/build/ar71xx-generic/config .config
make[2]: Leaving directory `/tmp/gluon/build/ar71xx-generic/openwrt'
touch /tmp/gluon/build/ar71xx-generic/target-prepared
make[1]: Leaving directory `/tmp/gluon/openwrt'
/tmp/gluon/scripts/site.sh: line 5:  6123 Segmentation fault      "$GLUONDIR"/openwrt/staging_dir/host/bin/lua -e "print(assert(dofile(os.getenv('GLUONDIR') .. '/${SITE_CONFIG_LUA}').$1))" 2> /dev/null
/tmp/gluon/scripts/site.sh: line 5:  6125 Segmentation fault      "$GLUONDIR"/openwrt/staging_dir/host/bin/lua -e "print(assert(dofile(os.getenv('GLUONDIR') .. '/${SITE_CONFIG_LUA}').$1))" 2> /dev/null
make[1]: Entering directory `/tmp/gluon/build/ar71xx-generic/openwrt'
+ mkdir -p /tmp/gluon/build/ar71xx-generic/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2
+ cd /tmp/gluon/build/ar71xx-generic/openwrt/staging_dir/toolchain-mips_34kc_gcc-4.8-linaro_uClibc-0.9.33.2
+ ln -nsf lib lib64
+ ln -nsf lib lib32
+ mkdir -p stamp lib usr/include usr/lib
make[1]: Leaving directory `/tmp/gluon/build/ar71xx-generic/openwrt'
/tmp/gluon/scripts/site.sh: line 5:  6239 Segmentation fault      "$GLUONDIR"/openwrt/staging_dir/host/bin/lua -e "print(assert(dofile(os.getenv('GLUONDIR') .. '/${SITE_CONFIG_LUA}').$1))" 2> /dev/null
/tmp/gluon/scripts/site.sh: line 5:  6241 Segmentation fault      "$GLUONDIR"/openwrt/staging_dir/host/bin/lua -e "print(assert(dofile(os.getenv('GLUONDIR') .. '/${SITE_CONFIG_LUA}').$1))" 2> /dev/null
make[1]: Entering directory `/tmp/gluon/build/ar71xx-generic/openwrt'
bash: line 1:  6352 Segmentation fault      /tmp/gluon/build/ar71xx-generic/openwrt/staging_dir/host/bin/lua /tmp/gluon/package/gluon-core/files/usr/lib/lua/gluon/site_config.lua
Your site configuration did not pass validation.
make[1]: *** [prepare] Error 1
make[1]: Leaving directory `/tmp/gluon/build/ar71xx-generic/openwrt'
make: *** [all] Error 2

Diesen Fehler erhalte ich dabei, jemand ne Idee?

https://github.com/ffruhr/site-ffel
gluon version: 0.7.1

Welches Gluon hast du denn ausgecheckt? Für das derzeit aktuelle Master sind Änderungen in der site.conf bzgl. Meshing erforderlich. Probier Mal vorweg:

git checkout v2015.1.2
 git clone https://github.com/freifunk-gluon/gluon.git gluon -b v2015.1.1
cd gluon
git checkout status-page
git clone https://github.com/ffruhr/site-ffel.git site
make update
make GLUON_TARGET=ar71xx-generic

danach kommt…

make[1] prepare-target
 make[2] feeds
 make[3] prepare-tmpinfo
 make[2] gluon-tools
 make[3] tools/sed/install
 make[4] -C tools/patch compile
 make[4] -C tools/patch install
 make[4] -C tools/sed compile
 make[4] -C tools/sed install
 make[3] package/lua/host/install
 make[4] -C package/utils/lua host-install
 make[2] config
 make[2] config
 make[3] prepare-tmpinfo
 make[1] prepare
 make[1] prepare
make -C /tmp/gluon/build/ar71xx-generic/openwrt -f /tmp/gluon/Makefile prepare: build failed. Please re-run make with V=s to see what's going on
make: *** [all] Error 1

und mit v=s obige fehlermeldung
ist doch eigentlich die richtige branch von gluon?

Der @duese hat ein 2015.2 gebaut - sollte damit gehen.

habe es noch einmal mit einem frischen v2015.1.2 Branch probiert… Fehlermeldung bleibt die selbe :confused:

Habe testweise die Lübeck Site genommen, mit dieser kompiliert er problemlos… Kann jemand meinen Fehler oben reproduzieren?

Ich bau mir mal eben ein Buildenvironment und teste es auch durch.

Eigentlich schon, vermutlich fehlt bei dir auch die ssl Datei. Entweder baust du neu mit der v2015.1.2, da hatte ich keine Probleme, oder du packst die Datei https://www.openssl.org/source/old/1.0.2/openssl-1.0.2c.tar.gz in das openwrt/dl Verzeichnis.

Das SSL-Problem lässt sich mit apt install libssl-dev lösen. Bei mir baut gerade das Target x86-generic. Bisher kein Error, aber auch keinen Plan, wie lange er bis zur Validierung der site.conf braucht.

EDIT - Make lief durch. Versuche es jetzt mal mit allen Targets.

Also jetzt habe ich alle Targets einmal durch @ReneSch.

Folgenden Weg bin ich gegangen von einem frischen Ubuntu LTS in einer Virtualbox.

sudo apt install git subversion build-essential gawk unzip libncurses5-dev zlib1g-dev libssl-dev
git clone https://github.com/freifunk-gluon/gluon.git -b v2015.1.2
cd gluon
git checkout status-page
git https://github.com/ffruhr/site-ffel.git site
make update
make -j 4 GLUON_TARGET=ar71xx-generic
make -j 4 GLUON_TARGET=ar71xx-nand
make -j 4 GLUON_TARGET=mpc85xx-generic
make -j 4 GLUON_TARGET=x86-64
make -j 4 GLUON_TARGET=x86-generic
make -j 4 GLUON_TARGET=x86-kvm_guest
1 „Gefällt mir“

Danke Michael, nach erneutem Versuch gings nun letzendlich

1 „Gefällt mir“