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

Gui Iribarren gui at altermundi.net
Fri Apr 22 17:09:54 CEST 2016


On 18/04/16 18:52, Lars wrote:
> hey,
> 
> the cjdns package does work fine on 15.05.x, i've built images with
> cjdns included just a few days ago. i'm not sure yet why it wasn't
> included in the 15.05.1 release, especially since the luci-app-cjdns
> package *is* included -- but i'm trying to find out :)

no idea either, but don't worry too much about the downloads.openwrt.org
release, since it's compiling fine on my 15.05.1 buildroot and that's
what matters for the battlemesh :)

> 
> it should work just fine if you build it yourself from the
> openwrt-routing feed's for-15.05 branch.

true, it does build,
but there's a conflict between dkjson and wibed-system, they both
provide the same file

root at wibed-4ce10c:~# opkg install /tmp/cjdns_0.17-2_ar71xx.ipk
Installing cjdns (0.17-2) to root...
Multiple packages (kmod-tun and kmod-tun) providing same name marked
HOLD or PREFER. Using latest.
Multiple packages (kmod-ipv6 and kmod-ipv6) providing same name marked
HOLD or PREFER. Using latest.
Installing lua-bencode (2.1.0-1) to root...
Downloading
http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/packages/lua-bencode_2.1.0-1_ar71xx.ipk.
Installing dkjson (2.5-3) to root...
Downloading
http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/packages/dkjson_2.5-3_ar71xx.ipk.
Configuring lua-bencode.
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.

i guess the correct thing to do is to remove that file from
wibed-system, and add a dependency on dkjson package. will do.
(unless someone thinks otherwise, please shout)

cheers!



> 
> i won't be attending battlemesh myself this year, unfortunately, so i
> can't give advice on the ground.
> 
> thanks gui!
> lars
> 
> On 18.04.2016 10:50, Gui Iribarren wrote:
>> 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!
>>
>> _______________________________________________
>> Battlemesh mailing list
>> Battlemesh at ml.ninux.org
>> http://ml.ninux.org/mailman/listinfo/battlemesh
>>
>>
>>
>> _______________________________________________
>> Battlemesh mailing list
>> Battlemesh at ml.ninux.org
>> http://ml.ninux.org/mailman/listinfo/battlemesh



More information about the Battlemesh mailing list