From 6ffb3e734ba8feb8c457a0e801d0c3acc36dd405 Mon Sep 17 00:00:00 2001 From: John Kerl Date: Thu, 4 Apr 2024 19:05:47 -0400 Subject: [PATCH 1/2] [ci] Debug wheel-build failure --- scripts/bld | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/bld b/scripts/bld index 25fd770360..ef41bea513 100755 --- a/scripts/bld +++ b/scripts/bld @@ -43,7 +43,7 @@ if [ "$(uname -m)" == "aarch64" ]; then fi # NOTE: set to true to debug the cmake build -if false; then +if true; then # Debug note: this is _incredibly_ helpful in that it reveals the actual compile lines etc which # make itself shows by default but which cmake-driven make hides by default. Use this for any # non-trivial cmake debugging. From 56884ff2153207182e92a4aca841c4c3bc33551e Mon Sep 17 00:00:00 2001 From: John Kerl Date: Fri, 5 Apr 2024 11:23:45 -0400 Subject: [PATCH 2/2] debug --- libtiledbsoma/src/utils/nanoarrow.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libtiledbsoma/src/utils/nanoarrow.c b/libtiledbsoma/src/utils/nanoarrow.c index c946c01362..156f6c87e2 100644 --- a/libtiledbsoma/src/utils/nanoarrow.c +++ b/libtiledbsoma/src/utils/nanoarrow.c @@ -1713,6 +1713,10 @@ int64_t ArrowSchemaToString(const struct ArrowSchema* schema, char* out, int64_t return snprintf(out, n, "[invalid: schema is released]"); } + if (out == NULL) { + return snprintf(out, n, "[invalid: out is released]"); + } + struct ArrowSchemaView schema_view; struct ArrowError error;