Skip to content

Build fails on FreeBSD: cannot find function iter_sockets in this scope #2

Description

@yurivict

The build of the "diswall-0.6.1" package fails:

error[E0425]: cannot find function `iter_sockets` in this scope
--> /wrkdirs/usr/ports/security/diswall/work/diswall-rs-0.6.1/cargo-crates/netsock-0.2.0/src/sys/shared.rs:48:5
|
48 | iter_sockets(af_flags, proto_flags)?.collect()
| ^^^^^^^^^^^^ not found in this scope
Some errors have detailed explanations: E0425, E0432.
For more information about an error, try `rustc --explain E0425`.
warning: `netsock` (lib) generated 1 warning
error: could not compile `netsock` (lib) due to 2 previous errors; 1 warning emitted

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions