From abf64f809ff96895c42254af4489b2f5eb95e4c6 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 6 Feb 2024 11:56:49 +0100 Subject: 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. --- crystfel.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crystfel.rb') 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 -- cgit v1.2.3