-
Notifications
You must be signed in to change notification settings - Fork 23.8k
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
Ansible PPA does not build on xenial and trusty #64160
Comments
Files identified in the description: If these files are inaccurate, please update the |
@goneri is going to look into this |
Trusty is old now. @abadger, What is our policy regarding which version we support? |
Files identified in the description: If these files are inaccurate, please update the |
On Ubuntu Precise and Trusty, the build was failing because the Ansible libs were installed in /usr/lib/python2.7/site-packages. According to the Debian Policy (2.5), they should actually be install in /usr/lib/python2.7/dist-packages This is also CDBS default behaviour since 0.4.131. See: https://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html Closes: ansible#64160
On Ubuntu Precise and Trusty, the build was failing because the Ansible libs were installed in /usr/lib/python2.7/site-packages. According to the Debian Policy (2.5), they should actually be install in /usr/lib/python2.7/dist-packages This is also CDBS default behaviour since 0.4.131. See: https://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html Closes: ansible#64160
On Ubuntu Precise and Trusty, the build was failing because the Ansible libs were installed in /usr/lib/python2.7/site-packages. According to the Debian Policy (2.5), they should actually be install in /usr/lib/python2.7/dist-packages This is also CDBS default behaviour since 0.4.131. See: https://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html Closes: #64160
On Ubuntu Precise and Trusty, the build was failing because the Ansible libs were installed in /usr/lib/python2.7/site-packages. According to the Debian Policy (2.5), they should actually be install in /usr/lib/python2.7/dist-packages This is also CDBS default behaviour since 0.4.131. See: https://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html Closes: ansible#64160
On Ubuntu Precise and Trusty, the build was failing because the Ansible libs were installed in /usr/lib/python2.7/site-packages. According to the Debian Policy (2.5), they should actually be install in /usr/lib/python2.7/dist-packages This is also CDBS default behaviour since 0.4.131. See: https://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html Closes: ansible#64160
On Ubuntu Precise and Trusty, the build was failing because the Ansible libs were installed in /usr/lib/python2.7/site-packages. According to the Debian Policy (2.5), they should actually be install in /usr/lib/python2.7/dist-packages This is also CDBS default behaviour since 0.4.131. See: https://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html Closes: #64160
On Ubuntu Precise and Trusty, the build was failing because the Ansible libs were installed in /usr/lib/python2.7/site-packages. According to the Debian Policy (2.5), they should actually be install in /usr/lib/python2.7/dist-packages This is also CDBS default behaviour since 0.4.131. See: https://www.debian.org/doc/packaging-manuals/python-policy/ch-python.html Closes: ansible#64160
SUMMARY
The 2.9.0 build of ansible on the ansible PPA errored out for Xenial and Trusty:
https://launchpadlibrarian.net/448150215/buildlog_ubuntu-xenial-amd64.ansible_2.9.0~rc5-1ppa~xenial_BUILDING.txt.gz
My guess is that this commit is what broke it: e14ccbf
I'm further guessing that trusty and xenial are using an older version of the debhelper scripts (in particular, dh_installdirs) which are using site-packages whereas the new versions of debhelper use dist-packages.
Output from the failed run specifies
--install-purelib=/usr/lib/python2.7/site-packages/
on the commandline:Whereas a successful run on Bionic does not:
ISSUE TYPE
COMPONENT NAME
packaging/debian/ansible.install
packaging/debian/ansible-test.install
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
STEPS TO REPRODUCE
Build an Ansible pre-release in Jenkins, uploading to launchpad.
EXPECTED RESULTS
Builds on all Ubuntu versions are successful
ACTUAL RESULTS
Note that there are failed builds on this page: https://launchpad.net/~ansible/+archive/ubuntu/ansible-2.9
The text was updated successfully, but these errors were encountered: