-
Notifications
You must be signed in to change notification settings - Fork 86
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
FTBFS on systems without getconf #318
Comments
I believe that I can look into allowing people to override it, as a workaround for systems which are not POSIX-compliant. |
@Ismael: also, which system(s) don't have I thought that the FTBFS acronym came from debian & ubuntu, but I can't see any open bug reports in their package trackers. |
The systems I'm dealing with right now are:
On most systems the test doesn't make much sense because there should be only one
I think the one in In any case, should't the compliance be somehow tested? otherwise it's blind faith, and the system could be making bogus promises... (yes, FTBFS came from Debian, but everyone understands it now and it's short 😃) |
Huh, NuttX looks cool! Ok, this is a tricky thing that tests the bounds of POSIX compatibility, and I'm quite willing to believe that I got it wrong! This whole thing arose because of Solaris, namely #241 (fixed in #239 and #242). My current understanding is that a POSIX-compliant system:
For more discussion, Both As for "blind faith"... well, we do test whether Anyway, I'm not opposed to allowing users to manually specify the path to a posix-compliant shell, but I still believe that this falls into the category of "workaround for a buggy OS". |
It's even more complicated than that:
So, this approach is ok to get the default Unless you test the shell you don't know if it's OK. That's the whole point of a configure script. |
In any case, I thought autoconf scripts would run on pre-posix shells... don't they? or did autoconf 2.7x break that promise? |
In response to:
I'm sorry to repeat myself, but my understanding is that It doesn't matter if [1] for example, on Solaris we have:
The last line is what we want. |
This is very system-dependent, and even environment-dependent, and there's no way to tell you're getting the correct one. On Solaris, you can reasonably rely on it, but it truly depends on the first The generalization, however, isn't reliable. |
You can now manually specify a path to
|
Some systems don't provide
getconf
. TheCHECK_POSIX_SH
macro fails on those systems:scrypt/m4/check_posix_sh.m4
Line 6 in c83b315
It should, at least, behave like a standard macro and allow overriding the vaule from the command line.
The text was updated successfully, but these errors were encountered: