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

Confirming AMD64 arch supported? #16

Open
picto3000 opened this issue Sep 20, 2021 · 3 comments
Open

Confirming AMD64 arch supported? #16

picto3000 opened this issue Sep 20, 2021 · 3 comments

Comments

@picto3000
Copy link

I'm receiving the following error when starting the container on my IntelNuc running Ubuntu. DockerHub lists an amd64 tag, but the project just references raspberry pi. Does this project support amd64?

standard_init_linux.go:228: exec user process caused: exec format error
@jshridha
Copy link
Owner

It should, although I'll admit I have never tested it on an amd64 platform. Here's the build config and I don't see any obvious issues.

--platform linux/arm64/v8,linux/amd64,linux/arm/v6,linux/arm/v7,linux/386 \

I think have a machine I can test it on, so I'll see if I can replicate your issues.

@psyciknz
Copy link

I think I've just found the same thing

@psyciknz
Copy link

So I've figured out how to get it to run.
Small change to the Docker file:

FROM arm32v6/python:3.7-alpine as builder

to

FROM python:3.7-alpine as builder

And there's another further down. But I did get a error with bluepy

  Building wheel for bluepy (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /usr/local/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-wheel-rb6qp8wa/bluepy_bce3684857db42f7bb9a03c3372b7e9d/setup.py'"'"'; __file__='"'"'/tmp/pip-wheel-rb6qp8wa/bluepy_bce3684857db42f7bb9a03c3372b7e9d/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-uyam3gry
       cwd: /tmp/pip-wheel-rb6qp8wa/bluepy_bce3684857db42f7bb9a03c3372b7e9d/
  Complete output (12 lines):
  /usr/local/lib/python3.7/site-packages/setuptools/dist.py:700: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead
    % (opt, underscore_opt))
  running bdist_wheel
  running build
  running build_py
  Working dir is /tmp/pip-wheel-rb6qp8wa/bluepy_bce3684857db42f7bb9a03c3372b7e9d
  execute make -C ./bluepy clean
  Failed to compile bluepy-helper. Exiting install.
  Command was 'make -C ./bluepy clean' in /tmp/pip-wheel-rb6qp8wa/bluepy_bce3684857db42f7bb9a03c3372b7e9d
  Return code was 2
  Output was:
  b"make: Entering directory '/tmp/pip-wheel-rb6qp8wa/bluepy_bce3684857db42f7bb9a03c3372b7e9d/bluepy'\nrm -rf *.o bluepy-helper TAGS ./bluez-5.47\nmake: /bin/sh: Operation not permitted\nmake: *** [Makefile:50: clean] Error 127\nmake: Leaving directory '/tmp/pip-wheel-rb6qp8wa/bluepy_bce3684857db42f7bb9a03c3372b7e9d/bluepy'\n"
  ----------------------------------------
  ERROR: Failed building wheel for bluepy

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

3 participants