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

configure.ac: update directory space check #1359

Merged

Conversation

jsquyres
Copy link
Contributor

PRTE_CANONICALIZE_PATH broke on MacOS when /usr/bin/python
disappeared (in favor of /usr/bin/python3) in MacOS Monterrey. Make
things simpler by not canonicalizing the path to begin with.

Specifically: just look at pwd, $srcdir, and $prefix. Even if
$srcdir and/or $prefix are relative to the build dir, the union of all
the checks will ensure that none of the target paths will contain
spaces.

Back-ported from
open-mpi/ompi@6992c64

Signed-off-by: Jeff Squyres jsquyres@cisco.com

PRTE_CANONICALIZE_PATH broke on MacOS when `/usr/bin/python`
disappeared (in favor of `/usr/bin/python3`) in MacOS Monterrey.  Make
things simpler by not canonicalizing the path to begin with.

Specifically: just look at `pwd`, $srcdir, and $prefix.  Even if
$srcdir and/or $prefix are relative to the build dir, the union of all
the checks will ensure that none of the target paths will contain
spaces.

Back-ported from
open-mpi/ompi@6992c64

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
@jsquyres
Copy link
Contributor Author

Looks like a similar CI failure to #1357

@rhc54 rhc54 merged commit 414b474 into openpmix:master May 20, 2022
@jsquyres jsquyres deleted the pr/fix-configure-dir-with-spaces-test branch May 20, 2022 15:04
@jsquyres
Copy link
Contributor Author

Does this need to go to any branches?

@rhc54
Copy link
Contributor

rhc54 commented May 20, 2022

You are welcome to take it to v2.1 and v2.0, if you have the chance - otherwise, I can pick it up when I do a regular update of those branches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants