-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Pulsar branch-2.9 build failure in auditwheel running build-wheel-file-within-docker.sh #13457
Comments
Can you try to 'git clean -xdf' your repo? I have built the official images for 2.9.1 and 2.9.0 and it worked well |
That seemed to get rid of the auditwheel error, but now it's failing on the
More trace:
[...]
|
I encountered the same issue when self-building manylinux2014 wheel for Pulsar Client 2.8.1 and Python 3.9 using backported Docker-based build procedure from https://github.com/apache/pulsar/pull/10954/files to v2.8.1 tag. The wheel gets built and works fine, just the auditwheel step failed. |
The issue had no activity for 30 days, mark with Stale label. |
The issue had no activity for 30 days, mark with Stale label. |
Closed as stale. The development of the Python client has been permanently moved to http://github.com/apache/pulsar-client-python. Please open an issue there if it's still relevant. |
Description
Docker build fails in
pulsar-client-cpp/docker/build-wheel-file-within-docker.sh
with error on+ auditwheel repair dist/pulsar_client-2.8.2-cp38-cp38-linux_x86_64.whl dist/pulsar_client-2.9.1-cp38-cp38-linux_x86_64.whl
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/apache/pulsar.git
git checkout branch-2.9
Follow steps here:
Expected behavior
Pulsar successfully builds docker images on latest version with Log4J 2.17+ to be tagged and pushed to a custom or local docker registry.
Trace
Desktop:
Darwin <hostname removed>.local 21.0.1 Darwin Kernel Version 21.0.1: Tue Sep 14 20:56:24 PDT 2021; root:xnu-8019.30.61~4/RELEASE_ARM64_T6000 arm64
However, the command is failing inside a container it seems.
Additional context
This error occurs on branch 2.9. I've also tried to build master and branch-2.8 with no success. I've also tried building following the steps to reproduce on a clean install of Linux Mint with openjdk-11 and maven 3.8.4, but that gives a different error about
Text file busy: 'build/bdist.linux-x86_64/wheel/pulsar_client-2.9.1-py3.8.egg-info'
- so should be a separate issue.Maven:
Java:
Python (although it seems to be using a bundled version so this probably doesn't matter):
Python 3.9.7
Side note: Is there any timeline for when the Log4J patched (2.17) images will be released to the Docker Registry? I feel like there are a lot of people struggling with issues like this and I'm surprised the patch has been completed in here but hasn't been released. There's still a lot of vulnerable Pulsar instances because of this. It's blocking development for us as we also can't seem to build pulsar images across different machines.
The text was updated successfully, but these errors were encountered: