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
I want to use e.g., QEMU_STRACE or plain strace to trace calls to libc functions by a process launched as part of the build. But I'm not sure how to make this happen without experimenting too much. Who knows already?
The following doesn't work when issued from the remote side (macOS).
+ strace pdm build --no-clean --verbose
/usr/bin/strace: test_ptrace_get_syscall_info: PTRACE_TRACEME: Function not implemented
/usr/bin/strace: ptrace(PTRACE_TRACEME, ...): Function not implemented
/usr/bin/strace: PTRACE_SETOPTIONS: Function not implemented
/usr/bin/strace: detach: waitpid(353): No child processes
/usr/bin/strace: Process 353 detached
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use e.g.,
QEMU_STRACE
or plainstrace
to trace calls to libc functions by a process launched as part of the build. But I'm not sure how to make this happen without experimenting too much. Who knows already?The following doesn't work when issued from the remote side (macOS).
podman \ --log-level debug \ buildx \ build \ --cap-add=SYS_PTRACE \ --cache-from=localhost/test \ --file=Containerfile \ --logfile=podman-build.log \ --tag localhost/test:dummy \ .
Beta Was this translation helpful? Give feedback.
All reactions