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/09/07 08:43:34 UTC

[GitHub] [pulsar] gaoran10 opened a new pull request #11942: [Docker Build] Fix docker image install python3.7-dev problem

gaoran10 opened a new pull request #11942:
URL: https://github.com/apache/pulsar/pull/11942


   ### Motivation
   
   Currently, when building docker image using `branch-2.7`, we met a problem, it seems that installing `python3.7-dev` in some os version need to add the apt repo `ppa:deadsnakes/ppa`.
   
   error logs
   ```
   [INFO] Building dependency tree...
   [INFO] 
   [INFO] Reading state information...
   [INFO] Package python3.7 is not available, but is referred to by another package.
   [INFO] This may mean that the package is missing, has been obsoleted, or
   [INFO] is only available from another source
   [INFO] 
   [INFO] Package libreadline-gplv2-dev is not available, but is referred to by another package.
   [INFO] This may mean that the package is missing, has been obsoleted, or
   [INFO] is only available from another source
   [INFO] 
   [INFO] E: Package 'python3.7' has no installation candidate
   [INFO] E: Unable to locate package python3.7-dev
   [INFO] E: Couldn't find any package by glob 'python3.7-dev'
   [INFO] E: Couldn't find any package by regex 'python3.7-dev'
   [INFO] E: Package 'libreadline-gplv2-dev' has no installation candidate
   [INFO] 
   Error:  The command '/bin/sh -c apt-get update      && apt-get install -y netcat dnsutils less procps iputils-ping                  python3.7 python3.7-dev python3-setuptools python3-yaml python3-kazoo                  libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev                  curl      && apt-get clean      && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
   ```
   
   Or maybe we could sync the DockerFile of the `branch-2.7` with the branch `master`'s. 
   
   ### Modifications
   
   Add apt repo `ppa:deadsnakes/ppa` before apt update.
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API: (no)
     - The schema: (no)
     - The default values of configurations: (no)
     - The wire protocol: (no)
     - The rest endpoints: (no)
     - The admin cli options: (no)
     - Anything that affects deployment: (no)
   
   ### Documentation
   
   Check the box below and label this PR (if you have committer privilege).
   
   Need to update docs? 
   
   - [ ] doc-required 
     
     (If you need help on updating docs, create a doc issue)
     
   - [x] no-need-doc 
     
     (Please explain why)
     
   - [ ] doc 
     
     (If this PR contains doc changes)
   


-- 
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



[GitHub] [pulsar] gaoran10 merged pull request #11942: [Build] Fix docker image install python3.7-dev problem

Posted by GitBox <gi...@apache.org>.
gaoran10 merged pull request #11942:
URL: https://github.com/apache/pulsar/pull/11942


   


-- 
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



[GitHub] [pulsar] gaoran10 commented on pull request #11942: [Build] Fix docker image install python3.7-dev problem

Posted by GitBox <gi...@apache.org>.
gaoran10 commented on pull request #11942:
URL: https://github.com/apache/pulsar/pull/11942#issuecomment-914135515


   Sorry, my mistake push.


-- 
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



[GitHub] [pulsar] codelipenghui commented on pull request #11942: [Build] Fix docker image install python3.7-dev problem

Posted by GitBox <gi...@apache.org>.
codelipenghui commented on pull request #11942:
URL: https://github.com/apache/pulsar/pull/11942#issuecomment-914133738


   @gaoran10 I have reverted the change, you may accidentally click the merge button. Please create a new PR for fixing the build issue, thanks.


-- 
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