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

Add support to release linux aarch64 wheels #163

Closed
odidev opened this issue Jan 28, 2022 · 0 comments
Closed

Add support to release linux aarch64 wheels #163

odidev opened this issue Jan 28, 2022 · 0 comments

Comments

@odidev
Copy link
Contributor

odidev commented Jan 28, 2022

Problem

On aarch64, ‘pip install librabbitmq’ builds the wheels from source code but it is giving below error -

  /tmp/pip-install-l70708z8/librabbitmq/rabbitmq-c/librabbitmq/amqp_socket.c: In function ‘amqp_poll’:
  /tmp/pip-install-l70708z8/librabbitmq/rabbitmq-c/librabbitmq/amqp_socket.c:355:3: error: #error "poll() or select() is needed to compile rabbitmq-c"
    355 | # error "poll() or select() is needed to compile rabbitmq-c"
        |   ^~~~~
  /tmp/pip-install-l70708z8/librabbitmq/rabbitmq-c/librabbitmq/amqp_socket.c: In function ‘amqp_login_inner’:
  /tmp/pip-install-l70708z8/librabbitmq/rabbitmq-c/librabbitmq/amqp_socket.c:1334:53: error: ‘AMQ_PLATFORM’ undeclared (first use in this function)
   1334 |         amqp_table_construct_utf8_entry("platform", AMQ_PLATFORM);
        |                                                     ^~~~~~~~~~~~
  /tmp/pip-install-l70708z8/librabbitmq/rabbitmq-c/librabbitmq/amqp_socket.c:1334:53: note: each undeclared identifier is reported only once for each function it appears in
  /tmp/pip-install-l70708z8/librabbitmq/rabbitmq-c/librabbitmq/amqp_socket.c: In function ‘amqp_poll’:
  /tmp/pip-install-l70708z8/librabbitmq/rabbitmq-c/librabbitmq/amqp_socket.c:357:1: warning: control reaches end of non-void function [-Wreturn-type]
    357 | }
        | ^
  error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for librabbitmq

Resolution

On aarch64, ‘pip install librabbitmq’ should download the wheels from pypi

Team Please let me know your interest in releasing aarch64 wheels. I can help in this.

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

2 participants