Skip to content
New issue

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

error[E0599]: no associated item named PATH found for struct OFlags in the current scope #272

Open
yurivict opened this issue Jun 19, 2023 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@yurivict
Copy link

Build of the https://github.com/Nukesor/pueue project fails:

error[E0599]: no associated item named `PATH` found for struct `OFlags` in the current scope
  --> /usr/ports/deskutils/pueue/work/pueue-3.2.0/cargo-crates/procfs-0.15.1/src/process/task.rs:43:25
   |
43 |                 OFlags::PATH | OFlags::DIRECTORY | OFlags::CLOEXEC,
   |                         ^^^^ associated item not found in `OFlags`

error[E0599]: no associated item named `PATH` found for struct `OFlags` in the current scope
   --> /usr/ports/deskutils/pueue/work/pueue-3.2.0/cargo-crates/procfs-0.15.1/src/process/mod.rs:930:44
    |
930 |                 OFlags::NOFOLLOW | OFlags::PATH | OFlags::CLOEXEC,
    |                                            ^^^^ associated item not found in `OFlags`

error[E0599]: no associated item named `EMPTY_PATH` found for struct `AtFlags` in the current scope
   --> /usr/ports/deskutils/pueue/work/pueue-3.2.0/cargo-crates/procfs-0.15.1/src/process/mod.rs:936:80
    |
936 |             rustix::fs::statat(&file, "", AtFlags::SYMLINK_NOFOLLOW | AtFlags::EMPTY_PATH).map_err(io::Error::from)?;
    |                                                                                ^^^^^^^^^^ associated item not found in `AtFlags`

error[E0599]: no associated item named `PATH` found for struct `OFlags` in the current scope
    --> /usr/ports/deskutils/pueue/work/pueue-3.2.0/cargo-crates/procfs-0.15.1/src/process/mod.rs:1002:25
     |
1002 |                 OFlags::PATH | OFlags::DIRECTORY | OFlags::CLOEXEC,
     |                         ^^^^ associated item not found in `OFlags`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `procfs` (lib) due to 4 previous errors

rust-1.70.0
FreeBSD 13.2

@eminence eminence added the help wanted Extra attention is needed label Feb 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants