DTrace scripts that previously worked now fail. For example: > #!/usr/sbin/dtrace -s > > /* > * Trace process termination events > * Args: <none> > */ > > proc:::exit { > printf("proc:::exit pid=%d exec=%s exit-reason=%d", pid, execname, args[0]); > } Failure message: > dtrace: failed to compile script ./proc-exit.d: "/usr/lib/dtrace/ipfw.d", line 106: failed to copy type of 'inp': Conflicting type is already defined
Created attachment 224538 [details] Dependency on ip.d Hello, please try included patch. Will it help you? It helped me.
Created attachment 224539 [details] Dependency on ip.d with .d suffix Oops, I'm sorry. I wanted to send patch with dependency on ip.d with suffix .d as is in other .d files.
I'm sorry again, I was too fast. This could not be the solution :o/ It worked for me just in case of non existent dependency, which meant that ipfw.d has been skipped. I'm going to keep looking with another try...
(In reply to Rudolf Čejka from comment #3) It seems the patch helps when ipfw.d fails with message: "/usr/lib/dtrace/ipfw.d", line 121: failed to copy type of 'ip6p': Conflicting type is already defined Add proposed line fixes this problem.
Does the libctf patch from PR 258763 fix this?
Hi, for me, with libctf patch I can run dtrace scripts again. Thank you very much.
*** This bug has been marked as a duplicate of bug 258763 ***
(In reply to Rudolf Čejka from comment #6) Thanks for the confirmation.