You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(bundle): use process substitution to fix silent pipefail in bundle_all_deps
With 'set -euo pipefail', ldd|grep|awk|while fails silently when grep
finds no '=> /' lines (libs with only linux-vdso/ld-linux deps). The
pipeline's while loop also runs in a subshell, so queue+= updates were
lost and the QUEUE_FILE workaround was needed.
Switch to process substitution (< <(... || true)):
- '|| true' suppresses grep exit-1 on zero matches
- while body runs in the current shell so queue+= propagates directly
- QUEUE_FILE and its trap are no longer needed
Also add explicit error messages to patchelf calls so failures are
visible in CI logs instead of being swallowed by set -e.
Made-with: Cursor
0 commit comments