Build Failure: cannot find type __builtin_va_list in this scope #2235

Closed
opened 2026-02-21 00:16:47 -05:00 by deekerman · 1 comment
Owner

Originally created by @korewaChino on GitHub (Oct 23, 2023).

Bug Description

Unable to build rustdesk on Ultramarine (Fedora) 38

mock    | DEBUG:    Compiling hyper-rustls v0.24.0
mock    | DEBUG:    Compiling muda v0.5.0
mock    | DEBUG: error[E0412]: cannot find type `__builtin_va_list` in this scope
mock    | DEBUG:  --> /builddir/build/BUILD/rustdesk-1.2.3/target/release/build/pam-sys-a9beb91e7b3c92ff/out/bindings.rs:5:7993
mock    | DEBUG:   |
mock    | DEBUG: 5 | ...> libc :: c_int ; } pub type __gnuc_va_list = __builtin_va_list ; extern "C" { pub fn pam_get_authtok (pamh : * mut pam_handle_t , ite...
mock    | DEBUG:   |                                                  ^^^^^^^^^^^^^^^^^ not found in this scope
mock    | DEBUG: For more information about this error, try `rustc --explain E0412`.
mock    | DEBUG: error: could not compile `pam-sys` (lib) due to previous error

How to Reproduce

dnf install gstreamer1-devel rust-gstreamer-devel pkgconfig(gstreamer-app-1.0) rustc cargo gcc-c++ git curl wget nasm yasm gcc gtk3-devel clang libxcb-devel libxdo-devel libXfixes-devel pulseaudio-libs-devel cmake alsa-lib-devel
cargo build --release --all-features

Expected Behavior

Proper build

Operating system(s) on local side and remote side

Ultramarine Linux 38

RustDesk Version(s) on local side and remote side

1.2.3

Screenshots

image

Additional Context

No response

Originally created by @korewaChino on GitHub (Oct 23, 2023). ### Bug Description Unable to build rustdesk on Ultramarine (Fedora) 38 ``` mock | DEBUG: Compiling hyper-rustls v0.24.0 mock | DEBUG: Compiling muda v0.5.0 mock | DEBUG: error[E0412]: cannot find type `__builtin_va_list` in this scope mock | DEBUG: --> /builddir/build/BUILD/rustdesk-1.2.3/target/release/build/pam-sys-a9beb91e7b3c92ff/out/bindings.rs:5:7993 mock | DEBUG: | mock | DEBUG: 5 | ...> libc :: c_int ; } pub type __gnuc_va_list = __builtin_va_list ; extern "C" { pub fn pam_get_authtok (pamh : * mut pam_handle_t , ite... mock | DEBUG: | ^^^^^^^^^^^^^^^^^ not found in this scope mock | DEBUG: For more information about this error, try `rustc --explain E0412`. mock | DEBUG: error: could not compile `pam-sys` (lib) due to previous error ``` ### How to Reproduce ``` dnf install gstreamer1-devel rust-gstreamer-devel pkgconfig(gstreamer-app-1.0) rustc cargo gcc-c++ git curl wget nasm yasm gcc gtk3-devel clang libxcb-devel libxdo-devel libXfixes-devel pulseaudio-libs-devel cmake alsa-lib-devel ``` ``` cargo build --release --all-features ``` ### Expected Behavior Proper build ### Operating system(s) on local side and remote side Ultramarine Linux 38 ### RustDesk Version(s) on local side and remote side 1.2.3 ### Screenshots ![image](https://github.com/rustdesk/rustdesk/assets/38139192/64243daf-8b8f-4566-8c77-bc892daaa6bf) ### Additional Context _No response_
deekerman 2026-02-21 00:16:47 -05:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@rustdesk commented on GitHub (Oct 23, 2023):

#763

@rustdesk commented on GitHub (Oct 23, 2023): #763
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#2235
No description provided.