Error compiling Rift

30 views
Skip to first unread message

Dmitry Dneprov

unread,
Feb 5, 2015, 10:13:34 AM2/5/15
to rever...@googlegroups.com
Hello,

I just have started to get aquainted with elliptics software.
First of all, I have sucessfully compiled elliptics (from tag v2.26.3.36) 
Then, I have trouble compiling rift (from tag v2.26.0.1.0):

In file included from /media/dima/HDD/prj/yandex/rift/src/bucket.cpp:2:0:
/media/dima/HDD/prj/yandex/rift/include/rift/server.hpp:217:20: error: field ‘vfs’ has incomplete type
   struct dnet_stat vfs;
                    ^
/media/dima/HDD/prj/yandex/rift/include/rift/server.hpp:329:29: error: ‘stat_result_entry’ in namespace ‘ioremap::elliptics’ does not name a type
  void vfs_stat_result(const elliptics::stat_result_entry &res) {
                             ^
/media/dima/HDD/prj/yandex/rift/include/rift/server.hpp:329:59: error: ISO C++ forbids declaration of ‘res’ with no type [-fpermissive]
  void vfs_stat_result(const elliptics::stat_result_entry &res) {
                                                           ^
/media/dima/HDD/prj/yandex/rift/include/rift/server.hpp: In member function ‘void ioremap::rift::elliptics_base::stat_update()’:
/media/dima/HDD/prj/yandex/rift/include/rift/server.hpp:119:14: error: ‘class ioremap::elliptics::session’ has no member named ‘stat_log’
   m_session->stat_log().connect(
              ^
/media/dima/HDD/prj/yandex/rift/include/rift/server.hpp: In constructor ‘ioremap::rift::elliptics_base::node_stat::node_stat()’:
/media/dima/HDD/prj/yandex/rift/include/rift/server.hpp:234:12: error: ‘vfs’ was not declared in this scope
    memset(&vfs, 0, sizeof(struct dnet_stat));
  
I think this is some elliptics / rift version incompatibilities.
Please help.

Dima

Евгений Поляков

unread,
Feb 5, 2015, 11:08:44 AM2/5/15
to Dmitry Dneprov, rever...@googlegroups.com
Hi Dmitry

05.02.2015, 18:14, "Dmitry Dneprov" <daem...@gmail.com>:
> I just have started to get aquainted with elliptics software.
> First of all, I have sucessfully compiled elliptics (from tag v2.26.3.36)

Good to know!
You may also want to take a look at our repositories with precompiled packages: http://repo.reverbrain.com

> Then, I have trouble compiling rift (from tag v2.26.0.1.0):

As of rift, I recommend switching to backrunner proxy: http://doc.reverbrain.com/backrunner:backrunner
It is very similar to Rift ideas, but written in Go. Rift is not supported for now.

Sources: https://github.com/bioothod/backrunner
Docker images: https://registry.hub.docker.com/u/reverbrain/backrunner/

Ruslan Nigmatullin

unread,
Feb 5, 2015, 1:29:05 PM2/5/15
to Евгений Поляков, Dmitry Dneprov, rever...@googlegroups.com
Hi Evgeniy,

As you've decided to drop Rift's support, may be it's good idea to write about this at GitHub repo and Reverbrain wiki? Otherwise it's totally impossible to get this information.

05.02.2015, 08:08, "Евгений Поляков" <z...@ioremap.net>:
> --
> You received this message because you are subscribed to the Google Groups "reverbrain" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to reverbrain+...@googlegroups.com.
> To post to this group, send email to rever...@googlegroups.com.
> Visit this group at http://groups.google.com/group/reverbrain.
> For more options, visit https://groups.google.com/d/optout.

--
Ruslan Nigmatullin

Alexey Timofeyev

unread,
Feb 26, 2015, 4:17:16 AM2/26/15
to rever...@googlegroups.com, daem...@gmail.com
Hi Evgeniy,

>As of rift, I recommend switching to backrunner proxy: http://doc.reverbrain.com/backrunner:backrunner 
>It is very similar to Rift ideas, but written in Go. Rift is not supported for now. 

Did you make precompilled package fo backrunner for http://repo.reverbrain.com ? I did'n find it for now.

четверг, 5 февраля 2015 г., 19:08:44 UTC+3 пользователь Евгений Поляков написал:

Евгений Поляков

unread,
Feb 26, 2015, 8:46:56 AM2/26/15
to Alexey Timofeyev, rever...@googlegroups.com, daem...@gmail.com
Hi Alexey

26.02.2015, 13:07, "Alexey Timofeyev" <timo...@playform.com>:
> Did you make precompilled package fo backrunner for http://repo.reverbrain.com ? I did'n find it for now.

We use docker images for backrunner, they can be found at https://registry.hub.docker.com/u/reverbrain/backrunner/
It is written in Go, so building is manually is just a 'go build' opeartion.
Also, there is a docker file in backrunner repo to simplify things, it contains all needed build commands
Reply all
Reply to author
Forward
0 new messages