shell-pool / shell-pool/shpool

FR: FreeBSD support

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

Nobody has claimed this yet.

Dominant language
Rust
Stars
2k
Forks
67
Avg merge
3d 1h
Merged PRs (30d)
15

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

Contributor guide

Open the contributing guide

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.