debops-tools
debops-tools copied to clipboard
boostrap_ansible does not work on recent ubuntu: E: ansible: depends-on-obsolete-package depends: python-support (>= 0.90) => use dh_python2 instead
when trying to build ansible:
dh_perl -pansible
dh_shlibdeps -pansible
dh_gencontrol -pansible
dpkg-gencontrol: warning: package ansible: unused substitution variable ${python:Versions}
dpkg-gencontrol: warning: package ansible: unused substitution variable ${python:Depends}
# only call dh_scour for packages in main
if grep -q '^Component:[[:space:]]*main' /CurrentlyBuilding 2>/dev/null; then dh_scour -pansible ; fi
dh_md5sums -pansible
dh_builddeb -pansible
dpkg-deb: building package `ansible' in `../ansible_1.9.0-0.git201503252207~unstable_all.deb'.
dpkg-genchanges -b >../ansible_1.9.0-0.git201503252207~unstable_amd64.changes
dpkg-genchanges: binary-only upload (no source code included)
dpkg-source -I --after-build ansible-1.9.0
dpkg-buildpackage: binary-only upload (no source included)
Now running lintian...
E: ansible changes: bad-distribution-in-changes-file unstable
W: ansible: copyright-refers-to-versionless-license-file usr/share/common-licenses/GPL
W: ansible: copyright-without-copyright-notice
W: ansible: description-synopsis-starts-with-article
E: ansible: depends-on-obsolete-package depends: python-support (>= 0.90) => use dh_python2 instead
Finished running lintian.
#############################################
Ansible DEB artifacts:
deb-build/unstable/ansible_1.9.0-0.git201503252207~unstable_amd64.changes
#############################################
I expected it to work on my ubuntu 15.04 because of the comment in the file:
# bootstrap-ansible.sh: download and build Ansible on Debian/Ubuntu host
This script just uses make deb command in Ansible source Makefile to create the .debs, perhaps try installing Ansible from the Ansible official PPA instead. They should have current packages.