pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/50611: lang/python35: not linked to expat on OS X
>Number: 50611
>Category: pkg
>Synopsis: lang/python35: not linked to expat on OS X
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jan 02 20:20:00 +0000 2016
>Originator: yegle
>Release:
>Organization:
>Environment:
>Description:
It looks like lang/python35 is not linked to textproc/expat on OS X:
$ otool -L pkg/bin/python3.5
pkg/bin/python3.5:
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1256.14.0)
/Users/yegle/pkg/lib/libpython3.5.dylib (compatibility version 3.5.0, current version 3.5.0)
/Users/yegle/pkg/lib/libintl.8.dylib (compatibility version 10.0.0, current version 10.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
Which makes it impossible to create a venv because python failed to install pip:
$ python3.5 -m ensurepip
Traceback (most recent call last):
File "/Users/yegle/pkg/lib/python3.5/runpy.py", line 170, in _run_module_as_main
"__main__", mod_spec)
File "/Users/yegle/pkg/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/yegle/pkg/lib/python3.5/ensurepip/__main__.py", line 4, in <module>
ensurepip._main()
File "/Users/yegle/pkg/lib/python3.5/ensurepip/__init__.py", line 209, in _main
default_pip=args.default_pip,
File "/Users/yegle/pkg/lib/python3.5/ensurepip/__init__.py", line 116, in bootstrap
_run_pip(args + [p[0] for p in _PROJECTS], additional_paths)
File "/Users/yegle/pkg/lib/python3.5/ensurepip/__init__.py", line 40, in _run_pip
import pip
File "/var/folders/d0/xjvwlhwn6l7bqd3fcxp0l50h0000gn/T/tmpt0qphnv7/pip-7.1.2-py2.py3-none-any.whl/pip/__init__.py", line 13, in <module>
File "/var/folders/d0/xjvwlhwn6l7bqd3fcxp0l50h0000gn/T/tmpt0qphnv7/pip-7.1.2-py2.py3-none-any.whl/pip/utils/__init__.py", line 23, in <module>
File "/var/folders/d0/xjvwlhwn6l7bqd3fcxp0l50h0000gn/T/tmpt0qphnv7/pip-7.1.2-py2.py3-none-any.whl/pip/_vendor/pkg_resources/__init__.py", line 36, in <module>
File "/Users/yegle/pkg/lib/python3.5/plistlib.py", line 65, in <module>
from xml.parsers.expat import ParserCreate
File "/Users/yegle/pkg/lib/python3.5/xml/parsers/expat.py", line 4, in <module>
from pyexpat import *
ImportError: No module named 'pyexpat'
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index