Open jaw-sh opened 2 years ago
After posting this, the compilation halted much later.
error[E0432]: unresolved imports `libc::ENODATA`, `libc::ENOSR`, `libc::ENOSTR`, `libc::ETIME`
--> /root/.cargo/registry/src/github.com-1ecc6299db9ec823/ffmpeg-next-5.0.3/src/util/error.rs:20:22
|
20 | ENFILE, ENOBUFS, ENODATA, ENODEV, ENOENT, ENOEXEC, ENOLCK, ENOLINK, ENOMEM, ENOMSG,
| ^^^^^^^ no `ENODATA` in the root
21 | ENOPROTOOPT, ENOSPC, ENOSR, ENOSTR, ENOSYS, ENOTCONN, ENOTDIR, ENOTEMPTY, ENOTRECOVERABLE,
| ^^^^^ ^^^^^^ no `ENOSTR` in the root
| |
| no `ENOSR` in the root
22 | ENOTSOCK, ENOTSUP, ENOTTY, ENXIO, EOPNOTSUPP, EOVERFLOW, EOWNERDEAD, EPERM, EPIPE, EPROTO,
23 | EPROTONOSUPPORT, EPROTOTYPE, ERANGE, EROFS, ESPIPE, ESRCH, ETIME, ETIMEDOUT, ETXTBSY,
| ^^^^^ no `ETIME` in the root
|
help: a similar name exists in the module
|
21 | ENOPROTOOPT, ENOSPC, ENOSR, NOSTR, ENOSYS, ENOTCONN, ENOTDIR, ENOTEMPTY, ENOTRECOVERABLE,
| ~~~~~
help: a similar name exists in the module
|
23 | EPROTONOSUPPORT, EPROTOTYPE, ERANGE, EROFS, ESPIPE, ESRCH, VTIME, ETIMEDOUT, ETXTBSY,
| ~~~~~
For more information about this error, try `rustc --explain E0432`.
error: could not compile `ffmpeg-next` due to previous error
The issue is that
pkg-config
has not existed in BSD for supposedly 10 years. The work around is here: https://forums.freebsd.org/threads/port-pkg-config-deleted-no-alternative.65273/I'm not sure if this can be dealt with by the crate, but it would be nice if it could.