Skip to content

Instantly share code, notes, and snippets.

@major
Created July 29, 2016 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save major/dfaa0ce8d50d284d81afe5ff6735e07d to your computer and use it in GitHub Desktop.
Save major/dfaa0ce8d50d284d81afe5ff6735e07d to your computer and use it in GitHub Desktop.
bindep failure
root@xenial:~# cat other-requirements.txt
# This file facilitates OpenStack-CI package installation
# before the execution of any tests.
#
# See the following for details:
# - http://docs.openstack.org/infra/bindep/
# - https://github.com/openstack-infra/bindep
#
# Even if the role does not make use of this facility, it
# is better to have this file empty, otherwise OpenStack-CI
# will fall back to installing its default packages which
# will potentially be detrimental to the tests executed.
# Requirements for Paramiko 2.0
libssl-dev [platform:dpkg]
libffi-dev [platform:dpkg]
libffi-devel [platform:rpm]
openssl-devel [platform:rpm]
# For SELinux
libselinux-python [platform:rpm]
# For SSL SNI support
python-pyasn1 [platform:dpkg]
python-openssl [platform:dpkg]
python-ndg-httpsclient [platform:ubuntu !platform:ubuntu-trusty]
epel-release [platform:rpm]
python-pyasn1 [platform:rpm]
pyOpenSSL [platform:rpm]
python-ndg_httpsclient [platform:rpm]
root@xenial:~# bindep -b -f other-requirements.txt
Traceback (most recent call last):
File "/usr/local/bin/bindep", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/bindep/main.py", line 53, in main
depends = bindep.depends.Depends(fd.read())
File "/usr/local/lib/python2.7/dist-packages/bindep/depends.py", line 89, in __init__
self._rules = parser.rules()
File "/usr/local/lib/python2.7/dist-packages/parsley.py", line 98, in invokeRule
raise err
ometa.runtime.ParseError:
python-ndg_httpsclient [platform:rpm]
^
Parse error at line 29, column 11: expected EOF. trail: [version comment rule]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment