GitHub user tisonkun edited a comment on the discussion: Strange failure when 
build Pulsar Docker image on M1

For grpcio issues, we may try to upgrade the version if there's no regression. 
It seems we should upgrade the one inside bookkeeper first.

grpcio-1.47.0 still requires c++ compilation on ARM64:

```
$ pip3 install --no-cache-dir grpcio
Collecting grpcio
  Downloading grpcio-1.47.0.tar.gz (21.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 21.9/21.9 MB 3.3 MB/s eta 0:00:00
  Preparing metadata (setup.py) ... done
Requirement already satisfied: six>=1.5.2 in 
/opt/homebrew/lib/python3.10/site-packages (from grpcio) (1.16.0)
Building wheels for collected packages: grpcio
  Building wheel for grpcio (setup.py) ... done
  Created wheel for grpcio: 
filename=grpcio-1.47.0-cp310-cp310-macosx_12_0_arm64.whl size=3782471 
sha256=6f3f24c7454a7d9f2c3af8f1605b44c1ceffb6297220caeb2b849279b4ae1b7f
  Stored in directory: 
/private/var/folders/n2/rnpcrm6x3mb2c1jn1dkdb33c0000gn/T/pip-ephem-wheel-cache-uf4eynha/wheels/52/6c/59/4d81bb3e311148848df61c2eed3aac904414f3d18dcf365ace
Successfully built grpcio
Installing collected packages: grpcio
Successfully installed grpcio-1.47.0
$ arch
arm64
```

Reference:

* https://github.com/apache/bookkeeper/pull/2432
* https://github.com/apache/pulsar/issues/7477
* https://github.com/grpc/grpc/pull/25418

GitHub link: 
https://github.com/apache/pulsar/discussions/17166#discussioncomment-3424343

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org

Reply via email to