[Battlemesh] gnunet and cjdns not yet in 15.05.1 (and thus, in WBMv9)

Gui Iribarren gui at altermundi.net
Mon Apr 18 16:50:40 CEST 2016


during the last battlemesh (right in the middle of it), cjdns and gnunet
were added to wibed-battlemesh-experiment

https://github.com/battlemesh/wibed-battlemesh-experiment/blob/master/packages/wibed-battlemesh-experiment/Makefile

none of those packages are actually available in 15.05.1 (the version
agreed to be used at v9)

i took a stab at it anyway, trying to pull the packages from trunk and
install them over a 15.05.1

wget http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/
routing/cjdns_0.17-2_ar71xx.ipk
http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packages/package
s/gnunet-gns_0.10.1-svn36986-1_ar71xx.ipk
http://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/packag
es/packages/gnunet-vpn_0.10.1-svn36986-1_ar71xx.ipk
http://downloads.openwrt.org/snapshots/trunk/ar71xx/gene
ric/packages/packages/gnunet_0.10.1-svn36986-1_ar71xx.ipk
opkg install *.ipk


but, alas, it didn't work

Configuring cjdns.
//usr/lib/opkg/info/cjdns.postinst: /etc/uci-defaults/cjdns: line 125:
cjdroute: not found
//usr/lib/opkg/info/cjdns.postinst: /etc/uci-defaults/cjdns: line 125:
cjdroute: not found
lua: /usr/lib/lua/cjdns/init.lua:7: module 'sha2' not found:
        no field package.preload['sha2']
        no file './sha2.lua'
        no file '/usr/share/lua/sha2.lua'
        no file '/usr/share/lua/sha2/init.lua'
        no file '/usr/lib/lua/sha2.lua'
        no file '/usr/lib/lua/sha2/init.lua'
        no file './sha2.so'
        no file '/usr/lib/lua/sha2.so'
        no file '/usr/lib/lua/loadall.so'
stack traceback:
        [C]: in function 'require'
        /usr/lib/lua/cjdns/init.lua:7: in main chunk
        [C]: in function 'require'
        /usr/bin/cjdrouteconf:4: in main chunk
        [C]: ?
/etc/rc.common: /etc/uci-defaults/cjdns: line 125: cjdroute: not found
/etc/rc.common: /etc/uci-defaults/cjdns: line 125: cjdroute: not found
lua: /usr/lib/lua/cjdns/init.lua:7: module 'sha2' not found:
        no field package.preload['sha2']
        no file './sha2.lua'
        no file '/usr/share/lua/sha2.lua'
        no file '/usr/share/lua/sha2/init.lua'
        no file '/usr/lib/lua/sha2.lua'
        no file '/usr/lib/lua/sha2/init.lua'
        no file './sha2.so'
        no file '/usr/lib/lua/sha2.so'
        no file '/usr/lib/lua/loadall.so'
stack traceback:
        [C]: in function 'require'
        /usr/lib/lua/cjdns/init.lua:7: in main chunk
        [C]: in function 'require'
        /usr/bin/cjdrouteconf:4: in main chunk
        [C]: ?
Configuring gnunet.
/etc/rc.common: line 1: gnunet-config: not found
/etc/rc.common: line 1: gnunet-config: not found
/etc/rc.common: line 1: gnunet-config: not found
/etc/rc.common: line 1: gnunet-config: not found
/etc/rc.common: line 1: gnunet-config: not found
/etc/rc.common: line 1: gnunet-config: not found
/etc/rc.common: line 1: gnunet-config: not found
/etc/rc.common: line 1: gnunet-config: not found
/etc/rc.common: line 1: gnunet-config: not found
Configuring gnunet-vpn.
Configuring gnunet-gns.
Configuring wibed-battlemesh-experiment.
Collected errors:
 * check_data_file_clashes: Package dkjson wants to install file
/usr/lib/lua/dkjson.lua
        But that file is already provided by package  * wibed-system
 * opkg_install_cmd: Cannot install package cjdns.
 * satisfy_dependencies_for: Cannot satisfy the following dependencies
for gnunet-gns:
 *      libgnurl *
 * opkg_install_cmd: Cannot install package gnunet-gns.


so i'm dropping the dependencies from wibed-battlemesh-experiment in
order to get the thing running ASAP.
I'd love if someone (dangowrt? lgierth?) wants to backport these
packages and make them work in 15.05.1, then i'd happily reintegrate
them into the experiments :)

cheers!




More information about the Battlemesh mailing list