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

Vector src/config/validation.rs id depended on heim which is not available on FreeBSD #20852

Open
samm-git opened this issue Jul 13, 2024 · 2 comments
Labels
platform: freebsd Anything `freebsd` platform related type: bug A code related bug.

Comments

@samm-git
Copy link

A note for the community

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Problem

I was trying to compile vector on FreeBSD (my intention is to add FreeBSD port to the ports tree). I found that hosts_metric is depended on heim, so i disabled that plugin by providing FEATURES=api,api-client,sources-datadog_agent,sources-fluent,sources-internal_metrics,sources-kubernetes_logs,sources-logstash,sources-splunk_hec,sources-statsd,sources-syslog,sources-vector,sinks-console,sinks-prometheus,sinks-vector. However, it was not enough, src/config/validation.rs using heim::disk too.

Is it possible to remove heim dependency from the core components? Vector is a great tool, and having strong dependency on non-cross platform library is problematic.

Configuration

No response

Version

0.39.0

Debug Output

No response

Example Data

No response

Additional Context

No response

References

No response

@samm-git samm-git added the type: bug A code related bug. label Jul 13, 2024
@jszwedko
Copy link
Member

Thanks for opening this @samm-git . Good catch. I think we could rely on sysinfo there which does work on FreeBSD. We'd be open to seeing a PR if you or someone else feels motivated.

@jszwedko jszwedko added the platform: freebsd Anything `freebsd` platform related label Jul 15, 2024
@jszwedko
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: freebsd Anything `freebsd` platform related type: bug A code related bug.
Projects
None yet
Development

No branches or pull requests

2 participants