Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497236 - sys-fs/ori - a distributed file system built for offline operation
Summary: sys-fs/ori - a distributed file system built for offline operation
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Default Assignee for New Packages
URL: http://ori.scs.stanford.edu/
Whiteboard:
Keywords: EBUILD, PATCH
Depends on:
Blocks:
 
Reported: 2014-01-06 10:40 UTC by Dennis Schridde
Modified: 2015-01-11 18:51 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ori-0.8.0.ebuild (ori-0.8.0.ebuild,1.50 KB, text/plain)
2014-01-06 12:25 UTC, Dennis Schridde
Details
ori-0.8.0-scons-destdir.patch (ori-0.8.0-scons-destdir.patch,1.96 KB, patch)
2014-01-06 12:25 UTC, Dennis Schridde
Details | Diff
ori-0.8.0-scons-variables.patch (ori-0.8.0-scons-variables.patch,12.58 KB, patch)
2014-01-06 13:53 UTC, Dennis Schridde
Details | Diff
ori-0.8.0.ebuild (ori-0.8.0.ebuild,1.55 KB, text/plain)
2014-01-06 13:54 UTC, Dennis Schridde
Details
ori-0.8.1.ebuild (ori-0.8.1.ebuild,1.43 KB, text/plain)
2014-03-24 09:55 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2014-01-06 10:40:05 UTC
HOMEPAGE="http://ori.scs.stanford.edu/"
DESCRIPTION="Ori is a distributed file system built for offline operation"

It uses sys-fs/fuse. Would be great to have it in Gentoo.
Comment 1 Dennis Schridde 2014-01-06 12:25:30 UTC
Created attachment 367164 [details]
ori-0.8.0.ebuild

The SConstruct imports multiprocessing, which seems to be broken. I needed to run the following to make scons load the file:
# sed -i /usr/lib64/python2.7/multiprocessing/util.py
      -e '/from subprocess import _args_from_interpreter_flags/d'

This builds with USE="fuse local zeroconf -httpd -lzma -s3", but there are a lot of suspicious compiler warnings, so it probably needs some cleanup before it can go stable.
Comment 2 Dennis Schridde 2014-01-06 12:25:50 UTC
Created attachment 367166 [details, diff]
ori-0.8.0-scons-destdir.patch
Comment 3 Dennis Schridde 2014-01-06 12:29:06 UTC
ori-0.8.0-destdir.patch was sent upstream as https://bitbucket.org/orifs/ori/issue/1/sconstruct-destdir-support
Comment 4 Dennis Schridde 2014-01-06 13:53:52 UTC
Created attachment 367170 [details, diff]
ori-0.8.0-scons-variables.patch

The buildsystem used string Variables instead of BoolVariables everywhere, which caused the useflags to be ignored (0 != "0"). I fixed this and sent the patch upstream.

https://bitbucket.org/orifs/ori/issue/2/sconstruct-use-specialised-scons-variables
Comment 5 Dennis Schridde 2014-01-06 13:54:14 UTC
Created attachment 367172 [details]
ori-0.8.0.ebuild
Comment 6 Frank Krömmelbein 2014-01-06 14:10:18 UTC
Wow your quick Dennis, thanks!

Unfortunately the sed command from your Comment 1 was also necessary on my test machine. Do you know if this change to util.py has any side effects?
Compile was then OK, with many warnings..

I will test this software then on the weekend.

Thank you!

Btw. last activity of upstream was 3 months ago on Bitbucket...
Comment 7 Dennis Schridde 2014-01-06 14:28:15 UTC
(In reply to Frank Krömmelbein from comment #6)
> Unfortunately the sed command from your Comment 1 was also necessary on my
> test machine. Do you know if this change to util.py has any side effects?

I have no idea. I would hope the Gentoo/Python guys could clarify this. The imported variable seems nowhere to be used, though.

> Compile was then OK, with many warnings.

I also noticed this. I even found the first segfaults. Thus I would advise to NOT use this in production.

> Btw. last activity of upstream was 3 months ago on Bitbucket...

Yes, it seems to be a research project, with the paper published in November. I assume they did not yet get around to work on it any further since then.
Comment 8 Dennis Schridde 2014-01-06 14:39:21 UTC
Please note that at least app-arch/snappy and net-libs/libs3 are bundled.
Comment 9 Dennis Schridde 2014-03-24 09:55:27 UTC
Created attachment 373408 [details]
ori-0.8.1.ebuild

OriFS 0.8.1 was released and includes my buildsystem and segfault patches.