Build Failed #2753

Closed
opened 2026-02-21 00:30:13 -05:00 by deekerman · 2 comments
Owner

Originally created by @ITSOFTNEPAL on GitHub (Jun 14, 2024).

Bug Description

error: failed to run custom build command for pam-sys v1.0.0-alpha4

Caused by:
process didn't exit successfully: /home/omar/Documents/rustdesk-master/target/debug/build/pam-sys-2ef6c09477dfda74/build-script-build (exit status: 101)
--- stdout
cargo:rustc-link-lib=pam
cargo:rustc-link-lib=pam_misc
cargo:rerun-if-changed=wrapper.h

--- stderr
wrapper.h:1:10: fatal error: 'security/pam_appl.h' file not found
wrapper.h:1:10: fatal error: 'security/pam_appl.h' file not found, err: true
thread 'main' panicked at /home/omar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pam-sys-1.0.0-alpha4/build.rs:69:10:
Unable to generate bindings: ()
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

How to Reproduce

VCPKG_ROOT=$HOME/vcpkg cargo run

Expected Behavior

Build of rustdesk

Operating system(s) on local side and remote side

Zorin OS

RustDesk Version(s) on local side and remote side

latest

Screenshots

image

Additional Context

No response

Originally created by @ITSOFTNEPAL on GitHub (Jun 14, 2024). ### Bug Description error: failed to run custom build command for `pam-sys v1.0.0-alpha4` Caused by: process didn't exit successfully: `/home/omar/Documents/rustdesk-master/target/debug/build/pam-sys-2ef6c09477dfda74/build-script-build` (exit status: 101) --- stdout cargo:rustc-link-lib=pam cargo:rustc-link-lib=pam_misc cargo:rerun-if-changed=wrapper.h --- stderr wrapper.h:1:10: fatal error: 'security/pam_appl.h' file not found wrapper.h:1:10: fatal error: 'security/pam_appl.h' file not found, err: true thread 'main' panicked at /home/omar/.cargo/registry/src/index.crates.io-6f17d22bba15001f/pam-sys-1.0.0-alpha4/build.rs:69:10: Unable to generate bindings: () note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace warning: build failed, waiting for other jobs to finish... ### How to Reproduce VCPKG_ROOT=$HOME/vcpkg cargo run ### Expected Behavior Build of rustdesk ### Operating system(s) on local side and remote side Zorin OS ### RustDesk Version(s) on local side and remote side latest ### Screenshots ![image](https://github.com/rustdesk/rustdesk/assets/170808392/58cca4e8-4120-4544-9425-1952ecaa427c) ### Additional Context _No response_
deekerman 2026-02-21 00:30:13 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rustdesk commented on GitHub (Jun 14, 2024):

#763

@rustdesk commented on GitHub (Jun 14, 2024): #763
Author
Owner

@rustdesk commented on GitHub (Jun 14, 2024):

https://discord.com/invite/nDceKgxnkV build channel

@rustdesk commented on GitHub (Jun 14, 2024): https://discord.com/invite/nDceKgxnkV build channel
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rustdesk-rustdesk#2753
No description provided.