Skip to content
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

Arm Version #41

Open
random-robbie opened this issue Sep 23, 2017 · 19 comments
Open

Arm Version #41

random-robbie opened this issue Sep 23, 2017 · 19 comments

Comments

@random-robbie
Copy link

As debian supports arm can we get a version that will run on a raspberry pi please?

arm32v7/debian:buster
arm32v7/debian:jessie

@stuartpb
Copy link
Collaborator

If you can convince upstream to package for it, sure.

@srh
Copy link
Contributor

srh commented Dec 11, 2017

I'd like that too. First I'd like a stretch package for x86_64, and then getting building in general to work on buster (IIRC it doesn't yet) but after that, arm.

A first step might be to see if make build-deb DEB_RELEASE=jessie works on jessie for ARM.

@stuartpb
Copy link
Collaborator

Seeing as how I'm currently moving the container images to use Alpine Linux, it might also be worth trying to get the upstream maintainer at Alpine (probably Daniel Treadwell) to package for armhf / aarch64.

@tilda
Copy link

tilda commented Jan 2, 2019

Any progress on this issue? I have a application that depends on RethinkDB and the image refused to pull due to architecture issues (running armv7 version of Arch Linux ARM on a Raspberry Pi 3).

@gagan1510
Copy link

Any progress on this issue? I have a application that depends on RethinkDB and the image refused to pull due to architecture issues (running armv7 version of Arch Linux ARM on a Raspberry Pi 3).

Did you find a way?
Even I need to do this!

@rhenwood-arm
Copy link

A recent commit to Alpine has introduced RethinkDB for AArch64:
alpinelinux/aports@da4ea70

Does that unblock this work now?

@rhenwood-arm
Copy link

looks like it isn't quite ready on AArch64:

/ # apk add rethinkdb
(1/8) Installing ca-certificates (20190108-r0)
(2/8) Installing nghttp2-libs (1.39.2-r2)
(3/8) Installing libcurl (7.65.3-r0)
(4/8) Installing libexecinfo (1.1-r1)
(5/8) Installing libgcc (8.3.0-r0)
(6/8) Installing libstdc++ (8.3.0-r0)
(7/8) Installing protobuf (3.8.0-r1)
(8/8) Installing rethinkdb (2.3.6-r11)
Executing rethinkdb-2.3.6-r11.pre-install
Executing busybox-1.31.0-r0.trigger
Executing ca-certificates-20190108-r0.trigger
OK: 48 MiB in 22 packages
/ # rethinkdb
Recursively removing directory /rethinkdb_data/tmp
Version: rethinkdb 2.3.6 (GCC 8.3.0)
error: Error in src/arch/runtime/thread_pool.cc at line 369:
error: Bus error from accessing the address 0xffffa91ac530.
error: Backtrace:
error: Thu Sep  5 18:35:57 2019
error: Exiting.
Aborted (core dumped)

@gagan1510
Copy link

gagan1510 commented Sep 5, 2019 via email

@ossdev07
Copy link

It is bothering me way too much. Thanks for your efforts... Do let me know when it's done. It'll be of great help. Thank you!

On Fri, Sep 6, 2019 at 12:07 AM Richard Henwood @.***> wrote: looks like it isn't quite ready on AArch64: / # apk add rethinkdb (1/8) Installing ca-certificates (20190108-r0) (2/8) Installing nghttp2-libs (1.39.2-r2) (3/8) Installing libcurl (7.65.3-r0) (4/8) Installing libexecinfo (1.1-r1) (5/8) Installing libgcc (8.3.0-r0) (6/8) Installing libstdc++ (8.3.0-r0) (7/8) Installing protobuf (3.8.0-r1) (8/8) Installing rethinkdb (2.3.6-r11) Executing rethinkdb-2.3.6-r11.pre-install Executing busybox-1.31.0-r0.trigger Executing ca-certificates-20190108-r0.trigger OK: 48 MiB in 22 packages / # rethinkdb Recursively removing directory /rethinkdb_data/tmp Version: rethinkdb 2.3.6 (GCC 8.3.0) error: Error in src/arch/runtime/thread_pool.cc at line 369: error: Bus error from accessing the address 0xffffa91ac530. error: Backtrace: error: Thu Sep 5 18:35:57 2019 error: Exiting. Aborted (core dumped) — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#41?email_source=notifications&email_token=AHBOQFG2IYNM5PE22ZRIWDLQIFGW7A5CNFSM4D4G2DEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6AIX5I#issuecomment-528518133>, or mute the thread https://github.com/notifications/unsubscribe-auth/AHBOQFBCCCBVBEOU2UZZGILQIFGW7ANCNFSM4D4G2DEA .
-- [image: Greendeck] http://www.greendeck.co/ GAGANPREET SINGH SOFTWARE ENGINEER•GREENDECK WWW.GREENDECK.CO http://www.greendeck.co/ +91 9893879594 <+91+9893879594> @twitter https://twitter.com/freakin_insane@facebook https://www.facebook.com/profile.php?id=100000625275867@linkedin https://linkedin.com/in/gagansingh1510/

@rhenwood-arm @gagan1510 Activity to support AARCH64 platform is done in following PR ..
PLease have a look and let me know if any thing is required from my side ...
alpinelinux/aports#12096

@srh
Copy link
Contributor

srh commented Nov 19, 2019

Getting a PR to bring that patch into RethinkDB would be great.

@parampreet004
Copy link

While installing this package on ARM64 Alpine Environment using command "apk add rethinkdb" , i am facing error related to libprotobuf.

/ # apk add rethinkdb
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/main/aarch64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.9/community/aarch64/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  so:libprotobuf.so.22 (missing):
    required by: rethinkdb-2.3.6-r15[so:libprotobuf.so.22]

@ossdev07
Copy link

ossdev07 commented Jan 8, 2020

Hi all,
rethinkDB changes for AARCH64 are merged and released in alpinelinux repo now
alpinelinux/aports@11c42c3
https://pkgs.alpinelinux.org/packages?name=rethinkdb&branch=edge

I have already verified by creating alpine docker and installing rethinkDB, so we can close this issue
Thanks,

@jflattery
Copy link

Hi all,
rethinkDB changes for AARCH64 are merged and released in alpinelinux repo now
alpinelinux/aports@11c42c3
https://pkgs.alpinelinux.org/packages?name=rethinkdb&branch=edge

I have already verified by creating alpine docker and installing rethinkDB, so we can close this issue
Thanks,

I just tried to build this without luck:

jflattery@raspberrypi:~/docker/rethinkdb $ uname -a
Linux raspberrypi 4.19.97-v7l+ #1294 SMP Thu Jan 30 13:21:14 GMT 2020 armv7l GNU/Linux
jflattery@raspberrypi:~/docker/rethinkdb $ cat Dockerfile
FROM alpine:latest

RUN apk add rethinkdb

VOLUME ["/data"]

WORKDIR /data

CMD ["rethinkdb", "--bind", "all"]

#   process cluster webui
EXPOSE 28015 29015 8080

jflattery@raspberrypi:~/docker/rethinkdb $ docker build -t rethinkdb .
Sending build context to Docker daemon  76.42MB
Step 1/6 : FROM alpine:latest
 ---> 0d8bd234c4c8
Step 2/6 : RUN apk add rethinkdb
 ---> Running in eb7e44488aa3
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/main/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/v3.11/community/armv7/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  rethinkdb (missing):
    required by: world[rethinkdb]
The command '/bin/sh -c apk add rethinkdb' returned a non-zero code: 1
jflattery@raspberrypi:~/docker/rethinkdb $

@jflattery
Copy link

I just tried this using the edge branch of alpine... still no luck.

jflattery@raspberrypi:~/docker/rethinkdb $ docker build -t rethinkdb .
Sending build context to Docker daemon  76.42MB
Step 1/6 : FROM alpine:edge
edge: Pulling from library/alpine
8fe3637c51d5: Pull complete
Digest: sha256:2849e06886c579433ccf3738e36017dc2b354a91d640fb01761d5b70f98d0e05
Status: Downloaded newer image for alpine:edge
 ---> d45cea782d9b
Step 2/6 : RUN apk add rethinkdb
 ---> Running in 1fd6334a2f89
fetch http://dl-cdn.alpinelinux.org/alpine/edge/main/armv7/APKINDEX.tar.gz
fetch http://dl-cdn.alpinelinux.org/alpine/edge/community/armv7/APKINDEX.tar.gz
ERROR: unsatisfiable constraints:
  rethinkdb (missing):
    required by: world[rethinkdb]
The command '/bin/sh -c apk add rethinkdb' returned a non-zero code: 1
jflattery@raspberrypi:~/docker/rethinkdb $

@jflattery
Copy link

I found that my issue above is due to my host OS being 32bit (armv7l) and the rethinkdb package in the alpine repo is built for AARCH64.

That being said, this issue should NOT be closed as suggested by @ossdev07 as the issue was originally seeking support for arm32v7.

@gounthar
Copy link

gounthar commented Nov 19, 2020

Why has the rethinkdb aarch64 build disappeared from edge?
For whatever reason, I found a 2.3.6r-15 version for aarch64 for Alpine Linux 3.11.
I then made a Docker image with it thanks to this Dockerfile.

What I'd like is now to understand how Alpine got this rethinkdb binary, so that I can build with more recent versions of Rethinkdb.

@isamuninja
Copy link

work for me

https://hub.docker.com/r/djtidau/rethinkdb-2.4.1

@fernandomoraes
Copy link

thanks @isamuninja

@gabor-boros
Copy link
Member

docker-library/official-images#12389 will fix this for 2.4.2 and above.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests