Skip to content
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

Fails to build wheel for gnureadline #36

Closed
Rylan12 opened this issue Jul 31, 2020 · 7 comments
Closed

Fails to build wheel for gnureadline #36

Rylan12 opened this issue Jul 31, 2020 · 7 comments
Labels
bug Something isn't working

Comments

@Rylan12
Copy link

Rylan12 commented Jul 31, 2020

What you were trying to do (and why)

Find recursive dependencies for dxpy

What happened (including command output)

Failed on gnureadline. It seems to build the readline library and then fails with a Failed to build gnureadline error

Command output

$ pipgrip -vvv dxpy

DEBUG: Environment: {'implementation_name': 'cpython', 'implementation_version': '3.8.5', 'os_name': 'posix', 'platform_machine': 'x86_64', 'platform_release': '19.6.0', 'platform_system': 'Darwin', 'platform_version': 'Darwin Kernel Version 19.6.0: Sun Jul  5 00:43:10 PDT 2020; root:xnu-6153.141.1~9/RELEASE_X86_64', 'python_full_version': '3.8.5', 'platform_python_implementation': 'CPython', 'python_version': '3.8', 'sys_platform': 'darwin'}
DEBUG: Pip version: [20, 1, 1]
DEBUG: Downloading/building wheel for dxpy
DEBUG: ['/usr/local/Cellar/pipgrip/0.5.1/libexec/bin/python3.8', '-m', 'pip', 'wheel', '--no-deps', '--disable-pip-version-check', '--wheel-dir', '/Users/rylanpolster/Library/Caches/pip/wheels/pipgrip', '--index-url', 'https://pypi.org/simple', '--trusted-host', 'pypi.org', '--progress-bar=off', 'dxpy']
DEBUG: {'dxpy': '/Users/rylanpolster/Library/Caches/pip/wheels/pipgrip/dxpy-0.298.1-py2.py3-none-any.whl'}
DEBUG: Searching metadata in /Users/rylanpolster/Library/Caches/pip/wheels/pipgrip/dxpy-0.298.1-py2.py3-none-any.whl
DEBUG: included conditional dep gnureadline (==6.3.8) ; sys_platform == "darwin"
DEBUG: dropped conditional dep xattr (==0.9.6) ; sys_platform == "linux2" or sys_platform == "linux"
DEBUG: Finding possible versions for dxpy
DEBUG: ['/usr/local/Cellar/pipgrip/0.5.1/libexec/bin/python3.8', '-m', 'pip', 'wheel', '--no-deps', '--disable-pip-version-check', '--index-url', 'https://pypi.org/simple', '--trusted-host', 'pypi.org', '--progress-bar=off', 'dxpy==rubbish']
DEBUG: {'dxpy': ['0.35.4', '0.38.1', '0.39.1', '0.41.2', '0.42.1', '0.43.2', '0.44.4', '0.45.1', '0.46.2', '0.47.3', '0.47.4', '0.47.5', '0.47.6', '0.48.2', '0.48.3', '0.49.1', '0.50.1', '0.51.1', '0.51.2', '0.52.2', '0.53.0', '0.54.0', '0.54.1', '0.54.2', '0.54.3', '0.55.4', '0.55.5', '0.55.6', '0.55.7', '0.56.1', '0.57.1', '0.58.1', '0.58.2', '0.58.4', '0.60.1', '0.61.1', '0.62.2', '0.62.3', '0.63.2', '0.63.3', '0.64.3', '0.65.0', '0.66.2', '0.66.3', '0.67.2', '0.68.1', '0.69.0', '0.70.1', '0.71.0', '0.72.0', '0.73.3', '0.74.0', '0.75.1', '0.76.0', '0.77.1', '0.78.2', '0.79.3', '0.80.1', '0.81.1', '0.82.1', '0.83.0', '0.84.1', '0.85.0', '0.86.1', '0.87.1', '0.88.0', '0.89.1', '0.90.0', '0.91.0', '0.92.1', '0.93.1', '0.94.2', '0.95.1', '0.96.1', '0.97.1', '0.98.3', '0.99.0', '0.99.1', '0.101.1', '0.101.2', '0.102.1', '0.103.2', '0.104.0', '0.105.2', '0.106.1', '0.107.1', '0.108.2', '0.109.2', '0.110.1', '0.111.3', '0.112.1', '0.113.1', '0.114.2', '0.115.2', '0.116.1', '0.117.1', '0.118.1', '0.119.0', '0.120.0', '0.121.1', '0.122.0', '0.123.2', '0.123.3', '0.124.1', '0.125.2', '0.126.1', '0.128.2', '0.129.0', '0.130.0', '0.131.0', '0.132.0', '0.133.0', '0.134.1', '0.135.3', '0.136.1', '0.137.2', '0.138.0', '0.139.0', '0.140.0', '0.141.1', '0.142.0', '0.143.1', '0.144.0', '0.145.1', '0.146.2', '0.147.0', '0.148.0', '0.149.1', '0.150.2', '0.151.0', '0.152.0', '0.153.0', '0.154.0', '0.155.1', '0.155.2', '0.156.2', '0.157.0', '0.157.1', '0.158.1', '0.159.1', '0.160.0', '0.161.0', '0.162.1', '0.163.0', '0.164.1', '0.164.2', '0.164.3', '0.164.4', '0.165.4', '0.166.1', '0.167.0', '0.168.0', '0.169.1', '0.170.1', '0.171.1', '0.172.0', '0.172.1', '0.173.0', '0.174.0', '0.175.1', '0.176.1', '0.177.4', '0.178.1', '0.179.0', '0.181.0', '0.182.1', '0.183.2', '0.184.1', '0.185.0', '0.186.1', '0.187.1', '0.188.3', '0.188.4', '0.189.2', '0.190.1', '0.191.0', '0.212.0', '0.213.1', '0.214.1', '0.215.0', '0.216.1', '0.217.0', '0.218.0', '0.219.0', '0.220.0', '0.221.0', '0.222.0', '0.223.0', '0.224.0', '0.225.0', '0.240.1', '0.242.0', '0.243.0', '0.244.0', '0.245.0', '0.246.0', '0.247.0', '0.248.0', '0.249.0', '0.250.1', '0.250.2', '0.250.3', '0.251.2', '0.252.0', '0.253.0', '0.254.0', '0.255.0', '0.257.2', '0.257.3', '0.258.2', '0.259.0', '0.260.0', '0.261.1', '0.262.0', '0.263.0', '0.264.0', '0.265.0', '0.266.1', '0.267.0', '0.267.1', '0.268.2', '0.269.2', '0.270.2', '0.271.0', '0.272.0', '0.273.0', '0.274.0', '0.275.0', '0.276.0', '0.277.0', '0.278.0', '0.279.0', '0.280.0', '0.281.0', '0.282.0', '0.283.0', '0.284.0', '0.285.0', '0.285.1', '0.286.1', '0.287.0', '0.288.0', '0.289.1', '0.290.1', '0.291.1', '0.292.0', '0.293.0', '0.294.0', '0.295.1', '0.296.0', '0.297.1', '0.298.1']}
INFO: fact: _root_ is root
INFO: derived: root
INFO: fact: root depends on dxpy (*)
INFO: selecting . (0.0.0)
INFO: derived: dxpy (*)
INFO: fact: dxpy (0.298.1) depends on argcomplete (>=1.9.4)
INFO: fact: dxpy (0.298.1) depends on beautifulsoup4 (==4.4.1)
INFO: fact: dxpy (0.298.1) depends on cryptography (>=2.3,<3.0)
INFO: fact: dxpy (0.298.1) depends on gnureadline (==6.3.8)
INFO: fact: dxpy (0.298.1) depends on psutil (>=3.3.0)
INFO: fact: dxpy (0.298.1) depends on python-dateutil (>=2.5)
INFO: fact: dxpy (0.298.1) depends on python-magic (==0.4.6)
INFO: fact: dxpy (0.298.1) depends on requests (<2.24.0,>=2.8.0)
INFO: fact: dxpy (0.298.1) depends on websocket-client (==0.53.0)
INFO: selecting dxpy (0.298.1)
INFO: derived: websocket-client (==0.53.0)
INFO: derived: requests (<2.24.0,>=2.8.0)
INFO: derived: python-magic (==0.4.6)
INFO: derived: python-dateutil (>=2.5)
INFO: derived: psutil (>=3.3.0)
INFO: derived: gnureadline (==6.3.8)
INFO: derived: cryptography (>=2.3,<3.0)
INFO: derived: beautifulsoup4 (==4.4.1)
INFO: derived: argcomplete (>=1.9.4)
DEBUG: Downloading/building wheel for websocket-client==0.53.0
DEBUG: ['/usr/local/Cellar/pipgrip/0.5.1/libexec/bin/python3.8', '-m', 'pip', 'wheel', '--no-deps', '--disable-pip-version-check', '--wheel-dir', '/Users/rylanpolster/Library/Caches/pip/wheels/pipgrip', '--index-url', 'https://pypi.org/simple', '--trusted-host', 'pypi.org', '--progress-bar=off', 'websocket-client==0.53.0']
DEBUG: {'websocket-client==0.53.0': '/Users/rylanpolster/Library/Caches/pip/wheels/pipgrip/websocket_client-0.53.0-py2.py3-none-any.whl'}
DEBUG: Searching metadata in /Users/rylanpolster/Library/Caches/pip/wheels/pipgrip/websocket_client-0.53.0-py2.py3-none-any.whl
DEBUG: Finding possible versions for websocket-client
DEBUG: ['/usr/local/Cellar/pipgrip/0.5.1/libexec/bin/python3.8', '-m', 'pip', 'wheel', '--no-deps', '--disable-pip-version-check', '--index-url', 'https://pypi.org/simple', '--trusted-host', 'pypi.org', '--progress-bar=off', 'websocket-client==rubbish']
DEBUG: {'websocket-client': ['0.3', '0.4', '0.4.1', '0.5.0', '0.5.1', '0.6.0', '0.7.0', '0.8.0', '0.9.0', '0.10.0', '0.11.0', '0.12.0', '0.13.0', '0.14.0', '0.14.1', '0.15.0', '0.16.0', '0.17.0', '0.18.0', '0.19.0', '0.20.0', '0.21.0', '0.22.0', '0.23.0', '0.24.0', '0.25.0', '0.26.0', '0.27.0', '0.28.0', '0.29.0', '0.30.0', '0.31.0', '0.32.0', '0.33.0', '0.34.0', '0.35.0', '0.36.0', '0.37.0', '0.39.0', '0.40.0', '0.42.0', '0.42.1', '0.43.0', '0.44.0', '0.45.0', '0.46.0', '0.47.0', '0.48.0', '0.49.0', '0.50.0', '0.51.0', '0.52.0', '0.53.0', '0.54.0', '0.55.0', '0.56.0', '0.57.0']}
DEBUG: Downloading/building wheel for requests<2.24.0,>=2.8.0
DEBUG: ['/usr/local/Cellar/pipgrip/0.5.1/libexec/bin/python3.8', '-m', 'pip', 'wheel', '--no-deps', '--disable-pip-version-check', '--wheel-dir', '/Users/rylanpolster/Library/Caches/pip/wheels/pipgrip', '--index-url', 'https://pypi.org/simple', '--trusted-host', 'pypi.org', '--progress-bar=off', 'requests<2.24.0,>=2.8.0']
DEBUG: {'requests<2.24.0,>=2.8.0': '/Users/rylanpolster/Library/Caches/pip/wheels/pipgrip/requests-2.23.0-py2.py3-none-any.whl'}
DEBUG: Searching metadata in /Users/rylanpolster/Library/Caches/pip/wheels/pipgrip/requests-2.23.0-py2.py3-none-any.whl
DEBUG: dropped conditional dep pyOpenSSL (>=0.14) ; extra == 'security'
DEBUG: dropped conditional dep cryptography (>=1.3.4) ; extra == 'security'
DEBUG: dropped conditional dep PySocks (!=1.5.7,>=1.5.6) ; extra == 'socks'
DEBUG: dropped conditional dep win-inet-pton ; (sys_platform == "win32" and python_version == "2.7") and extra == 'socks'
DEBUG: Finding possible versions for requests
DEBUG: ['/usr/local/Cellar/pipgrip/0.5.1/libexec/bin/python3.8', '-m', 'pip', 'wheel', '--no-deps', '--disable-pip-version-check', '--index-url', 'https://pypi.org/simple', '--trusted-host', 'pypi.org', '--progress-bar=off', 'requests==rubbish']
DEBUG: {'requests': ['0.2.0', '0.2.1', '0.2.2', '0.2.3', '0.2.4', '0.3.0', '0.3.1', '0.3.2', '0.3.3', '0.3.4', '0.4.0', '0.4.1', '0.5.0', '0.5.1', '0.6.0', '0.6.1', '0.6.2', '0.6.3', '0.6.4', '0.6.5', '0.6.6', '0.7.0', '0.7.1', '0.7.2', '0.7.3', '0.7.4', '0.7.5', '0.7.6', '0.8.0', '0.8.1', '0.8.2', '0.8.3', '0.8.4', '0.8.5', '0.8.6', '0.8.7', '0.8.8', '0.8.9', '0.9.0', '0.9.1', '0.9.2', '0.9.3', '0.10.0', '0.10.1', '0.10.2', '0.10.3', '0.10.4', '0.10.6', '0.10.7', '0.10.8', '0.11.1', '0.11.2', '0.12.0', '0.12.1', '0.13.0', '0.13.1', '0.13.2', '0.13.3', '0.13.4', '0.13.5', '0.13.6', '0.13.7', '0.13.8', '0.13.9', '0.14.0', '0.14.1', '0.14.2', '1.0.0', '1.0.1', '1.0.2', '1.0.3', '1.0.4', '1.1.0', '1.2.0', '1.2.1', '1.2.2', '1.2.3', '2.0.0', '2.0.1', '2.1.0', '2.2.0', '2.2.1', '2.3.0', '2.4.0', '2.4.1', '2.4.2', '2.4.3', '2.5.0', '2.5.1', '2.5.2', '2.5.3', '2.6.0', '2.6.1', '2.6.2', '2.7.0', '2.8.0', '2.8.1', '2.9.0', '2.9.1', '2.9.2', '2.10.0', '2.11.0', '2.11.1', '2.12.0', '2.12.1', '2.12.2', '2.12.3', '2.12.4', '2.12.5', '2.13.0', '2.14.0', '2.14.1', '2.14.2', '2.15.1', '2.16.0', '2.16.1', '2.16.2', '2.16.3', '2.16.4', '2.16.5', '2.17.0', '2.17.1', '2.17.2', '2.17.3', '2.18.0', '2.18.1', '2.18.2', '2.18.3', '2.18.4', '2.19.0', '2.19.1', '2.20.0', '2.20.1', '2.21.0', '2.22.0', '2.23.0', '2.24.0']}
DEBUG: Downloading/building wheel for python-magic==0.4.6
DEBUG: ['/usr/local/Cellar/pipgrip/0.5.1/libexec/bin/python3.8', '-m', 'pip', 'wheel', '--no-deps', '--disable-pip-version-check', '--wheel-dir', '/Users/rylanpolster/Library/Caches/pip/wheels/pipgrip', '--index-url', 'https://pypi.org/simple', '--trusted-host', 'pypi.org', '--progress-bar=off', 'python-magic==0.4.6']
DEBUG: {'python-magic==0.4.6': '/Users/rylanpolster/Library/Caches/pip/wheels/pipgrip/python_magic-0.4.6-py3-none-any.whl'}
DEBUG: Searching metadata in /Users/rylanpolster/Library/Caches/pip/wheels/pipgrip/python_magic-0.4.6-py3-none-any.whl
DEBUG: Finding possible versions for python-magic
DEBUG: ['/usr/local/Cellar/pipgrip/0.5.1/libexec/bin/python3.8', '-m', 'pip', 'wheel', '--no-deps', '--disable-pip-version-check', '--index-url', 'https://pypi.org/simple', '--trusted-host', 'pypi.org', '--progress-bar=off', 'python-magic==rubbish']
DEBUG: {'python-magic': ['0.2', '0.3', '0.3.1', '0.4.0', '0.4.2', '0.4.3', '0.4.5', '0.4.6', '0.4.7', '0.4.8', '0.4.9', '0.4.10', '0.4.11', '0.4.12', '0.4.13', '0.4.15', '0.4.17', '0.4.18']}
DEBUG: Downloading/building wheel for python-dateutil>=2.5
DEBUG: ['/usr/local/Cellar/pipgrip/0.5.1/libexec/bin/python3.8', '-m', 'pip', 'wheel', '--no-deps', '--disable-pip-version-check', '--wheel-dir', '/Users/rylanpolster/Library/Caches/pip/wheels/pipgrip', '--index-url', 'https://pypi.org/simple', '--trusted-host', 'pypi.org', '--progress-bar=off', 'python-dateutil>=2.5']
DEBUG: {'python-dateutil>=2.5': '/Users/rylanpolster/Library/Caches/pip/wheels/pipgrip/python_dateutil-2.8.1-py2.py3-none-any.whl'}
DEBUG: Searching metadata in /Users/rylanpolster/Library/Caches/pip/wheels/pipgrip/python_dateutil-2.8.1-py2.py3-none-any.whl
DEBUG: Finding possible versions for python-dateutil
DEBUG: ['/usr/local/Cellar/pipgrip/0.5.1/libexec/bin/python3.8', '-m', 'pip', 'wheel', '--no-deps', '--disable-pip-version-check', '--index-url', 'https://pypi.org/simple', '--trusted-host', 'pypi.org', '--progress-bar=off', 'python-dateutil==rubbish']
DEBUG: {'python-dateutil': ['1.4', '1.4.1', '1.5', '2.1', '2.2', '2.3', '2.4.0', '2.4.1', '2.4.2', '2.5.0', '2.5.1', '2.5.2', '2.5.3', '2.6.0', '2.6.1', '2.7.0', '2.7.1', '2.7.2', '2.7.3', '2.7.4', '2.7.5', '2.8.0', '2.8.1']}
DEBUG: Downloading/building wheel for psutil>=3.3.0
DEBUG: ['/usr/local/Cellar/pipgrip/0.5.1/libexec/bin/python3.8', '-m', 'pip', 'wheel', '--no-deps', '--disable-pip-version-check', '--wheel-dir', '/Users/rylanpolster/Library/Caches/pip/wheels/pipgrip', '--index-url', 'https://pypi.org/simple', '--trusted-host', 'pypi.org', '--progress-bar=off', 'psutil>=3.3.0']
DEBUG: {'psutil>=3.3.0': '/Users/rylanpolster/Library/Caches/pip/wheels/pipgrip/psutil-5.7.2-cp38-cp38-macosx_10_15_x86_64.whl'}
DEBUG: Searching metadata in /Users/rylanpolster/Library/Caches/pip/wheels/pipgrip/psutil-5.7.2-cp38-cp38-macosx_10_15_x86_64.whl
DEBUG: dropped conditional dep ipaddress ; (python_version < "3.0") and extra == 'test'
DEBUG: dropped conditional dep mock ; (python_version < "3.0") and extra == 'test'
DEBUG: dropped conditional dep unittest2 ; (python_version < "3.0") and extra == 'test'
DEBUG: dropped conditional dep enum34 ; (python_version <= "3.4") and extra == 'test'
DEBUG: dropped conditional dep pywin32 ; (sys_platform == "win32") and extra == 'test'
DEBUG: dropped conditional dep wmi ; (sys_platform == "win32") and extra == 'test'
DEBUG: Finding possible versions for psutil
DEBUG: ['/usr/local/Cellar/pipgrip/0.5.1/libexec/bin/python3.8', '-m', 'pip', 'wheel', '--no-deps', '--disable-pip-version-check', '--index-url', 'https://pypi.org/simple', '--trusted-host', 'pypi.org', '--progress-bar=off', 'psutil==rubbish']
DEBUG: {'psutil': ['0.1.1', '0.1.2', '0.1.3', '0.2.0', '0.2.1', '0.3.0', '0.4.0', '0.4.1', '0.5.0', '0.5.1', '0.6.0', '0.6.1', '0.7.0', '0.7.1', '1.0.0', '1.0.1', '1.1.0', '1.1.1', '1.1.2', '1.1.3', '1.2.0', '1.2.1', '2.0.0', '2.1.0', '2.1.1', '2.1.2', '2.1.3', '2.2.0', '2.2.1', '3.0.0', '3.0.1', '3.1.0', '3.1.1', '3.2.0', '3.2.1', '3.2.2', '3.3.0', '3.4.1', '3.4.2', '4.0.0', '4.1.0', '4.2.0', '4.3.0', '4.3.1', '4.4.0', '4.4.1', '4.4.2', '5.0.0', '5.0.1', '5.1.0', '5.1.1', '5.1.2', '5.1.3', '5.2.0', '5.2.1', '5.2.2', '5.3.0', '5.3.1', '5.4.0', '5.4.1', '5.4.2', '5.4.3', '5.4.4', '5.4.5', '5.4.6', '5.4.7', '5.4.8', '5.5.0', '5.5.1', '5.6.0', '5.6.1', '5.6.2', '5.6.3', '5.6.4', '5.6.5', '5.6.6', '5.6.7', '5.7.0', '5.7.1', '5.7.2']}
DEBUG: Downloading/building wheel for gnureadline==6.3.8
DEBUG: ['/usr/local/Cellar/pipgrip/0.5.1/libexec/bin/python3.8', '-m', 'pip', 'wheel', '--no-deps', '--disable-pip-version-check', '--wheel-dir', '/Users/rylanpolster/Library/Caches/pip/wheels/pipgrip', '--index-url', 'https://pypi.org/simple', '--trusted-host', 'pypi.org', '--progress-bar=off', 'gnureadline==6.3.8']
ERROR: Collecting gnureadline==6.3.8
  Using cached gnureadline-6.3.8.tar.gz (2.5 MB)
Building wheels for collected packages: gnureadline
  Building wheel for gnureadline (setup.py): started
  Building wheel for gnureadline (setup.py): finished with status 'error'
  ERROR: Command errored out with exit status 1:
   command: /usr/local/Cellar/pipgrip/0.5.1/libexec/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/lx/jw48rn1j0235pst2sg8qlgp00000gp/T/pip-wheel-geqsj3wu/gnureadline/setup.py'"'"'; __file__='"'"'/private/var/folders/lx/jw48rn1j0235pst2sg8qlgp00000gp/T/pip-wheel-geqsj3wu/gnureadline/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/lx/jw48rn1j0235pst2sg8qlgp00000gp/T/pip-wheel-hjwoo35m
       cwd: /private/var/folders/lx/jw48rn1j0235pst2sg8qlgp00000gp/T/pip-wheel-geqsj3wu/gnureadline/
  Complete output (411 lines):
  
  ============ Building the readline library ============
  
  Using compiler cc on OS X
  Guessing actual compiler: Apple clang version 12.0.0 (clang-1200.0.26.2)
  Compiler supports architectures: x86_64
  x readline-6.3/
  x readline-6.3/doc/
  x readline-6.3/doc/Makefile.in
  x readline-6.3/doc/texinfo.tex
  x readline-6.3/doc/version.texi
  x readline-6.3/doc/fdl.texi
  x readline-6.3/doc/rlman.texi
  x readline-6.3/doc/rltech.texi
  x readline-6.3/doc/rluser.texi
  x readline-6.3/doc/rluserman.texi
  x readline-6.3/doc/history.texi
  x readline-6.3/doc/hstech.texi
  x readline-6.3/doc/hsuser.texi
  x readline-6.3/doc/readline.3
  x readline-6.3/doc/history.3
  x readline-6.3/doc/texi2dvi
  x readline-6.3/doc/texi2html
  x readline-6.3/doc/readline.ps
  x readline-6.3/doc/history.ps
  x readline-6.3/doc/rluserman.ps
  x readline-6.3/doc/readline.dvi
  x readline-6.3/doc/history.dvi
  x readline-6.3/doc/rluserman.dvi
  x readline-6.3/doc/readline.info
  x readline-6.3/doc/history.info
  x readline-6.3/doc/rluserman.info
  x readline-6.3/doc/readline.html
  x readline-6.3/doc/history.html
  x readline-6.3/doc/rluserman.html
  x readline-6.3/doc/readline.0
  x readline-6.3/doc/history.0
  x readline-6.3/doc/readline_3.ps
  x readline-6.3/doc/history_3.ps
  x readline-6.3/doc/history.pdf
  x readline-6.3/doc/readline.pdf
  x readline-6.3/doc/rluserman.pdf
  x readline-6.3/examples/
  x readline-6.3/examples/autoconf/
  x readline-6.3/examples/autoconf/BASH_CHECK_LIB_TERMCAP
  x readline-6.3/examples/autoconf/RL_LIB_READLINE_VERSION
  x readline-6.3/examples/autoconf/wi_LIB_READLINE
  x readline-6.3/examples/rlfe/
  x readline-6.3/examples/rlfe/ChangeLog
  x readline-6.3/examples/rlfe/Makefile.in
  x readline-6.3/examples/rlfe/README
  x readline-6.3/examples/rlfe/config.h.in
  x readline-6.3/examples/rlfe/configure
  x readline-6.3/examples/rlfe/configure.in
  x readline-6.3/examples/rlfe/extern.h
  x readline-6.3/examples/rlfe/os.h
  x readline-6.3/examples/rlfe/pty.c
  x readline-6.3/examples/rlfe/rlfe.c
  x readline-6.3/examples/rlfe/screen.h
  x readline-6.3/examples/Makefile.in
  x readline-6.3/examples/excallback.c
  x readline-6.3/examples/fileman.c
  x readline-6.3/examples/manexamp.c
  x readline-6.3/examples/readlinebuf.h
  x readline-6.3/examples/rl-fgets.c
  x readline-6.3/examples/rlcat.c
  x readline-6.3/examples/rlevent.c
  x readline-6.3/examples/rltest.c
  x readline-6.3/examples/rl-callbacktest.c
  x readline-6.3/examples/rl.c
  x readline-6.3/examples/rlptytest.c
  x readline-6.3/examples/rlversion.c
  x readline-6.3/examples/histexamp.c
  x readline-6.3/examples/hist_erasedups.c
  x readline-6.3/examples/hist_purgecmd.c
  x readline-6.3/examples/Inputrc
  x readline-6.3/examples/rlwrap-0.30.tar.gz
  x readline-6.3/support/
  x readline-6.3/support/config.guess
  x readline-6.3/support/config.rpath
  x readline-6.3/support/config.sub
  x readline-6.3/support/install.sh
  x readline-6.3/support/mkdirs
  x readline-6.3/support/mkdist
  x readline-6.3/support/mkinstalldirs
  x readline-6.3/support/shobj-conf
  x readline-6.3/support/shlib-install
  x readline-6.3/support/wcwidth.c
  x readline-6.3/shlib/
  x readline-6.3/shlib/Makefile.in
  x readline-6.3/COPYING
  x readline-6.3/README
  x readline-6.3/MANIFEST
  x readline-6.3/INSTALL
  x readline-6.3/CHANGELOG
  x readline-6.3/CHANGES
  x readline-6.3/NEWS
  x readline-6.3/USAGE
  x readline-6.3/aclocal.m4
  x readline-6.3/config.h.in
  x readline-6.3/configure
  x readline-6.3/configure.ac
  x readline-6.3/Makefile.in
  x readline-6.3/ansi_stdlib.h
  x readline-6.3/chardefs.h
  x readline-6.3/colors.h
  x readline-6.3/history.h
  x readline-6.3/histlib.h
  x readline-6.3/keymaps.h
  x readline-6.3/parse-colors.h
  x readline-6.3/rlconf.h
  x readline-6.3/posixdir.h
  x readline-6.3/posixjmp.h
  x readline-6.3/posixselect.h
  x readline-6.3/posixstat.h
  x readline-6.3/readline.h
  x readline-6.3/rldefs.h
  x readline-6.3/rlmbutil.h
  x readline-6.3/rlprivate.h
  x readline-6.3/rlshell.h
  x readline-6.3/rlstdc.h
  x readline-6.3/rltty.h
  x readline-6.3/rltypedefs.h
  x readline-6.3/rlwinsize.h
  x readline-6.3/tcap.h
  x readline-6.3/tilde.h
  x readline-6.3/xmalloc.h
  x readline-6.3/bind.c
  x readline-6.3/callback.c
  x readline-6.3/colors.c
  x readline-6.3/compat.c
  x readline-6.3/complete.c
  x readline-6.3/display.c
  x readline-6.3/emacs_keymap.c
  x readline-6.3/funmap.c
  x readline-6.3/input.c
  x readline-6.3/isearch.c
  x readline-6.3/keymaps.c
  x readline-6.3/kill.c
  x readline-6.3/macro.c
  x readline-6.3/mbutil.c
  x readline-6.3/misc.c
  x readline-6.3/nls.c
  x readline-6.3/parens.c
  x readline-6.3/parse-colors.c
  x readline-6.3/readline.c
  x readline-6.3/rltty.c
  x readline-6.3/savestring.c
  x readline-6.3/search.c
  x readline-6.3/shell.c
  x readline-6.3/signals.c
  x readline-6.3/terminal.c
  x readline-6.3/text.c
  x readline-6.3/tilde.c
  x readline-6.3/undo.c
  x readline-6.3/util.c
  x readline-6.3/vi_keymap.c
  x readline-6.3/vi_mode.c
  x readline-6.3/xfree.c
  x readline-6.3/xmalloc.c
  x readline-6.3/history.c
  x readline-6.3/histexpand.c
  x readline-6.3/histfile.c
  x readline-6.3/histsearch.c
  x readline-6.3/patchlevel
  patching file readline.c
  patching file patchlevel
  patching file readline.c
  patching file patchlevel
  patching file util.c
  patching file patchlevel
  patching file display.c
  patching file patchlevel
  patching file rltypedefs.h
  patching file patchlevel
  patching file display.c
  patching file patchlevel
  patching file input.c
  patching file patchlevel
  patching file misc.c
  patching file patchlevel
  checking build system type... x86_64-apple-darwin19.6.0
  checking host system type... x86_64-apple-darwin19.6.0
  
  Beginning configuration for readline-6.3 for x86_64-apple-darwin19.6.0
  
  checking whether make sets $(MAKE)... yes
  checking for gcc... cc
  checking whether the C compiler works... yes
  checking for C compiler default output file name... a.out
  checking for suffix of executables...
  checking whether we are cross compiling... no
  checking for suffix of object files... o
  checking whether we are using the GNU C compiler... yes
  checking whether cc accepts -g... yes
  checking for cc option to accept ISO C89... none needed
  checking how to run the C preprocessor... cc -E
  checking for grep that handles long lines and -e... /usr/bin/grep
  checking for egrep... /usr/bin/grep -E
  checking for ANSI C header files... yes
  checking for sys/types.h... yes
  checking for sys/stat.h... yes
  checking for stdlib.h... yes
  checking for string.h... yes
  checking for memory.h... yes
  checking for strings.h... yes
  checking for inttypes.h... yes
  checking for stdint.h... yes
  checking for unistd.h... yes
  checking minix/config.h usability... no
  checking minix/config.h presence... no
  checking for minix/config.h... no
  checking whether it is safe to define __EXTENSIONS__... yes
  checking whether cc needs -traditional... no
  checking for a BSD-compatible install... /usr/bin/install -c
  checking for ar... ar
  checking for ranlib... ranlib
  checking for an ANSI C-conforming const... yes
  checking for function prototypes... yes
  checking whether char is unsigned... no
  checking for working volatile... yes
  checking return type of signal handlers... void
  checking for size_t... yes
  checking for ssize_t... yes
  checking for ANSI C header files... (cached) yes
  checking whether stat file-mode macros are broken... no
  checking for dirent.h that defines DIR... yes
  checking for library containing opendir... none required
  checking for fcntl... yes
  checking for kill... yes
  checking for lstat... yes
  checking for memmove... yes
  checking for putenv... yes
  checking for select... yes
  checking for setenv... yes
  checking for setlocale... yes
  checking for strcasecmp... yes
  checking for strpbrk... yes
  checking for tcgetattr... yes
  checking for vsnprintf... yes
  checking for isascii... yes
  checking for isxdigit... yes
  checking for getpwent... yes
  checking for getpwnam... yes
  checking for getpwuid... yes
  checking for working strcoll... yes
  checking fcntl.h usability... yes
  checking fcntl.h presence... yes
  checking for fcntl.h... yes
  checking for unistd.h... (cached) yes
  checking for stdlib.h... (cached) yes
  checking varargs.h usability... no
  checking varargs.h presence... no
  checking for varargs.h... no
  checking stdarg.h usability... yes
  checking stdarg.h presence... yes
  checking for stdarg.h... yes
  checking stdbool.h usability... yes
  checking stdbool.h presence... yes
  checking for stdbool.h... yes
  checking for string.h... (cached) yes
  checking for strings.h... (cached) yes
  checking limits.h usability... yes
  checking limits.h presence... yes
  checking for limits.h... yes
  checking locale.h usability... yes
  checking locale.h presence... yes
  checking for locale.h... yes
  checking pwd.h usability... yes
  checking pwd.h presence... yes
  checking for pwd.h... yes
  checking for memory.h... (cached) yes
  checking termcap.h usability... yes
  checking termcap.h presence... yes
  checking for termcap.h... yes
  checking termios.h usability... yes
  checking termios.h presence... yes
  checking for termios.h... yes
  checking termio.h usability... no
  checking termio.h presence... no
  checking for termio.h... no
  checking sys/pte.h usability... no
  checking sys/pte.h presence... no
  checking for sys/pte.h... no
  checking sys/stream.h usability... no
  checking sys/stream.h presence... no
  checking for sys/stream.h... no
  checking sys/select.h usability... yes
  checking sys/select.h presence... yes
  checking for sys/select.h... yes
  checking sys/file.h usability... yes
  checking sys/file.h presence... yes
  checking for sys/file.h... yes
  checking for sys/ptem.h... no
  checking for special C compiler options needed for large files... no
  checking for _FILE_OFFSET_BITS value needed for large files... no
  checking for type of signal functions... posix
  checking if signal handlers must be reinstalled when invoked... yes
  checking for presence of POSIX-style sigsetjmp/siglongjmp... missing
  checking for lstat... yes
  checking whether or not strcoll and strcmp differ... no
  checking whether the ctype macros accept non-ascii characters... no
  checking whether getpw functions are declared in pwd.h... yes
  checking whether termios.h defines TIOCGWINSZ... yes
  checking for sig_atomic_t in signal.h... yes
  checking whether signal handlers are of type void... yes
  checking for TIOCSTAT in sys/ioctl.h... yes
  checking for FIONREAD in sys/ioctl.h... yes
  checking for speed_t in sys/types.h... no
  checking for struct winsize in sys/ioctl.h and termios.h... sys/ioctl.h
  checking for struct dirent.d_ino... yes
  checking for struct dirent.d_fileno... yes
  checking whether AUDIT_USER_TTY is declared... no
  checking for tgetent... no
  checking for tgetent in -ltermcap... yes
  checking which library has the termcap functions... using libtermcap
  checking wctype.h usability... yes
  checking wctype.h presence... yes
  checking for wctype.h... yes
  checking wchar.h usability... yes
  checking wchar.h presence... yes
  checking for wchar.h... yes
  checking langinfo.h usability... yes
  checking langinfo.h presence... yes
  checking for langinfo.h... yes
  checking for mbrlen... yes
  checking for mbscasecmp... no
  checking for mbscmp... no
  checking for mbsnrtowcs... yes
  checking for mbsrtowcs... yes
  checking for mbschr... no
  checking for wcrtomb... yes
  checking for wcscoll... yes
  checking for wcsdup... yes
  checking for wcwidth... yes
  checking for wctype... yes
  checking for wcswidth... yes
  checking whether mbrtowc and mbstate_t are properly declared... yes
  checking for iswlower... yes
  checking for iswupper... yes
  checking for towlower... yes
  checking for towupper... yes
  checking for iswctype... yes
  checking for nl_langinfo and CODESET... yes
  checking for wchar_t in wchar.h... yes
  checking for wctype_t in wctype.h... yes
  checking for wint_t in wctype.h... yes
  checking for wcwidth broken with unicode combining characters...
  checking configuration for building shared libraries... supported
  configure: creating ./config.status
  config.status: creating Makefile
  config.status: creating doc/Makefile
  config.status: creating examples/Makefile
  config.status: creating shlib/Makefile
  config.status: creating config.h
  config.status: executing default commands
  rm -f readline.o
  cc -c -DHAVE_CONFIG_H   -DNEED_EXTERN_PC -fPIC -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -arch x86_64 readline.c
  rm -f vi_mode.o
  cc -c -DHAVE_CONFIG_H   -DNEED_EXTERN_PC -fPIC -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -arch x86_64 vi_mode.c
  rm -f funmap.o
  cc -c -DHAVE_CONFIG_H   -DNEED_EXTERN_PC -fPIC -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -arch x86_64 funmap.c
  rm -f keymaps.o
  cc -c -DHAVE_CONFIG_H   -DNEED_EXTERN_PC -fPIC -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -arch x86_64 keymaps.c
  rm -f parens.o
  cc -c -DHAVE_CONFIG_H   -DNEED_EXTERN_PC -fPIC -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -arch x86_64 parens.c
  rm -f search.o
  cc -c -DHAVE_CONFIG_H   -DNEED_EXTERN_PC -fPIC -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -arch x86_64 search.c
  rm -f rltty.o
  cc -c -DHAVE_CONFIG_H   -DNEED_EXTERN_PC -fPIC -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -arch x86_64 rltty.c
  rltty.c:83:7: error: implicit declaration of function 'ioctl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    if (ioctl (tty, TIOCGWINSZ, &w) == 0)
        ^
  rltty.c:720:3: error: implicit declaration of function 'ioctl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    ioctl (fildes, TIOCSTART, 0);
    ^
  rltty.c:759:3: error: implicit declaration of function 'ioctl' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    ioctl (fildes, TIOCSTOP, 0);
    ^
  3 errors generated.
  make: *** [rltty.o] Error 1
  
  ============ Building the readline extension module ============
  
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.macosx-10.15-x86_64-3.8
  copying readline.py -> build/lib.macosx-10.15-x86_64-3.8
  running egg_info
  writing gnureadline.egg-info/PKG-INFO
  writing dependency_links to gnureadline.egg-info/dependency_links.txt
  writing top-level names to gnureadline.egg-info/top_level.txt
  reading manifest file 'gnureadline.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  writing manifest file 'gnureadline.egg-info/SOURCES.txt'
  running build_ext
  building 'gnureadline' extension
  creating build/temp.macosx-10.15-x86_64-3.8
  creating build/temp.macosx-10.15-x86_64-3.8/Modules
  creating build/temp.macosx-10.15-x86_64-3.8/Modules/3.x
  clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers -DHAVE_RL_APPEND_HISTORY -DHAVE_RL_CALLBACK -DHAVE_RL_CATCH_SIGNAL -DHAVE_RL_COMPLETION_APPEND_CHARACTER -DHAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK -DHAVE_RL_COMPLETION_MATCHES -DHAVE_RL_COMPLETION_SUPPRESS_APPEND -DHAVE_RL_PRE_INPUT_HOOK -I. -I/usr/local/opt/[email protected]/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c Modules/3.x/readline.c -o build/temp.macosx-10.15-x86_64-3.8/Modules/3.x/readline.o
  Modules/3.x/readline.c:962:19: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
              char *s = _PyUnicode_AsString(r);
                    ^   ~~~~~~~~~~~~~~~~~~~~~~
  1 warning generated.
  clang -bundle -undefined dynamic_lookup -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk build/temp.macosx-10.15-x86_64-3.8/Modules/3.x/readline.o readline/libreadline.a readline/libhistory.a -lncurses -o build/lib.macosx-10.15-x86_64-3.8/gnureadline.cpython-38-darwin.so
  clang: error: no such file or directory: 'readline/libreadline.a'
  clang: error: no such file or directory: 'readline/libhistory.a'
  error: command 'clang' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for gnureadline
  Running setup.py clean for gnureadline
Failed to build gnureadline
ERROR: Failed to build one or more wheels

Error: Command '['/usr/local/Cellar/pipgrip/0.5.1/libexec/bin/python3.8', '-m', 'pip', 'wheel', '--no-deps', '--disable-pip-version-check', '--wheel-dir', '/Users/rylanpolster/Library/Caches/pip/wheels/pipgrip', '--index-url', 'https://pypi.org/simple', '--trusted-host', 'pypi.org', '--progress-bar=off', 'gnureadline==6.3.8']' returned non-zero exit status 1.

What you expected to happen

Show recursive depndencies for dxpy

Step-by-step reproduction instructions

pipgrip dxpy

I've also tried this with no luck:

pipgrip dxpy --no-cache-dir

Let me know if there's any other information I can provide that would be helpful!

@Rylan12 Rylan12 added the bug Something isn't working label Jul 31, 2020
@ddelange
Copy link
Owner

That's a hard crash, thanks for reporting! So here somehow pip itself has prpblems compiling gnureadline. My env is pretty close to the one above (apart from having shadowed clang with homebrew's gcc@8), will give it a shot if I find some time!

@ddelange
Copy link
Owner

ddelange commented Jul 31, 2020

$ pip wheel gnureadline==6.3.8
Looking in indexes: https://pypi.org/simple
Collecting gnureadline==6.3.8
  Using cached gnureadline-6.3.8.tar.gz (2.5 MB)
Building wheels for collected packages: gnureadline
  Building wheel for gnureadline (setup.py) ... done
  Created wheel for gnureadline: filename=gnureadline-6.3.8-cp38-cp38-macosx_10_14_x86_64.whl size=124079 sha256=f389d51ddd33b886d574de538f757a65ee1336cda43bf08ee30da8e7ebc7013e

hmmm, on my system this one is np (also for pipgrip) 🤔 is clang the culprit..?

export CC="/usr/local/bin/gcc-8"
export CXX="/usr/local/bin/g++-8"

these two are pretty high up in my bash_profile.

@ddelange
Copy link
Owner

ddelange commented Jul 31, 2020

$ unset CC
$ unset CXX
$ pip wheel gnureadline==6.3.8 --no-cache-dir
Looking in indexes: https://pypi.org/simple
Collecting gnureadline==6.3.8
  Downloading gnureadline-6.3.8.tar.gz (2.5 MB)
     |████████████████████████████████| 2.5 MB 3.5 MB/s
Building wheels for collected packages: gnureadline
  Building wheel for gnureadline (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: ~/.pyenv/versions/3.8.2/envs/vv38/bin/python3.8 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/zf/tbwgf1fx1dvgvmvwdn7_vg3w0000gn/T/pip-wheel-j7mc__s2/gnureadline/setup.py'"'"'; __file__='"'"'/private/var/folders/zf/tbwgf1fx1dvgvmvwdn7_vg3w0000gn/T/pip-wheel-j7mc__s2/gnureadline/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/zf/tbwgf1fx1dvgvmvwdn7_vg3w0000gn/T/pip-wheel-zldy7gyc
       cwd: /private/var/folders/zf/tbwgf1fx1dvgvmvwdn7_vg3w0000gn/T/pip-wheel-j7mc__s2/gnureadline/
  Complete output (3110 lines):

  ============ Building the readline library ============

  Using compiler cc on OS X
  Guessing actual compiler: Apple LLVM version 10.0.1 (clang-1001.0.46.4)
  Compiler supports architectures: i386 x86_64

...

  Modules/3.x/readline.c:996:5: error: use of undeclared identifier 'rl_completion_suppress_append'
      rl_completion_suppress_append = 0;
      ^
  Modules/3.x/readline.c:1199:5: error: use of undeclared identifier 'rl_event_hook'
      rl_event_hook = PyOS_InputHook;
      ^

Looks like clang doesn't play nice... Different error but same story I would say. How about we have gcc as dependency of the pipgrip homebrew formula, and ensure the flags are used when a user runs the formula? @Rylan12

@Rylan12
Copy link
Author

Rylan12 commented Jul 31, 2020

Thanks for looking into this!

Just to clarify, by "flags" you mean the CC="/usr/local/bin/gcc-8" and CXX="/usr/local/bin/g++-8", correct?

Locally, this works for me:

$ export CC=/usr/local/bin/gcc-10
$ export CXX=/usr/local/bin/g++-10
$ pipgrip dxpy --no-cache-dir
dxpy==0.298.1
argcomplete==1.12.0
beautifulsoup4==4.4.1
cryptography==2.9.2
cffi==1.14.1
pycparser==2.20
six==1.15.0
gnureadline==6.3.8
psutil==5.7.2
python-dateutil==2.8.1
python-magic==0.4.6
requests==2.23.0
certifi==2020.6.20
chardet==3.0.4
idna==2.10
urllib3==1.25.10
websocket-client==0.53.0

@ddelange
Copy link
Owner

yes! so ideally any gcc dependency and then run CC=homebrew-gcc CXX=homebrew-g++ pipgrip <commands> on brew side for best stability in my experience :)

@Rylan12
Copy link
Author

Rylan12 commented Jul 31, 2020

I opened a PR at Homebrew/homebrew-core#58915. Thanks again for your help!

@Rylan12
Copy link
Author

Rylan12 commented Jul 31, 2020

Homebrew/homebrew-core#58915 has been merged so I'm going to close this.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants