On Thu, Mar 7, 2019 at 9:14 AM Vincent Klein <[email protected]> wrote:
>
> I have got the log below during a sage build on OSX.
> Shouldn't zlib be an order-only dependancy of pip ?

zlib is a dependency of python2/3, thus the dependency is there, and
your python failed to build its zlib module for some reason.

>
> Found local metadata for pip-18.0
> Using cached file 
> /Applications/SageMath-8.6.app/Contents/Resources/sage/upstream/pip-18.0.tar.gz
> pip-18.0
> ====================================================
> Setting up build directory for pip-18.0
> Finished extraction
> No patch files found in ../patches
> ****************************************************
> Host system:
> Darwin laptop-147-210-128-62.labri.fr 18.2.0 Darwin Kernel Version 18.2.0: 
> Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 x86_64
> ****************************************************
> C compiler: gcc
> C compiler version:
> Configured with: --prefix=/Library/Developer/CommandLineTools/usr 
> --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
> Apple LLVM version 10.0.0 (clang-1000.10.44.4)
> Target: x86_64-apple-darwin18.2.0
> Thread model: posix
> InstalledDir: /Library/Developer/CommandLineTools/usr/bin
> ****************************************************
> No record that 'pip' was ever installed; skipping uninstall
> Traceback (most recent call last):
>   File 
> "/Applications/SageMath-8.6.app/Contents/Resources/sage/local/lib/python3.6/runpy.py",
>  line 193, in _run_module_as_main
>     "__main__", mod_spec)
>   File 
> "/Applications/SageMath-8.6.app/Contents/Resources/sage/local/lib/python3.6/runpy.py",
>  line 85, in _run_code
>     exec(code, run_globals)
>   File 
> "/Applications/SageMath-8.6.app/Contents/Resources/sage/local/var/tmp/sage/build/pip-18.0/src/src/pip/__main__.py",
>  line 16, in <module>
>     from pip._internal import main as _main  # isort:skip # noqa
>   File 
> "/Applications/SageMath-8.6.app/Contents/Resources/sage/local/var/tmp/sage/build/pip-18.0/src/src/pip/_internal/__init__.py",
>  line 20, in <module>
>     from pip._vendor.urllib3.exceptions import DependencyWarning
>   File 
> "/Applications/SageMath-8.6.app/Contents/Resources/sage/local/var/tmp/sage/build/pip-18.0/src/src/pip/_vendor/urllib3/__init__.py",
>  line 8, in <module>
>     from .connectionpool import (
>   File 
> "/Applications/SageMath-8.6.app/Contents/Resources/sage/local/var/tmp/sage/build/pip-18.0/src/src/pip/_vendor/urllib3/connectionpool.py",
>  line 36, in <module>
>     from .response import HTTPResponse
>   File 
> "/Applications/SageMath-8.6.app/Contents/Resources/sage/local/var/tmp/sage/build/pip-18.0/src/src/pip/_vendor/urllib3/response.py",
>  line 3, in <module>
>     import zlib
> ModuleNotFoundError: No module named 'zlib'
> ********************************************************************************
> Error building / installing pip3
> ********************************************************************************
>
> real 0m0.411s
> user 0m0.276s
> sys 0m0.086s
> ************************************************************************
> Error installing package pip-18.0
> ************************************************************************
> Please email sage-devel (http://groups.google.com/group/sage-devel)
> explaining the problem and including the log file
>   
> /Applications/SageMath-8.6.app/Contents/Resources/sage/logs/pkgs/pip-18.0.log
> Describe your computer, operating system, etc.
> If you want to try to fix the problem yourself, *don't* just cd to
> /Applications/SageMath-8.6.app/Contents/Resources/sage/local/var/tmp/sage/build/pip-18.0
>  and type 'make' or whatever is appropriate.
> Instead, the following commands setup all environment variables
> correctly and load a subshell for you to debug the error:
>   (cd 
> '/Applications/SageMath-8.6.app/Contents/Resources/sage/local/var/tmp/sage/build/pip-18.0'
>  && '/Applications/SageMath-8.6.app/Contents/Resources/sage/sage' --sh)
> When you are done debugging, you can type "exit" to leave the subshell.
> ************************************************************************
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to