[MacPorts] #55229: ansible @2.3.2.0.1_1: update to 2.4.1.0-1
MacPorts
noreply at macports.org
Sun Nov 5 17:11:43 UTC 2017
#55229: ansible @2.3.2.0.1_1: update to 2.4.1.0-1
----------------------+-------------------------
Reporter: l2dy | Owner: adfernandes
Type: update | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: security
Port: ansible |
----------------------+-------------------------
Comment (by adfernandes):
So I'm building `2.4.1.0-1` and modifying the `Portfile` and I hit the
following annoying errror:
```
{{{
...
copying lib/ansible/config/base.yml -> build/lib/ansible/config
error: [Errno 2] No such file or directory: 'SYMLINK_CACHE.json'
Command failed: cd
"/opt/local/var/macports/build/_Users_andrew_Local_dports_sysutils_ansible/ansible/work/ansible-2.4.1.0-1"
&&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build
Exit code: 1
}}}
A bit of googling and the official Ansible response appears to be "Huh.
Don't do that."
Ansible is somewhat glib in their documentation
(http://docs.ansible.com/ansible/latest/intro_installation.html#latest-
releases-via-pip), too:
{{{
Readers that use virtualenv can also install Ansible under virtualenv,
though we’d recommend to not worry about it and just install Ansible
globally. Do not use easy_install to install ansible directly.
}}}
Yeah. Just install it globally. Don't worry about it. Wow.
I may have to try and rework this package using pip. But given past
experience (the pip install simply didn't work, and Ansible was glib and
insulting replying to people's trouble tickets) I'm not sure how well that
would work.
--
Ticket URL: <https://trac.macports.org/ticket/55229#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list