We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug nix_gazelle_extension is not runnable on darwin, the fptrace is not able to build
fptrace
error: builder for '/nix/store/9djxkbvhldinlnwd8h061pyn0933dsi7-fptrace.drv' failed with exit code 2; last 10 log lines: > # command-line-arguments > ./seccomp.go:24:2: undefined: unix.SYS_DUP3 > ./seccomp.go:26:2: undefined: unix.SYS_EXECVEAT > ./seccomp.go:34:2: undefined: unix.SYS_PREAD64 > ./seccomp.go:35:2: undefined: unix.SYS_PREADV > ./seccomp.go:36:2: undefined: unix.SYS_PREADV2 > ./seccomp.go:37:2: undefined: unix.SYS_PWRITE64 > ./seccomp.go:38:2: undefined: unix.SYS_PWRITEV > ./seccomp.go:39:2: undefined: unix.SYS_PWRITEV2 > ./seccomp.go:44:2: undefined: unix.SYS_RENAMEAT2 For full logs, run 'nix log /nix/store/9djxkbvhldinlnwd8h061pyn0933dsi7-fptrace.drv'.
To Reproduce
examples:generate
gazelle-update-all
Expected behavior nix_gazelle_extension is able to run from macos.
Environment
master
Additional context
Notes: https://opensource.apple.com/source/dtrace/dtrace-147/DTTk/dtruss.auto.html Seems to be available to trace execution on macos, didn't tried it. It is probably not option anymore, blocked by El Captation release. There is ptrace (python strace port) that is runnable on unix, windows and darwin. https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/ptrace.2.html https://github.com/vstinner/python-ptrace
The text was updated successfully, but these errors were encountered:
A potential cross-platform alternative may be fsatrace. It's also used by Rattle. However, wrt MacOS, it states
In order to use fsatrace on systems newer than OS X 10.10, System Integrity Protection must be disabled as detailed in https://developer.apple.com/library/content/documentation/Security/Conceptual/System_Integrity_Protection_Guide/ConfiguringSystemIntegrityProtection/ConfiguringSystemIntegrityProtection.html
Sorry, something went wrong.
r2r-dev
No branches or pull requests
Describe the bug
nix_gazelle_extension is not runnable on darwin, the
fptrace
is not able to buildTo Reproduce
examples:generate
gazelle-update-all
Expected behavior
nix_gazelle_extension is able to run from macos.
Environment
master
source codeAdditional context
Notes:
https://opensource.apple.com/source/dtrace/dtrace-147/DTTk/dtruss.auto.html
Seems to be available to trace execution on macos, didn't tried it.
It is probably not option anymore, blocked by El Captation release.
There is ptrace (python strace port) that is runnable on unix, windows and darwin.
https://developer.apple.com/library/archive/documentation/System/Conceptual/ManPages_iPhoneOS/man2/ptrace.2.html
https://github.com/vstinner/python-ptrace
The text was updated successfully, but these errors were encountered: