You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/12/22 22:39:01 UTC

[GitHub] [pulsar] samuelzimmermanphillips commented on issue #13457: Pulsar branch-2.9 build failure in auditwheel running build-wheel-file-within-docker.sh

samuelzimmermanphillips commented on issue #13457:
URL: https://github.com/apache/pulsar/issues/13457#issuecomment-999921950


   > Can you try to 'git clean -xdf' your repo? IIRC that errors occurs if you have multiple builds locally
   > 
   > 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 `java.security` file. This appears to be an issue in the docker container as it's using the amd64 version and I'm compiling on arm.
   
   `[ERROR] Failed to execute goal com.spotify:dockerfile-maven-plugin:1.4.13:build (default) on project pulsar-docker-image: Could not build image: The command '/bin/sh -c echo networkaddress.cache.ttl=1 >> /usr/lib/jvm/java-11-openjdk-amd64/conf/security/java.security' returned a non-zero code: 2 -> [Help 1]`
   
   More trace:
   ```
   [INFO] dockerfile: null
   [INFO] contextDirectory: /Users/samwork/Code/pulsar/docker/pulsar
   [INFO] Building Docker context /Users/samwork/Code/pulsar/docker/pulsar
   [INFO] Path(dockerfile): null
   [INFO] Path(contextDirectory): /Users/samwork/Code/pulsar/docker/pulsar
   [INFO]
   [INFO] Image will be built as apachepulsar/pulsar:2.9.2-SNAPSHOT
   [INFO]
   [INFO] Step 1/26 : FROM busybox as pulsar
   ```
   [...]
   ```
   [INFO]  ---> Using cache
   [INFO]  ---> 19d52019bcaa
   [INFO] Step 17/26 : RUN python3 get-pip.py
   [INFO]
   [INFO]  ---> Using cache
   [INFO]  ---> 19e943035cac
   [INFO] Step 18/26 : RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10
   [INFO]
   [INFO]  ---> Using cache
   [INFO]  ---> 0ac369505cc6
   [INFO] Step 19/26 : ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64
   [INFO]
   [INFO]  ---> Using cache
   [INFO]  ---> 7d06df455d73
   [INFO] Step 20/26 : RUN echo networkaddress.cache.ttl=1 >> /usr/lib/jvm/java-11-openjdk-amd64/conf/security/java.security
   [INFO]
   [INFO]  ---> Running in 977017eabc3e
   [INFO] /bin/sh: 1: cannot create /usr/lib/jvm/java-11-openjdk-amd64/conf/security/java.security: Directory nonexistent
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org