Skip to content

Instantly share code, notes, and snippets.

@jupblb
Created November 14, 2025 16:03
Show Gist options
  • Select an option

  • Save jupblb/f18f992d21edc7822efc4133d2cef7d2 to your computer and use it in GitHub Desktop.

Select an option

Save jupblb/f18f992d21edc7822efc4133d2cef7d2 to your computer and use it in GitHub Desktop.
~/W/s/scip-ruby ~> ./bazel clean --expunge
INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes.
~/W/s/scip-ruby ~> ./bazel build //main:scip-ruby --config=dev
Starting local Bazel server and connecting to it...
INFO: Analyzed target //main:scip-ruby (246 packages loaded, 5378 targets configured).
ERROR: /Users/michal/Workspace/scip/scip-ruby/parser/BUILD:56:8: Executing genrule //parser:generate_diagnostics_cc [for tool] failed: (Aborted): bash failed: error executing Genrule command (from target //parser:generate_diagnostics_cc) /bin/bash -c ... (remaining 1 argument skipped)
dyld[56455]: Library not loaded: @rpath/libunwind.1.dylib
Referenced from: <284033D2-A375-38AE-B9EC-B86895476078> /private/var/tmp/_bazel_michal/5a2fa186d7ed87384ae540919a7acc82/execroot/com_stripe_ruby_typer/bazel-out/darwin_arm64-opt-exec-ST-a828a81199fe/bin/parser/parser/generate_diagnostics
Reason: no LC_RPATH's found
/bin/bash: line 1: 56455 Abort trap: 6 bazel-out/darwin_arm64-opt-exec-ST-a828a81199fe/bin/parser/parser/generate_diagnostics dclassStrings > bazel-out/darwin_arm64-opt-exec-ST-a828a81199fe/bin/parser/diagnostics.cc
Target //main:scip-ruby failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 51.989s, Critical Path: 4.00s
INFO: 1574 processes: 1382 internal, 192 local.
ERROR: Build did NOT complete successfully
~/W/s/scip-ruby ~> ./bazel build //main:scip-ruby
WARNING: Build options --compilation_mode, --copt, and --linkopt have changed, discarding analysis cache (this can be expensive, see https://bazel.build/advanced/performance/iteration-speed).
INFO: Analyzed target //main:scip-ruby (0 packages loaded, 5378 targets configured).
ERROR: /Users/michal/Workspace/scip/scip-ruby/parser/parser/BUILD:84:8: Executing genrule //parser/parser:gen_diagnostics_dclass failed: (Aborted): bash failed: error executing Genrule command (from target //parser/parser:gen_diagnostics_dclass) /bin/bash -c ... (remaining 1 argument skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
dyld[57028]: Library not loaded: @rpath/libunwind.1.dylib
Referenced from: <284033D2-A375-38AE-B9EC-B86895476078> /private/var/tmp/_bazel_michal/5a2fa186d7ed87384ae540919a7acc82/execroot/com_stripe_ruby_typer/bazel-out/darwin_arm64-opt-exec-ST-a828a81199fe/bin/parser/parser/generate_diagnostics
Reason: no LC_RPATH's found
/bin/bash: line 1: 57028 Abort trap: 6 bazel-out/darwin_arm64-opt-exec-ST-a828a81199fe/bin/parser/parser/generate_diagnostics dclass > bazel-out/darwin_arm64-fastbuild/bin/parser/parser/include/ruby_parser/diagnostic_class.hh
Target //main:scip-ruby failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.481s, Critical Path: 0.13s
INFO: 230 processes: 230 internal.
ERROR: Build did NOT complete successfully
~/W/s/scip-ruby ~> ./bazel clean --expunge
INFO: Starting clean (this may take a while). Consider using --async if the clean takes more than several minutes.
~/W/s/scip-ruby ~> ./bazel build //main:scip-ruby
Starting local Bazel server and connecting to it...
INFO: Analyzed target //main:scip-ruby (246 packages loaded, 5378 targets configured).
INFO: From Compiling gnulib/lib/isnanl.c [for tool]:
In file included from external/m4_v1.4.18/gnulib/lib/isnanl.c:20:
external/m4_v1.4.18/gnulib/lib/isnan.c:157:11: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
if (((m.word[EXPBIT0_WORD] ^ nan.word[EXPBIT0_WORD])
^ ~~~~~~~~~~~~
external/m4_v1.4.18/gnulib/lib/isnan.c:80:31: note: array 'word' declared here
typedef union { DOUBLE value; unsigned int word[NWORDS]; } memory_double;
^
external/m4_v1.4.18/gnulib/lib/isnan.c:157:34: warning: array index 2 is past the end of the array (which contains 2 elements) [-Warray-bounds]
if (((m.word[EXPBIT0_WORD] ^ nan.word[EXPBIT0_WORD])
^ ~~~~~~~~~~~~
external/m4_v1.4.18/gnulib/lib/isnan.c:80:31: note: array 'word' declared here
typedef union { DOUBLE value; unsigned int word[NWORDS]; } memory_double;
^
2 warnings generated.
INFO: From Compiling gnulib/lib/vasnprintf.c [for tool]:
external/bison_v3.3.2/gnulib/lib/vasnprintf.c:3185:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf ((char *) p, "%+d", exponent);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
external/bison_v3.3.2/gnulib/lib/vasnprintf.c:3193:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf (expbuf, "%+d", exponent);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
external/bison_v3.3.2/gnulib/lib/vasnprintf.c:3336:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf ((char *) p, "%+d", exponent);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
external/bison_v3.3.2/gnulib/lib/vasnprintf.c:3344:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf (expbuf, "%+d", exponent);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
4 warnings generated.
INFO: From Compiling src/parse-gram.c [for tool]:
src/parse-gram.c:2029:9: warning: variable 'gram_nerrs' set but not used [-Wunused-but-set-variable]
int yynerrs;
^
src/parse-gram.c:80:25: note: expanded from macro 'yynerrs'
#define yynerrs gram_nerrs
^
1 warning generated.
INFO: From Compiling gnulib/lib/vasnprintf.c [for tool]:
external/m4_v1.4.18/gnulib/lib/vasnprintf.c:3185:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf ((char *) p, "%+d", exponent);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
external/m4_v1.4.18/gnulib/lib/vasnprintf.c:3193:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf (expbuf, "%+d", exponent);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
external/m4_v1.4.18/gnulib/lib/vasnprintf.c:3336:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf ((char *) p, "%+d", exponent);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
external/m4_v1.4.18/gnulib/lib/vasnprintf.c:3344:35: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf (expbuf, "%+d", exponent);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
4 warnings generated.
INFO: From Compiling ragel/cdsplit.cpp [for tool]:
external/ragel_v6.10/ragel/cdsplit.cpp:351:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf( suffix, suffFormat, p );
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
1 warning generated.
INFO: From Compiling ragel/parsetree.cpp [for tool]:
external/ragel_v6.10/ragel/parsetree.cpp:185:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf( actName, "store%i", lmi->longestMatchId );
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
external/ragel_v6.10/ragel/parsetree.cpp:198:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf( actName, "last%i", lmi->longestMatchId );
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
external/ragel_v6.10/ragel/parsetree.cpp:212:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf( actName, "next%i", lmi->longestMatchId );
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
external/ragel_v6.10/ragel/parsetree.cpp:225:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf( actName, "lag%i", lmi->longestMatchId );
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
4 warnings generated.
INFO: From Compiling ragel/gendata.cpp [for tool]:
external/ragel_v6.10/ragel/gendata.cpp:77:2: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf( buf, "%i", i );
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
1 warning generated.
INFO: From Compiling ragel/cssplit.cpp [for tool]:
external/ragel_v6.10/ragel/cssplit.cpp:343:3: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf( suffix, suffFormat, p );
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/_stdio.h:278:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:227:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
1 warning generated.
INFO: From Linking external/com_google_protobuf/protoc [for tool]:
ld: warning: ignoring duplicate libraries: '-lm', '-lpthread'
INFO: From Linking main/sorbet-orig [for tool]:
ld: warning: symbols in __TEXT,text_env have unwind information, but it's not a code section (missing 'regular,pure_instructions' section flag)
INFO: From Linking main/scip-ruby:
ld: warning: ignoring duplicate libraries: '-lm', '-lpthread'
ld: warning: symbols in __TEXT,text_env have unwind information, but it's not a code section (missing 'regular,pure_instructions' section flag)
INFO: Found 1 target...
Target //main:scip-ruby up-to-date:
bazel-bin/main/scip-ruby
INFO: Elapsed time: 138.859s, Critical Path: 24.25s
INFO: 2945 processes: 1378 internal, 1567 darwin-sandbox.
INFO: Build completed successfully, 2945 total actions
~/W/s/scip-ruby ~> ./bazel build //main:scip-ruby --config=dev
WARNING: Build options --compilation_mode, --copt, and --linkopt have changed, discarding analysis cache (this can be expensive, see https://bazel.build/advanced/performance/iteration-speed).
INFO: Analyzed target //main:scip-ruby (0 packages loaded, 5378 targets configured).
INFO: From Linking main/scip-ruby:
ld: warning: ignoring duplicate libraries: '-lm', '-lpthread'
ld: warning: symbols in __TEXT,text_env have unwind information, but it's not a code section (missing 'regular,pure_instructions' section flag)
INFO: Found 1 target...
Target //main:scip-ruby up-to-date:
bazel-bin/main/scip-ruby
INFO: Elapsed time: 57.143s, Critical Path: 12.80s
INFO: 1163 processes: 498 internal, 665 local.
INFO: Build completed successfully, 1163 total actions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment