New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpinelinux package #4437
Comments
From that thread:
That error might be fixed by adding
The latest version of RethinkDB (2.0.3) should build with GCC 5.1 (#4264). I've never tried building it with musl. |
I just tried building on Alpine Linux. These are the dependencies that are needed:
Building RethinkDB with
Generates many errors. Most of them seem minor, such as missing Some of the errors are in code guarded by The other class of errors I can see is caused by the lack |
Yes, it's not as easy as it looks like. |
The android ndk also uses a different libc that has many of the same issues. |
Musl libc does not have a MUSL macro: http://wiki.musl-libc.org/wiki/FAQ#Q:_why_is_there_no_MUSL_macro_.3F I'm bumping into this: |
@clandmeter Replacing |
im using this patch http://sprunge.us/IKRL but still get the above errors. |
@clandmeter Those errors are expected, and I don't know how to solve them. You might try changing |
With this patch, dbc7e8b, I was able to compile and run RethinkDB in an Alpine Linux 3.2.0 schroot. I had to install libexecinfo 1.1 from http://nl.alpinelinux.org/alpine/edge/testing/x86_64/ and do:
|
OK, ive made it compile and added it to our testing repo. I had to disable it because our buildservers are running grsec kernels. I will have to build it local with grsec enabled to check which bins i need to paxmark. http://git.alpinelinux.org/cgit/aports/tree/testing/rethinkdb Would be nice if the patch can be integrated into rethinkdb? Maybe it needs some cleanup or defs. Also errors.cc gives me: src/errors.cc: In function 'const char* errno_string_maybe_using_buffer(int, char_, size_t)': |
Are you still unable to compile |
Yes is am, i just didnt know this was the right way to fix it. btw, it isnt possible to use more external libs? I tried to let is use re2 but it keeps using the provided one. |
It's great to see an Alpine Linux package. I'll try to get your patches merged for RethinkDB 2.1. I would recommend using the system's version of all libraries except for v8 and re2, partly because their functionality is directly exposed through the query language. Using a different version could change the semantics of some queries. Also, both libraries use rolling releases which are hard to track. |
Any news about the merge :) ? |
Sorry this didn't make it into 2.1.0. @AtnNn what's the status of this? |
@danielmewes There is an alpine linux package. The downstream patch looks good to me, and could be merged if it doesn't break the build on other platforms, which I never got around to do. You might also want a CLA. http://git.alpinelinux.org/cgit/aports/plain/testing/rethinkdb/musl-fixes.patch |
I see. I'll try this out on our build system to see if it builds on all supported platforms. @yvann have you signed http://www.rethinkdb.com/community/cla/ ? For legal reasons, we require this CLA before we can merge patches into the main code base. |
@danielmewes The PR is not mine :) |
Sorry, I meant @clandmeter :-) |
is there progress on this? |
I haven't looked into this since my last post here. The compilation issue on OS X is still present and we can't merge the patch yet. I'll look into it now and see if there's an easy fix. |
Actually this is compiling fine on I'll apply the patch to |
The patches are applied in branch |
@clandmeter related to this, I'd like to continue to keep RethinkDB working on Alpine Linux mostly for the official Docker image. Have you kept up to date on this? |
Hi @dalanmiller. Since your profile states that you are a pythonista and a RethinkDB evangelizer to boot, maybe you can help me out with the issue I just referenced above :) |
Thanks for the ping @1ma, I'll comment over there. |
Hey all, A few thoughts and questions:
|
Hi, Thanks |
What is your proposal? |
I guess what I am asking is, what can we do for you? |
Hi @srh thanks for replying. Basically I just wanted to help and did not receive any hint. I had a draft of building the latest A few questions maybe you may answer:
Thank you for any suggestion |
This issue is closed. There is a If you have any more questions, please use the mailing list or slack, or open a new issue if they seem relevant to this repo. I don't know of any instructions or tutorial for building RethinkDB on alpine linux. We keep our documentation for building rethinkdb on different platforms here: https://github.com/rethinkdb/docs/tree/master/0-getting-started/install It would be useful if you could add a page for alpine linux. |
Hello everybody,
I'd like to know if someone's working on an Alpinelinux package ? I've started a topic on their forum : http://forum.alpinelinux.org/forum/general-discussion/rethinkdb-package
Alpinelinux is a very lightweight linux distribution used a lot in the docker ecosytem. https://www.alpinelinux.org/
Thanks for your help
The text was updated successfully, but these errors were encountered: