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

make sdist xargs: illegal option -- r Error #12845

Closed
saeeda opened this issue Oct 20, 2015 · 1 comment
Closed

make sdist xargs: illegal option -- r Error #12845

saeeda opened this issue Oct 20, 2015 · 1 comment
Labels
bug This issue/PR relates to a bug. easyfix This issue is considered easy to fix by aspiring contributors. P2 Priority 2 - Issue Blocks Release
Milestone

Comments

@saeeda
Copy link

saeeda commented Oct 20, 2015

After Ansible v2.0.0-0.3.beta1 is checked out. Trying to build ansible-2.0.0.tar.gz fails.

ansible --version
ansible 2.0.0 (detached HEAD 5ae74f7) last updated 2015/10/20 16:34:41 (GMT -400)
lib/ansible/modules/core: (detached HEAD d659c79) last updated 2015/10/20 16:34:57 (GMT -400)
lib/ansible/modules/extras: (detached HEAD 0ff1776) last updated 2015/10/20 16:35:01 (GMT -400)
config file =
configured module search path = None
(venv)[username@hostsystem:/ansible]$ make sdist
Cleaning up distutils stuff
rm -rf build
rm -rf dist
rm -rf lib/ansible.egg-info/
Cleaning up byte compiled python stuff
find . -type f -regex "..py[co]$" -delete
Cleaning up editor backup files
find . -type f ( -name "
" -or -name "#" ) |grep -v test/units/inventory_test_data/group_vars/noparse/all.yml~ |xargs -n 1024 -r rm
xargs: illegal option -- r
usage: xargs [-0opt] [-E eofstr] [-I replstr [-R replacements]] [-J replstr]
[-L number] [-n number [-x]] [-P maxprocs] [-s size]
[utility [argument ...]]
make: *
* [clean] Error 1

@abadger abadger added bug_report P2 Priority 2 - Issue Blocks Release easyfix This issue is considered easy to fix by aspiring contributors. labels Oct 26, 2015
@abadger abadger added this to the v2 milestone Oct 26, 2015
@abadger
Copy link
Contributor

abadger commented Oct 26, 2015

Thanks for reporting this! Looks like -r is a GNU specific extension to xargs. Hopefully find -path is more portable.

Closing This Ticket

Hi!

We believe recent commits (likely detailed above) should resolve this question or problem for you.

This will also be included in the next major release.

If you continue seeing any problems related to this issue, or if you have any further questions, please let us know by stopping by one of the two mailing lists, as appropriate:

Because this project is very active, we're unlikely to see comments made on closed tickets, but the mailing list is a great way to ask questions, or post if you don't think this particular
issue is resolved.

Thank you!

@ansibot ansibot added bug This issue/PR relates to a bug. and removed bug_report labels Mar 7, 2018
@ansible ansible locked and limited conversation to collaborators Apr 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This issue/PR relates to a bug. easyfix This issue is considered easy to fix by aspiring contributors. P2 Priority 2 - Issue Blocks Release
Projects
None yet
Development

No branches or pull requests

3 participants