NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: toolchain/58682: dtrace is missing sys/types.h
The following reply was made to PR toolchain/58682; it has been noted by GNATS.
From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: toolchain/58682: dtrace is missing sys/types.h
Date: Fri, 20 Sep 2024 08:51:32 +0000 (UTC)
On Fri, 20 Sep 2024, ondrej%sury.org@localhost wrote:
>> Description:
> dtrace seems to be missing `#include <sys/types.h>` internally
>> How-To-Repeat:
> Any probes.d file can be used to reproduce the problem:
>
> $ cat probes.d
> provider null {
> probe null(void);
> };
>
> $ /usr/sbin/dtrace -s ./probes.d -h -o probes.h
> dtrace: failed to compile script ./probes.d: "/usr/lib/dtrace/psinfo.d", line 46: syntax error near "u_int"
>
Same as PR #58630. There's a patch for psinfo.d there which you could try. Or,
run dtrace as root.
-RVP
Home |
Main Index |
Thread Index |
Old Index