diff options
author | Thomas White <taw@physics.org> | 2024-02-06 11:56:49 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2024-02-06 11:56:49 +0100 |
commit | abf64f809ff96895c42254af4489b2f5eb95e4c6 (patch) | |
tree | 3b55114d00bd98823e2d897a354c9a65a0d903d7 /crystfel.rb | |
parent | f76e0020e2b8361bba4347f7a6be273b2684593b (diff) |
Sort-of-workaround for argp '--help' crash on MacOS
Indexamajig --help causes a segfault on MacOS due to a bug in
argp-standalone. That package is unlikely to be updated any time soon.
Eventually, Homebrew might switch to one of the non-crashy forks, but
probably not soon. We aren't the only ones affected - see
https://www.openwall.com/lists/musl/2021/02/10/1
This commit adds a warning message to state that we already know about
it, and it's not "our" fault. It also removes the corresponding test,
since we know it fails.
Diffstat (limited to 'crystfel.rb')
-rw-r--r-- | crystfel.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crystfel.rb b/crystfel.rb index 21851fb7..9c4e72ab 100644 --- a/crystfel.rb +++ b/crystfel.rb @@ -58,7 +58,6 @@ class Crystfel < Formula system bin / 'crystfel', '--help' system bin / 'align_detector', '--help' system bin / 'get_hkl', '--help' - system bin / 'indexamajig', '--help' system bin / 'list_events', '--help' system bin / 'make_pixelmap', '--help' system bin / 'partialator', '--help' @@ -66,5 +65,6 @@ class Crystfel < Formula system bin / 'process_hkl', '--help' system bin / 'render_hkl', '--help' system bin / 'whirligig', '--help' + # indexamajig --help crashes on MacOS due to argp-standalone bug end end |