-
Notifications
You must be signed in to change notification settings - Fork 187
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
ping6 is now deprecated, make fails #126
Comments
Hm... interestingly the old ping versions do not support the parameters @philwhineray any ideas how to fix this?
|
@SanskritFritz can you check if the newly linked |
I can't, sorry, I have IPv6 disabled here. |
I've setup this workaround and can test the behavior of the ping6 symlink:
Seems to be working fine, although I'm not sure if there's some edge case that wouldn't work. Let me know if I should test something else. |
Thanks @davidscholberg that looks fine for a workaround. Could you possibly confirm the exit status of a @ktsaou this should not be too hard to handle in the configure script - that is what it is there for and we have the notion of commands which do/don't take parameters already. What makes it a bit trickier is the need to provide a variable to skip the checks which some distros need to enable cross-compilation. @SanskritFritz your workaround looks fine. Although if you are not using IPv6 and building just for you, you can run configure with I will try to find some time for this in today if I can, it will only affect more users in future. |
|
Newer versions of iputils have removed the ping6 tool but older versions do not support the -6 flag, per #126. The unconfigured program will always try to fall back to ping if it can't find ping6 but this behaviour will generally only be visible to developers.
Great. With any luck the change I just pushed will work for everyone and not need a symlink workaround. @SanskritFritz if it tests out OK for you, could you close the ticket and it will be part of the next release. |
Thanks guys, git head builds fine here, I close the ticket. Waiting for a new release. |
Hello, the new release reintroduced this problem for me. I can't push out a new package due to this:
Tried to build git master head too, same problem. Please look into this. UPDATE: Hold on, I tried to build 3.1.6 just to check, and it fails too with the same error. I'm on a new archlinux, it is possible that previously I still had a ping6 symlink. |
If you have IPv6 disabled, you probably want the Or, if you are building a separate package, you might want to treat it as if you are cross-compiling. Specifying:
|
Thank you, this way it works perfectly. |
checking for ping6... no
configure:
error: cannot find required executable, bailing out`The reason why this happens is that the latest iputils package has removed the ping6 executable since the ping executable now supports both ipv4 and ipv6 (ping accepts -4 or -6 flag).
I was able to work around this by symlinking ping6 to ping:
ln -s /usr/bin/ping /usr/bin/ping6
I'm not sure if this has any negative consequences, but it seems to be working fine at the moment.
The text was updated successfully, but these errors were encountered: