-
Notifications
You must be signed in to change notification settings - Fork 13.3k
compatibility issues in configure and make tidy #22041
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
Conversation
the sed option `--in-place` (or `-i`) is a GNU extension, and it is not portable to BSD system (openbsd and freebsd checked). use an alternate construction in order to keep the semantic.
(rust_highfive has picked a reviewer for you, use r? to override) |
I add a patch for a compatibility issue with find, use for |
@@ -254,7 +254,7 @@ tidy-basic: | |||
.PHONY: tidy-binaries | |||
tidy-binaries: | |||
@$(call E, check: binaries) | |||
$(Q)find $(S)src -type f -perm +a+x \ | |||
$(Q)find $(S)src -type f -perm /a+x \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately it looks like this may not work on osx:
$ find . -type f -perm /a+x
find: -perm: /a+x: illegal mode string
I have revert the change about I have check the form |
osx should be ok (I have checked against the manual page on the apple website) |
@bors: r+ 30b8078 Thanks! |
⌛ Testing commit 30b8078 with merge e95e3a8... |
💔 Test failed - auto-win-32-opt |
hum... I am not sure about the error under Windows. Maybe the shell miss interpret the @alexcrichton what is the build env under windows ? cygwin I think ? I would like to test locally, instead of blindly provide a patch... |
I am note sure that the failed is related to my patch, or how it is related to it... Next, the failed as captured by log:
The line The error is due to the file
@alexcrichton any clue ? |
Hm I've seen this warning about that file being executable before, but I'm not quite sure why it's cropping up. Our windows bots currently run inside of MSYS2 with both a 32 and 64 bit shell (using mingw-w64 as a compiler). |
@alexcrichton I have no way to easily check the |
I may be best to revert the changes to |
30b8078
to
04b7976
Compare
I have rebased to more recent HEAD, and removed the three lasts patchs (first try with |
the sed option `--in-place` (or `-i`) is a GNU extension, and it is not portable to BSD system (openbsd and freebsd checked). use an alternate construction in order to keep the semantic.
⌛ Testing commit 04b7976 with merge 95b228a... |
the sed option
--in-place
(or-i
) is a GNU extension, and it is notportable to BSD system (openbsd and freebsd checked).
use an alternate construction in order to keep the semantic.