FR: FreeBSD support

Open
#143 12 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
rust

Research direction

Start by reproducing cargo install shpool on FreeBSD and inspect the failing libproc-0.14.8/build.rs at line 23, along with the Rust build output in the report. Trace how shpool depends on libproc and determine the platform-specific support needed. Done means the crate builds and cargo install shpool succeeds on FreeBSD.

Written by the indexing model from the issue text.

Description

What happened
cargo install is failing with libproc build

What I expected to happen
cargo install of other crates are successful.

To Reproduce
cargo install shpool

error: failed to compile shpool v0.7.0,

Compiling shpool-protocol v0.2.0
Compiling libproc v0.14.8
error[E0601]: main function not found in crate build_script_build
--> /home/schakrabarti/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libproc-0.14.8/build.rs:23:13
|
23 | fn main() {}
| ^ consider adding a main function to /home/schakrabarti/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libproc-0.14.8/build.rs

Dominant language
Rust
Stars
2k
Forks
70
Avg merge
2d 3h
Merged PRs (30d)
6

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from shell-pool/shpool

All issues in shell-pool/shpool

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.